In ,
compute
and . The
first is ,
and , so it is . The second is , so it is as well. The rule
“”, the classic error of school algebra, is a
theorem when is
the characteristic of the field. This
section proves it, and deduces Fermat’s little theorem
from it with the rigidity of Section 2.5: a homomorphism
of to itself
is the identity.
The tool is the binomial theorem. School proves it
for numbers; we need it in an arbitrary commutative
ring, with the binomial coefficients acting as integer
multiples, and so we first set up finite sums in a
ring.
Sums and
powers in a commutative ring
Sets, Relations, and Cardinality, Chapter 2
defines finite sums, products and powers of real numbers
by recursion (Sets, Relations, and Cardinality, Definition 2.3.1,
Sets, Relations, and Cardinality, Definition 2.3.2,
both from Sets, Relations, and Cardinality, Theorem 2.3.1).
The definitions use nothing about except an addition
with a and a
multiplication with a . So, read on through Number Systems: From to , Corollary 1.7.3
(b), with ,
they define in every commutative ring :
- sums of elements , with the empty sum , and the three remarks
after Sets, Relations, and Cardinality, Definition 2.3.1:
a sum depends only on the terms it adds (finite lists),
shifting the index, and
splitting off the last term, for ;
- powers , for and , with the laws
of Sets, Relations, and Cardinality, Proposition 2.3.4
(a)–(c):
The proofs of those laws in Sets, Relations, and
Cardinality use only (F1)–(F7), (F9) and induction,
so they run unchanged in . We use this paragraph
as a template and do not repeat it. (Chapter 1 proves
the same power laws for every commutative ring as Proposition 1.1.3;
we compare, and cite the template.) In particular for every , by induction: and .
The binomial theorem rearranges sums term by term,
and the rules it needs are collected in the next lemma.
The sums start at ; by the definition, .
Lemma
2.6.1 (Finite Sums in a Commutative
Ring)
Let be a
commutative ring, , , and let and be
sequences in .
- (a) .
- (b) .
- (c) for every .
- (d) Let , and suppose
for every
. Then
if , and
if .
- (e) .
- (f) (Splitting
off the first term.) .
In words: a finite sum may be split termwise,
multiplied termwise, and negated termwise; a sum with
one non-zero term is that term; and the first term may
be split off, the rest being re-indexed from . By the finite-lists
remark, the lemma applies to finitely many terms as
well.
Idea. A sum up to is the sum up to
plus one term, so
every rule that holds for one term and survives adding
one more term holds for all sums: an induction on whose step is a single
axiom, (F1)–(F2) for (a), (F9) for (b), and
associativity for (f). Parts (c) and (e) need no
induction, because a multiple is a product, ,
so they are (b) in disguise.
Proof. Each part is an induction on
(Logic and Proof, Axiom 4.2.1),
splitting off the last term at the step, except (c) and
(e), which follow from (b).
(a) For both sides are
. If (a)
holds for , then
splitting off the last term, which is by (F1) and
(F2), and that is the right side for .
(b) For both sides are
. At the step,
by (F9), and the induction hypothesis
rewrites the first term.
(c) By Lemma 2.5.1 (c), which
holds for
by part (d) there, and . So (c) is (b) with .
(d) For : if the sum is ; if , then , so the sum is
. Suppose
(d) holds for ,
and split off . If , the sum up to
is and (as ), so the
total is . If
, the sum
up to is (as ) and the total
is . If , both parts are .
(e) By (c) with
, since (Lemma 2.5.1 (d)).
(f) For both sides are
. If (f)
holds for , then
by splitting off the last term, the induction
hypothesis, (F2), and splitting off the last term of the
sequence , whose term
at is
. This
proves the lemma.
Binomial
coefficients
In ,
each product appears a certain number of times, and
that number is the binomial coefficient. We define it by
Pascal’s rule, which is how the coefficients arise when
is
multiplied by , and we never divide.
Definition
2.6.1 (Binomial Coefficients)
The binomial coefficients , for
, are
defined by recursion on (Sets, Relations, and Cardinality, Theorem 2.3.1,
with the set of
functions ):
In words: row starts with , and each later entry
is the sum of the two entries of row above it
(Pascal’s rule). Each row is a whole
function , so the recursion has values for every
, and a
coefficient is a natural number, never a quotient.
Three facts follow by one induction on each.
- for . For this is the definition. If it holds for and , write with ; then .
- . Indeed , and
by the
first fact.
- . Indeed , and
.
The rows , with the zeros for shown:
| 0 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
| 1 |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
| 2 |
1 |
2 |
1 |
0 |
0 |
0 |
0 |
| 3 |
1 |
3 |
3 |
1 |
0 |
0 |
0 |
| 4 |
1 |
4 |
6 |
4 |
1 |
0 |
0 |
| 5 |
1 |
5 |
10 |
10 |
5 |
1 |
0 |
| 6 |
1 |
6 |
15 |
20 |
15 |
6 |
1 |
The identity we need relates row to row by a factor. It is what
makes a prime divide the middle coefficients of row
.
Proposition
2.6.2 (Absorption Identity)
For all ,
Idea. The definition is a recursion
on , so we induct
on , proving the
statement for all at once; the step then
needs the hypothesis at two values of . In the step, expand
the left side by Pascal’s rule, split the factor as in front of
one of the two terms, apply the hypothesis twice, and
recombine with Pascal’s rule. For , it reads ;
for , , .
Proof. We prove by induction on
(Logic and Proof, Axiom 4.2.1)
the statement “for every , ”.
Base . For : . For
: since
, and
;
both sides are .
Step. Suppose the statement holds for . For , the claim for
reads , and both sides are by the facts above.
For with
, Pascal’s
rule gives where the third line uses the hypothesis at
and at , and the fourth
line Pascal’s rule again. This is the claim for at . This proves
the proposition.
The
binomial theorem
Expanding multiplies out factors and collects the
products . In a commutative ring this collecting
is legitimate, and the counts are the binomial
coefficients, acting as integer multiples.
Theorem
2.6.3 (The Binomial Theorem in a Commutative
Ring)
Let be a
commutative ring, and . Then
Here is the integer multiple of Section 2.5, and
since
.
Idea. Induct on , with . Multiplying the sum for by raises every power of
by one, which
shifts the coefficients one place to the right;
multiplying by
leaves them in place. Adding the two rows entry by entry
is exactly Pascal’s rule. The work is in lining the two
sums up over the same range : the
shifted sum gets a zero first term, and the other one a
zero last term.
Proof. Induction on (Logic and Proof, Axiom 4.2.1).
For , and the
right side is .
Suppose the formula holds for , and put for . By the power recursion, (F9) and
Lemma 2.6.1 (b) with (F6),
By the rule of Lemma 2.5.1 (d), with (F5),
(F6) and the power recursion, For let , and define Then and for , and , since . By Lemma 2.6.1 (f) and , and by splitting
off the last term , So by Lemma 2.6.1 (a). Finally,
, and for with , the sum
rule of Lemma 2.5.1 (d) and
Pascal’s rule give Hence , which is the formula for . This proves the
theorem.
The proof used (F6) at every regrouping of , and the
theorem needs it: the linear-algebra volumes meet
matrices, whose multiplication is not commutative, and
there the expansion holds only for pairs that commute.
For the
theorem is the familiar expansion, since there (Section
2.5).
In row of the
table, the four middle entries are all
multiples of ; in
row the middle
entries and
are not
multiples of .
Primes are special.
Lemma
2.6.4 (A Prime Divides the Middle Binomial
Coefficients)
Let be a prime
and with
.
Then .
The hypothesis “prime” is needed: , and
. In the
proof, , but , so
Euclid’s lemma does not apply.
Quick check. Use Proposition 2.6.2 to
compute from , and
check that
divides it.
Solution. With , : , so , and
. (By
Pascal’s rule, ,
the same.)
The
Frobenius map
We can now expand in a field of characteristic .
Theorem
2.6.5 (The Frobenius Homomorphism)
Let be a field
of characteristic .
- (a) For all , and . So the Frobenius map , , is a homomorphism, and it is
injective.
- (b) for
all .
- (c) If is finite, then is an
automorphism of .
By Theorem 2.5.3, the
hypothesis already makes prime.
Try it first (ten minutes): expand and in , using the rows
and of the table above,
and see which coefficients survive.
Idea. For the
coefficients become in , and .
For the
coefficients become , and : the extra terms survive because is not the
characteristic. So the plan is: expand by the binomial
theorem; every middle coefficient is a
multiple of ; and
a multiple of
acts on as , because . The
product rule and are power laws, and injectivity is free for a
homomorphism of fields.
Before reading on: where is it used that is prime?
Proof.
(a) By Theorem 2.6.3, with . Let
. By
Lemma 2.6.4, , so
by Proposition 2.5.2 (a), and
then, by Lemma 2.5.1 (c) and Theorem 2.1.1 (d), The end terms are and . Let for
and
otherwise, and for and otherwise. Since , for every
, so
by Lemma 2.6.1 (a) and (d),
which is by (F1). Next, is the
third power law of this section’s opening paragraph (Sets, Relations, and Cardinality, Proposition 2.3.4
(c), read in ),
and . So
is a
homomorphism (Definition 2.4.1), and it
is injective by Proposition 2.4.1
(c).
(b) By Proposition 2.4.1 (a),
.
(c) The image
is a
subset of , and
, with
codomain , is a
bijection by (a). If ,
this would be a bijection from the finite set onto a proper subset,
which Sets, Relations, and Cardinality, Theorem 3.1.9
forbids. So , is bijective,
and a bijective homomorphism is an
automorphism (Definition 2.4.1). This
proves the theorem.
Answer to the prompt. Primality is used in
one place: Lemma 2.6.4, whose proof
needs Euclid’s lemma, and so needs prime. It costs nothing
here, since a positive characteristic is always prime
(Theorem 2.5.3).
In words: in characteristic , raising to the -th power respects sums.
The map is not the identity in general; Exercise C3 of
Section 2.5 found that on the four-element field it
exchanges two elements. On itself it is the
identity, and that is Fermat’s little theorem.
Warning. “” is
not a general rule. In a field of characteristic it holds for
(Theorem 2.6.5 (a)), and so
for by
Exercise B2 (and in the same way for every power of
). With other
exponents it can fail: in , , while
. In a
ring of composite characteristic it can fail even with
equal to the
characteristic: in , which has
characteristic ,
, while ; the middle coefficient is not a
multiple of . In
the identity
fails for every : .
Fermat’s
little theorem
On , the
Frobenius map is a homomorphism , and by
Corollary 2.5.6 (b) there
is only one such map, the identity. That is the whole
proof of the first part below.
Theorem
2.6.6 (Fermat’s Little Theorem)
Let be a
prime.
- (a) for every .
- (b) for every
non-zero ; so .
- (c) For every , ; and if
, then
.
Proof.
(a) (Example (The characteristics of the standard fields)),
so is a homomorphism by Theorem 2.6.5 (a). By Corollary 2.5.6 (b), the
only homomorphism is the identity. Hence
for every .
(b) Let . Since , and , by (F6), the power recursion
and (a). Canceling (Theorem 2.1.1 (b)) gives
.
Likewise and , so by
uniqueness of inverses (Theorem 2.1.1
(c)).
(c) Write for the class of
in . Since
(Number Systems: From to , Theorem 3.4.1
(b)), induction on gives for every
: , and
. By (a), , so
(Number Systems: From to , Theorem 3.4.1
(a), for the ideal ). If , then (Number Systems: From to , Theorem 3.4.1
(d)), so by (b), and . This
proves the theorem.
Primality is needed in (c). For the modulus and , is not a
multiple of (in
this is
, from the warning above), and although
, is not a
multiple of
either.
Part (b) gives a second way to invert in , besides the
Euclidean algorithm of Number Systems: From to , Chapter 3:
.
It also reduces large exponents: for non-zero , only the remainder of
the exponent on division by matters, since
. Exercise C2 below gives a second
proof of (a), by induction, and Chapter 4 gives another
proof of (b), from a product of all the non-zero
elements.
Example
(Powers and inverses in prime fields)
- (i) Compute in .
- (ii) Compute in .
- (iii) Find the
inverse of in
twice: by
Theorem 2.6.6 (b), and by
the Euclidean algorithm.
- (iv) What is the
Frobenius map of ?
Solution.
(i) is prime (the
small-primes remark of Number Systems: From to , Section 3.1)
and in
, so by Theorem 2.6.6 (b). Since
, the power laws give , and . So in .
(ii) is prime: by the
remark after Number Systems: From to , Lemma 3.3.4
it suffices that no with and , that
is ,
divides , and
the remainders of on division by are . Since in , Theorem 2.6.6 (b) gives
. No multiplication was needed.
(iii) is prime by the same
test ( leave remainders ). By
Fermat: since in , Theorem 2.6.6 (b) gives
.
Square repeatedly in : , ,
, . With , By Euclid: and
,
so and by Number Systems: From to , Theorem 3.5.1.
Both routes give .
Check: . For small the Euclidean algorithm
is shorter; Fermat’s route needs no back-substitution,
only squaring.
(iv) The
identity, by Theorem 2.6.6 (a):
for every .
Quick check. Compute in and in , with and
without Theorem 2.6.6.
Solution. Both are . Without it: ;
and , so . With it: and are prime, in and in , and the
exponents are
and .
Exercises
A. Check your
understanding
Exercise
(A1)
These parts are about Theorem 2.6.5 and its
proof.
- (a) Where in the
proof of (a) is it used that is prime, and why does
the theorem not need “ prime” as a separate
hypothesis?
- (b) List for and for . Which are
divisible by , and
which by ?
- (c) Why is injective?
Does the proof use that is finite?
- (d) State the idea
of the proof of (a) in two sentences.
Solution.
(a) In Lemma 2.6.4, through
Euclid’s lemma: gives only
because , which needs prime. A positive
characteristic is always prime (Theorem 2.5.3), so “” already includes it.
(b) Row : ; the
four middle ones are divisible by , the end ones are not.
Row : ;
only the two ’s
are divisible by ,
and , are not. This is why
in a ring of characteristic such as .
(c) Every
homomorphism of fields is injective (Proposition 2.4.1 (c)):
only for . The
proof of injectivity does not use finiteness; finiteness
is used only for surjectivity in (c).
(d) Expand by the binomial
theorem; every middle coefficient is a
multiple of . In
characteristic ,
, so
every middle term vanishes and only
remains.
B. Practice
Exercise
(B1)
Compute
in , and
find the inverse of in by Theorem 2.6.6.
Solution. is prime (no with divides it,
and ; the remark after Number Systems: From to , Lemma 3.3.4),
and in
. By Theorem 2.6.6 (b), . Since ,
in . For the
inverse, . Now , so and . Check:
. Hence and .
Exercise
(B2)
Let be a field
of characteristic .
- (a) Show that for all .
- (b) Show that for all and .
Solution.
(a) is a homomorphism, as a composite
of homomorphisms (Proposition 2.4.1 (e)), and
by the
power law . Applying its additivity to gives the
claim.
(b) Induction on
. For both sides are
: the empty sum is
, and
as . If the
claim holds for ,
split off the last term and use Theorem 2.6.5 (a):
Exercise
(B3)
Let be a
prime. Show that the solutions of are exactly
the non-zero elements, and that every satisfies
.
Solution. Every non-zero satisfies by Theorem 2.6.6 (b). The
element does not:
since ,
. So the solutions are exactly the
non-zero elements. And for every by Theorem 2.6.6 (a).
C. Going deeper
Exercise
(C1: Exit check: the Frobenius identity)
Let be a field
of characteristic . Using Theorem 2.6.3 and Lemma 2.6.4, prove that
, , is an injective homomorphism.
Solution. Sums. By Theorem 2.6.3, . For , by Lemma 2.5.1 (c). By Lemma 2.6.4, , and
since , (Proposition 2.5.2 (a)); so
the term is (Theorem 2.1.1 (d)). The
terms and
are and
,
since and . A sum
whose terms vanish except at two places is the sum of
those two terms (Lemma 2.6.1 (a), (d)), so
.
Products and one. by the
power law , and . So is a
homomorphism (Definition 2.4.1).
Injective. Every homomorphism of fields is
injective (Proposition 2.4.1 (c)).
Marking scheme. (10 points)
- 2: the binomial expansion written with integer
multiples .
- 2: each middle term reduced to a multiple that
vanishes, with the rule named (for example by , or where ).
- 2: that multiple is from and
, with both reasons named.
- 1: the end terms and .
- 1: and .
- 2: injectivity, by Proposition 2.4.1 (c) or by
any correct direct argument.
Second route for injectivity: earns the 2 points, 1 for
with its reason (Proposition 2.4.1 (a), or
for
every prime , the
even one included), and 1 for because a field
has no zero divisors.
Fatal errors (0 for the step): “” as an
integer; using in its own proof.
Solution.
(a) For : , as . If , then by Theorem 2.6.5 (a) (, Example (The characteristics of the standard fields)),
Every element of is for some
(Number Systems: From to , Theorem 3.4.3
(b)), and (part (d) there). So for every .
(b) Let . Then , so by (a). By
induction on ,
,
using
(Number Systems: From to , Theorem 3.4.1
(b)), as in the proof of Theorem 2.6.6 (c). So , and (Number Systems: From to , Theorem 3.4.1
(a), for the ideal ). (This proves only
what Theorem 2.6.6 already
gives; it is practice with the Frobenius identity, and
nothing cites it.)
Exercise
(C3: Roots of order p)
Let be a
finite field of characteristic . Show that for every
the
equation
has exactly one solution . Deduce that in
, the only
solution of
is .
Solution. By Corollary 2.5.7 (a), is a prime, so , and by Theorem 2.6.5 (c), is a
bijection .
Surjectivity gives a solution of , and
injectivity says there is at most one. In , is a solution by Theorem 2.6.6 (a), , so it is the
only one. The uniqueness half needs only that is injective,
so it holds in every field of characteristic (Theorem 2.6.5 (a));
existence used the finiteness of .
R. Review
Exercise
(R1)
Find all with , and explain why there are exactly two.
Solution. By the square-root
formula of Proposition 1.4.1,
with , :
(since ), , , and , so . Check: . By Corollary 2.1.2 in the
field (Example (The Fields , and )), if and only if
or . So the solutions
are and
. They are
two, not one: would give , hence , since in
(, Example (The characteristics of the standard fields),
with Proposition 2.5.2 (b)).
Exercise
(R2)
Show that has
no square root in .
Solution. Suppose with
.
Expanding, , so by unique
representation (Number Systems: From to , Proposition 6.4.5
(a)), and
.
Since in
(, Example (The characteristics of the standard fields),
with Proposition 2.5.2 (b)), Theorem 2.1.1 (f) applied
twice (to , then to ) gives or . If , then . If , then , so . Both are excluded by the claim stated with
Number Systems: From to , Proposition 6.4.6:
no natural number
with for some is the square of a rational; take , as , and
,
as . So
has no square root in . This is the
method of Number Systems: From to , Chapter 6,
which showed the same for .
Solution. . In , , by the definition of the sum, with
coefficients in . So and , while every ordered field has characteristic
(Example (The characteristics of the standard fields)).
This is the method of Number Systems: From to , Theorem 3.4.3
(e) and Number Systems: From to , Example (A field with two elements that cannot be ordered):
in an ordered field for (Number Systems: From to , Proposition 2.3.5
(h)), while here .
.
This is the method of Proposition 1.4.3;
the proposition itself does not apply, since an order on
the subfield
need not extend to . Suppose made an ordered field.
Then gives
, and
gives (Number Systems: From to , Proposition 2.3.5
(e)). But
(Proposition 1.1.1;
the operations of are those of ), and gives (Number Systems: From to , Proposition 2.3.5
(a)). So , and by transitivity, which is impossible for the
strict part of an order. The characteristic does not
help here, since (Example (The characteristics of the standard fields)):
the obstruction for is a square, not a
multiple of .
Exercise
(R4)
Find all homomorphisms .
Solution. There are exactly two:
the inclusion , and .
Every homomorphism is one of them. Let be a homomorphism. The inclusions and
are
homomorphisms (Example (Conjugation and Other Automorphisms)
(ii); is a
subfield of both), so they are and
by the
uniqueness clause of Theorem 2.5.5 (b) (both
fields have characteristic , Example (The characteristics of the standard fields)).
By Corollary 2.5.6 (a), : for every
. Then
so or by Corollary 2.1.2 in . Hence .
Both occur. The inclusion is a homomorphism
(Example (Conjugation and Other Automorphisms)
(ii)), and so is conjugation of followed by the inclusion (Example (Conjugation and Other Automorphisms)
(iii) and Proposition 2.4.1 (e)).
They differ at , since .
The tool, and the look-alikes. The tool is
rigidity on the prime subfield (Corollary 2.5.6) followed
by “push the equation through ”. The uniqueness
theorem for complete ordered fields of Number
Systems: From
to ,
Chapter 6 (Number Systems: From to , Theorem 6.3.4)
does not apply: it concerns maps of a complete ordered
field to itself, and is not
complete. Nor does “a homomorphism into an ordered field
preserves order”: the second homomorphism sends to .