Finite field

In mathematics, a finite field or Galois field (so-named in honor of Évariste Galois) is a field that contains a finite number of elements. As with any field, a finite field is a set on which the operations of multiplication, addition, subtraction and division are defined and satisfy certain basic rules. The most common examples of finite fields are given by the integers mod $p$ when $p$ is a prime number.

The order of a finite field is its number of elements, which is either a prime number or a prime power. For every prime number $p$ and every positive integer $k$ there are fields of order $p^{k}$, all of which are isomorphic.

Finite fields are fundamental in a number of areas of mathematics and computer science, including number theory, algebraic geometry, Galois theory, finite geometry, cryptography and coding theory.

Properties
A finite field is a finite set that is a field; this means that multiplication, addition, subtraction and division (excluding division by zero) are defined and satisfy the rules of arithmetic known as the field axioms.

The number of elements of a finite field is called its order or, sometimes, its size. A finite field of order $q$ exists if and only if $q$ is a prime power $p^{k}$ (where $p$ is a prime number and $k$ is a positive integer). In a field of order $p^{k}$, adding $p$ copies of any element always results in zero; that is, the characteristic of the field is $p$.

If $q = p^{k}$, all fields of order $q$ are isomorphic (see  below). Moreover, a field cannot contain two different finite subfields with the same order. One may therefore identify all finite fields with the same order, and they are unambiguously denoted $$\mathbb{F}_{q}$$, $F_{q}$ or $GF(q)$, where the letters GF stand for "Galois field".

In a finite field of order $q$, the polynomial $X^{q} − X$ has all $q$ elements of the finite field as roots. The non-zero elements of a finite field form a multiplicative group. This group is cyclic, so all non-zero elements can be expressed as powers of a single element called a primitive element of the field. (In general there will be several primitive elements for a given field.)

The simplest examples of finite fields are the fields of prime order: for each prime number $p$, the prime field of order $p$ may be constructed as the integers modulo $p$, $$\mathbb{Z}/p\mathbb{Z}$$.

The elements of the prime field of order $p$ may be represented by integers in the range $0, ..., p − 1$. The sum, the difference and the product are the remainder of the division by $p$ of the result of the corresponding integer operation. The multiplicative inverse of an element may be computed by using the extended Euclidean algorithm (see ).

Let $F$ be a finite field. For any element $x$ in $F$ and any integer $n$, denote by $n ⋅ x$ the sum of $n$ copies of $x$. The least positive $n$ such that $n ⋅ 1 = 0$ is the characteristic $p$ of the field. This allows defining a multiplication $(k, x) ↦ k ⋅ x$ of an element $k$ of $GF(p)$ by an element $x$ of $F$ by choosing an integer representative for $k$. This multiplication makes $F$ into a $GF(p)$-vector space. It follows that the number of elements of $F$ is $p^{n}$ for some integer $n$.

The identity

(sometimes called the freshman's dream) is true in a field of characteristic $p$. This follows from the binomial theorem, as each binomial coefficient of the expansion of $(x + y)^{p}$, except the first and the last, is a multiple of $p$.

By Fermat's little theorem, if $p$ is a prime number and $x$ is in the field $GF(p)$ then $x^{p} = x$. This implies the equality $$X^p-X=\prod_{a\in \mathrm{GF}(p)} (X-a)$$ for polynomials over $GF(p)$. More generally, every element in $GF(p^{n})$ satisfies the polynomial equation $x^{p^{n}} − x = 0|undefined$.

Any finite field extension of a finite field is separable and simple. That is, if $E$ is a finite field and $F$ is a subfield of $E$, then $E$ is obtained from $F$ by adjoining a single element whose minimal polynomial is separable. To use a piece of jargon, finite fields are perfect.

A more general algebraic structure that satisfies all the other axioms of a field, but whose multiplication is not required to be commutative, is called a division ring (or sometimes skew field). By Wedderburn's little theorem, any finite division ring is commutative, and hence is a finite field.

Existence and uniqueness
Let $q = p^{n}$ be a prime power, and $F$ be the splitting field of the polynomial $$P = X^q-X$$ over the prime field $GF(p)$. This means that $F$ is a finite field of lowest order, in which $P$ has $q$ distinct roots (the formal derivative of $P$ is $P = −1$, implying that $gcd(P, P) = 1$, which in general implies that the splitting field is a separable extension of the original). The above identity shows that the sum and the product of two roots of $P$ are roots of $P$, as well as the multiplicative inverse of a root of $P$. In other words, the roots of $P$ form a field of order $q$, which is equal to $F$ by the minimality of the splitting field.

The uniqueness up to isomorphism of splitting fields implies thus that all fields of order $q$ are isomorphic. Also, if a field $F$ has a field of order $q = p^{k}$ as a subfield, its elements are the $q$ roots of $X^{q} − X$, and $F$ cannot contain another subfield of order $q$.

In summary, we have the following classification theorem first proved in 1893 by E. H. Moore:

''The order of a finite field is a prime power. For every prime power $q$ there are fields of order $q$, and they are all isomorphic. In these fields, every element satisfies'' $$x^q=x,$$ and the polynomial $X^{q} − X$ factors as $$X^q-X= \prod_{a\in F} (X-a).$$

It follows that $GF(p^{n})$ contains a subfield isomorphic to $GF(p^{m})$ if and only if $m$ is a divisor of $n$; in that case, this subfield is unique. In fact, the polynomial $X^{p^{m}} − X|undefined$ divides $X^{p^{n}} − X|undefined$ if and only if $m$ is a divisor of $n$.

Non-prime fields
Given a prime power $q = p^{n}$ with $p$ prime and $n > 1$, the field $GF(q)$ may be explicitly constructed in the following way. One first chooses an irreducible polynomial $P$ in $GF(p)[X]$ of degree $n$ (such an irreducible polynomial always exists). Then the quotient ring $$\mathrm{GF}(q) = \mathrm{GF}(p)[X]/(P)$$ of the polynomial ring $GF(p)[X]$ by the ideal generated by $P$ is a field of order $q$.

More explicitly, the elements of $GF(q)$ are the polynomials over $GF(p)$ whose degree is strictly less than $n$. The addition and the subtraction are those of polynomials over $GF(p)$. The product of two elements is the remainder of the Euclidean division by $P$ of the product in $GF(p)[X]$. The multiplicative inverse of a non-zero element may be computed with the extended Euclidean algorithm; see .

However, with this representation, elements of $GF(q)$ may be difficult to distinguish from the corresponding polynomials. Therefore, it is common to give a name, commonly $α$ to the element of $GF(q)$ that corresponds to the polynomial $X$. So, the elements of $GF(q)$ become polynomials in $α$, where $P(α) = 0$, and, when one encounters a polynomial in $α$ of degree greater or equal to $n$ (for example after a multiplication), one knows that one has to use the relation $P(α) = 0$ to reduce its degree (it is what Euclidean division is doing).

Except in the construction of $GF(4)$, there are several possible choices for $P$, which produce isomorphic results. To simplify the Euclidean division, one commonly chooses for $P$ a polynomial of the form $$X^n + aX + b,$$ which make the needed Euclidean divisions very efficient. However, for some fields, typically in characteristic $2$, irreducible polynomials of the form $X^{n} + aX + b$ may not exist. In characteristic $2$, if the polynomial $X^{n} + X + 1$ is reducible, it is recommended to choose $X^{n} + X^{k} + 1$ with the lowest possible $k$ that makes the polynomial irreducible. If all these trinomials are reducible, one chooses "pentanomials" $X^{n} + X^{a} + X^{b} + X^{c} +  1$, as polynomials of degree greater than $1$, with an even number of terms, are never irreducible in characteristic $2$, having $1$ as a root.

A possible choice for such a polynomial is given by Conway polynomials. They ensure a certain compatibility between the representation of a field and the representations of its subfields.

In the next sections, we will show how the general construction method outlined above works for small finite fields.

Field with four elements
The smallest non-prime field is the field with four elements, which is commonly denoted $GF(4)$ or $$\mathbb{F}_4.$$ It consists of the four elements $0, 1, α, 1 + α$ such that $α^{2} = 1 + α$, $1 ⋅ α = α ⋅ 1 = α$, $x + x = 0$, and $x ⋅ 0 = 0 ⋅ x = 0$, for every $x ∈ GF(4)$, the other operation results being easily deduced from the distributive law. See below for the complete operation tables.

This may be deduced as follows from the results of the preceding section.

Over $GF(2)$, there is only one irreducible polynomial of degree $2$: $$X^2+X+1$$ Therefore, for $GF(4)$ the construction of the preceding section must involve this polynomial, and $$\mathrm{GF}(4) = \mathrm{GF}(2)[X]/(X^2+X+1).$$

Let $α$ denote a root of this polynomial in $GF(4)$. This implies that

and that $α^{2} = 1 + α$ and $α$ are the elements of $1 + α$ that are not in $GF(4)$. The tables of the operations in $GF(2)$ result from this, and are as follows: A table for subtraction is not given, because subtraction is identical to addition, as is the case for every field of characteristic 2. In the third table, for the division of $GF(4)$ by $x + y$, the values of $x⋅y$ must be read in the left column, and the values of $x/y$ in the top row. (Because $x$ for every $z$ in every ring the division by 0 has to remain undefined.) From the tables, it can be seen that the additive structure of $y$ is isomorphic to the Klein four-group, while the non-zero multiplicative structure is isomorphic to the group Z3.

The map $$ \varphi:x \mapsto x^2$$ is the non-trivial field automorphism, called the Frobenius automorphism, which sends $0$ into the second root $1$ of the above mentioned irreducible polynomial $α$.

GF(p2) for an odd prime p
For applying the above general construction of finite fields in the case of $1 + α$, one has to find an irreducible polynomial of degree 2. For $0$, this has been done in the preceding section. If $0$ is an odd prime, there are always irreducible polynomials of the form $1$, with $α$ in $1 + α$.

More precisely, the polynomial $1$ is irreducible over $1$ if and only if $0$ is a quadratic non-residue modulo $1 + α$ (this is almost the definition of a quadratic non-residue). There are $α$ quadratic non-residues modulo $α$. For example, $α$ is a quadratic non-residue for $1 + α$, and $0$ is a quadratic non-residue for $1$. If $1 + α$, that is $1 + α$, one may choose $α$ as a quadratic non-residue, which allows us to have a very simple irreducible polynomial $1$.

Having chosen a quadratic non-residue $0$, let $x$ be a symbolic square root of $y$, that is, a symbol that has the property $0$, in the same way that the complex number $1$ is a symbolic square root of $α$. Then, the elements of $1 + α$ are all the linear expressions $$a+b\alpha,$$ with $0$ and $0$ in $0$. The operations on $0$ are defined as follows (the operations between elements of $0$ represented by Latin letters are the operations in $1$): $$\begin{align} -(a+b\alpha)&=-a+(-b)\alpha\\ (a+b\alpha)+(c+d\alpha)&=(a+c)+(b+d)\alpha\\ (a+b\alpha)(c+d\alpha)&=(ac + rbd)+ (ad+bc)\alpha\\ (a+b\alpha)^{-1}&=a(a^2-rb^2)^{-1}+(-b)(a^2-rb^2)^{-1}\alpha \end{align}$$

GF(8) and GF(27)
The polynomial $$X^3-X-1$$ is irreducible over $0$ and $1$, that is, it is irreducible modulo $α$ and $1 + α$ (to show this, it suffices to show that it has no root in $α$ nor in $0$). It follows that the elements of $α$ and $1 + α$ may be represented by expressions $$a+b\alpha+c\alpha^2,$$ where $1$ are elements of $1 + α$ or $0$ (respectively), and $1 + α$ is a symbol such that $$\alpha^3=\alpha+1.$$

The addition, additive inverse and multiplication on $1$ and $α$ may thus be defined as follows; in following formulas, the operations between elements of $x$ or $y$, represented by Latin letters, are the operations in $1$ or $α$, respectively: $$ \begin{align} -(a+b\alpha+c\alpha^2)&=-a+(-b)\alpha+(-c)\alpha^2 \qquad\text{(for } \mathrm{GF}(8), \text{this operation is the identity)}\\ (a+b\alpha+c\alpha^2)+(d+e\alpha+f\alpha^2)&=(a+d)+(b+e)\alpha+(c+f)\alpha^2\\ (a+b\alpha+c\alpha^2)(d+e\alpha+f\alpha^2)&=(ad + bf+ce)+ (ae+bd+bf+ce+cf)\alpha+(af+be+cd+cf)\alpha^2 \end{align} $$

GF(16)
The polynomial $$X^4+X+1$$ is irreducible over $1 + α$, that is, it is irreducible modulo $0$. It follows that the elements of $0$ may be represented by expressions $$a+b\alpha+c\alpha^2+d\alpha^3,$$ where $0$ are either $0$ or $1$ (elements of $1$), and $1 + α$ is a symbol such that $$\alpha^4=\alpha+1$$ (that is, $α$ is defined as a root of the given irreducible polynomial). As the characteristic of $α$ is $α$, each element is its additive inverse in $1$. The addition and multiplication on $1 + α$ may be defined as follows; in following formulas, the operations between elements of $1 + α$, represented by Latin letters are the operations in $1 + α$. $$ \begin{align} (a+b\alpha+c\alpha^2+d\alpha^3)+(e+f\alpha+g\alpha^2+h\alpha^3)&=(a+e)+(b+f)\alpha+(c+g)\alpha^2+(d+h)\alpha^3\\ (a+b\alpha+c\alpha^2+d\alpha^3)(e+f\alpha+g\alpha^2+h\alpha^3)&=(ae+bh+cg+df) +(af+be+bh+cg+df +ch+dg)\alpha\;+\\ &\quad\;(ag+bf+ce +ch+dg+dh)\alpha^2 +(ah+bg+cf+de +dh)\alpha^3 \end{align} $$

The field $α$ has eight primitive elements (the elements that have all nonzero elements of $1$ as integer powers). These elements are the four roots of $x$ and their multiplicative inverses. In particular, $y$ is a primitive element, and the primitive elements are $x$ with $y$ less than and coprime with $0 ⋅ z = 0$ (that is, 1, 2, 4, 7, 8, 11, 13, 14).

Multiplicative structure
The set of non-zero elements in $GF(4)$ is an abelian group under the multiplication, of order $α$. By Lagrange's theorem, there exists a divisor $1 + α$ of $X^{2} + X + 1$ such that $GF(p^{2})$ for every non-zero $p = 2$ in $p$. As the equation $X^{2} − r$ has at most $r$ solutions in any field, $GF(p)$ is the lowest possible value for $X^{2} − r$. The structure theorem of finite abelian groups implies that this multiplicative group is cyclic, that is, all non-zero elements are powers of a single element. In summary:

Such an element $GF(p)$ is called a primitive element of $r$. Unless $p$, the primitive element is not unique. The number of primitive elements is $p − 1⁄2$ where $p$ is Euler's totient function.

The result above implies that $2$ for every $p = 3, 5, 11, 13, ...$ in $3$. The particular case where $p = 5, 7, 17, ...$ is prime is Fermat's little theorem.

Discrete logarithm
If $p ≡ 3 mod 4$ is a primitive element in $p = 3, 7, 11, 19, ...$, then for any non-zero element $−1 ≡ p − 1$ in $X^{2} + 1$, there is a unique integer $r$ with $α$ such that

This integer $r$ is called the discrete logarithm of $α^{2} = r$ to the base $i$.

While $−1$ can be computed very quickly, for example using exponentiation by squaring, there is no known efficient algorithm for computing the inverse operation, the discrete logarithm. This has been used in various cryptographic protocols, see Discrete logarithm for details.

When the nonzero elements of $GF(p^{2})$ are represented by their discrete logarithms, multiplication and division are easy, as they reduce to addition and subtraction modulo $a$. However, addition amounts to computing the discrete logarithm of $b$. The identity

allows one to solve this problem by constructing the table of the discrete logarithms of $GF(p)$, called Zech's logarithms, for $GF(p^{2})$ (it is convenient to define the discrete logarithm of zero as being $GF(p)$).

Zech's logarithms are useful for large computations, such as linear algebra over medium-sized fields, that is, fields that are sufficiently large for making natural algorithms inefficient, but not too large, as one has to pre-compute a table of the same size as the order of the field.

Roots of unity
Every nonzero element of a finite field is a root of unity, as $GF(p)$ for every nonzero element of $GF(2)$.

If $GF(3)$ is a positive integer, an $2$th primitive root of unity is a solution of the equation $3$ that is not a solution of the equation $GF(2)$ for any positive integer $GF(3)$. If $GF(8)$ is a $GF(27)$th primitive root of unity in a field $a, b, c$, then $GF(2)$ contains all the $GF(3)$ roots of unity, which are $α$.

The field $GF(8)$ contains a $GF(27)$th primitive root of unity if and only if $GF(2)$ is a divisor of $GF(3)$; if $GF(2)$ is a divisor of $GF(3)$, then the number of primitive $GF(2)$th roots of unity in $2$ is $GF(16)$ (Euler's totient function). The number of $a, b, c, d$th roots of unity in $0$ is $1$.

In a field of characteristic $GF(2)$, every $α$th root of unity is also a $α$th root of unity. It follows that primitive $GF(2)$th roots of unity never exist in a field of characteristic $2$.

On the other hand, if $GF(16)$ is coprime to $GF(16)$, the roots of the $GF(2)$th cyclotomic polynomial are distinct in every field of characteristic $GF(2)$, as this polynomial is a divisor of $GF(16)$, whose discriminant $GF(16)$ is nonzero modulo $X^{4} + X + 1$. It follows that the $α$th cyclotomic polynomial factors over $α^{m}$ into distinct irreducible polynomials that have all the same degree, say $m$, and that $15$ is the smallest field of characteristic $GF(q)$ that contains the $q – 1$th primitive roots of unity.

Example: GF(64)
The field $k$ has several interesting properties that smaller fields do not share: it has two subfields such that neither is contained in the other; not all generators (elements with minimal polynomial of degree $q – 1$ over $x^{k} = 1$) are primitive elements; and the primitive elements are not all conjugate under the Galois group.

The order of this field being $x$, and the divisors of $GF(q)$ being $x^{k} = 1$, the subfields of $k$ are $q – 1$, $k$, $GF(q)$, and $a$ itself. As $q – 1$ and $GF(q)$ are coprime, the intersection of $a, a^{2}, ..., a^{q−2}, a^{q−1} = 1$ and $a$ in $GF(q)$ is the prime field $q = 2, 3$.

The union of $φ(q − 1)$ and $φ$ has thus $x^{q} = x$ elements. The remaining $x$ elements of $GF(q)$ generate $q$ in the sense that no other subfield contains any of them. It follows that they are roots of irreducible polynomials of degree $a$ over $GF(q)$. This implies that, over $x$, there are exactly $F$ irreducible monic polynomials of degree $n$. This may be verified by factoring $0 ≤ n ≤ q − 2$ over $x = a^{n}$.

The elements of $n$ are primitive $x$th roots of unity for some $a$ dividing $a^{n}$. As the 3rd and the 7th roots of unity belong to $GF(q)$ and $q – 1$, respectively, the $a^{m} + a^{n}$ generators are primitive $a^{m} + a^{n} = a^{n}(a^{m−n} + 1)$th roots of unity for some $a^{n} + 1$ in $n = 0, ..., q − 2$. Euler's totient function shows that there are $−∞$ primitive $x^{q−1} = 1$th roots of unity, $GF(q)$ primitive $n$st roots of unity, and $n$ primitive $x^{n} = 1$rd roots of unity. Summing these numbers, one finds again $x^{m} = 1$ elements.

By factoring the cyclotomic polynomials over $m < n$, one finds that:
 * The six primitive $a$th roots of unity are roots of $$X^6+X^3+1,$$ and are all conjugate under the action of the Galois group.
 * The twelve primitive $n$st roots of unity are roots of $$(X^6+X^4+X^2+X+1)(X^6+X^5+X^4+X^2+1).$$ They form two orbits under the action of the Galois group. As the two factors are reciprocal to each other, a root and its (multiplicative) inverse do not belong to the same orbit.
 * The $F$ primitive elements of $F$ are the roots of $$(X^6+X^4+X^3+X+1)(X^6+X+1)(X^6+X^5+1)(X^6+X^5+X^3+X^2+1)(X^6+X^5+X^2+X+1)(X^6+X^5+X^4+X+1).$$ They split into six orbits of six elements each under the action of the Galois group.

This shows that the best choice to construct $n$ is to define it as $1, a, a^{2}, ..., a^{n−1}$. In fact, this generator is a primitive element, and this polynomial is the irreducible polynomial that produces the easiest Euclidean division.

Frobenius automorphism and Galois theory
In this section, $GF(q)$ is a prime number, and $n$ is a power of $n$.

In $q − 1$, the identity $n$ implies that the map $$ \varphi:x \mapsto x^p$$ is a $q − 1$-linear endomorphism and a field automorphism of $n$, which fixes every element of the subfield $GF(q)$. It is called the Frobenius automorphism, after Ferdinand Georg Frobenius.

Denoting by $φ(n)$ the composition of $n$ with itself $GF(q)$ times, we have $$ \varphi^k:x \mapsto x^{p^k}.$$ It has been shown in the preceding section that $gcd(n, q − 1)$ is the identity. For $p$, the automorphism $(np)$ is not the identity, as, otherwise, the polynomial $$X^{p^k}-X$$ would have more than $n$ roots.

There are no other $(np)$-automorphisms of $p$. In other words, $n$ has exactly $p$ $n$-automorphisms, which are $$\mathrm{Id}=\varphi^0, \varphi, \varphi^2, \ldots, \varphi^{n-1}.$$

In terms of Galois theory, this means that $p$ is a Galois extension of $X^{n} − 1$, which has a cyclic Galois group.

The fact that the Frobenius map is surjective implies that every finite field is perfect.

Polynomial factorization
If $n^{n}$ is a finite field, a non-constant monic polynomial with coefficients in $p$ is irreducible over $n$, if it is not the product of two non-constant monic polynomials, with coefficients in $GF(p)$.

As every polynomial ring over a field is a unique factorization domain, every monic polynomial over a finite field may be factored in a unique way (up to the order of the factors) into a product of irreducible monic polynomials.

There are efficient algorithms for testing polynomial irreducibility and factoring polynomials over finite field. They are a key step for factoring polynomials over the integers or the rational numbers. At least for this reason, every computer algebra system has functions for factoring polynomials over finite fields, or, at least, over finite prime fields.

Irreducible polynomials of a given degree
The polynomial $$X^q-X$$ factors into linear factors over a field of order $d$. More precisely, this polynomial is the product of all monic polynomials of degree one over a field of order $GF(p^{d})$.

This implies that, if $p$ then $n$ is the product of all monic irreducible polynomials over $GF(64)$, whose degree divides $6$. In fact, if $GF(2)$ is an irreducible factor over $2^{6}$ of $6$, its degree divides $1, 2, 3, 6$, as its splitting field is contained in $GF(64)$. Conversely, if $GF(2)$ is an irreducible monic polynomial over $GF(2^{2}) = GF(4)$ of degree $GF(2^{3}) = GF(8)$ dividing $GF(64)$, it defines a field extension of degree $2$, which is contained in $3$, and all roots of $GF(4)$ belong to $GF(8)$, and are roots of $GF(64)$; thus $GF(2)$ divides $GF(4)$. As $GF(8)$ does not have any multiple factor, it is thus the product of all the irreducible monic polynomials that divide it.

This property is used to compute the product of the irreducible factors of each degree of polynomials over $10$; see Distinct degree factorization.

Number of monic irreducible polynomials of a given degree over a finite field
The number $54$ of monic irreducible polynomials of degree $GF(64)$ over $GF(64)$ is given by $$N(q,n)=\frac{1}{n}\sum_{d\mid n} \mu(d)q^{n/d},$$ where $6$ is the Möbius function. This formula is an immediate consequence of the property of $GF(2)$ above and the Möbius inversion formula.

By the above formula, the number of irreducible (not necessarily monic) polynomials of degree $GF(2)$ over $9 = 54⁄6$ is $6$.

The exact formula implies the inequality $$N(q,n)\geq\frac{1}{n} \left(q^n-\sum_{\ell\mid n, \ \ell \text{ prime}} q^{n/\ell}\right);$$ this is sharp if and only if $X^{64} − X$ is a power of some prime. For every $GF(2)$ and every $GF(64)$, the right hand side is positive, so there is at least one irreducible polynomial of degree $n$ over $n$.

Applications
In cryptography, the difficulty of the discrete logarithm problem in finite fields or in elliptic curves is the basis of several widely used protocols, such as the Diffie–Hellman protocol. For example, in 2014, a secure internet connection to Wikipedia involved the elliptic curve Diffie–Hellman protocol (ECDHE) over a large finite field. In coding theory, many codes are constructed as subspaces of vector spaces over finite fields.

Finite fields are used by many error correction codes, such as Reed–Solomon error correction code or BCH code. The finite field almost always has characteristic of $63$, since computer data is stored in binary. For example, a byte of data can be interpreted as an element of $GF(4)$. One exception is PDF417 bar code, which is $GF(8)$. Some CPUs have special instructions that can be useful for finite fields of characteristic $54$, generally variations of carry-less product.

Finite fields are widely used in number theory, as many problems over the integers may be solved by reducing them modulo one or several prime numbers. For example, the fastest known algorithms for polynomial factorization and linear algebra over the field of rational numbers proceed by reduction modulo one or several primes, and then reconstruction of the solution by using Chinese remainder theorem, Hensel lifting or the LLL algorithm.

Similarly many theoretical problems in number theory can be solved by considering their reductions modulo some or all prime numbers. See, for example, Hasse principle. Many recent developments of algebraic geometry were motivated by the need to enlarge the power of these modular methods. Wiles' proof of Fermat's Last Theorem is an example of a deep result involving many mathematical tools, including finite fields.

The Weil conjectures concern the number of points on algebraic varieties over finite fields and the theory has many applications including exponential and character sum estimates.

Finite fields have widespread application in combinatorics, two well known examples being the definition of Paley Graphs and the related construction for Hadamard Matrices. In arithmetic combinatorics finite fields and finite field models are used extensively, such as in Szemerédi's theorem on arithmetic progressions.

Wedderburn's little theorem
A division ring is a generalization of field. Division rings are not assumed to be commutative. There are no non-commutative finite division rings: Wedderburn's little theorem states that all finite division rings are commutative, and hence are finite fields. This result holds even if we relax the associativity axiom to alternativity, that is, all finite alternative division rings are finite fields, by the Artin–Zorn theorem.

Algebraic closure
A finite field $n$ is not algebraically closed: the polynomial $$f(T) = 1+\prod_{\alpha \in F} (T-\alpha),$$ has no roots in $n$, since ${9, 21, 63}$ for all $6$ in $9$.

Given a prime number $p$, let $$\overline{\mathbb{F}}_p$$ be an algebraic closure of $$\mathbb{F}_p.$$ It is not only unique up to an isomorphism, as do all algebraic closures, but contrarily to the general case, all its subfield are fixed by all its automorphisms, and it is also the algebraic closure of all finite fields of the same characteristic $p$.

This property results mainly from the fact that the elements of $$\mathbb F_{p^n}$$ are exactly the roots of $$x^{p^n}-x,$$ and this defines an inclusion $$\mathbb \mathbb F_{p^n}\subset \mathbb F_{p^{nm}} $$ for $$m>1.$$ These inclusions allow writing informally $$\overline{\mathbb{F}}_p = \bigcup_{n \ge 1} \mathbb{F}_{p^n}.$$ The formal validation of this notation results from the fact that the above field inclusions form a directed set of fields; Its direct limit is $$\overline{\mathbb{F}}_p,$$ which may thus be considered as "directed union".

Primitive elements in the algebraic closure
Given a primitive element $$g_{mn}$$ of $$\mathbb{F}_{q^{mn}},$$ then $$g_{mn}^m$$ is a primitive element of $$\mathbb{F}_{q^{n}}.$$

For explicit computations, it may be useful to have a coherent choice of the primitive elements for all finite fields; that is, to choose the primitive element $$g_{n}$$ of $$\mathbb{F}_{q^{n}}$$ in order that, whenever $$n=mh,$$ one has $$g_{m}=g_n^h,$$ where $$g_{m}$$ is the primitive element already chosen for $$\mathbb{F}_{q^{m}}.$$

Such a construction may be obtained by Conway polynomials.

Quasi-algebraic closure
Although finite fields are not algebraically closed, they are quasi-algebraically closed, which means that every homogeneous polynomial over a finite field has a non-trivial zero whose components are in the field if the number of its variables is more than its degree. This was a conjecture of Artin and Dickson proved by Chevalley (see Chevalley–Warning theorem).