Roots

Roots[lhs==rhs,var]

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:
  • CubicsTruewhether to generate explicit solutions for cubics
    EquatedToNullexpression to which the variable solved for should be equated
    Modulus0integer modulus
    Multiplicity1multiplicity in final list of solutions
    QuarticsTruewhether to generate explicit solutions for quartics
    UsingTruesubsidiary 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 all

Basic Examples  (1)

Find roots of univariate polynomial equations:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Scope  (7)

Options  (10)

Properties & Relations  (5)

See Also

Solve  NRoots  NSolve  FindRoot  Reduce  ToRules  ToRadicals  Root  RootIntervals  Factor  Decompose  InterpolatingPolynomial

Tutorials

Introduced in 1988
(1.0)