Over , the
polynomial vanishes at and at , and nowhere else. Yet
it has degree ,
and behaves like
three roots at once: . This section
counts roots properly. It proves that a non-zero
polynomial of degree has at most roots, that a
polynomial over an infinite field is determined by its
values, and what it means for a root to be repeated;
then it shows how to see a repeated root without
factoring, through the formal derivative of Section
4.5.
Here the integers have no twin. Section 5.3 followed
Number Systems: From to , Section 3.3
step by step, but an integer cannot be evaluated at a
point. The main new tool is one fact from Section 5.1,
the factor theorem (Theorem 5.1.3):
is a root of
if and only if
.
Throughout, is a
field.
Counting
roots
A root of
gives a factor of degree . Several distinct roots
give several factors, and degrees add, so there cannot
be too many of them.
Theorem
5.4.1 (Counting Roots)
Let be a
field, ,
, and let
be distinct roots of . Then If , then . In particular, a non-zero polynomial of
degree has at
most distinct
roots in .
Idea. Peel the roots off one at a
time. If , then the next root
must be a root
of : at the product of the
factors
is non-zero, because the roots are distinct and a field
has no zero divisors. Then the factor theorem splits
off . Counting degrees at
the end gives .
Proof. For let , the product of a list in (the recursion of
Section 5.3, after Corollary 5.3.3).
We prove “ for all distinct roots of ” by Logic and Proof, Axiom 4.2.1
on (on
, Number Systems: From to , Corollary 1.7.3
(b)).
For , , and by Theorem 5.1.3
(b).
Suppose the claim holds for , and let be
distinct roots of . By the claim for , for some . Evaluating at
(Theorem 4.4.1,
applied factor by factor along the recursion), Each with is non-zero, since the roots are distinct,
and a product of non-zero elements of a field is
non-zero (Theorem 2.1.1 (g), by
induction on the number of factors). So by Theorem 2.1.1 (f). By Theorem 5.1.3
(b), for some , and by the recursion So .
Now let
and write . Then , is
monic of degree
by (L1) of Section 5.3, and by Theorem 4.3.2
(b).
Both hypotheses have a job: “distinct” in the factors
, and “field” in the step “a product of
non-zero elements is non-zero”.
↺Second readingDropping
a hypothesis
Without “distinct”: is a list of two roots of , but , by
degrees (Proposition 5.1.1
(d)). Without “field”: over the ring , which has zero
divisors, the polynomial of degree has the four roots
, since
, and are
multiples of ;
there with both factors non-zero.
Quick check. Can a polynomial over
of degree vanish at and ? Can a polynomial of
degree at most ?
Solution. Not one of degree : it is non-zero, so it
has at most
distinct roots (Theorem 5.4.1).
A polynomial of degree at most can, but only the zero
polynomial, whose degree is .
Values
determine the polynomial
Section 4.4 insisted that a polynomial is not a
function: over , and have the same values
(Example (Different Polynomials, Equal Functions)).
Its warning promised that over a field such as the values do
determine the polynomial. Counting roots pays that
promise.
Theorem
5.4.2 (Polynomials Determined by Values)
Let be a field
and .
- (a) Let . If , , and for distinct elements
, then .
- (b) If is infinite and for
every , then .
Idea. Two polynomials that agree at
a point differ by a polynomial with a root there. If
they agree at more points than their degree allows, the
difference has too many roots, so it is . An infinite field has
as many points as we need.
Proof. (a) By Theorem 4.3.1,
(the degree of is that of ). By Theorem 4.4.1,
, so are distinct roots of . If , Theorem 5.4.1
gives , which is false. So .
(b) We first find enough distinct
elements.
Claim. An infinite set contains, for every
, a list
of distinct
elements: an injective function .
Proof. By Logic and Proof, Axiom 4.2.1
on . For the empty function
works. Suppose are distinct elements of . The set has elements, through the
bijection , so it is finite (Sets, Relations, and Cardinality, Definition 3.1.2).
Since is infinite
(Sets, Relations, and Cardinality, Definition 3.1.3),
, and as
,
there is with . Then are distinct elements of .
The claim is proved by induction on a statement of
the form “there exists a list”, and each step takes one
element from a non-empty set, once; no sequence of
choices is made, so no axiom of choice is used. Now let
. The claim with and gives distinct elements
of , at which
and agree, and (a) gives
.
Over , and , which are infinite,
equality of polynomials and equality of polynomial
functions are therefore the same thing. Two polynomials
with integer coefficients that agree at every integer
are equal too: read them in , and apply (a) at
distinct
integers. Part (a) says more, and it says it over every
field: values
fix a polynomial of degree at most . A line is fixed by two
points, a parabola by three.
Warning. Over a finite
field, (b) fails. For a prime , every satisfies
(Theorem 2.6.6 (a)), so the
polynomial ,
which is not (its coefficient of
is ), vanishes at every
element of .
For : and , which is Example (Different Polynomials, Equal Functions).
For : the
values at
are , and . There is
no conflict with (a): a polynomial of degree needs points, and has only .
Example
(Polynomial Functions over a Finite Field)
(a) Show that
and have the same values on
, and factor
in .
(b) Let be prime. Show that, in
,
Solution.
(a) In , , so . Its
values at
are , and : the same
as those of ,
although . So are three distinct roots, and by Theorem 5.4.1,
. Both are monic of degree , so the cofactor has
degree and,
comparing leading coefficients, is : Expanding confirms it: , since .
(b) The elements
of are
distinct (Definition 2.2.1), and each
is a root of by the warning. By Theorem 5.4.1,
the product of
the divides
; is monic of degree
by (L1) of
Section 5.3, and so is , because . As in (a), with
, and
comparing leading coefficients gives .
Re-centering at a point
To study a polynomial near a point , it helps to write it
in powers of
instead of powers of . For and : . Such an expansion always exists and is
unique, and it is found by dividing by repeatedly.
Theorem
5.4.3 (Expansion in Powers of )
Let be a
field,
with , and .
- (a) There are
unique with
- (b) , and is the leading
coefficient of .
- (c) For every , .
By Theorem 4.3.2
(b) and induction on , each is monic of
degree ; so a sum
with has degree exactly : the term has degree
, every other
non-zero term has smaller degree, and Theorem 4.3.1
(with equality when the degrees differ, applied one term
at a time) does the rest. The uniqueness half of (a)
below uses this fact; part (b) uses its first clause,
that is
monic of degree .
Idea. Divide by : the remainder is
the constant ,
and the quotient has degree one less. Expand the
quotient the same way, by induction, and multiply back
by . For
uniqueness, compare degrees: a non-trivial combination
of the powers has the degree of its highest term, so it
is not .
Proof. (a), existence. By
Logic and Proof, Axiom 4.2.1
on , for every
of degree . If , is a non-zero constant
. Let . By Theorem 5.1.2
and Theorem 5.1.3
(a), with . Since , Theorem 4.3.1
gives , so and (Theorem 4.3.2
(b)). By the induction hypothesis, . Then with and , by the distributive law for
finite sums (Lemma 4.1.1
(b), (Σ2)) and a shift of the summation index.
(a), uniqueness. If , then (Lemma 4.1.1
(b), (Σ1), (Σ4)). If some were
non-zero, the largest such would be the degree of
this sum, by the fact before the Idea; but the sum is
. So for every
.
(b) Evaluate at (Theorem 4.4.1):
and
for
, so . The terms
with have
degree less than ,
and
has coefficient
at , since is monic of
degree ; so the
coefficient of
in , its leading
coefficient, is .
(c) Evaluate at : takes the value
there, and Theorem 4.4.1
carries sums, products and powers through.
The coefficients are computed by the
existence proof: divide by , keep the remainder as , divide the quotient
by , keep the
remainder as ,
and so on until the quotient is a constant, which is
. The next
example runs this.
Quick check. Expand in powers of over .
Solution. , , . So , , , :
Multiplicity
The hook’s polynomial is divisible by and not by
. That
exponent is what “three roots at once” means.
The multiplicity of a root counts how many
factors can
be split off.
Definition
5.4.1 (Multiplicity of a Root)
Let be a
field,
non-zero, and . The
multiplicity of in , written ,
is the largest with . The
root is
simple if and multiple if .
In words: keep dividing by while the division
comes out exact; the number of exact divisions is the
multiplicity.
Well defined. The set contains , since divides
. For , (Proposition 5.1.1
(d)), so is
bounded above, and it has a greatest element (Number Systems: From to , Proposition 2.3.6,
with ). By the factor theorem (Theorem 5.1.3
(b)),
exactly when , so For the direction from right to left: if , no lies in either, since (Lemma 4.1.1
(c)), so would give (Proposition 5.1.1
(b)), that is, . Hence . A multiplicity means “not a root”. The
zero polynomial is excluded because every power of divides it, and
would have no
greatest element.
Examples. In , : divides itself, and does not, by
degrees. : the value at is , and does not divide , since division
with remainder gives with remainder . And , since the value at is .
The definition asks for a largest exponent, which is
awkward to check directly. The next lemma replaces it by
a single evaluation.
Lemma
5.4.4 (Multiplicity through the
Cofactor)
Let be a
field,
non-zero,
and .
- (a) if and only if for some
with
.
- (b) Such a is unique.
- (c) If is the expansion of Theorem 5.4.3,
then
is the least with .
Idea. If the cofactor vanished at , one more factor would split off; if
one more factor split off, cancellation would make vanish at . For (c), the expansion
displays the cofactor directly.
Proof. (a) Let , so for some
. If , then (Theorem 5.1.3
(b)) and , against the maximality of . So .
Let
with ;
then .
Suppose some were in . Then divides
,
hence : say . Canceling (Corollary 4.3.3
(b)) gives , so , a contradiction. So is the largest element
of .
(b) If , cancel .
(c) The coefficient is the leading
coefficient of ,
so it is non-zero, and the set of with has a least
element (Sets, Relations, and Cardinality, Theorem 2.1.3).
The terms with vanish, so, taking the factor out of the
remaining terms, Evaluating at , as in Theorem 5.4.3
(b), . By (a), .
The factor is
the cofactor of in . Multiplicities of a
product add, because cofactors multiply.
Proposition
5.4.5 (Multiplicity of a Product)
Let be a
field, non-zero and . Then .
Quick check. Over , find and .
Solution. , and the cofactor has value at , so
by Lemma 5.4.4
(a). , with cofactor value at
, so : a simple root.
All roots can now be split off at once. The roots of
a non-zero form a
finite set: otherwise the claim in the proof of Theorem 5.4.2
(b), applied to the set of roots, would give distinct
roots, against Theorem 5.4.1.
So they can be listed without repetition.
Theorem
5.4.6 (Splitting Off All Roots)
Let be a field
and
non-zero. Let , , be the distinct roots of in (every root of in is one of them), and
. Then for some with no root in , and .
Idea. Split off the full power of
one root with Lemma 5.4.4.
The cofactor keeps every other root, with the same
multiplicity, because the power just removed does not
vanish there; induction on the number of roots does the
rest.
Proof. By Logic and Proof, Axiom 4.2.1
on , we prove: for
every non-zero
and every list of distinct elements of whose entries are
exactly the roots of in , the displayed
factorization holds with rootless. For , has no root, and works with
the empty product .
Assume the statement for , and let the roots of
be exactly the
distinct . By Lemma 5.4.4
(a), with ; then
.
The roots of
are exactly . A root of is a root of (Theorem 4.4.1),
and ,
so with
.
Conversely, for , the polynomial
has the value at (a power of a
non-zero element of a field, Theorem 2.1.1 (g)), so its
multiplicity at
is , and Proposition 5.4.5
gives So is
a root of , with
the same multiplicity as in .
The statement for , applied to and , gives
with rootless. Hence, by
commutativity and associativity and the recursion of the
product, For the degree, the product is monic of degree
by (L1)
of Section 5.3, and , so (Theorem 4.3.2
(b)).
So the multiplicities add up to at most : counted with
multiplicity, a non-zero polynomial of degree still has at most roots. The case where
nothing is left over has a name.
Definition
5.4.2 (Splitting over a Field)
Let be a field
and
non-zero of degree . The polynomial splits over
if for some , repetitions among the allowed. For this says that
is a non-zero
constant.
If splits, the
multiplicities of its roots add up to
exactly : the rootless factor
of Theorem 5.4.6
is then a constant.
↺Second readingWhy
nothing is left over
In the factorization of Theorem 5.4.6,
suppose the rootless had degree at least
; it would have a
monic irreducible factor (Lemma 5.3.5),
say . Since
, also
(Proposition 5.1.1
(b)). As ,
, and divides (Proposition 5.1.1
(c)). By Corollary 5.3.3
(c), and
for
some . Each is monic and,
having degree ,
irreducible (Section 5.3), so Corollary 5.3.3
(d) gives . Then (Theorem 4.4.1),
against rootless.
Hence is a
constant, non-zero as , and (Theorem 4.3.2
(b)).
For example, does not split over : a splitting would
make a rational
root, and
is impossible (Number Systems: From to , Theorem 2.6.1).
Over it splits,
as
with the
non-negative square root of (Number Systems: From to , Proposition 6.1.4).
Example
(Multiplicities by Repeated Division)
Find the roots of with
their multiplicities, and expand in powers of .
Solution. The value at is , so
divide by ,
and keep dividing while the remainder is : So , and the cofactor has the value at : by Lemma 5.4.4
(a). At , the
cofactor of
is , with
value , so . There are no other roots: forces or (Theorem 2.1.1 (f)). The
multiplicities add up to , and splits over , with and .
The remainders and the last quotient are the coefficients
of
Theorem 5.4.3
at , by its
existence proof: and the least with is , the multiplicity, as
Lemma 5.4.4
(c) says. Expanding confirms the
expansion.
Repeated
roots and the derivative
Finding multiplicities by division needs the root
first. The formal derivative detects repeated roots, and
repeated factors, without knowing them. Section 4.5
defined it with no limits: for , (Definition 4.5.1),
where
is the -th
multiple and may be
in . It obeys the
rules of calculus (Theorem 4.5.1):
it is additive with for a
constant ; the
product rule holds; and , in particular for . In
characteristic ,
only for
constant , and
when (Proposition 4.5.2
(a)); in characteristic a non-constant
polynomial can have derivative : over , .
At a double root the graph of a real polynomial
touches the axis, with slope . The formal version of
that picture needs no graph and no slope.
Theorem
5.4.7 (Repeated Roots and the
Derivative)
Let be a
field,
non-zero and .
- (a) is a multiple root of
if and
only if and .
- (b) If and in ,
then
and .
Idea. Write with
and
differentiate by the product rule. Both terms contain
, so
with a bracket whose value at is .
Everything follows from looking at and at that value.
Proof. Let . If , then , so both sides
of (a) are false, and (b) does not apply. Let , and write with
(Lemma 5.4.4
(a)). By Theorem 4.5.1,
At ,
(Theorem 4.4.1).
(a) Here . If , then and . If , then and . So exactly
when , that
is, when is a
multiple root.
(b) If , then by Theorem 2.1.1 (f). So , hence (Corollary 4.3.3),
and Lemma 5.4.4
(a) applied to gives .
The hypothesis in (b) is needed. Over , has , but , whose multiplicity is not
even defined. Part (a) holds over every field.
The same computation, with an irreducible factor in
place of ,
detects repeated factors through a gcd, which the
Euclidean algorithm of Section 5.2 computes without
factoring anything.
Corollary
5.4.8 (Repeated Factors and the Greatest Common
Divisor)
Let be a field
and with
.
- (a) If is irreducible
and ,
then . So if , no
irreducible divides twice, and has no multiple root in
.
- (b) If has characteristic
(Definition 2.5.1) and ,
then for
some irreducible .
Idea. For (a), differentiate : every term keeps a
factor . For (b),
take an irreducible dividing both and . If divided only once, , then would divide , and hence , which in
characteristic is
non-zero of smaller degree.
Proof. (a) Write . By Theorem 4.5.1,
so
divides both and
, and hence
divides (Theorem 5.2.2
(b); ). If
, this would give , impossible
since
(Proposition 5.1.1
(d)). A multiple root would give with
irreducible.
(b) Let . It is monic () and , so , and has a monic irreducible
divisor (Lemma 5.3.5).
Then and
(Proposition 5.1.1
(b)). As for multiplicities, the set of with contains and and is bounded by (); let be its greatest element and write . Then , since
otherwise .
Suppose .
Then , and divides and , so (Proposition 5.1.1
(c)). By Corollary 5.3.3
(b),
or , and
. But
has
characteristic
and ,
so and
(Proposition 4.5.2
(a)); then by Proposition 5.1.1
(d). This contradiction shows , and .
Characteristic
is used once, at . Over , a polynomial therefore has a
repeated irreducible factor exactly when ,
and that question is answered by the Euclidean algorithm
(Theorem 5.2.5)
with no factoring at all.
Quick check. Is a multiple root of
?
Solution. Yes. ,
and ,
so Theorem 5.4.7
(a) applies. Indeed .
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) Find and
of .
- (b) In , let . Is a multiple root by the
test of Theorem 5.4.7
(a)? Does part (b) apply?
- (c) True or false: a
polynomial over
of degree at most
that vanishes at is the zero polynomial.
- (d) True or false: a
polynomial over that vanishes at
every element of is the zero
polynomial.
B. Practice
Exercise
(B1: Put the proof in order)
The following lines contain a proof of the
divisibility part of Theorem 5.4.1,
shuffled, together with two lines that do not belong.
Write the seven correct lines in an order that makes a
proof, say which other orders are also admissible, and
say why each of the other two lines fails.
(i) We use
induction on ; for
, by the
factor theorem.
(ii) Assume the
claim for every list of distinct roots, and let be
distinct roots of .
(iii) Write .
(iv) Evaluate at
: .
(v) Each , , is non-zero,
since the roots are distinct.
(v′) Each , , is non-zero, since .
- (vi) A product of
non-zero elements of a field is non-zero, so .
(vi′) , because .
- (vii) By the factor
theorem, , so .
Solution. An admissible order is
(i), (ii), (iii), (iv), (v), (vi), (vii):
We use induction on ; for , by the
factor theorem. Assume the claim for every list of distinct roots, and
let
be distinct roots of . Write . Evaluate at : . Each , , is non-zero,
since the roots are distinct. A product of non-zero
elements of a field is non-zero, so . By the factor
theorem, , so .
Lines (i) and (ii) set up the induction and come
first, in that order; (iii) uses the hypothesis of (ii).
Line (v) uses only the distinctness from (ii), so it may
come anywhere after (ii) and before (vi); in particular
(iv) and (v) may be exchanged, and (v) may even precede
(iii). Line (vi) needs both (iv) and (v), and (vii)
needs (vi) and (iii). So the admissible orders are: (i),
(ii), then (iii), (iv), (v) with (iv) after (iii) and
(v) anywhere among them, then (vi), (vii).
The distractor (v′) gives a wrong reason: is allowed, and
says
nothing about . The distractor (vi′) skips the
cancellation: only says that the product in (iv) is , and passing to needs both (v)
and the absence of zero divisors. Over a ring with zero
divisors the step fails: over ,
has the root , yet
neither factor vanishes at .
Exercise
(B2: Expansions at a point)
- (a) Expand
in powers of .
- (b) Find from the first two coefficients of an
expansion in powers of .
Solution.
(a) Divide by
three times:
By the existence proof of Theorem 5.4.3,
. Expanding the right
side gives back .
(b) Here and . First
, so ; then , so . By Lemma 5.4.4
(c), : is a
simple root.
Exercise
(B3: Functions on a finite field)
Let be prime
and . Prove that for every
if and
only if . Then find a polynomial of degree less than
with the same
values on as
.
Solution. If , then
for ,
, since (Theorem 2.6.6 (a)).
If
and agree on , then are
distinct roots of
, so by Theorem 5.4.1,
and that product is (Example (Polynomial Functions over a Finite Field)
(b)).
For : , and
, so is a multiple of
. By the
first part,
has the same values as on , and its degree is
.
C. Going deeper
Exercise
(C1: The coefficients as derivatives)
Let be a field
of characteristic , of degree
, , and as in Theorem 5.4.3.
Prove that where is the -th formal derivative
(Definition 4.5.1).
Check the formula on the expansion of Exercise B2 (a) at
.
Solution (Hint 1). Compute the
-th derivative of
first.
Solution (Hint 2). By induction on
, for , and
for .
Solution. The derivatives of
the powers. We prove the formula of Hint 2 by Logic and Proof, Axiom 4.2.1
on , for all . For the coefficient is
the empty product . Suppose it holds for
. If , then and, by Theorem 4.5.1
(a) and (c), and (Lemma 2.5.1 (b)) gives the
coefficient . If , the -th derivative is the
constant , whose derivative is ; and the derivative of
is for larger .
The coefficients. Since the derivative is
additive with for constants (Theorem 4.5.1
(a)), so is the -th derivative
(induction on ),
and At ,
every term with vanishes, and the term is . So
. In characteristic , (Definition 2.5.1, as ), and dividing
gives the formula.
Check. For , and
,
so ,
as in Exercise B2 (a).
Exercise
(C2: Repeated factors through the gcd)
- (a) Using only , decide
whether has a repeated
irreducible factor.
- (b) Over , let .
Compute and
,
and explain why part (b) of Corollary 5.4.8
does not apply.
Solution.
(a) .
The Euclidean algorithm (Theorem 5.2.5):
The last non-zero remainder is , so . As has characteristic
, Corollary 5.4.8
(b) says that has
a repeated irreducible factor. (Indeed , Example (Multiplicities by Repeated Division).)
(b) in . Then , whose monic generator is itself, so (Theorem 5.2.2
(c)). Part (b) of the corollary assumes characteristic
, and has characteristic
(Definition 2.5.1: , ). Its proof
uses that hypothesis at , which fails in
characteristic :
.
Here the conclusion happens to hold anyway, since in
, but it is
not given by the corollary; the gcd records only that .