Skip to main content

Roots

Note

Working with numbers? See Roots (Functions).

Computes the roots of a polynomial in the specified ring.

Syntax

roots(Polynomial)
roots(Polynomial, Ring)

Description

Given a polynomial, computes its roots over .

polynomials.roots1.calc.png

Given a polynomial p and a ring A, computes the roots of pp over AA.

polynomials.roots2.calc.png

Options

Option

Description

Format

Default value

count_multiplicities

We can choose count multiplicities or not. If false, multiples roots are treated as different roots and they are displayed in a list. If true, they are displayed in a divisor object.

{count_multiplicities=true}

{count_multiplicities=false}

multiplicities

We can choose to show or not multiplicities.

{multiplicities=false}

{multiplicities=true}