Finite Fields Explained: GF(p), Arithmetic and Examples
A finite field has finitely many elements, and they are fully classified: for every prime p and n ≥ 1 there is exactly one field (up to isomorphism) with p^n elements, denoted GF(p^n). The simplest are GF(p) = ℤ/pℤ; larger ones like GF(2^8) are built as polynomial quotients.
Finite fields run the digital world: AES encrypts in GF(2^8), Reed–Solomon codes (QR codes, CDs, deep-space links) run over GF(2^n), and elliptic-curve cryptography works over finite fields.
Key Concepts
- Classification: order p^n for prime p; one isomorphism type per order.
- Construction: GF(p^n) ≅ GF(p)[x]/(f) for irreducible f of degree n.
- Multiplicative group: nonzero elements form a cyclic group of order p^n − 1.
- Characteristic p: (a + b)^p = a^p + b^p ("freshman's dream"); a ↦ a^p is an automorphism (Frobenius).
- Subfields: GF(p^m) ⊆ GF(p^n) iff m | n.
Formulas
- Order: |GF(p^n)| = p^n. (Counts; no physical units.)
- Cyclic units: GF(p^n)× is cyclic of order p^n − 1 — some element g (a primitive element) generates all nonzero elements as powers.
- Freshman's dream: (a + b)^p = a^p + b^p in characteristic p.
- Fermat for finite fields: a^{p^n} = a for all a ∈ GF(p^n); a^{p^n − 1} = 1 for a ≠ 0.
- Inverse via Fermat: a^{-1} = a^{p^n − 2} for a ≠ 0.
- Limit: there is no field with 6, 10, or 12 elements — the order must be a prime power, no exceptions.
Worked Example
Arithmetic in GF(7): 5 + 4 = 9 = 2; 5·4 = 20 = 6 (mod 7). Inverse of 3: 3·5 = 15 = 1, so 3^{-1} = 5 — confirmed by Fermat: 3^{5} = 243 = 7·34 + 5 = 5 mod 7. Division: 4 ÷ 3 = 4·5 = 20 = 6; check 6·3 = 18 = 4. The units are cyclic of order 6: 3^1 = 3, 3^2 = 2, 3^3 = 6, 3^4 = 4, 3^5 = 5, 3^6 = 1 — 3 is a primitive element generating everything.
Common Misconceptions
- "There is a field with n elements for every n." Only prime powers work — no field of order 6, 12, or 100 exists.
- "GF(p^n) is ℤ/p^nℤ." ℤ/8ℤ is not even a domain (2·4 = 0); GF(8) is a genuine field built from polynomials, with completely different arithmetic.
- "(a + b)² = a² + b² works everywhere." It holds in characteristic 2 (freshman's dream) but is false over ℚ or ℝ, where the 2ab term survives.
Real-World Applications
- AES encryption: the Advanced Encryption Standard computes in GF(2^8), with the S-box built from field inversion.
- Error correction: Reed–Solomon codes over GF(2^n) protect QR codes, CDs, DVDs, and satellite data.
- Elliptic-curve cryptography: curves over finite fields give compact, secure public-key systems.
- Randomized algorithms: polynomial identity testing evaluates polynomials at random points of large finite fields.
Finite fields exist exactly for prime-power orders, their nonzero elements form a cyclic group, and their clean arithmetic — inverses for everything, freshman's dream, Fermat-style exponent rules — powers modern encryption and error correction.
Related blogs
- Binary Operations and Algebraic Structures: Notes and FAQs
- Semigroups and Monoids: Introduction with Examples
- Groups Definition and Examples: Explained with Examples
- Subgroups and Cosets: Definitions, Lagrange's Theorem,
- Cyclic Groups: Explained with Examples, Notes and FAQs
- Lagrange's theorem Explained with Examples