Every student of arithmetic learns the fundamental theorem of arithmetic: every integer greater than 1 factors uniquely into primes. This fact is so basic, so constantly used, that it feels like it must hold everywhere integers live. It does not. Step outside into almost any larger ring of algebraic integers and unique factorization can shatter — and the story of why it breaks, and how to repair it, is the heart of algebraic number theory.
A Factorization That Goes Wrong
Consider the ring . It is a perfectly reasonable ring; it sits inside and every element is an algebraic integer. Now factor the ordinary integer 6:
Both are genuine factorizations inside . The unsettling claim is that none of the four factors can be broken down any further inside the ring — they are all irreducible — and yet and are genuinely different factorizations, not related by reordering or multiplication by units.
To verify irreducibility, use the norm: for define . The norm is multiplicative: . One checks that , , . If 2 were reducible, say with neither a unit, we’d need with both factors greater than 1, so . But has no integer solutions. So 2 is irreducible; the arguments for the others are similar.
The fundamental theorem of arithmetic fails in .
This failure is not a curiosity. It appeared naturally in 19th-century attempts to prove Fermat’s Last Theorem by factoring in rings of the form , where is a primitive th root of unity. The proofs broke down precisely because unique factorization could not be assumed. The fix required a conceptual revolution.
Kummer’s Ideal Numbers and Dedekind’s Ideals
Ernst Kummer, working in the 1840s on cyclotomic fields, noticed that even when elements fail to factor uniquely, something more refined — which he called ideal numbers — does factor uniquely. His ideal numbers were somewhat mysterious objects that he defined by their divisibility properties.
Richard Dedekind reformulated Kummer’s insight with lasting clarity. Instead of ideal numbers, he worked with ideals: subsets of the ring of integers that are closed under addition and under multiplication by any ring element. Formally, is an ideal if and .
The fundamental result is:
Theorem (Dedekind). In the ring of integers of any number field , every non-zero ideal factors uniquely into a product of prime ideals.
This is the correct generalization of the fundamental theorem. Elements may fail to factor uniquely; ideals never do. In the breakdown of resolves at the ideal level:
where , , and are prime ideals. Both element-level factorizations of 6 correspond to the same ideal factorization; the apparent ambiguity disappears.
Number Fields and Rings of Integers
A number field is a finite extension of . Any such field is obtained by adjoining a root of an irreducible polynomial of degree : . As a -vector space, has dimension , called the degree . Examples:
- for a square-free integer : quadratic fields, degree 2.
- for a primitive th root of unity: cyclotomic fields, degree .
- where : the cubic field , degree 3.
Inside sits the ring of integers : the set of all satisfying some monic polynomial with coefficients in . For itself, . For :
This subtlety — that the ring of integers of is , not — is typical: the correct can be larger than the obvious candidate, and getting it wrong invalidates factorization arguments.
The Ideal Class Group
With unique factorization of ideals in hand, one asks: when are all ideals actually principal, i.e., of the form ? The answer is encoded in the ideal class group .
Two ideals and are equivalent if for some non-zero . Equivalence classes form a group under ideal multiplication, and the identity element is the class of principal ideals. This group is always finite; its order is the class number of .
The crucial equivalence:
For , one computes : there are two ideal classes, and this one non-trivial class is exactly what prevents unique element factorization. The ideal is not principal — no single element generates it — but is. It is, in a precise sense, a “half-element.”
Computing class groups is a central computational task in algebraic number theory. Modern algorithms (based on Minkowski’s bound, which guarantees that every ideal class contains an ideal of norm at most ) make this tractable for fields of moderate degree.
Ramification: How Primes Travel Upstairs
When we pass from to , an ordinary prime generates the ideal , which factors into prime ideals of . Three qualitatively different behaviors occur:
- Split: with distinct prime ideals. Informally, “splits” into several primes upstairs.
- Inert: is itself a prime ideal; the prime stays prime in the extension.
- Ramified: for some ; the prime reappears with multiplicity.
Ramification is the most delicate case. A prime ramifies in if and only if divides the discriminant of the field — a single integer that encodes the arithmetic complexity of . For with square-free, if and otherwise. Only finitely many primes ramify in any given number field.
The Dedekind-Kummer theorem gives an explicit recipe. Suppose and . Factor the minimal polynomial of modulo :
Then , where and is any lift of . The exponents are the ramification indices and the degrees are the residue degrees. They satisfy .
This theorem transforms an abstract ideal factorization into an explicit polynomial computation, making it the primary tool for determining how primes behave in a given number field.
Units and Dirichlet’s Unit Theorem
The units of — the invertible elements — form a group . In the units are just . In (the Gaussian integers, ) the units are . In (the ring of integers of ) units are infinite in number: for all , where is the golden ratio.
Dirichlet’s unit theorem (1846) gives the complete structure. Let be the number of real embeddings and the number of conjugate pairs of complex embeddings . Then:
where is the finite cyclic group of roots of unity in .
The rank is called the unit rank. For imaginary quadratic fields (, ) the rank is , so units are finite — just roots of unity. For real quadratic fields (, ) the rank is , so the unit group is generated by a single fundamental unit and its negatives and powers. The fundamental unit of is ; for it is — these grow rapidly and their computation is non-trivial.
The unit theorem is essential for understanding the arithmetic of : units are the ambiguity in element factorizations, and controlling them is prerequisite to any counting result.
The Class Number 1 Problem
Among imaginary quadratic fields for , a natural question is: for which is ? Gauss conjectured (based on extensive computation) that there are only finitely many such fields, and listed nine candidates:
For , the ring is a UFD — a fact connected to the remarkable near-integer , which is within of an integer because of deep modular-forms arithmetic.
The Stark-Heegner theorem (proved rigorously by Harold Stark in 1967, building on work of Kurt Heegner from 1952 that was initially doubted) confirms that Gauss’s list is complete: there are exactly nine imaginary quadratic fields with class number 1. The proof uses the theory of complex multiplication and connections between imaginary quadratic fields and modular functions.
For real quadratic fields the analogous problem — classifying those with — remains open. It is expected that infinitely many exist (e.g., for primes is conjectured often to have ), but no proof is in sight.
Kummer, Regular Primes, and Fermat’s Last Theorem
One of the most celebrated applications of algebraic number theory is Kummer’s partial proof of Fermat’s Last Theorem. Suppose with and an odd prime. In the cyclotomic field , one factors:
If were a UFD, the factors would be “almost” coprime, and a careful argument forces a contradiction. The ring is a UFD precisely when (class number of the maximal real subfield) — and Kummer defined:
A prime is regular if .
Kummer proved FLT for all regular primes. Checking small cases: is the smallest irregular prime (the class number of is divisible by 37), and Kummer’s argument breaks down. Subsequent work by Herbrand, Ribet, and others connected irregularity to Bernoulli numbers: is irregular if and only if divides the numerator of some Bernoulli number for , even. Irregular primes are known to exist infinitely often (conjecturally about 39% of all primes), but the complete proof of FLT required the very different methods of Wiles and Taylor.
Connections to Modern Number Theory
Algebraic number theory did not stop with Dedekind. Every major thread of modern number theory runs through it.
-functions. To each number field one attaches the Dedekind zeta function
where the product runs over prime ideals of . For this is the Riemann zeta function. The analytic class number formula relates and the regulator (a measure of the unit group) to the residue of at . More general -functions attached to Galois representations and automorphic forms generalize this picture.
Galois theory and ramification. The Galois group acts on the prime ideals above a given rational prime , and decomposition groups, inertia groups, and Frobenius elements give a detailed picture of how behaves in . Chebotarev’s density theorem says that Frobenius elements are equidistributed in , giving quantitative information about the splitting of primes.
Class field theory. The crowning achievement of early 20th-century algebraic number theory describes all abelian extensions of a number field in terms of the arithmetic of itself — the generalization of Gauss’s quadratic reciprocity to arbitrary and arbitrary abelian Galois groups. The Artin reciprocity law unifies all classical reciprocity laws.
The Langlands program and BSD. The deepest open conjectures in number theory — including the Birch and Swinnerton-Dyer conjecture on elliptic curves (one of the Millennium Problems) and the Langlands program connecting Galois representations to automorphic forms — are rooted in the structures algebraic number theory built: ideal class groups, -functions, Galois representations. Wiles’s proof of Fermat’s Last Theorem was itself a theorem in the Langlands program, showing that every elliptic curve over is modular.
Why It All Matters
Algebraic number theory began with an embarrassing failure: the assumption that unique factorization holds everywhere, an assumption that turned out to be false in almost all the rings one wants to use. The repair — Dedekind’s ideal theory — is more than a patch. It reveals that the integers , far from being generic, are exceptional: a UFD inside a world where unique factorization of elements is rare and precious, and where the class group measures exactly how far you are from that ideal state.
The theory developed to handle this failure is now among the most powerful machinery in mathematics. Class groups, discriminants, unit groups, and -functions appear in cryptography (ideal lattices in post-quantum schemes), in the theory of modular forms, in arithmetic geometry, and at the frontier of the Langlands program. The failure of a property we took for granted turned out to be more interesting than the property itself.
Related topics: Galois Theory, The Riemann Zeta Function, Fermat’s Last Theorem, Diophantine Equations, Distribution of Primes, Quadratic Reciprocity
Frequently asked
What is a number field?
A number field is a finite algebraic extension of the rational numbers Q. Concretely, it is obtained by adjoining to Q a root α of an irreducible polynomial with rational coefficients, giving Q(α). Every element can be written as a polynomial in α with rational coefficients. The ring of integers O_K inside K is the subring of elements satisfying a monic polynomial with integer coefficients — the natural generalisation of Z inside Q.
Why does unique factorization fail in some rings of integers?
In Z every non-zero non-unit factors uniquely into primes. In the ring Z[√-5], elements that are irreducible (cannot be factored further within the ring) are not necessarily prime in the number-theoretic sense: an element p is prime when p | ab implies p | a or p | b, and this fails for 2, 3, 1+√-5, and 1-√-5 in Z[√-5]. The failure is captured by the class group: unique factorization holds exactly when the class group is trivial, i.e. when the class number h_K equals 1.
What is the class number and why does it matter?
The ideal class group Cl(O_K) measures how far O_K is from being a principal ideal domain. Its order h_K is the class number. When h_K = 1 every ideal is principal and O_K is a UFD. When h_K > 1 there are non-principal ideals, signalling the failure of unique factorization of elements. For imaginary quadratic fields Q(√-d), there are exactly nine values of d for which h_K = 1, and Stark and Heegner proved no others exist.
How did Kummer use ideal class groups to attack Fermat's Last Theorem?
Kummer proved FLT for all regular primes p — primes that do not divide the class number of the cyclotomic field Q(ζ_p). His argument factorises x^p + y^p in the ring Z[ζ_p] and uses unique factorization of ideals to force a contradiction. The argument breaks down for irregular primes (like 37, 59, 67) because the class number obstruction prevents the conclusion. All primes up to around 4 million have now been verified, but Kummer's method alone cannot handle all primes.