CH 07
CH 07
Finite fields
n · 1 = |1 + 1 +{z· · · + 1} = 0.
n terms
Hence
· · + 1} = 0 or 1| + ·{z
1| + ·{z · · + 1} = 0,
a terms b terms
7–1
Proof. It is easily verified that the map θ : Fp → F sending
0 7→ 0, 1 7→ 1, 2 7→ 1 + 1, . . . , p − 1 7→ |1 + 1 +{z· · · + 1}
p − 1 terms
is an injective homomorphism.
Conversely, any homomorphism θ : Fp → F must send 0 7→ 0, 1 7→ 1, 2 7→
1 + 1, etc.
Definition 7.2. We call this subfield (which we identify with Fp ) the prime
subfield of F .
(a + b)p = ap + bp .
p − 1.
Proof. We have
p p(p − 1) · · · (p − r + 1)
= .
r 1 · 2···r
The result follows (this may require a little thought) since p divides the top
but not the bottom.
The Proposition follows at once.
7–2
Φ is known as the Frobenius automorphism. The group of automorphisms
of a field k is called the “galois group” of k. It is not hard to see tht he galois
group of a finite field is the cyclic group generated by Φ.
Proof. We can consider F as a vector space over its prime subfield Fp . Let
e1 , e2 , . . . , ed be a basis for this vector space. Then each elements of F is
uniquely expressible in the form
x1 e1 + x2 e2 + · · · + xd ed (xi ∈ Fp ).
Theorem 7.1. There exists a finite field of each prime-power order pe , and
this field is unique up to isomorphism.
7.3 F × is cyclic
Recall that the multiplicative group A× of a ring A is the group formed by
the invertible elements of A. For example, Z× = {±1}.
If k is a field then its multiplicative group k × = k \ {0}, since every
non-zero element of k is invertible.
Interestingly, the proof of this result is no simpler for the prime fields Fp
then it is for general finite fields Fq with q = pe .
Proof. We suppose throughout the proof that F is a field of order pe , so that
F× = F \ {0} is a group of order pe − 1.
We will show by a counting argument that F × contains an element of
order pe − 1, which must be a generator of this group.
7–3
The multiplicative order d of any element a ∈ F × must divide pe − 1, by
Lagrange’s Theorem (in group theory). Let the number of elements of order
d | pe − 1 in F × be f (d).
These elements all satisfy the polynomial equation xd = 1 over the field
Fp . It follows that f (d) ≤ d. (The theorem that a polynomial of degree d
has at most d roots holds just as well over finite fields as it does over R or
C.)
But we can do better. If a is one element of order d then the d elements
1, a, a2 , . . . , ad−1 all satisfy the equation, and so must give all its roots. These
elements form a cyclic group of order d.
Lemma 7.2. If G = hgi is a cylic group of order d generated by g then g r
has order d if and only if gcd(d, r) = 1.
Proof. Suppose gcd(d, r) = 1; and suppose ar has order e. Then are = 1 =⇒
d | re =⇒ d | e since gcd(r, d) = 1.
Conversely, suppose gcd(d, r) = e > 1. Let d = ef, r = es. Then
e = d/f = r/s =⇒ rf = ds. Hence (ar )f = (ad )s = 1, and ar has order
smaller than d.
If follows that f (d) is either 0 (if there are no elements of order d) or else
φ(d). (Recall that φ(d) is the number of numbers r ∈ {1, . . . , d − 1} coprime
to d.)
Now consider the additive group Z/(n). This is a cyclic group of order n.
It certainly has elements of each order d | n; for if n = de then e has order
d. Moreover, if r has order d then n | dr =⇒ de | dr =⇒ e | r.
Thus the elements of order d are all multiples of e, lying in the cyclic
subgroup generated by e. So the Lemma above shows that there are precisely
φ(d) elements in Z/(n) of order d. Hence
X
φ(d) = n.
d|n
7–4
Corollary 7.3. There are exaclty φ(p − 1) primitive roots modulo p for each
prime p. If π is one primitive root then the others are π r for r coprime to d.
53 ≡ 5 · 52 ≡ 5 · 2 = 10,
55 ≡ 25 · 53 = 250 ≡ 20 ≡ −3,
57 ≡ −75 ≡ −6,
59 ≡ 5 · 24 = 80 ≡ 11,
513 ≡ 11−1 ≡ −2,
515 ≡ −50 ≡ −4,
517 ≡ −3−1 ≡ −8,
519 ≡ 510 · 59 ≡ 99 ≡ 7,
521 ≡ 5 · 57 · 513 ≡ 60 ≡ −9.
Thus the primitive roots modulo 23 are: −9, −8, −6, −4, −2, 5, 7, 10, 11. (It
is a matter of personal preference whether or not to replace remainders > p/2
by ther negative equivalent.)
7–5
7.3.2 Uniqueness
First an auxiliary result.
Since this polynomial has degree pe , and we have pe roots, it factorizes com-
pletely over F into linear terms:
Y
U (x) = (x − a).
a∈F
(A polynomial of degree d over any field k has at most d roots, just like a
polyomial over R or C.)
Note that we can express this result in the form: Φe (a) = a for all a ∈ F .
U (x) is sometimes called the universal polynomial of the field F .
A little result we shall need later.
U 0 (x) = −1
never vanishes.
Theorem 7.3. If F, F 0 are two fields of the same order pe then there exists
an isomorphism Φ : F → F 0 .
7–6
Proof. Let π be a generator of F × ; and let m(x) be the minimal polynomial
of π over Fp . Since U (π) = 0 it follows that
m(x) | U (x).
Note that this is a result in the polynomial ring Fp [x].
Now pass to F 0 . Then
Y
m(x) | U (x) = (x − b).
b∈F 0
Since U (x) factors over F 0 into linear polynomials, so does m(x), say
m(x) = (x − b1 ) · · · (x − bd ).
Choose π 0 to be any of b1 , . . . , bd . We define the map Θ : F → F 0 by
π r 7→ π 0r (0 ≤ r < pn − 1)
and 0 7→ 0. Since π is of order pe − 1, while π 0 , even if it is not a generator
of F 0× , still satisfies the equation xp −1 = 1, the map is well-defined; for
e
7–7
7.4 Existence
Theorem 7.4. There exists a field F of every prime power pn .
We give two very different proofs — take your choice. The first constructs
F by a series of smaller extensions. The second uses a counting argument
pe
to show that there exist irreducible polynomials over Fp of every degree.
β = a0 + a1 α + · · · + af −1 αf −1 ,
with ai ∈ Fp .
Now U (α) = 0 since f (α) = 0 and f (x) | U (x). In other words, Φe (α) =
α. In addition, Φe (ai ) = ai for 0 ≤ i < f . Hence
Φe (β) = β
for all elements β of the field, since Φe preserves addition and multiplication.
We know there is only one field of order pf so we can denote it by Fpf .
Now suppose π is a generator of the multiplicative group F× pf
. Then π is
of order p − 1. But Φ (π) = π, ie π = π =⇒ π
f e pe pe −1
= 1 also. Hence
pf − 1 | pe − 1.
y f − 1 | (y f )d − 1 = y e − 1.
7–8
Conversely, suppose f - e, say
e = fq + r
where 0 < r < f . Let h(x) = xf − 1. Then
xf ≡ 1 mod h(x) =⇒ (xf )d ≡ 1 mod h(x) =⇒ xe ≡ xr mod h(x).
Setting x = p,
pe ≡ pr mod pf − 1 =⇒ pe − 1 ≡ pr − 1 mod pf − 1.
But pf − 1 | pe − 1, by hypothesis. Hence pf − 1 | pr − 1, which is impossible
since pr − 1 < pf − 1.
We see therefore that
f | e.
If f = e we are done. Otherwise we repeat the same construction with
F = Fpf playing the role of Fp . Thus we start with an irreducible factor f (x)
of Ue (x) over F of degree d > 1 (we know there is such a factor since there
are only pf linear factors), and consider the extension field F[x]/(f (x)) of
order pg , where g = f d. Again, the field is generated by α = x mod f (x), ie
its elements are polynomials in α,
β = a0 + a1 α + · · · + ad−1 αd−1 ,
with ai ∈ F. As before,
Φe (α) = α, Φe (ai ) = ai =⇒ Φe (β) = β.
Now we choose a generator π of Fp . This is of order pg − 1, and
g
e −1
Φe (π) = π =⇒ π p = 1.
Hence
pg − 1 | pe − 1 =⇒ g|e.
Thus we have constructed a larger field Fpg , with f | g | e. Continuing in
this way, we must finally reach the field Fpe .
7–9
Möbius inversion
It is convenient at this point to introduce an auxiliary idea, used widely in
combinatorics and elsewhere outside of number theory.
Definition 7.4. The Möbius function µ(n) is defined for positive integers n
by (
0 if n has a square factor
µ(n) =
(−1)r if n is square-free and has r prime factors
Thus
Then X
f (n) = µ(n/d)g(n).
d|n
Proof.
Lemma 7.5. We have
(
X 1 if n = 1
µ(d) =
d|n
0 otherwise.
Proof. Suppose n = pe11 · · · pnen . Then it is clear that only the factors of
p1 · · · pr will contribute to the sum, so we may assume that n = p1 · · · pr .
But in this case the terms in the sum correspond to the terms in the
expansion of
(1 − 1)(1 − 1) · · · (1 − 1)
| {z }
r products
giving 0 unless r = 0, ie n = 1.
Given arithmetic functions u(n), v(n) let us define the arithmetic function
u ◦ v by X X
(u ◦ v)(n) = u(d)v(n/d) = u(x)v(y).
d|n n=xy
7–10
[This is analogous to the convolution operation in analysis.] This operation
is commutative and associative, ie v ◦ u = u ◦ v and (u ◦ v) ◦ w = u ◦ (v ◦ w).
The latter follows from
X
((u ◦ v) ◦ w)(n) = u(x)v(y)w(z).
n=xyz
µ ◦ = δ,
g = ◦ f =⇒ f = µ ◦ g.
µ ◦ g = µ ◦ ( ◦ f ) = (µ ◦ ) ◦ f = δ ◦ f = f.
The following multiplicative form of this result can be proved in the same
way.
Corollary 7.4. Given an arithmetic function f (n), suppose
Y
g(n) = f (n).
d|n
Then Y
f (n) = g(n)µ(n/d) .
d|n
7–11
Return to second proof
There are pn monic polynomials of degree n in Fp [x]. Let us associate to
each such polynomial the weight xn . Then all these terms add up to the
generating function
X 1
p n xn = .
n∈N
1 − px
Now consider the factorisation of each polynomial
(This is justified by the fact that terms on the right after the nth only involve
powers greater than xn .)
Comparing the terms in xn−1 on each side,
X
pn = dσ(d).
d|n
7–12
Applying Möbius inversion,
X
nσ(n) = µ(n/d)pd .
d|n
It follows that σ(n) > 0. ie there exists at least one irreducible polynomial
of degree n.
1 23 − 2
µ(1)23 + µ(3)2 = = 2,
3 3
namely the polynmials x3 + x2 + 1, x3 + x + 1.
The number of polynomials of degree 4 over F2 is
1 4 2
24 − 22
µ(1)2 + µ(3)2 + µ(1)2 = = 3.
4 4
(Recall that µ(4) = 0, since 4 has a square factor.)
The number of polynomials of degree 10 over F2 is
1 10 990
2 − 25 − 22 + 2 = = 99
10 10
The number of polynomials of degree 4 over F3 is
1 4 72
3 − 32 = = 9.
4 8
7–13