Roots
✖
Roots
yields a disjunction of equations which represent the roots of a polynomial equation.
Details and Options

- Roots uses Factor and Decompose in trying to find roots.
- You can find numerical values of the roots by applying N.
- Roots can take the following options:
-
Cubics True whether to generate explicit solutions for cubics EquatedTo Null expression to which the variable solved for should be equated Modulus 0 integer modulus Multiplicity 1 multiplicity in final list of solutions Quartics True whether to generate explicit solutions for quartics Using True subsidiary equations to be solved - Roots is generated when Solve and related functions cannot produce explicit solutions. Options are often given in such cases.
- Roots gives several identical equations when roots with multiplicity greater than one occur.
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Scope (7)Survey of the scope of standard use cases
Equation with exact numeric coefficients:

https://wolfram.com/xid/0mre2w-c36bc1

Equation with symbolic coefficients:

https://wolfram.com/xid/0mre2w-bfh9n

General equations of degree five and higher cannot be solved in radicals:

https://wolfram.com/xid/0mre2w-ijc8hk

This equation of degree nine is solved in radicals using factorization and decomposition:

https://wolfram.com/xid/0mre2w-cpuks

An equation with inexact numeric coefficients:

https://wolfram.com/xid/0mre2w-d0ay5v

Multiple roots are repeated the corresponding number of times:

https://wolfram.com/xid/0mre2w-feh2n7

Find roots over the integers modulo 7:

https://wolfram.com/xid/0mre2w-kv2wpo

Options (10)Common values & functionality for each option
Cubics (3)
By default Roots uses the general formulas for solving cubic equations in radicals:

https://wolfram.com/xid/0mre2w-gf9nqd

With Cubics->False, Roots does not use the general formulas for solving cubics in radicals:

https://wolfram.com/xid/0mre2w-c18er5

Solving this cubic equation in radicals does not require the general formulas:

https://wolfram.com/xid/0mre2w-esc1ym

EquatedTo (1)
Modulus (1)
Multiplicity (1)
Quartics (3)
By default Roots uses the general formulas for solving quartic equations in radicals:

https://wolfram.com/xid/0mre2w-gl14nz

With Quartics->False, Roots does not use the general formulas for solving quartics:

https://wolfram.com/xid/0mre2w-hq2az3

Solving this quartic equation in radicals does not require the general formulas:

https://wolfram.com/xid/0mre2w-kwu5f

Properties & Relations (5)Properties of the function, and connections to other functions
Solutions returned by Roots satisfy the equation:

https://wolfram.com/xid/0mre2w-ez7fy2

Use ToRules to convert equations returned by Roots to replacement rules:

https://wolfram.com/xid/0mre2w-ch7c6p

Solve uses Roots to find solutions of univariate equations and returns replacement rules:

https://wolfram.com/xid/0mre2w-kzmu7w

Roots finds all complex solutions:

https://wolfram.com/xid/0mre2w-k2fbay

Use Reduce to find solutions over specified domains:

https://wolfram.com/xid/0mre2w-god7q2


https://wolfram.com/xid/0mre2w-buhzuw

Use FindInstance to find one solution:

https://wolfram.com/xid/0mre2w-hys4hs

Use Solve or Reduce to find solutions of systems of multivariate equations:

https://wolfram.com/xid/0mre2w-df190g


https://wolfram.com/xid/0mre2w-ew1sm

Use Reduce to find solutions of systems of equations and inequalities:

https://wolfram.com/xid/0mre2w-bxmybn

Use NRoots to find numeric approximations of roots of a univariate equation:

https://wolfram.com/xid/0mre2w-etsfhm

Wolfram Research (1988), Roots, Wolfram Language function, https://reference.wolfram.com/language/ref/Roots.html.
Text
Wolfram Research (1988), Roots, Wolfram Language function, https://reference.wolfram.com/language/ref/Roots.html.
Wolfram Research (1988), Roots, Wolfram Language function, https://reference.wolfram.com/language/ref/Roots.html.
CMS
Wolfram Language. 1988. "Roots." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Roots.html.
Wolfram Language. 1988. "Roots." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Roots.html.
APA
Wolfram Language. (1988). Roots. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Roots.html
Wolfram Language. (1988). Roots. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Roots.html
BibTeX
@misc{reference.wolfram_2025_roots, author="Wolfram Research", title="{Roots}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/Roots.html}", note=[Accessed: 09-June-2025
]}
BibLaTeX
@online{reference.wolfram_2025_roots, organization={Wolfram Research}, title={Roots}, year={1988}, url={https://reference.wolfram.com/language/ref/Roots.html}, note=[Accessed: 09-June-2025
]}