MathLabs
TheoremProved

Uncountability of the reals (Cantor's diagonal argument)

Statement

The set of real numbers is uncountable: there is no bijection between N\mathbb{N} and R\mathbb{R} — indeed none even between N\mathbb{N} and the interval (0,1)(0,1).

Why is it true?

If you tried to list every real number in (0,1)(0,1) as an infinite sequence x1,x2,x3,…x_1,x_2,x_3,\dots, you could always build a new number that differs from the nn-th listed number at its nn-th decimal digit — so this new number is never on the list, and no list can ever be complete.

Proof sketch

Suppose for contradiction that x1,x2,…x_1,x_2,\dots enumerates every real number in (0,1)(0,1) via decimal expansions; define y=0.y1y2y3…y=0.y_1y_2y_3\dots by choosing yny_n to differ from the nn-th digit of xnx_n (e.g. yn=5y_n=5 if that digit is not 55, else yn=6y_n=6, avoiding the …999⋯=…000…\dots999\dots=\dots000\dots ambiguity); then y∈(0,1)y\in(0,1) but y≠xny\neq x_n for every nn (they differ at digit nn), contradicting the assumption that the list was complete.

Proved by

Topics that use this theorem

Related theorems

Step-by-step proofs

No step-by-step proof yet for this theorem.

References

  1. Georg Cantor (1891). Über eine elementare Frage der Mannigfaltigkeitslehre
  2. Paul R. Halmos (1974). Naive Set Theory