5.27.22 Exact roots of a polynomial: roots
The roots command finds roots of polynomials with their
multiplicities
- roots takes one mandatory and one optional argument:
- P, a symbolic polynomial expression.
- Optionally, x, the name of the variable (the default is
x).
- roots(P ⟨ ,x⟩) returns a 2
column matrix: each row is the list consisting of a root of
P and its multiplicity.
Examples