# Cantor's Diagonal Argument

> List all the real numbers you like; a new one built from the diagonal is always missing.

**Field:** Mathematics & proof · **Reliability:** Empirical · **Coined:** 1891 · **Named after:** Georg Cantor

*Also known as: The diagonal method; Cantor's diagonalization*

## What it means

Cantor's diagonal argument is a proof that the real numbers cannot be put in a one-to-one list with the natural numbers, so the reals are uncountable, a strictly larger infinity than the counting numbers. Suppose someone claims to have listed every real number between zero and one. Cantor constructs a new number by going down the diagonal of the list and changing the n-th digit of the n-th listed number, so the new number differs from every number on the list in at least one place and cannot be anywhere on it. Since no list can be complete, the reals cannot be enumerated. Introduced by Georg Cantor in 1891, the method is one of the most influential ideas in mathematics, the template for a whole family of impossibility proofs.

## How it works

The construction is a self-referential trick that manufactures a counterexample from any purported list. Write the listed numbers as infinite decimals stacked in rows; read off the digit on the diagonal, the first digit of the first number, the second of the second, and so on; then build a new number whose n-th digit differs from that diagonal digit. The result disagrees with the n-th listed number in its n-th place for every n, so it equals none of them, contradicting the assumption that the list was complete. A small subtlety, that some numbers have two decimal expansions like a trailing run of nines equalling a trailing run of zeros, is handled by choosing the altered digits to avoid nines and zeros. The same diagonal idea proves Cantor's theorem, that every set is strictly smaller than its power set.

## Examples

- **The two proofs:** Cantor first proved the reals uncountable in 1874 by a nested-intervals argument; the famous, more general diagonal argument came in his 1891 paper on an elementary question of set theory.
- **Godel and Turing:** The diagonal method is the engine of Godel's incompleteness theorems and of Turing's proof that the halting problem is undecidable, both diagonalising against any proposed complete system.
- **No largest infinity:** Applied to power sets, the argument shows there is no largest cardinal, generating an endless tower of ever-larger infinities from any starting set.

## Why it matters

Cantor's diagonal argument founded the modern treatment of the infinite, proving that infinity comes in different sizes and that the continuum of real numbers is a larger infinity than the natural numbers. Beyond set theory, its diagonalisation technique became one of the most powerful proof methods in logic and computer science, underlying Russell's paradox, Godel's incompleteness theorems, and Turing's undecidability of the halting problem. It was fiercely controversial in its day, with Kronecker rejecting completed infinities, yet it is now foundational, a compact and beautiful demonstration that some infinite collections simply cannot be counted, however cleverly one tries to list them.

## Where it breaks down

Uncountable does not mean finite or merely very large; it means no one-to-one correspondence with the natural numbers exists, a precise cardinality claim. The argument applies to the reals, not the rationals, which are countable and can be listed by a different diagonal enumeration, so the two diagonal ideas must not be conflated. The construction needs the digit-changing to sidestep the dual-decimal-expansion subtlety, and while it proves a missing number exists, it does not by itself resolve deeper questions like whether any infinity sits strictly between the naturals and the reals, which is the separate, independent continuum hypothesis.

## Common misreadings

The reals being uncountable does not mean they are finite or that there is a largest real; it means they cannot be exhausted by any list indexed by the counting numbers. The rationals are countable, so the diagonal argument is not a trick that works on every infinite set, only on those genuinely larger than the naturals. And the argument is constructive in producing the missing number, so it is not a vague appeal but an explicit recipe, though the number it produces depends on the list and is not a single fixed value.

## Origin

Published by Georg Cantor in 1891 in his paper on an elementary question of the theory of manifolds, following his different 1874 proof of the uncountability of the reals, and later recognised as the template for the impossibility proofs of Russell, Godel, and Turing.

## Related

- [Cantor's Theorem](https://conyso.com/lawtome/laws/cantors-theorem/) — consequence
- [The Continuum Hypothesis](https://conyso.com/lawtome/laws/the-continuum-hypothesis/) — kindred
- [The Halting Problem](https://conyso.com/lawtome/laws/the-halting-problem/) — kindred
- [Gödel's Incompleteness Theorems](https://conyso.com/lawtome/laws/godels-incompleteness-theorems/) — kindred

## Sources

- [Cantor's diagonal argument, Wikipedia. — the diagonalisation method, the uncountability conclusion, the 1891 date, the power-set generalisation, and the Godel and Turing connections.](<https://en.wikipedia.org/wiki/Cantor%27s_diagonal_argument>)
- [Cantor Diagonal Method, Wolfram MathWorld. — the construction of the missing number and the dual-expansion subtlety.](<https://mathworld.wolfram.com/CantorDiagonalMethod.html>)

---
Source: https://conyso.com/lawtome/laws/cantors-diagonal-argument/ · The Law Tome — a sourced index of named laws.
