Roots
roots of a polynomial mod n
Calling Sequence
Parameters
Description
Examples
Roots(a)
Roots(a, K)
a
-
univariate polynomial
K
RootOf
The Roots function is a placeholder for representing the roots of the univariate polynomial a. The roots are returned as a list of pairs of the form [[r1,m1],...,[rn,mn]] where rk is a root and mk its multiplicity, that is, x−rkmk divides a.
The call Roots(a) mod n computes the roots of the polynomial a modulo n.
The call Roots(a,K) mod p computes the roots over the finite field defined by K an algebraic extension of the integers mod p where K is a RootOf.
The call modp1(Roots(a), p) computes the roots of the polynomial a in the modp1 representation modulo the prime integer p.
Roots⁡x3−xmod6
0,1,1,1,2,1,3,1,4,1,5,1
Roots⁡x3−1mod2
1,1
alias⁡α=RootOf⁡x2+x+1:
Roots⁡x3−1,αmod2
1,1,α+1,1,α,1
See Also
Factors
mod
modp1
msolve
root
roots
Student[Calculus1][Roots]
Student[NumericalAnalysis][Roots]
Download Help Document