Fields
What numbers are we allowed to use when we do linear algebra? This sounds like a trivial question. Surely the answer is just "real numbers." But the moment you try to solve , or count solutions to equations modulo a prime, you realize the choice of number system is a genuine design decision. Every theorem about vector spaces, matrices, and linear maps secretly depends on which system of scalars we allow ourselves to add, subtract, multiply, and divide by. That system must behave well enough for the usual algebraic manipulations to go through without surprises. This includes clearing denominators, solving linear equations, and cancelling nonzero factors. A field is the precise algebraic structure that captures this idea. It describes "a number system where you can add, subtract, multiply, and divide (by nonzero elements) exactly as you expect." The rational numbers , the real numbers , and the complex numbers are the fields most familiar from calculus and algebra. But there are also finite fields, such as for a prime . These look nothing like the number line, yet satisfy exactly the same axioms. This uniformity is the point. Once we know a structure is a field, every field axiom is available to us. This holds regardless of whether its elements are decimals, symbols, or residues. The reason this chapter exists inside a course on Systems of Linear Equations is simple. Gaussian elimination — the central algorithm of the course so far — only ever uses the field axioms. You add rows, multiply rows by nonzero scalars, and subtract multiples of one row from another. Nowhere do you use anything special about beyond being a field. This means every fact about solving linear systems will automatically hold over any field. The same goes for everything to come about matrices, transposes, and determinants. This is the quiet, structural payoff of isolating the field axioms. We do this before building vector spaces on top of them. This article gives the complete list of field axioms. It proves the basic algebraic facts directly from the axioms: uniqueness of and , cancellation, and the impossibility of dividing by zero. It also works through , and the finite field in full detail. It closes with a counterexample. This shows why a field — rather than a more general ring — is the right base structure for the linear algebra to come.
- A field is a set with and satisfying commutativity, associativity, distributivity, identities , additive inverses, and multiplicative inverses for nonzero elements.
- are the classical infinite fields; (for prime ) are the classical finite fields.
- Every field axiom is used, at some point, in Gaussian elimination — division by a pivot requires multiplicative inverses.
- Basic facts like , uniqueness of inverses, and cancellation are theorems, not axioms — they must be (and are) proved from the axioms.
- fails to be a field when is not prime, because nonzero elements can lack multiplicative inverses.
- Key idea: linear algebra is built on top of whatever field of scalars you fix, and all its theorems transfer verbatim to any field.
Where this lives today
Fields are the invisible scaffolding beneath essentially all of linear algebra: vector spaces, matrices, determinants, and eigenvalues are all defined "over a field," and every theorem proved from the field axioms (rank-nullity, Gaussian elimination, Cramer's rule) transfers automatically whenever the scalar field changes. In cryptography, finite fields and underlie the arithmetic of AES encryption, elliptic-curve cryptography, and Reed–Solomon error-correcting codes used in QR codes and deep-space communication. In coding theory more broadly, linear codes are literally subspaces of for a finite field , and their entire theory rests on the field axioms holding exactly as in . In algebraic number theory and Galois theory, fields such as or are studied via their symmetries, extending Galois's original nineteenth-century insight. In physics, the complex field is the mandatory scalar field for quantum mechanics, since quantum amplitudes and the spectral theorem for unitary and Hermitian operators require complex, not merely real, scalars. In computer algebra and computational science, finite-field arithmetic is used for exact linear algebra (avoiding floating-point rounding) and for polynomial factorization algorithms.
Ask the tutor: Why does linear algebra require scalars to form a field rather than just a commutative ring?
A field is a set together with two binary operations
called addition and multiplication, satisfying the following axioms for all : 1. (Closure) and . 2. (Commutativity) and . 3. (Associativity) and . 4. (Distributivity) . 5. (Additive identity) There exists an element with for all . 6. (Additive inverses) For each there exists with . 7. (Multiplicative identity) There exists with , and for all . 8. (Multiplicative inverses) For each with , there exists with . A set with satisfying axioms 1–6 only (no multiplicative inverses required, and multiplicative identity optional) is called a commutative ring; a field is thus a commutative ring in which and every nonzero element is invertible.
Intuition
Think of a field as a minimal "arithmetic sandbox": whatever objects you put in it, you are guaranteed you can add, subtract, multiply, and — crucially — divide by anything nonzero, and the familiar rules (distributing multiplication over addition, commuting sums and products) all hold. The axioms are chosen to be exactly the properties used, over and over, when solving a system of linear equations by elimination: swapping two equations uses commutativity implicitly, combining equations uses distributivity, and — the step that truly requires a field — dividing a row by its pivot entry uses the existence of multiplicative inverses. The picture below shows two very different-looking fields sitting side by side: the familiar real number line , and the finite field with arithmetic mod , drawn as a clock. Despite looking nothing alike — one is infinite and ordered, the other is finite and cyclic — both satisfy every single field axiom. This is exactly why a theorem proved from the field axioms alone (such as facts about linear systems) applies to both without change.
Basic algebraic facts, proved from the axioms
Before stating the central theorem of this article, it is worth pausing to prove that several "obvious" facts about arithmetic are genuine consequences of the axioms, not extra assumptions. This is exactly the kind of rigor the axiomatic method demands: nothing is used unless it has been either postulated or proved.
Let be a field. Then: (a) The additive identity is unique. (b) The multiplicative identity is unique. (c) For each , the additive inverse is unique. (d) For each nonzero , the multiplicative inverse is unique.
(a) Suppose and both satisfy the additive identity axiom, so and for all . Then in particular, using in the first statement and in the second (with commutativity, axiom 2):
Hence , so the additive identity is unique.
(b) Identical argument with multiplication: if and both satisfy and for all , then
using commutativity of multiplication (axiom 2) and substituting , then .
(c) Fix and suppose and both satisfy and . Then, using associativity (axiom 3), commutativity (axiom 2), and the additive identity property (axiom 5):
So , proving additive inverses are unique.
(d) Fix nonzero and suppose both satisfy and . Then
using associativity and commutativity of multiplication as above. So .
∎Let be a field and let . (a) . (b) If , then or (no zero divisors). (c) If , then (additive cancellation). (d) If and , then (multiplicative cancellation).
(a) Using the additive identity axiom, . Multiply both sides by and use distributivity (axiom 4):
So . Add , the additive inverse of (axiom 6), to both sides:
The left side is by axiom 6. On the right, associativity (axiom 3) gives
Hence , i.e. .
(b) Suppose and ; we must show . Since , axiom 8 gives with . Multiply both sides of on the left by :
By part (a), the right side is . By associativity (axiom 3) and axiom 8, the left side is
Hence .
(c) Suppose . Add (axiom 6) to both sides:
By associativity, , so , so by axiom 5.
(d) Suppose and . Since , exists by axiom 8. Multiply both sides on the right by and argue exactly as in (c), using associativity and axiom 8 in place of axioms 6 and 3: gives , i.e. , i.e. .
∎These two lemmas already illustrate the method of the whole subject: every algebraic manipulation used in solving linear systems — clearing a term, dividing by a pivot, canceling a common factor — is licensed by one of these proofs, and hence works in any field whatsoever.
Let be any field, and consider a system of linear equations in unknowns with coefficients in :
The elementary row operations — (i) swap two equations, (ii) multiply an equation by a nonzero scalar in , (iii) add a scalar multiple of one equation to another — are all well-defined operations on systems with coefficients in , each is invertible (undoing it is itself an elementary row operation over ), and applying a finite sequence of them never changes the solution set of the system.
We use the method of direct verification from the field axioms, checking each operation in turn.
Well-definedness. Each new coefficient produced by an elementary row operation is obtained from the old coefficients using only , (i.e. addition of an additive inverse), and by field elements. Since is closed under and (axiom 1) and every element has an additive inverse in (axiom 6), every new coefficient again lies in . So each operation produces another system with coefficients in . Operation (ii) requires multiplying by a nonzero scalar ; this is legitimate on any field since contains nonzero elements (as , axiom 7).
Invertibility. Operation (i) is its own inverse (swap back). For operation (ii), if equation is replaced by for , then since axiom 8 gives , and multiplying by recovers the original equation: by associativity and axiom 8, . So (ii) is invertible by another instance of (ii), using the field axiom that nonzero elements have inverses — this is precisely where "field" (rather than mere "ring") is essential. For operation (iii), if equation is replaced by (equation ) (equation ) for , then subtracting (equation ) — i.e. adding (equation ), using axiom 6 to form — recovers the original equation by associativity and commutativity of addition (axioms 2, 3) together with the distributive law (axiom 4) applied to expand and re-collect terms.
Solution sets are preserved. Let denote the solution set of the original system, i.e. the set of tuples satisfying all equations. We show each operation produces a system with the same solution set . (i) Swapping the order of two equations does not change which tuples satisfy all of them (satisfying a set of equations does not depend on the order in which they are listed) — this uses commutativity of "and," not even an algebraic axiom. (ii) Suppose equation , namely , is replaced by for some in . If , then holds, and multiplying both sides by (using that is a well-defined operation, axiom 1) gives , i.e. the new equation holds; all other equations are unaffected. So , where is the new solution set. Conversely if the new equation holds, multiply both sides by (which exists by axiom 8 since ) to recover by the same computation as in the invertibility check above. So , giving . (iii) Suppose equation is replaced by (equation ) (equation ), i.e. by
If , both and hold; multiplying the second by and adding to the first (using axioms 1, 2, 3, 4 to justify that the sum of two true equalities, combined termwise, is a true equality) gives exactly the new equation. So . Conversely, given the new equation and the (unchanged) equation , subtracting (equation ) — i.e. adding — from the new equation recovers the original equation , by the same distributive/associative bookkeeping. So , giving . In all three cases the solution set is unchanged, and by induction on the number of operations applied, any finite sequence of elementary row operations preserves the solution set.
∎Gaussian elimination and back-substitution, as algorithms, can be carried out over , , , or any finite field with prime, with identical justification. In particular, a linear system over a field has a unique solution, no solution, or infinitely many solutions, exactly as over — the trichotomy theorem from the theory of linear systems depends only on the field axioms and hence transfers verbatim.
Worked examples
Example 1: verifying satisfies all eight axioms, and pinpointing where fails. Let with the usual addition and multiplication of fractions, where is understood as an equivalence class under iff . Closure, commutativity, associativity, and distributivity are routine (and inherited from the corresponding properties of , checked by clearing denominators). The additive identity is , and the multiplicative identity is , with since in . Every has additive inverse . The nontrivial axiom to check is multiplicative inverses: if , then , so is a well-defined element of , and
using commutativity of multiplication in . So satisfies axiom 8, and hence all eight field axioms: is a field. Contrast this with itself, with its usual and . Axioms 1–7 all hold for (closure, commutativity, associativity, distributivity, identities , additive inverses all exist in ). But axiom 8 fails: take , . If existed in , it would be an integer with ; but is even for every integer , while is odd, so no such exists. Hence is a commutative ring but not a field — this is exactly the gap that forces us to pass from integer coefficients to rational (or real) coefficients when we want to divide by a pivot in Gaussian elimination.
Example 2: the finite field , with explicit inverse table and a full linear system solved inside it. Let with addition and multiplication performed modulo : e.g. , and . Axioms 1–7 hold because addition and multiplication mod inherit commutativity, associativity, and distributivity from (reduction mod respects sums and products: if and then and ), and act as identities, and is the additive inverse of (with ). For axiom 8, we must check every nonzero element of has a multiplicative inverse inside . We compute the full multiplication table restricted to nonzero elements:
Reading off where each row hits : , (since ), , (since ). Every nonzero element has an inverse in , verifying axiom 8, so is a field. (This works because is prime; see the counterexample below for what fails when the modulus is composite.) Now solve, entirely inside , the system
with . Use elimination exactly as justified by the theorem above: multiply the second equation by — more directly, eliminate by multiplying the second equation by (subtracting it from suitably scaled first equation), or simply multiply the first equation by (a convenient scalar). We multiply equation 2 by (an allowed axiom-8-free operation since need not be inverted here, only used as a scalar multiplier):
Subtract this from equation 1 multiplied by... instead, cleanly: multiply equation 2 by : , i.e. . Subtract from equation 1 ():
which is impossible unless we made an arithmetic slip — indeed we subtracted the same left side from itself, which signals we scaled equation 2 to match equation 1's -coefficient and its -coefficient simultaneously, meaning the two equations are proportional and we should instead eliminate directly. Let's redo this cleanly using . Multiply equation 1 by :
Now subtract equation 2 () from this:
which is false. This shows the two original equations are inconsistent over : after scaling equation 1 by we obtained exactly equation 2's left-hand side, , but with right-hand sides . Hence the system
has no solution in — the coefficient rows are proportional (row 1 is row 2 in the coefficients vs : indeed ... let us double check proportionality directly: is for some ? From the first coordinate ; check second coordinate . Yes, matches.) while the right-hand sides and disagree (), confirming inconsistency by the trichotomy for linear systems: proportional coefficient rows with non-proportional constants force the "no solution" case, exactly as it would over . This example is genuinely useful: it shows the same elimination algorithm, the same trichotomy (unique / none / infinite), and the same notion of proportional rows detecting inconsistency, transplanted without modification into a finite field — precisely the content of the corollary above.
Consider with addition and multiplication mod . This structure satisfies axioms 1–7 (closure, commutativity, associativity, distributivity all inherited from as before; are identities; every element has an additive inverse mod ). So is a perfectly good commutative ring. But it is not a field, because axiom 8 fails: take . If existed in , there would be with . But for every integer (it is always even), and is odd, so no such exists. Worse, has zero divisors: , yet and . This directly breaks the cancellation lemma proved above: from we cannot cancel the common factor to conclude , because has no multiplicative inverse to cancel with. The consequence for linear algebra is severe. Consider the "linear system" over :
Over a genuine field, this would have the unique solution . But in , checking all six values shows and both satisfy (since and ), so the equation has two solutions rather than the unique solution guaranteed by the corollary above whenever the coefficient is nonzero in a field. The entire trichotomy (unique/none/infinite) proved for fields simply does not hold in this form over : a single linear equation in one unknown, with nonzero coefficient, can have more than one but not all solutions. This is precisely why linear algebra is built over fields, not merely commutative rings: dropping axiom 8 destroys cancellation, and with it, the uniqueness theory of linear systems.
Scope, edge cases & common traps
| Situation | What to check | Common error |
|---|---|---|
| Is a field? | must be prime; then every nonzero residue is invertible (Bézout's identity) | Assuming any modulus works; fails axiom 8 |
| Solving over a field | If , unique solution ; if , either no solution () or all of () | Forgetting to split into cases on whether |
| Ring vs. field | A commutative ring need not have multiplicative inverses | Silently assuming "" makes sense in an arbitrary ring |
| Ordered fields | are ordered; are not ordered fields | Trying to say "" or compare elements of by size |
| Characteristic | In , | Assuming for all positive integers , as in or |
The mathematician behind it
Origins · 1 minÉvariste Galois and how this was discovered
Working in Paris in the final years of his short life, Galois studied when polynomial equations can be solved "by radicals," and in doing so uncovered the deep link between the symmetries of the roots of a polynomial and the structure of the number systems (fields) those roots generate. Although the modern axiomatic definition of a field was formalized later — largely through the work of Heinrich Weber and Ernst Steinitz at the turn of the twentieth century — Galois's insight that different "number systems" could be compared, extended, and classified by their symmetry groups is the conceptual seed from which field theory grew. He died at twenty, from wounds suffered in a duel, having written down in a single feverish night before the duel a summary of ideas that would occupy mathematicians for the rest of the century.
Is every finite set with and automatically a field?
No. Finiteness alone guarantees nothing about invertibility. with the usual mod- arithmetic is a field if and only if is prime. When is composite, say with , the product exhibits zero divisors, and one can show has no multiplicative inverse in . When is prime, Bézout's identity from elementary number theory guarantees that for each , there exist integers with , so is the desired inverse mod . So primality of the modulus is exactly the condition needed.
Why do we require in the field axioms?
Without this requirement, the one-element set , with and , would trivially satisfy every other axiom (vacuously, since there is only one element to check, and it is its own additive and multiplicative identity). But this "zero field" is useless: it contains no nonzero elements at all, so every vector space built over it would collapse to the zero vector space, and no interesting linear algebra could be done. Requiring rules out this degenerate case and guarantees a field has at least two elements.
Are and the only infinite fields relevant to linear algebra courses?
They are the most common ones in introductory courses, but far from the only fields in use. is essential whenever exact (rounding-free) computation matters, such as in symbolic computation or number theory. Fields like (rational numbers extended by ) arise in Galois theory and in studying which geometric constructions are possible with straightedge and compass. Function fields, such as the field of rational functions over a base field , are used throughout algebraic geometry. Every one of these satisfies the same eight axioms, so all of linear algebra transfers to them unchanged.
Does satisfy every field axiom, given that it is not ordered like ?
Yes — orderability is not one of the field axioms. with the usual complex addition and multiplication satisfies all eight axioms: closure, commutativity, associativity, and distributivity follow from direct computation with ; the additive identity is ; the multiplicative identity is ; additive inverses are ; and every nonzero has multiplicative inverse , which is well-defined precisely because whenever . The lack of a compatible order (there is no way to declare "positive" or "negative" consistently with the field operations) is a separate structural fact, unrelated to the field axioms themselves.
Why does this article's theorem talk about Gaussian elimination rather than vector spaces directly?
Because the field axioms are logically prior to, and independent of, the notion of a vector space: a field is exactly the set of allowable scalars, and a vector space is defined as an abelian group of vectors equipped with a scalar multiplication by a chosen field. Since Systems of Linear Equations already involves solving equations with coefficients drawn from some number system, it is the most concrete and immediate setting in which to see that all the needed algebraic properties are exactly the field axioms, before the more abstract vector space machinery is introduced.
Can a field have characteristic other than 0 or a prime?
No. The characteristic of a field is the smallest positive integer such that , or if no such exists (as in , all of characteristic ). One can show, using the no-zero-divisors lemma proved above, that if such an exists it must be prime: if with , then forces one of the two factors to be by the no-zero-divisors property, contradicting minimality of . Hence every field has characteristic or a prime ; has characteristic exactly .
Is "field" the same thing as "number system"?
Not quite — "field" is more general and more precise. Every field axiom concerns only the algebraic operations and says nothing about size, order, geometry, or decimal expansions, so a field can be a completely abstract finite set like that has no natural notion of "bigger" or "smaller." Conversely, not every familiar number system is a field: , the "whole numbers," fails axiom 8 and is only a commutative ring. So "field" precisely isolates the algebraic properties that make division work, independent of whatever intuitive picture of "numbers" one starts with.