Abstract AlgebraFields and Extensions

The Multiplicative Group of a Finite Field

The nonzero elements of GF(pⁿ) form a cyclic group of order pⁿ − 1, generated by a primitive element, and GF(pⁿ) contains GF(pᵐ) exactly when m divides n.

Not started Jump to practice

In the last lesson, every nonzero element of $\mathrm{GF}(8)$ was a power of $x$. That is no accident: the multiplicative group of every finite field is cyclic. This is the fact behind discrete-logarithm cryptography and the log tables used to multiply in hardware.

Why it works

Theorem. If $F$ is a finite field with $q$ elements, then $F^{*} = F \setminus \{0\}$ is a cyclic group of order $q - 1$.
Proof. For each $d \mid q - 1$ let $\psi(d)$ be the number of elements of order $d$ in $F^{*}$. If some $a$ has order $d$, then $1, a, \dots, a^{d-1}$ are $d$ different roots of $x^{d} - 1$, which has at most $d$ roots in a field; so the elements of order $d$ all lie in $\langle a \rangle$, a cyclic group with exactly $\varphi(d)$ of them. Hence $\psi(d)$ is $0$ or $\varphi(d)$. Now $\sum_{d} \psi(d) = q - 1 = \sum_{d} \varphi(d)$ (every element has some order; and the divisor sum of $\varphi$), so every $\psi(d) = \varphi(d)$. In particular $\psi(q - 1) = \varphi(q - 1) \ge 1$: there is an element of order $q - 1$. $\square$

A generator of $F^{*}$ is a primitive element; there are $\varphi(q - 1)$ of them. Two more facts: $\mathrm{GF}(p^{n})$ contains a subfield $\mathrm{GF}(p^{m})$ exactly when $m \mid n$ (for one direction, if $K \subseteq \mathrm{GF}(p^{n})$ has $p^{m}$ elements, the tower law over $\mathbb{Z}_{p}$ gives $m \mid n$); and then that subfield is unique.

$\mathrm{GF}(16) = \mathbb{Z}_{2}[x]/(x^{4} + x + 1)$: the powers of $x$ run through all 15 nonzero elements, so $x$ is primitive. The starred rows are the $\varphi(15) = 8$ primitive elements.

Worked example: Is $x$ primitive?

In $\mathbb{Z}_{2}[x]/(x^{4} + x^{3} + x^{2} + x + 1)$, find the order of $x$.
  1. $x^{5} - 1 = (x - 1)(x^{4} + x^{3} + x^{2} + x + 1)$, so $x^{5} = 1$ in this field.
  2. $5$ is prime and $x \ne 1$, so the order of $x$ is $5$, not $15$.

Answer: Order $5$: here $x$ is not primitive, though the quotient is still the field $\mathrm{GF}(16)$.

The same field built from $x^{4} + x^{3} + x^{2} + x + 1$: the powers of $x$ repeat after 5 steps and miss ten nonzero elements.

Worked example: Counting and subfields

How many primitive elements does $\mathrm{GF}(64)$ have, and which subfields does it contain?
  1. $F^{*}$ is cyclic of order $63$: $\varphi(63) = \varphi(9)\varphi(7) = 6 \cdot 6 = 36$ primitive elements.
  2. $64 = 2^{6}$; the divisors of $6$ are $1, 2, 3, 6$, giving subfields of sizes $2, 4, 8, 64$.

Answer: $36$ primitive elements; subfields $\mathrm{GF}(2)$, $\mathrm{GF}(4)$, $\mathrm{GF}(8)$, $\mathrm{GF}(64)$.

Common mistake

Assuming $x$ is always primitive in $\mathbb{Z}_{p}[x]/(f)$; it depends on $f$, as the order-5 example shows. And "$\mathrm{GF}(2^{6})$ contains $\mathrm{GF}(2^{4})$ because $4 \lt 6$" is false: it needs $4 \mid 6$. Check the divisibility of the exponents, not their size.

Key idea

The nonzero elements of $\mathrm{GF}(q)$ form a cyclic group of order $q - 1$ with $\varphi(q - 1)$ generators (primitive elements). $\mathrm{GF}(p^{n})$ contains $\mathrm{GF}(p^{m})$ exactly when $m \mid n$.

Practice

Pass with 3 right answers, the last 2 in a row. Each right answer earns 3 XP.

Loading practice…

Builds on

Leads to

This is one of the top rungs of Abstract Algebra.

Sources and further reading

  • Thomas W. Judson, Abstract Algebra: Theory and Applications (open textbook), chapter 22, Finite Fields (section 22.1, the multiplicative group is cyclic; subfields)
  • John A. Beachy and William D. Blair, Abstract Algebra, online study guide (Northern Illinois University), section 6.5, Finite Fields
  • MIT OpenCourseWare 18.702 Algebra II (Spring 2011), lecture notes on finite fields
@teddyrookbook GitHub