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 :

1
⟳equivalently generates a finitely generated -module ; integrality is closure under such finite generation.

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

2
⟳the distinct roots of over are either real or come in complex-conjugate pairs; counting gives the signature .

For with embeddings , define the norm and trace as products and sums over all embeddings:

3
⟳these are the determinant and trace of the -linear multiplication-by- map on ; both lie in , and in when .

The discriminant of an integral basis of is

4
⟳the trace form matrix factors as where , so its determinant is the square of ; nonvanishing follows from separability of .

Structure of $\mathcal{O}_K$

Let be a number field of degree . Then:

  1. is a free -module of rank ; it admits an integral basis with .
  2. is a Dedekind domain: Noetherian, integrally closed, and of Krull dimension 1 (every nonzero prime ideal is maximal).
  3. Every nonzero ideal factors uniquely as a product of prime ideals,
5
⟳Dedekind domains are precisely the domains where the monoid of nonzero ideals is free abelian on the prime ideals; uniqueness follows by localizing at each to a DVR.

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 as
6
⟳the logarithmic embedding sends units into a hyperplane of ; its image is a full lattice (covolume = regulator), and the kernel is the finite group of roots of unity .
where is the finite cyclic group of roots of unity in .

Why 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 . Hence
7
⟳integrality forces traces to be rational integers, locking between two free modules of rank .
Step 4 — Conclusion. A subgroup of a free abelian group of rank that contains a free subgroup of rank is itself free of rank (structure theorem for f.g. modules over the PID ). Therefore .

Unique 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

Minkowski embedding of O_K (Im. quadratic field) Re Im fund. domain convex body α ∈ 𝔞 covolume = 2^{-r2}·√|d_K|

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:
8
⟳solve the integrality conditions , modulo 4; the half-integer basis appears exactly when .
Step 2 — Discriminant. if , else . Step 3 — Take . Then , so , . Here — non-unique factorization of elements. As ideals:
9
⟳factor via reduction of mod 2 and mod 3, then regroup the principal factorizations.
Boxed answer. — the class number 2 is precisely the obstruction making factor two ways.

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 unit
10
⟳units have norm ; the minimal Pell solution generates all units modulo by Dirichlet's theorem with rank 1.
Step 3 — Structure and regulator. . The regulator is
11
⟳with unit rank 1 the regulator is the single entry of the logarithmic-embedding matrix.
Boxed answer.

Common 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

  1. 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.
  2. Diophantine equations. Solving (Mordell) and Pell's equation directly uses unit groups and class numbers of quadratic and cubic fields.
  3. Fermat's Last Theorem (regular primes). Kummer proved FLT for all regular primes (those not dividing ) — the original motivation for ideal theory.
  4. Coding theory. Algebraic number fields and their integers underlie certain wiretap and space-time codes via ideal lattices with good diversity.
  5. Computational number theory. Software like PARI/GP, Magma, and SageMath compute , , , and prime factorizations as core primitives.
  6. 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.
  7. 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.

Subtleties & Limits

Gauss's class number problem (imaginary quadratic). Determining all imaginary quadratic fields with a given class number was hard: the complete list of the nine fields with () was only settled by Heegner (1952, with gaps), Baker, and Stark (1960s). For each fixed , effective determination came from Goldfeld–Gross–Zagier. Real quadratic class number 1. Conjecturally infinitely many real quadratic fields have (Gauss), but this is open — we cannot even prove infinitely many number fields are PIDs. The Cohen–Lenstra heuristics predict densities of class-group structures, yet remain conjectural. Monogenicity. Deciding whether a given field is monogenic, and counting power-integral bases, is a deep and largely open problem (Gaál, Győry). Most number fields of degree are conjecturally non-monogenic in a density sense (Bhargava–Shankar–Wang). Vandiver's conjecture. Whether (the plus-part class number) holds for all primes is open and has consequences in Iwasawa theory and FLT-style arguments.

See Also

Dedekind Domains · Galois Theory · Class Field Theory · Geometry of Numbers · Dedekind Zeta Function · Cyclotomic Fields · Quadratic Forms · Valuation Theory · Adeles and Ideles · Minkowski's Theorem

Before this

Where this leads