Exploration 6: Finite fields
December 10, 2023.Questions:
- How do we work with positive characteristic?
- What do finite fields look like?
Recall that the characteristic of every integral domain must be either zero or prime. Since all fields are integral domains, we can categorize each field as either an infinite field () or a finite field ().
Let’s begin with the finite fields. By the end of this exploration, we will have classified all of the finite fields.
In this section, we discuss the ring of integers mod .
All we know so far about a finite field is that it must be of some prime characteristic . Let’s first study the case where its order is exactly — in other words, let’s study the ring of integers mod .
First we prove that the integers mod form a field:
- Recall that quotienting a Euclidean domain by a prime ideal results in a Euclidean domain. But where is a Euclidean domain (since integer division exists) and is a prime ideal, therefore is a Euclidean domain as well.
- To show that is also a field, recall that in a Euclidean domain, Bezout’s identity for coprime integers gives for some . Then since in , and is coprime to every positive integer less than , we can use Bezout’s identity with and to get which implies every for is a unit in . Therefore every nonzero element in is a unit, making a field.
Why study when this is about finite fields? It turns out every finite field (with prime characteristic ) contains :
- Every ring contains the elements , but for prime characteristic rings where , this only goes up to adding copies of .
- These are exactly the elements that form , the integers mod , so every prime characteristic ring contains in the sense that you can define an isomorphism between those elements and .
In this section, we study the effects of prime characteristic.
Rings of prime characteristic have some interesting properties. For instance, recall the binomial theorem true for all rings: for every and every nonnegative integer , we have
In a ring of prime characteristic, this sum simplifies significantly to:
- By the binomial theorem, . Let’s focus on the coefficients .
- always includes a factor in the numerator, but (being prime) is not a factor of the denominator unless or .
- Thus for other values of , the coefficient must be zero since it includes a factor in a field of characteristic . For the special cases and , the coefficient is equal to .
- Therefore .
This theorem is rather important, because it makes the map look awfully like an homomorphism on rings of prime characteristic . Which it is:
- Let be the map . By the previous proof we observe .
- To be a homomorphism,
must also preserve additive inverses and multiplication.
- Preserving subtraction is easy for odd primes , because . For the remaining prime , recall that every element is its own additive inverse in characteristic , so we can directly write .
- Preserving multiplication is straightforward. .
- Thus is a homomorphism from the ring to itself, i.e. an endomorphism.
Note that Fermat’s little theorem states that for any integer , we have . So specifically for the integers mod , , the Frobenius endomorphism is actually the identity automorphism, mapping every to itself. We’ll make use of this fact soon.
In this section, we classify the finite fields.
Now let’s use our knowledge of the properties of prime characteristic to study all finite fields.
Let be a polynomial ring over a finite field .
- Fermat’s little theorem implies that for any integer not divisible by (i.e. any nonzero, since is prime), we have .
- In other words, the polynomial has every nonzero element of as a root. We can add the zero element as a root if we multiply by to get .
- Thus, if you have a polynomial ring defined over a prime characteristic field like , is a polynomial that has all distinct roots.
TODO extend to arbitrary finite field .
Now csonsider the quotient for some polynomial . We actually already know two facts about :
Theorem: is a field iff is irreducible.
consists of cosets whose representatives are polynomials . Earlier we proved that the degree of every representative is less than , and therefore has at most terms with possible coefficients for each term. This implies that there are distinct cosets in .
Corollary: Given an irreducible degree polynomial , if is a finite field of prime order , then is a finite field of prime power order .
So we can create fields of prime power order by taking the quotient , where .
One way to visualize a finite field created in this manner is by considering its elements as polynomials, whose coefficients are essentially a tuple. The elements of the prime order finite field are constant polynomials represented by -tuples: for example, is just the set . Quotienting by (which is irreducible by Eisenstein) gives us a quotient field whose cosets are represented by polynomials up to degree , as shown earlier. Degree polynomials can be represented by -tuples , where there choices for each component representing the coefficient of its representative polynomial.
In this section, we prove the uniqueness of the finite fields up to isomorphism.
We just established that a finite field of prime power order exists for every prime and , and that we can construct said field as where is a degree irreducible polynomial over . It is a well-established fact that its multiplicative group (consisting of all nonzero elements) is cyclic:
, like all finite abelian groups, decomposes into cyclic groups of prime power order: Since the order of the component cyclic fields are pairwise coprime, their direct product is cyclic.
This has a direct implication about the fields of prime power order.
- We just showed that for an irreducible degree polynomial , the quotient is a finite field of order . So finite fields of order exist for every prime and integer .
- If we can define a field homomorphism between two arbitrary fields of prime power order , then they are isomorphic because all field homomorphisms are injective and the domain and codomain have the same order .
- Consider the multiplicative group of an arbitrary field of prime power order . The order of is exactly . By Lagrange’s theorem, the order of every element of must divide the order of , so , which can be rearranged to .
- Then holds for every . But since , this extends to all . Since this holds for arbitrary fields of prime power order, let be two such fields.
- Then every element of or is a distinct root of the polynomial , in the sense that for all and for all .
- Recall that ring homomorphisms (and therefore field homomorphisms) preserve rational expressions, including polynomial expressions. This means if , then applying to both sides gives , implying that is a root of as well.
- Since , by construction, has distinct roots, maps all elements of to some element in . Therefore is a well-defined field homomorphism and we are done.
Since all fields of order are isomorphic to each other, this means that instead of writing the cumbersome term , we can just refer to the field of prime power order , which is denoted or sometimes .
Significantly, it turns out there are no other finite fields.
- If a ring is not of a prime power order, then the prime factorization of its order must contain at least two distinct prime powers.
- Consider the principal ideal for some . Since prime powers are pairwise coprime, that means the Chinese Remainder Theorem can be used to show .
- But since a direct product of rings contains zero divisors, and zero divisors cannot be units, contains nonzero nonunits and is therefore not a field.
Corollary: The only finite fields are the ones of prime power order.
In this section we describe primitive elements.
The fact that is cyclic implies that every finite field has a primitive element , the generator of .
Recall that we can adjoin elements of one ring to another ring of the same characteristic. What happens when we adjoin to another finite field of the same characteristic?
Note that the finite fields of any given characteristic have a subfield ordering:
The result follows pretty quickly after we prove a number theoretic lemma:
- () This is a straightforward calculation.
- () We know that . Then Thus . Applying this recursively amounts to applying the Euclidean algorithm on the powers , resulting in Since implies is the GCD of the two, the LHS becomes . Then: as required.
Then:
- () By Lagrange’s theorem, the order of the subfield’s multiplicative group divides that of the larger field . Thus , so by the lemma.
- () If , then which shows that every root of is a root of . But since the roots of are exactly , this implies every element of is in , i.e. is a subfield of .
- If is larger, then is a subfield of . Since generates , the resulting field is , since that already includes .
- If is larger, then is a subfield of and therefore is already in , so the resulting field is .
This follows directly from the previous result. WLOG assume generates the larger field. Then generates , thus you need only adjoin .
Exploration 5.1: Norm