Algebraic Number Fields and Rings of Integers
An algebraic number field is a finite-degree field extension of ; its ring of integers is the set of elements satisfying monic integer polynomials. Key result: is a Dedekind domain — a Noetherian, integrally closed domain of Krull dimension 1 — so every nonzero ideal factors uniquely into prime ideals, restoring "unique factorization" at the level of ideals even when elements fail it. Applies to algebraic number theory, Diophantine equations, class field theory, and cryptography. Foundations laid by Kummer, Dedekind, and Hilbert (1840s–1900s).
A number field is a field containing such that is finite. Inside every such sits a distinguished subring , the integral closure of in , which plays the role that plays inside . This subject matters because the failure of unique factorization in rings like — where — is exactly what stalled early attempts at Fermat's Last Theorem, and the resolution (ideal factorization) launched modern algebraic number theory. The surprising fact: although elements may factor non-uniquely, ideals always factor uniquely into primes, and the precise obstruction to unique factorization of elements is captured by a single finite abelian group, the ideal class group.
The Core Insight
Replace numbers by ideals. The multiplicative structure that breaks for elements (non-unique factorization) is repaired by passing to the monoid of nonzero ideals, which becomes a free abelian object on the prime ideals. The two great finiteness theorems — finiteness of the class number and Dirichlet's unit theorem — quantify how far is from being a PID and how big its group of units is. Everything in classical algebraic number theory orbits these two invariants.
Formal Statement
Number Field
A number field is a field with and . The integer is the degree of . By the primitive element theorem, for some , and is a root of an irreducible monic polynomial of degree .
Algebraic Integer and Ring of Integers
An element is an algebraic integer if it is a root of a monic polynomial with coefficients in :
The set of all algebraic integers in is the ring of integers , equal to the integral closure of in .
The embeddings of into partition into real embeddings and conjugate pairs of complex embeddings, with
For with embeddings , define the norm and trace as products and sums over all embeddings:
The discriminant of an integral basis of is
Structure of $\mathcal{O}_K$
Let be a number field of degree . Then:
- is a free -module of rank ; it admits an integral basis with .
- is a Dedekind domain: Noetherian, integrally closed, and of Krull dimension 1 (every nonzero prime ideal is maximal).
- Every nonzero ideal factors uniquely as a product of prime ideals,
Class Number and Unit Theorems
For a number field of signature :
(Finiteness of class number) The ideal class group , the quotient of fractional ideals by principal fractional ideals, is finite. Its order is the class number. (Dirichlet's unit theorem) The unit group factors asWhy It Holds / Derivation
$\mathcal{O}_K$ is a free $\mathbb{Z}$-module of rank $n$
Step 1 — Integers form a ring. If are integral, then is a finitely generated -module. Any element of a ring that is finitely generated as a -module is integral (Cayley–Hamilton applied to multiplication). Hence , are integral, so is a ring. Step 2 — spans over . For any , clearing denominators of its minimal polynomial gives for some . So and contains a -basis of . Step 3 — Sandwiching by lattices. Pick a -basis of . The trace form is nondegenerate (separability), so there is a dual basis with . For , the coefficients are . HenceUnique factorization of ideals — sketch
Step 1 — Noetherian. is a Noetherian -module, hence Noetherian as a ring. Step 2 — Dimension 1. If is prime, then for a rational prime , and is a finite integral domain, hence a field. So is maximal. Step 3 — Integrally closed. is by definition the integral closure of in , hence integrally closed in its fraction field . Step 4 — Containment is divisibility. In a Dedekind domain one shows every ideal contains a product of primes, and that for any nonzero ideal there is a fractional ideal with . Invertibility makes the monoid of nonzero ideals a group modulo cancellation, forcing unique factorization into primes exactly as in .Richard Dedekind | 1831–1916
Dedekind, a student of Gauss and Dirichlet at Göttingen, introduced the modern concept of an ideal in his 1871 supplement to Dirichlet's Vorlesungen über Zahlentheorie, generalizing Kummer's "ideal numbers" into actual subsets of a ring. He defined the ring of integers, proved unique factorization of ideals, and effectively created the axiomatic theory of what we now call Dedekind domains. His insistence on set-theoretic, structural definitions — ideals as sets rather than formal symbols — was a decisive step toward abstract algebra. Dedekind also gave the modern definition of infinite sets and constructed the reals via Dedekind cuts.
Building Intuition
Think of as a lattice sitting inside the real vector space , via the embedding . This is the Minkowski embedding, and it turns arithmetic questions into geometry-of-numbers questions: ideals become sublattices, the norm becomes a covolume ratio, and Minkowski's convex-body theorem produces small elements in any ideal — the engine behind class-number finiteness.
For unique factorization, the mental model is: primes of can split, stay inert, or ramify when lifted to . A prime becomes , and the fundamental identity (with the residue degrees) governs the bookkeeping. The class group measures the "twisting" that prevents prime ideals from all being principal: if , every ideal is principal and is a PID with genuine unique factorization of elements.
Minkowski lattice of $\mathcal{O}_K$ for an imaginary quadratic field, with a fundamental domain and a small ideal element found inside a convex body
Worked Examples
Ring of integers of $\mathbb{Q}(\sqrt{d})$ and a factorization
Given. Let be a squarefree integer, , . Step 1 — Integral basis. Standard computation: an element () is integral iff its trace and norm are in . Analysis of cases gives:Unit group and regulator of $\mathbb{Q}(\sqrt{2})$
Given. , real quadratic, signature , so unit rank . Step 1 — Roots of unity. A real field has . Step 2 — Fundamental unit. Solve Pell: . Smallest nontrivial solution gives the fundamental unitCommon Misconceptions
in general. Even when , the ring of integers can be strictly larger than . The index measures the gap. The classic failure: gives , index 2. A field is called monogenic when some generator gives — not all are. Unique factorization of ideals is NOT unique factorization of elements. always has unique ideal factorization, but is a UFD iff it is a PID iff . Conflating these is the single most common error. Likewise, — "to divide is to contain," which reverses the naive intuition. A non-monogenic ring of integers. Dedekind's own example: with . Here is not of the form for any single ; the prime splits completely as with three distinct primes of residue degree 1, which is impossible for to realize since a cubic over cannot have three distinct linear factors (only two monic linear polynomials exist mod 2). This "common index divisor" obstruction shows monogenicity genuinely fails.Connections
The theory threads through much of algebra and number theory. The factorization of primes connects to Galois Theory: for Galois, the Galois group acts transitively on primes above each , and the decomposition/inertia groups encode splitting. Class Field Theory generalizes the class group into a description of all abelian extensions of via the idele class group. The Minkowski embedding ties the subject to Geometry of Numbers and lattice theory. The analytic side — the Dedekind Zeta Function — packages , , , and into the class number formula as its residue at . Finally, Dedekind Domains abstract the purely algebraic content, and Valuation Theory / -adic completions give the local-global perspective via Adeles and Ideles.
Real-World Applications
- Cryptography (lattice-based & ideal-lattice). Ring-LWE and NTRU build post-quantum cryptosystems on for cyclotomic ; security rests on hardness of finding short vectors in ideal lattices.
- Diophantine equations. Solving (Mordell) and Pell's equation directly uses unit groups and class numbers of quadratic and cubic fields.
- Fermat's Last Theorem (regular primes). Kummer proved FLT for all regular primes (those not dividing ) — the original motivation for ideal theory.
- Coding theory. Algebraic number fields and their integers underlie certain wiretap and space-time codes via ideal lattices with good diversity.
- Computational number theory. Software like PARI/GP, Magma, and SageMath compute , , , and prime factorizations as core primitives.
- Elliptic curves with complex multiplication. CM theory uses orders in imaginary quadratic fields; class numbers determine the number of CM curves and feed into point-counting and the construction of Hilbert class fields.
- Quadratic forms. The classification of binary quadratic forms of discriminant is equivalent to the class group of — Gauss's composition reborn.
Historical Development
- 1801 — Gauss's Disquisitiones Arithmeticae studies binary quadratic forms and composition, implicitly the class group of quadratic fields.
- 1832 — Gauss introduces the Gaussian integers , the first ring of integers studied as such, and proves it is a UFD.
- 1844–1847 — Kummer, attacking Fermat's Last Theorem, discovers that cyclotomic integers fail unique factorization and invents "ideal numbers" to restore it; proves FLT for regular primes.
- 1871 — Dedekind defines ideals as sets, the ring of integers, and proves unique factorization of ideals in his supplement to Dirichlet's lectures.
- 1882 — Kronecker develops a parallel divisor-theoretic foundation; Dedekind's set-theoretic approach ultimately prevails.
- 1846 / 1871 — Dirichlet's unit theorem established and refined; the regulator emerges as a key invariant.
- 1896 — Minkowski's geometry of numbers gives clean proofs of class-number finiteness and bounds on discriminants (no unramified extensions of ).
- 1897 — Hilbert's Zahlbericht unifies and systematizes the field, setting the agenda (ramification, Hilbert class field) for the 20th century.
- 1920s–1930s — Artin, Hasse, Chevalley, and Takagi build class field theory; Chevalley introduces ideles, completing the local-global synthesis.