Algebraic Number Theory in Plain Language
Learn why mathematicians enlarge the integers with roots, what breaks when they do, and how ideals repair unique factorization.
Key takeaways
- An algebraic number is a root of a nonzero polynomial with integer coefficients, and an algebraic integer is a root of one whose leading coefficient is 1.
- Adjoining roots such as i lets you factor sums like a² + b², which explains which primes are sums of two squares.
- In some systems a number factors into irreducible pieces in two genuinely different ways.
- Replacing numbers with ideals restores unique factorization in the full ring of integers of any number field.
- The class number measures how far a system is from unique factorization, with class number 1 meaning no failure.
Algebraic number theory studies questions about whole numbers by working in larger number systems that include roots of polynomials, such as i, √2 or √−5. In these systems you can often factor an expression that would not split using ordinary integers, and the factorization reveals facts about the original integers.
The catch is that the larger systems do not always behave like the integers. In particular, factoring into primes can fail to be unique. Much of the subject is about measuring that failure and repairing it.
A bigger home for arithmetic
An algebraic number is any number that solves a polynomial equation with integer coefficients. So 3/7 solves 7x − 3 = 0, √2 solves x² − 2 = 0, and i solves x² + 1 = 0. Numbers that solve no such equation, such as π, are transcendental.
Start with the rational numbers, add one algebraic number, and close up under addition, subtraction, multiplication and division. The result is called a number field. For instance, adding i gives all numbers a + bi with rational a and b.
Inside each field sits a collection that plays the role of the whole numbers: its algebraic integers, the roots of polynomials with integer coefficients and leading coefficient 1. They form a ring, meaning you can add, subtract and multiply without leaving it. The vocabulary is introduced in rings and fields in brief.
The Gaussian integers
The friendliest example is the set of numbers a + bi where a and b are ordinary integers. Picture them as the grid points of a plane. They are named for Gauss, who used them to study fourth powers.
The norm of a + bi is N = a² + b². It is a whole number, and the norm of a product equals the product of the norms. That single property converts questions about factoring here into questions about ordinary integers.
Some ordinary primes lose their primality:
5 = (2 + i)(2 − i) norms: 25 = 5 × 5
13 = (3 + 2i)(3 − 2i) norms: 169 = 13 × 13
2 = −i (1 + i)²
3 stays prime no element has norm 3 An odd prime p splits exactly when p = a² + b², which happens exactly when p leaves remainder 1 on division by 4. The companion article on sums of two squares follows that thread.
Units
A unit is an element whose reciprocal is also in the ring. Among ordinary integers the units are 1 and −1. Among Gaussian integers they are 1, −1, i and −i.
Factorizations that differ only by units count as the same, just as 6 = 2 × 3 = (−2) × (−3).
Other rings have infinitely many units. In the ring of numbers a + b√2, the element 1 + √2 is a unit, because (1 + √2)(−1 + √2) = 1. All its powers are units too. This is the structure behind the infinitely many solutions of Pell's equation. Dirichlet's unit theorem describes the shape of the unit group in every number field.
Why the Gaussian integers behave well
Unique factorization in the ordinary integers rests on division with a remainder smaller than the divisor. The Gaussian integers allow the same thing, with size measured by the norm.
To divide 7 + 3i by 2 + i, compute the exact quotient and round to the nearest grid point.
(7 + 3i)/(2 + i) = (7 + 3i)(2 − i)/5 = (17 − i)/5 = 3.4 − 0.2i
nearest Gaussian integer: 3
remainder: (7 + 3i) − 3(2 + i) = 1
norm of remainder 1, norm of divisor 5 Rounding moves each coordinate by at most 1/2, so the remainder's norm is at most half the divisor's. That guarantees a Euclidean algorithm, hence greatest common divisors, hence unique factorization into primes up to units.
In the ring with √−5 the rounding can leave a remainder that is too large, and as we are about to see, the conclusion really does fail there.
A payoff: one equation solved
Which whole numbers satisfy y² + 2 = x³? Fermat stated that the only solutions with y positive are x = 3 and y = 5. Here is a proof using numbers a + b√−2, a ring that does have unique factorization.
First, y must be odd: an even y forces x to be even, making x³ divisible by 8 while y² + 2 leaves remainder 2 on division by 4. Next factor the left side as (y + √−2)(y − √−2). For odd y the two factors share no common divisor except units. Since their product is a cube and the only units, 1 and −1, are cubes, each factor is a cube.
y + √−2 = (a + b√−2)³
= (a³ − 6ab²) + (3a²b − 2b³)√−2
compare the √−2 parts: b(3a² − 2b²) = 1
so b = 1 and a = ±1 (b = −1 gives no integer a)
y = a³ − 6a = ∓5, x = a² + 2b² = 3 Check: 25 + 2 = 27. The same steps in a ring without unique factorization would be unjustified and can miss solutions.
Where unique factorization breaks
Consider the numbers a + b√−5 with integers a and b. In this ring,
6 = 2 × 3 = (1 + √−5)(1 − √−5) The norm here is a² + 5b². The four factors have norms 4, 9, 6 and 6. A proper factor of any of them would need norm 2 or 3, and a² + 5b² never equals 2 or 3. So all four are irreducible: they cannot be broken down further.
None of them differs from another by a unit, since the only units are 1 and −1. We therefore have two different factorizations of 6 into irreducibles.
Note that 2 divides the product (1 + √−5)(1 − √−5) yet divides neither factor. So 2 is irreducible without being prime, a distinction that never arises in ordinary integers. More examples appear in where unique factorization fails.
Ideals to the rescue
In the 1840s Ernst Kummer proposed that there were hidden "ideal" factors below the visible ones. Richard Dedekind later gave this a concrete form that is still used.
An ideal is a set of ring elements closed under addition and under multiplication by anything in the ring. In the ordinary integers, every ideal is just the set of multiples of one number. In larger rings some ideals need two generators and match no single element.
For our example, let P be the ideal generated by 2 and 1 + √−5, let Q be generated by 3 and 1 + √−5, and let R be generated by 3 and 1 − √−5. Then, as ideals,
(2) = P²
(3) = Q R
(1 + √−5) = P Q
(1 − √−5) = P R
(6) = P² Q R whichever way you started The two factorizations were two ways of grouping the same four prime ideals. In the ring of integers of any number field, every nonzero proper ideal factors into prime ideals in exactly one way.
The class number
Ideals that come from a single element are called principal. The class group records how many essentially different kinds of ideals there are, treating principal ones as trivial. It is always finite, and its size is the class number.
Class number 1 means elements factor uniquely. The ring built on √−5 has class number 2.
| Ring | Unique factorization? | Remark |
|---|---|---|
| Ordinary integers | Yes | The model case |
| Gaussian integers | Yes | Four units |
| Integers with √2 added | Yes | Infinitely many units |
| Integers with √−5 added | No | Class number 2 |
For imaginary quadratic fields, class number 1 occurs in exactly nine cases, corresponding to √−d with d = 1, 2, 3, 7, 11, 19, 43, 67 and 163. The completeness of this list was established in the twentieth century through work of Kurt Heegner, Alan Baker and Harold Stark.
A subtlety: when d leaves remainder 3 on division by 4 in this list, the full ring of integers includes halves, such as (1 + √−3)/2. Leaving them out destroys the property.
Fermat's Last Theorem
The equation xⁿ + yⁿ = zⁿ has no solutions in positive integers when n > 2. Using the number e^(2πi/p), the left side with prime exponent p factors completely into linear terms.
In 1847 Gabriel Lamé announced a proof along these lines that tacitly assumed unique factorization. Kummer had already seen that it fails for some p, including 23. His ideal factors let him prove the theorem for a large class of exponents, the regular primes.
The full proof came from Andrew Wiles in the 1990s, completed with help from Richard Taylor, using elliptic curves and modular forms. Algebraic number theory runs all through it.
Primes that split
A central theme is what an ordinary prime does in a larger ring: it may stay prime, split into different prime ideals, or ramify, meaning a prime ideal appears more than once. In a quadratic field only finitely many primes ramify.
Which of the other two happens is decided by whether a certain number is a square modulo p, so quadratic reciprocity becomes a law about splitting. Class field theory extends this to a broad family of field extensions.
To begin studying the subject you need congruences, basic ring theory and some Galois theory. Computing norms in small quadratic rings by hand is a good first step.