Minimal Polynomials
Minimal Polynomials
In these notes we continue to develop the theory of finite fields. Our main goal in
this theory is to prove the following classification theorem.
2. For every prime p and every d ≥ 1, there exists a finite field with pd elements.
3. Any two finite fields with the same number of elements are isomorphic.
Here isomorphic means that two fields have the same algebraic structure. That
is, fields F1 and F2 are isomorphic if there exists a bijection ψ : F1 → F2 satisfying
for all a, b ∈ F1 .
EXAMPLE 1 The field R[x] x2 + 1 is isomorphic to the complex numbers, with
the isomorphism
ψ : R[x] x2 + 1 → C
F1 = Z2 [x] x3 + x + 1 F2 = Z2 [y] y 3 + y 2 + 1
and
Minimal Polynomials 2
ψ x2 + 1 = y 2 ψ x2 + x + 1 = y 2 + y + 1
ψ(1) = 1 ψ(x + 1) = y
This bijection ψ preserves all of the arithmetic operations. For example,
ψ x2 + ψ(x) = y 2 + 1 + (y + 1) = y 2 + y = ψ x2 + x
and
ψ(x) ψ(x + 1) = (y + 1)(y) = y 2 + y = ψ x2 + x = ψ x(x + 1) .
Minimal Polynomials
We begin by associating a polynomial to each element of a finite field. Our definition
here is a little bit different than the one we used in class, but it is equivalent and we
will end up with all the same theorems.
EXAMPLE 3 Consider the field Z3 [i], which has characteristic 3. The minimal
polynomials in Z3 [x] for the elements 0, 1, −1 ∈ Z3 [i] are respectively
x, x − 1, and x + 1,
and these are the only elements of Z3 [i] whose minimal polynomials are linear.
The minimal polynomial for i is
m(x) = x2 + 1,
which is irreducible in Z3 [x]. This is also the minimal polynomial for −i, and indeed
x2 + 1 factors into (x − i)(x + i) over Z3 [i].
Finally, the minimal polynomial for both 1 + i and 1 − i is
m(x) = (x − 1)2 + 1 = x2 + x − 1
and the minimal polynomial for both −1 + i and −1 − i is
m(x) = (x + 1)2 + 1 = x2 − x − 1.
Minimal Polynomials 3
PROOF Let f (x) ∈ Zp [x]. If m(x) | f (x), then since m(a) = 0 it follows that
f (a) = 0. For the converse, suppose that f (a) = 0, and suppose to the contrary that
m(x) 6 | f (x). Since m(x) is irreducible, it follows that m(x) and f (x) are relatively
prime, so by Bézout’s lemma there exist polynomials b(x), c(x) ∈ Zp [x] such that
b(x) f (x) + c(x) m(x) = 1.
But since f (a) = m(a) = 0, substituting a for x gives the equation 0 = 1, a contra-
diction. We conclude that m(x) | f (x) whenever f (a) = 0.
Let F be a finite field of characteristic p, let a ∈ F, and let m(x) ∈ Zp [x] be the
minimal polynomial for a. Then for all f (x), g(x) ∈ Zp [x],
f (a) = g(a) if and only if f (x) ≡ g(x) mod m(x) .
PROOF Let h(x) = f (x) − g(x). Then f (a) = g(a) if and only if h(a) = 0.
By Proposition 1, this occurs if and only if m(x) divides h(x), i.e. if and only if
Minimal Polynomials 4
f (x) ≡ g(x) mod h(x) .
PROOF Let n = |F|. By Fermat’s little theorem for fields, we know that an = a, and
hence a is a root of the polynomial xn − x. Then a must be a root of some irreducible
factor of xn − x, and therefore a has at least one minimal polynomial m(x).
For uniqueness, suppose that m1 (x) and m2 (x) are minimal polynomials for a.
Then by Proposition 1 we know that m1 (x) | m2 (x) and m2 (x) | m1 (x), and since
m1 (x) and m2 (x) are monic it follows that m1 (x) = m2 (x).
since
a + bi = b(i + 1) + (a − b)
for any element a + bi ∈ Z3 [i].
However, 1 is not a generator for Z3 [i], since f (1) ∈ {0, 1, 2} for any polynomial
f (x) ∈ Z3 [x]. Indeed, none of the elements 0, 1, 2 of the prime subfield is a generator
for Z3 [i], but it is possible to show that each of the remaining six elements is a
generator for Z3 [i].
Every finite field F has at least one generator. In particular, any primitive
element of F× is a generator for F.
PROOF Let F be a finite field, and let a ∈ F× be a primitive element. Then every
nonzero element of F is a power of a, and can hence be written as f (a) for some
polynomial f (x) = xk . Finally, the element 0 ∈ F can be written as z(a), where z(x)
is the zero polynomial.
We now prove that the structure of a finite field can be determined from the
minimal polynomial for any generator.
PROOF Let ψ : Zp [x] m(x) → F be the function
ψ f (x) = f (a).
That is, ψ maps the residue class of each polynomial f (x) to the element f (a) ∈ F.
From Corollary 2, we know that
f (x) ≡ g(x) mod m(x) if and only if f (a) = g(a)
Minimal Polynomials 6
for all f (x), g(x) ∈ Zp [x], and thus ψ is both well-defined and one-to-one. Moreover,
since a is a generator for F, the image of ψ is all of F, and therefore ψ is a bijection.
Finally, we have
ψ f (x) + g(x) = f (a) + g(a) = ψ f (x) + ψ g(x)
and
ψ f (x) g(x) = f (a) g(a) = ψ f (x) ψ g(x)
for all f (x) and g(x), which proves that ψ is an isomorphism.
m(x) = x2 + 1.
Since i is a generator for Z3 [i], it follows that Z3 [i] is isomorphic to Z3 [x] x2 + 1 .
Similarly, recall that 1 + i is also a generator for Z3 [i]. The minimal polynomial
for 1 + i is
m(x) = (x − 1)2 + 1 = x2 + x − 1,
so it follows that Z3 [i] is also isomorphic to Z3 [x] x2 + x − 1
where m(x) is the minimal polynomial for a. Then F has pd elements, where d is the
degree of m(x).
For example, an element of F has degree 1 if and only if it lies in the prime subfield
of F. We can use degree to give a nice characterization of the generators of F.
Let F be a finite field with pd elements, where p is prime and d ≥ 1. Then the
generators for F are precisely the elements of F that have degree d.
PROOF Let a ∈ F, let m(x) ∈ Zp [x] be the minimal polynomial for a, and consider
the set
{f (a) | f (x) ∈ Zp [x]}.
By Corollary 2, the
elements
of this set are in one-to-one correspondence with the
elements of Zp [x] m(x) . In particular, this set has precisely pk elements, where k
is the degree of m(x). Then this set is equal to all of F if and only if k = d.
For example, this proposition proves our previous assertion that each of the six
elements of Z3 [i] of degree 2 is a generator for Z3 [i].
Next we would like to investigate the action of the Frobenius automorphism on
the generators.
PROOF It suffices to prove that ϕd (a) = a and that ϕk (a) 6= a for 1 ≤ k < d. The
first statement follows from Fermat’s little theorem for fields, since
d
ϕd (a) = ap = a.
Minimal Polynomials 8
To prove the second statement, suppose to the contrary that ϕk (a) = a for some k < d.
Then for any polynomial f (x) ∈ Zp [x], we have
Since a is a generator for F, we conclude that ϕk (b) = b for all b ∈ F. But this is
k
impossible, since xp − x has at most pk different roots in F.
Incidentally, it is possible to prove that for any element a of a finite field, the
degree of a is equal to the smallest positive number k for which ϕk (a) = a, but we
will not need this more general version.