Using a Single Root of a Polynomial

Use rootOf to get a symbolic root of a polynomial. The call rootOf(p,x) returns a root of p(x). This creates an algebraic number a, which is a root of the polynomial returned in symbolic form.

To find the algebraic relation that defines a, use definingPolynomial

You can use a in any further expression, including a nested rootOf.

Higher powers of the roots are automatically reduced during calculations.

The operation zeroOf is similar to rootOf, except that it may express the root using radicals in some cases.