128.1 Introduction
A finite field is a field with finitely many elements. Finite fields are also called Galois fields and are commonly written as
or
where is the number of elements in the field.
Finite fields are important because they give linear algebra a discrete setting. Over or , vector spaces contain infinitely many vectors. Over a finite field, every finite-dimensional vector space contains only finitely many vectors. This makes the subject useful in coding theory, cryptography, finite geometry, computer algebra, and digital communication. Finite fields exist exactly when the number of elements is a prime power , and all finite fields of the same order are isomorphic.
The basic concepts of linear algebra remain the same: vectors, matrices, subspaces, bases, linear maps, rank, nullity, and determinants. What changes is the arithmetic.
128.2 Fields
A field is a set equipped with addition, subtraction, multiplication, and division by nonzero elements.
The familiar examples are
A field has two operations:
$$
- : F \times F \to F, $$
and
These operations satisfy the usual laws: associativity, commutativity, distributivity, additive identities, additive inverses, multiplicative identities, and multiplicative inverses for nonzero elements.
Linear algebra can be developed over any field. The scalars in a vector space do not have to be real or complex. They may come from a finite field.
128.3 Prime Fields
The simplest finite fields are the fields
where is prime.
The elements are residue classes modulo :
Addition and multiplication are performed modulo .
For example, in ,
and
The number must be prime. If is composite, then some nonzero elements do not have multiplicative inverses. For example, modulo ,
although neither nor is zero. Thus arithmetic modulo does not form a field.
128.4 Characteristic
The characteristic of a field is the least positive integer such that
In a finite field, the characteristic is always prime.
For , the characteristic is . This means that adding to itself times gives zero:
For example, in ,
This identity changes many familiar formulas. In characteristic , subtraction is the same as addition:
This fact is heavily used in binary coding theory and digital computation.
128.5 Vector Spaces over Finite Fields
Let be a finite field. A vector space over is a set whose vectors can be added and multiplied by scalars from .
The standard example is
If , then
is the set of all -tuples
Since each coordinate has possible values, the total number of vectors is
Thus a finite-dimensional vector space over a finite field is a finite set.
For example,
has
vectors.
They are
128.6 Linear Combinations
Linear combinations are defined as usual.
If
and
then
is a linear combination of the vectors.
The coefficients are chosen from the finite field.
For example, over , the only scalars are and . Therefore a linear combination is simply a sum of selected vectors.
If
then their span over is
The last vector appears because
in .
128.7 Subspaces
A subspace of is a subset closed under addition and scalar multiplication.
If is a -dimensional subspace of , then
This formula is specific to finite fields and is often useful.
For example, a -dimensional subspace of contains
vectors.
A -dimensional subspace contains only the zero vector. A -dimensional subspace over contains vectors: the zero vector and nonzero scalar multiples of a single vector.
128.8 Bases and Dimension
A basis over a finite field is a linearly independent spanning set.
If
then the standard basis is
where has a in position and elsewhere.
Every vector has a unique coordinate representation:
The dimension is the number of basis vectors.
The number of vectors in an -dimensional vector space over is
This gives a direct relation between algebraic dimension and cardinality.
128.9 Matrices over Finite Fields
A matrix over is a rectangular array whose entries lie in .
For example, over ,
is a matrix.
Matrix addition, scalar multiplication, and matrix multiplication are performed using the field operations.
For example, over ,
The entry becomes , since arithmetic is modulo .
128.10 Linear Systems over Finite Fields
A system of linear equations over a finite field has the same matrix form:
The difference is that all arithmetic is performed in the field.
For example, over , consider
Eliminate . Multiply the first equation by :
Modulo , this becomes
This is exactly the second equation. Hence the two equations are dependent, and the system has more than one solution.
The usual methods still apply: row reduction, rank computation, and null space computation. The arithmetic is finite, but the structure is unchanged.
128.11 Gaussian Elimination
Gaussian elimination works over any field.
The allowed row operations are:
| Operation | Meaning |
|---|---|
| Swap two rows | Reorder equations |
| Multiply a row by a nonzero scalar | Rescale an equation |
| Add a scalar multiple of one row to another row | Replace an equation by an equivalent one |
The only requirement is that every nonzero scalar used for division has an inverse. Fields satisfy this requirement.
For example, in , the inverse of is , since
Thus division by means multiplication by .
128.12 Rank and Nullity
For a matrix
the rank is the dimension of its column space. The nullity is the dimension of its null space:
The rank-nullity theorem remains valid:
If the nullity is , then the homogeneous system
has
solutions.
This counting form is one of the characteristic features of finite-field linear algebra.
128.13 Invertible Matrices
A square matrix
is invertible if there exists a matrix such that
Equivalently:
| Condition | Statement |
|---|---|
| Full rank | |
| Trivial kernel | |
| Nonzero determinant | |
| Bijective map | is one-to-one and onto |
The set of all invertible matrices over is called the general linear group:
Its order is
The formula comes from choosing linearly independent columns. The first column can be any nonzero vector. The second column can be any vector outside the span of the first. The -th column must lie outside the span of the previous columns.
128.14 Field Extensions
Not every finite field has prime order. Finite fields also exist with elements, where is prime and .
For example,
are finite fields.
A field with elements may be constructed as
where is an irreducible polynomial of degree over . In this construction, elements are represented by polynomials of degree less than , and multiplication is reduced modulo .
128.15 Example: The Field
The field has four elements. It cannot be the integers modulo , since arithmetic modulo is not a field.
Instead, construct it from
Let be the image of . Then
Since the characteristic is , subtraction equals addition, so
The four elements are
Addition is polynomial addition modulo . Multiplication uses the rule
For example,
Thus is the multiplicative inverse of .
128.16 Frobenius Map
In a finite field of characteristic , the Frobenius map is
It satisfies
and
The identity
holds in characteristic , because the intermediate binomial coefficients are divisible by .
In , every element satisfies
Thus the roots of
are precisely the elements of .
128.17 Multiplicative Group
The nonzero elements of a finite field form a group under multiplication:
This group has
elements.
A fundamental theorem states that
is cyclic. Therefore there exists an element such that every nonzero element can be written as
for some integer . Such an element is called a primitive element.
This fact is important in coding theory, cryptography, and computational algebra.
128.18 Linear Codes
A linear code is a subspace of a finite-dimensional vector space over a finite field.
Most commonly, one studies subspaces
The elements of are called codewords.
If has dimension , then it contains
codewords.
A generator matrix is a matrix whose rows form a basis for . If
is a generator matrix, then every codeword has the form
A parity-check matrix is a matrix such that
Thus coding theory is linear algebra over finite fields.
128.19 Cryptographic Use
Finite fields are also used in cryptography.
The multiplicative group supports discrete logarithm problems. Given a primitive element and an element , one asks for an integer such that
For carefully chosen fields, this problem can be computationally difficult.
Finite fields also appear in elliptic curve cryptography, where the points of an elliptic curve are defined over a finite field. The field supplies the arithmetic; the curve supplies the group structure.
128.20 Finite Geometry
Finite vector spaces give finite geometries.
For example, the one-dimensional subspaces of
are the points of projective space
The number of one-dimensional subspaces of is
This follows because there are nonzero vectors, and each one-dimensional subspace contains nonzero vectors.
Finite geometry is closely connected with combinatorics, design theory, coding theory, and group theory.
128.21 Summary
Finite fields provide a discrete scalar system for linear algebra. Their arithmetic is finite, exact, and algebraic.
The main facts are:
| Concept | Statement |
|---|---|
| Finite field | A field with finitely many elements |
| Order | Always , where is prime |
| Prime field | , arithmetic modulo |
| Extension field | , built using irreducible polynomials |
| Vector space size | ( |
| Subspace size | A -dimensional subspace has elements |
| Linear systems | Solved by ordinary row reduction using field arithmetic |
| Multiplicative group | is cyclic |
| Applications | Coding theory, cryptography, finite geometry |
Finite-field linear algebra keeps the structural form of ordinary linear algebra but replaces continuous arithmetic with exact finite arithmetic. This makes it one of the main tools for discrete mathematics and computation.