The polynomials
has four roots in
, namely
,
,
, and
. In contrast, the following proposition
shows that a polynomial of degree
over a field,
such as
, can have at most
roots.
![]() |
![]() |
|
![]() |
||
![]() |
||
![]() |
sage: R.<x> = PolynomialRing(Integers(13)) sage: f = x^15 + 1 sage: f.roots() [(12, 1), (10, 1), (4, 1)] sage: f(12) 0The output of the roots command above lists each root along with its multiplicity (which is 1 in each case above).
![]() |
![]() |
|
![]() |
||
![]() |
sage: R.<x> = PolynomialRing(Integers(13)) sage: f = x^6 + 1 sage: f.roots() [(11, 1), (8, 1), (7, 1), (6, 1), (5, 1), (2, 1)]
We pause to reemphasize that the analogue of
Proposition 2.5.5 is false when
is replaced by a
composite integer
, since a root mod
of a product of two
polynomials need not be a root of either factor.
For example,
has
the four roots
,
,
, and
.
William 2007-06-01