 
The polynomials  has four roots in
 has four roots in 
 , namely
, namely
 ,
,  ,
,  , and
, and  .   In contrast, the following proposition
shows that a polynomial of degree
.   In contrast, the following proposition
shows that a polynomial of degree  over a field,
such as
 over a field,
such as 
 , can have at most
, can have at most  roots.
 roots.
![$ f\in k[x]$](img788.png) be a nonzero polynomial
over a field
 be a nonzero polynomial
over a field  .  Then there are at most
.  Then there are at most
 elements
 elements 
 such that
 such that 
 .
. .  The cases in
which
.  The cases in
which
 are clear.  Write
 are clear.  Write
 .  If
.  If
 then
 then 
|  |  | |
|  | ||
|  | ||
|  | 
![$ g(x)\in k[x]$](img799.png) .
Next suppose that
.
Next suppose that 
 with
 with 
 .  Then
.  Then
 , so, since
, so, since 
 and
 and  is a field,  we have
is a field,  we have 
 .
By our inductive hypothesis,
.
By our inductive hypothesis,  has at most
 has at most  roots, so
there are at most
 roots, so
there are at most  possibilities for
 possibilities for  .
It follows that
.
It follows that  has at most
 has at most  roots.
 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).
 . We have
. We have
|  |  | |
|  | ||
|  | 
![$ g\in (\mathbb{Z}/p\mathbb{Z}{})[x]$](img814.png) and
 and 
 .
Theorem 2.1.19
implies that
.
Theorem 2.1.19
implies that  has 
exactly
 has 
exactly  roots in
 roots in 
 , since every nonzero element of
, since every nonzero element of
 is a root!  By Proposition 2.5.3,
 is a root!  By Proposition 2.5.3,  has at most
 
has at most  roots and
 roots and  has at most
 has at most  roots.
Since a root of
 roots.
Since a root of 
 is a root of either
 is a root of either  or
 or  and
and  has
 has  roots,
 roots,  must have exactly
 must have exactly  roots
and
 roots
and  must have exactly
 must have exactly  roots, as claimed.
 roots, as claimed.
  
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
 is replaced by a
composite integer  , since a root mod
, since a root mod  of a product of two
polynomials need not be a root of either factor.  
For example,
 of a product of two
polynomials need not be a root of either factor.  
For example, 
![$ f = x^2-1=(x-1)(x+1)\in \mathbb{Z}/15\mathbb{Z}{}[x]$](img821.png) has
the four roots
 has
the four roots  ,
,  ,
,  , and
, and  .
.
William 2007-06-01