The polynomials of this chapter are coefficient
sequences, and Theorem 4.4.2
showed how to evaluate them and how to substitute into
them. One more operation from school survives the
passage to an arbitrary commutative ring: the
derivative. This section defines it by its coefficients,
proves the sum, product and power rules with the move of
Lemma 4.2.3,
and asks when a derivative can be . Over a field the
answer depends on the characteristic of Chapter 2, and
over it is
not the answer of calculus.
At school a double root shows itself in the graph.
The parabola touches the axis at instead of crossing it,
and its slope there is : the derivative vanishes at
as well. Over
there is no
graph and no slope; the field has elements and no limits.
What survives is the formula: the derivative of is . We keep the
formula and drop the limit. Chapter 5 uses the result to
detect repeated roots; this section builds the tool.
Throughout, is
a commutative ring (Number Systems: From to , Definition 2.3.1).
Polynomials are written , with coefficients , because
the letter is
kept for a prime. A dot with an integer on its left is a
multiple, with terms (the “Multiples”
paragraph of Number Systems: From to , Section 2.3,
collected in Lemma 4.1.1
(d)); the product of two ring elements is written by
juxtaposition.
The
derivative by coefficients
At school, . Each term moves down
one place, and its coefficient is multiplied by the
exponent it had. In “multiplied by the
exponent” has a meaning without any division or limit:
the exponent is a
natural number, and is the -th multiple of . That recurring
computation deserves a name.
The formal derivative moves every coefficient
down one place and takes it as many times as its old
exponent.
In words: the coefficient of in is read off from
the coefficient of in , added to itself times. The
definition uses only the addition of , so it makes sense,
word for word, over , , and .
Well-definedness. Two things need checking:
that is
again a polynomial, and that the higher derivatives
exist.
- . First, for every
: by Lemma 4.1.1
(d), , and this is by Number Systems: From to , Proposition 2.3.2
(b). Now choose with for every (Definition 4.1.1).
For we have
, so
and
. So has only finitely
many non-zero terms, and . Moreover
for
, so
for , Proposition 4.2.1
writes as an
honest sum:
- Higher derivatives. Since is a
function , Sets, Relations, and Cardinality, Theorem 2.3.1,
with ,
starting value
and step , gives exactly one sequence with
the two displayed properties.
Monomials. Let and . The monomial
has in position and elsewhere (Definition 4.1.1),
so is
when and otherwise. Hence is when , and
otherwise: The case is separate because has no meaning
there: . Every constant has derivative .
The element . By Lemma 4.1.1
(d), . So the exponent enters the derivative only
through one element of , the multiple , and
that element can be . In , , so
. This is the whole difference between the
derivative here and the derivative of calculus, and the
rest of the section keeps track of it.
Why this definition. The formula is
the school formula with the limit removed. Exercise C1
asks you to show that it is the only additive map that sends
constants to ,
sends to and obeys the product
rule. A definition by limits is not available, since
and have no
distances.
Warning. The coefficient of in is ,
not :
the derivative shifts before it multiplies. For over , the coefficient of
in is , while
.
Reading the formula without the shift gives ,
which is ,
not .
Solution. In each case, by (M) and
Lemma 4.1.1
(d), the derivative of with is , and the derivative of a sum is
computed coefficient by coefficient from Definition 4.5.1.
(i) The
coefficients are , , , , , and for . So , , , , and for . In
the multiple is the product :
by Lemma 4.1.1
(d), and
is the rational number , by induction on from , since the embeddings preserve sums and (Number Systems: From to , Proposition 2.2.3,
Number Systems: From to , Proposition 2.4.4).
Hence as at school.
(ii) , so by (M). (Definition 4.1.1),
so , since by the recursion of
multiples. The polynomial has
in position ,
in position and elsewhere, so , and for : .
(iii) Over , , since in (Number Systems: From to , Theorem 3.4.3
(d): in ). Over , , since in
(Example (Arithmetic on and the
Field )).
(iv) , since , by Lemma 4.1.1
(d), Number Systems: From to , Theorem 3.4.3
(d), and the product of classes computed on
representatives (Number Systems: From to , Theorem 3.4.1
(b)). The polynomial has degree and its derivative has
degree : the
degree dropped by , not by .
(v) , since in the multiple is the integer
(the “Multiples”
paragraph cited above).
(vi) Apply (M)
three times, with the rule of Lemma 4.1.1
(d). Over any commutative ring, Over ,
as in (i), these are , and . Over , , so and , by Lemma 4.1.1 (d)
and .
So , but already , and
then by (M).
Examples (iii) and (iv) are the new phenomena. Over
a
non-constant polynomial has derivative ; over the coefficient
of in the
derivative, , is although neither
nor is. Both
come from the element above.
Quick check. Compute
over .
Solution. , since
and
in .
The rules
of differentiation
Calculus proves the sum, product and power rules with
limits. Here they must come from the coefficients. The
sum rule is one line per coefficient. The product rule
is where a direct attack hurts: the -th coefficient of is , and matching it with means
splitting each term between two sums with shifted
indices. The move of Section 4.2, check on
monomials, extend by additivity, avoids that:
both sides of the product rule are additive in and in , so it is enough to
compare them on monomials, where (M) does the work.
Idea. ① Linearity is one
coefficient at a time: the multiple is
additive in and
commutes with multiplication by a constant. ② For the
product rule, both and are
additive in each argument, by ①; so Lemma 4.2.3
reduces the rule to , . There (M) and Lemma 4.2.2 (b)
turn both sides into one monomial, and the coefficients
agree because . ③ The power
rule is the product rule applied times, by
induction.
Proof. Equality of polynomials is
equality of all coefficients (Definition 4.1.1),
so it is enough to compare coefficients in (a); (b) and
(c) are then built on (a).
(a) Let . Since addition
in is
coefficientwise (Definition 4.2.1),
where the second equality is the rule of Lemma 4.1.1
(d). For the constant , by
Theorem 4.2.4
(d), so using (F6) of in the first and third
equalities, the rule of Lemma 4.1.1 (d)
in the second, and Theorem 4.2.4
(d) in the last. Finally is (M) with
.
(b) Define by By Theorem 4.2.4
(a), is a
commutative ring, so (F1)–(F7), (F9) and Number Systems: From to , Proposition 2.3.2
hold in it.
Additivity. Let . By the
distributive law (F9) of and (a), By (a), (F9) and a regrouping of four terms by
(F1) and (F2), Both maps are symmetric:
because ,
and because , by (F6) and (F2) of . So each is additive
in its second argument as well.
Monomials. Let and , with and . By Lemma 4.2.2
(b), .
Case
and .
Then ,
and (M) gives On the other side, (M) gives and , and Lemma 4.2.2
(b), with in , gives Now , and , by Lemma 4.1.1 (d)
and (F6) of . Two
monomials in the same position add coefficientwise (Definition 4.2.1),
and (Lemma 4.1.1
(d)). So .
Case . Then is a constant, by (a), and
. So
, by Number Systems: From to , Proposition 2.3.2
(b) and (F3) of . If , then and is a constant, so both
sides are (by (a)
and Number Systems: From to , Proposition 2.3.2
(b)). If ,
then by (M) and Lemma 4.2.2 (b)
with , where the middle step is the computation of
the previous case.
Case ,
. By
the symmetry of and this is the case
with and exchanged.
So and
agree whenever
both arguments are monomials, and both are additive in
each argument. By Lemma 4.2.3,
with two arguments and , . This is the product rule.
- (c) First, : by (a), , and adding to both sides
gives the claim, by (F2)–(F4) of . We prove the power
rule by induction on (Logic and Proof, Axiom 4.2.1,
with base ). For
: (Lemma 4.1.1
(c)) and , so the right side is . Suppose for some . Since , the
product rule (b) gives The third equality uses (F5), (F6), (the
power recursion, since ) and (F7); the last uses (F9), the
fact that constants add as in (Theorem 4.2.4
(b)), and the recursion of multiples. This
completes the induction.
For the particular case, , by the difference rule and Example (Formal derivatives in five rings)
(ii). The power rule with gives , and may be dropped
by (F7). This proves the theorem.
The theorem is the calculus toolkit with every limit
removed, and it holds over every commutative ring. The
power rule shows the element once more: the
derivative of is times the constant , and over that constant is
for . So over the polynomial
has
derivative ,
although it is not constant; the next subsection says
exactly when this happens.
Quick check. Over , compute twice: by the power rule, and by
expanding
first.
Solution. By Theorem 4.5.1
(c), , since
in
. Expanding,
in , and . The two answers agree.
When the
derivative vanishes
In calculus, a function with derivative on an interval is
constant. Over the polynomial
is not
constant, yet (Example (Formal derivatives in five rings)
(iii)). Which polynomials have derivative ? Over a field the
answer depends only on the characteristic. Recall Definition 2.5.1: is
the least positive integer with in , and if there is none; by Theorem 2.5.3 it is or a prime.
Idea. Everything rests on one
identity: for , the coefficient of in is . In a field a product is only when a factor is.
So
forces
exactly at the
with : in characteristic that is every , and in
characteristic it
is every not
divisible by . A
polynomial whose only non-zero coefficients sit at
multiples of is a
polynomial in .
Proof. For every , Definition 4.5.1
at the index
and Lemma 4.1.1 (d)
give As runs
through the integers , the index runs through , so if and
only if for every .
- (a) Let . Then for every , by Definition 2.5.1. Suppose
, and let
. By , with
, so
by Theorem 2.1.1 (f). Thus
and the constant
agree in every
position, and (Definition 4.1.1).
Conversely, a constant has derivative by Theorem 4.5.1
(a).
Now let , so that and for every (Definition 4.3.1).
By , , a product of two non-zero elements of
, which is
non-zero by Theorem 2.1.1 (f). For
, , as in the
well-definedness paragraph after Definition 4.5.1.
So is the
largest index of a non-zero coefficient of : .
- (b) Let . Then
is prime by Theorem 2.5.3.
By Proposition 2.5.2 (a), with
: for , if
and only if .
. Let and let with . Then , since ; so , and by
. By Proposition 2.5.2 (a),
, so
by Theorem 2.1.1 (f).
. Let . If , then by (ii); if , then by Proposition 2.5.2 (a).
Either way (Number Systems: From to , Proposition 2.3.2
(b)), so
by .
. Choose with for every , and define
by . For we have , so , and . By Definition 4.4.3,
then the power law in the commutative ring (Lemma 4.1.1
(c)) and Theorem 4.2.4
(c), We compare the coefficients of both sides with
those of at an
index .
Addition in is
coefficientwise (Definition 4.2.1),
so the -th
coefficient of a finite sum of polynomials is the finite
sum of their -th
coefficients (induction on the number of terms, through
the sum recursion of Lemma 4.1.1
(a)). The monomial has -th coefficient if , and otherwise.
- If ,
no has , so every term is
at , and by (ii).
- If ,
then for
some ,
and : if
, then
by Number Systems: From to , Proposition 2.3.5
(c), since , against . This is unique (if , then by Number Systems: From to , Proposition 2.3.5
(f), since ). If , the sum of the -th coefficients has the
single possibly non-zero term , so it
equals by (Σ3)
of Lemma 4.1.1
(b). If ,
every term is at
, and because .
In every case the -th coefficients agree,
so .
. Let , and choose with for . The computation
above gives , and by the first
bullet, the coefficient of this sum at any with is . This proves the
proposition.
So in characteristic the polynomials with
derivative are
exactly the polynomials in . Over , ; over , , and indeed its derivative is , since in . Part (a) is the
case where the school statement survives, and its proof
spends the hypothesis at exactly one place: .
Warning. “ means is constant” and
“differentiating lowers the degree by one” both fail in
characteristic .
Over , , although has degree ; and has degree , not . Tests for repeated
roots that use the derivative must therefore say which
characteristic they assume. Chapter 5 concludes from
that has no
repeated roots in .
Quick check. Compute over .
Solution. , since in .
Exercises
A. Check your
understanding
Solution.
(a) Over : , by (M), with . Over : , since in ; in the elements
of
, .
(b) Over :
true. is a field (Number Systems: From to , Theorem 2.4.3)
of characteristic
(Example (The characteristics of the standard fields));
so Proposition 4.5.2
(a) applies. Over :
false. The witness is , which is not
constant, with (Example (Formal derivatives in five rings)
(iii)).
(c) , and each occurs. Write . Then since . So (Definition 4.3.1).
Witnesses: has derivative , of degree ; has derivative
, of degree ; has derivative
, of degree . The school rule
“degree drops by one” fails because : the
leading coefficient of would be , and here that product is
.
(d) For the monomial is a constant,
and (M) gives , not : the exponent is not in
, so has no meaning.
The general computation, which writes , therefore cannot be used, and the case
is checked directly.
B. Practice
Solution. Fix , and define by The move is the one of the product rule: check
on monomials, extend by additivity.
Additivity. By Definition 4.4.3
and Theorem 4.4.2
(a), is a ring homomorphism that fixes
the constants and sends to ; in particular . With Theorem 4.5.1
(a), and, using also (F9) of ,
Monomials. Let with , . By Theorem 4.2.4
(c), is the
product of the constant and the -th power of ; a ring homomorphism
preserves products and powers (Definition 4.4.2),
so .
If , then
and , so by Theorem 4.5.1
(a). Also , and because a ring homomorphism sends to (Definition 4.4.2);
so .
If , then
by Theorem 4.5.1
(a) and (c), On the other side by (M), so and . The constants
agree: , by (F6) and Lemma 4.1.1
(d), and constants multiply as in (Theorem 4.2.4
(b)). So .
By Lemma 4.2.3
with one argument and , , which is the chain rule.
Check. Over , , whose derivative is . On the other
side, ,
and , so .
Solution.
(a) Induction on
. For , . Let and suppose . Since , (M) gives by the rule of Lemma 4.1.1 (d)
and in . This proves the
formula for . At the polynomial is a
constant, so by (M), and the derivative of is ; by induction, for every
.
(b) The
coefficients of . Let be any commutative ring
and . We
show by induction on that For
both sides are .
If it holds for ,
then by Definition 4.5.1
and Lemma 4.1.1
(d), since the factor added by the recursion is
.
The case over . The number
is a product of the consecutive integers
. Divide with (Number Systems: From to , Theorem 3.1.2);
then , and , so one of the factors is divisible by
. A product with a
factor divisible by is divisible by (Number Systems: From to , Proposition 3.1.1
(c), one factor at a time). So with
, and
by Lemma 4.1.1
(d), which allows integer multiples, in (Number Systems: From to , Theorem 3.4.3
(d)), Number Systems: From to , Proposition 2.3.2
(b) and . So every coefficient of is . For instance, over
, .
C. Going deeper
Solution. Both sides are
additive in .
is additive
by hypothesis, and is additive by Theorem 4.5.1
(a) and (F9) of (Theorem 4.2.4
(a)).
Powers of . We show for every , by induction.
For , . If it holds for , then, since , by (F5), (F6), (F7), (F9) of , , and the
recursion of multiples. Also , since
is a constant.
Monomials. Let and . By Theorem 4.2.4
(c), is the
product of the constant and , so If ,
this is , by (M). If , it is , by (F6), Lemma 4.1.1 (d)
and (M).
Conclusion. The two additive maps and agree on every monomial, so they are
equal by Lemma 4.2.3
(one argument, ).
Uniqueness. The formal derivative satisfies
the three conditions, by Theorem 4.5.1
(a) and (b), and (Example (Formal derivatives in five rings)
(ii)). If
satisfies them with , then for every .
Marking scheme. (10 points) - 2:
both sides additive in , with the additivity of
justified. - 2: from the product condition and
. - 3:
by induction, with the case
handled
separately. - 2: comparison with , using . - 1: conclusion by extending from monomials,
and the uniqueness statement.
A solution that shows instead that is all of is marked on the
same points: closure of under earns the first 2; the
constants and in
earn the next 2;
closure of under
products, by Theorem 4.5.1
(b), earns the 3; earns the 2; the uniqueness statement
earns the last 1.
Fatal errors (0 for the step): checking only on , with no account of
the coefficient
(that is where is needed); writing in the case .
Solution. The claim is
true: it is Proposition 4.5.2
(a) for .
The argument, as written, does not prove
it.
Lines (1), (2) and (4) are correct: (1) is Definition 4.5.1
with Lemma 4.1.1
(d), (2) reads coefficient by coefficient, and (4) compares
coefficients (Definition 4.1.1).
The second half of line (3) is correct too: is a field (Number Systems: From to , Theorem 2.4.3),
so it has no zero divisors (Theorem 2.1.1 (f)).
Line (3) fails, in its first half. “ in , so in the
ring” is a general “fact” that is neither proved nor
true, and the line uses nothing about to support it: entry
(N9) of Logic and Proof, Example (What is not allowed).
Counterexample to the step: in , gives .
The same four lines, read over , would “prove” that
is constant,
since (Example (Formal derivatives in five rings)
(iii)). There is no counterexample to the conclusion,
which is true.
Repair. What line (3) needs is that has characteristic
(Definition 2.5.1): for
, is the rational
number (induction
on , since the
embeddings preserve sums and , Number Systems: From to , Proposition 2.2.3
and Number Systems: From to , Proposition 2.4.4),
and . With
that sentence in place of “so”, the argument is the
proof of Proposition 4.5.2
(a), whose hypothesis is exactly the characteristic.
Marking scheme. (10 points) - 2:
says the claim is true and that the argument, as
written, does not prove it. - 3: names the first half of
line (3) and the reason: does not give in a
general ring, (N9), or an equivalent statement. - 2: a
counterexample to the step, such as in , or the “proof”
that is
constant over . - 3: repairs the
step by proving in for every , that is, . Two routes earn full marks: via the
embeddings, as in the solution; or by Number Systems: From to , Proposition 2.3.5
(h), since is
an ordered field (Number Systems: From to , Theorem 2.5.1)
with . Fatal
errors (0 for the step): a counterexample to the
conclusion (there is none); blaming the no-zero-divisors
half of line (3), which is correct.
R. Review
Solution. The tools are the notion
of a group homomorphism and its kernel, Definition 3.3.1,
written additively (Definition 3.1.1),
and Proposition 3.3.3.
The group. By Theorem 4.2.4
(a), satisfies
(F1)–(F4), so is an abelian group, with identity the zero
polynomial and inverse .
A homomorphism. By Theorem 4.5.1
(a) and (F1), (F2) of , which is the homomorphism condition in
additive notation.
The kernel is . Let , with , so
and (Definition 4.3.1).
By Definition 4.5.1,
, as in the
well-definedness paragraph after it. Addition is
coefficientwise (Definition 4.2.1),
so , and . Also , so by (M), and by (F3) of . So , and is injective by Proposition 3.3.3.
Not multiplicative. Take . By Example (Formal derivatives in five rings)
(ii), ,
so ,
and by Number Systems: From to , Proposition 2.3.2
(d). On the other side, (M) gives , so . The two differ in position , where they have and ; since , . So only the group structure of is respected, and
is not a ring
homomorphism.
Solution. The tool is the
uniqueness in Theorem 4.4.2
(b), applied to the field of Chapter 1.
The setting. is a field, and is
closed under its operations (Theorem 1.2.4); so
and are commutative rings
and is
defined. Let be the map of Proposition 1.1.1;
it preserves ,
and , so it is a ring
homomorphism (Definition 4.4.2).
For , let
be the homomorphism of Theorem 4.4.2
with and this ; then means .
Conjugation is a ring homomorphism. By Theorem 1.2.2 (a)
and (b), and , and , since and (Definition 1.2.1).
Two homomorphisms. Let and . Then is a composite of ring
homomorphisms, hence one (Definition 4.4.2),
and is one by Theorem 4.4.2
(a). On a constant , , since has conjugate
; and
. On
, .
By the uniqueness in Theorem 4.4.2
(b), :
for every .
Roots. If , then . If is not real, then , so : equality would give by comparing
imaginary parts (Definition 1.1.1),
so , and
because in
the ordered field (Number Systems: From to , Proposition 2.3.5
(h)) and has no
zero divisors (Number Systems: From to , Proposition 2.3.5
(f)). So the non-real roots of a real polynomial come in
pairs .
The identity and the first deduction are the
statement of Proposition 1.6.4,
and the distinctness of is the
paragraph after it; Chapter 1 proved both by a direct
computation with the sum . Here the
computation is replaced by the uniqueness of a
substitution homomorphism. Polynomials with rational
coefficients are a special case, since sits inside .
Solution. The tools are the
countability results of Sets, Relations, and
Cardinality, Chapter 3, read on through Number Systems: From to , Corollary 1.7.3.
and
are
countable. is countable (Sets, Relations, and Cardinality, Theorem 3.2.6).
The class map is surjective
(Sets, Relations, and Cardinality, Definition 2.5.4),
so is countable
by Sets, Relations, and Cardinality, Proposition 3.2.4;
this is the count of Number Systems: From to , Exercise (R2).
The map , , is surjective, since every class is or (Number Systems: From to , Theorem 3.4.3
(b)); so is
countable (Sets, Relations, and Cardinality, Definition 3.2.1).
Polynomials of bounded length. Let be or , and for let . By Exercise (B1: Polynomials of bounded length as tuples),
is in bijection
with . For
, is countable by
Sets, Relations, and Cardinality, Corollary 3.2.7
(b); for it
is itself. So
each is
countable, as the image of a countable set under a
bijection (Sets, Relations, and Cardinality, Proposition 3.2.4).
The union. Every polynomial lies in some
(Definition 4.1.1),
so , a countable union of countable sets,
which is countable by Sets, Relations, and Cardinality, Theorem 3.3.3
(a). (That theorem uses the axiom of countable choice to
pick a list of each .)
All sequences. The set is
uncountable (Sets, Relations, and Cardinality, Theorem 3.4.1).
The map , , , is a bijection; composing a sequence with
its inverse turns every sequence into a
sequence of zeros and ones, and this is a surjection
onto . If the sequences were
countable, so would be , by Sets, Relations, and Cardinality, Proposition 3.2.4.
So they are uncountable.
The clause. The difference is the clause
only finitely many of Definition 4.1.1:
a polynomial is a sequence that is from some point on, so
it is determined by a finite tuple, and there are
countably many finite tuples. A general sequence carries
infinitely many independent choices. The same count,
with the polynomials written as integer tuples, is the
proof of Sets, Relations, and Cardinality, Theorem 3.3.4.
Solution. Answer:
, and for .
They work. , and by Definition 4.4.3
and the power laws (Lemma 4.1.1
(c)).
The tool is look at the top
coefficient, then at the next non-zero one. Let
satisfy
,
with and . As in the proof of Proposition 4.5.2
(b), , whose coefficient at
is and whose
coefficients at odd positions are . So its coefficient at
is , and none beyond is non-zero. By Theorem 4.3.2
(b), since has
no zero divisors, has degree and leading
coefficient .
Hence , so
, and
since (Theorem 2.1.1 (f)).
Now let , so and (Theorem 4.3.1,
since the coefficients at cancel). Suppose , and let . By Number Systems: From to , Proposition 2.3.2
(d) in the commutative ring (Theorem 4.2.4
(a)), Its coefficient at is : contributes , since ; contributes , since multiplying
by shifts by
(Lemma 4.2.2
(a)); and
contributes ,
since (Theorem 4.3.2
(a)). On the other side, the coefficient of at is : if is odd, it is an
odd position; if , then , so , because and . Hence in , and since : a contradiction
with . So and .
Why the look-alikes fail. Evaluating at
points gives for every , a statement about polynomial
functions; turning it back into a statement about
coefficients needs the fact that a polynomial over an
infinite field is determined by its values, which this
chapter does not prove (Proposition 4.4.4
(d) shows that over a finite ring with it is false).
Differentiating with the chain rule of Exercise B1 gives
, an equation of the same kind and no
easier.
Over
every works.
There , since , and for ; so . The step that fails is “ implies ”: in , .