Cantor's Diagonal Argument: ℝ is Uncountable

Theorem

The set of real numbers R\mathbb{R} is uncountable. There is no surjection from N\mathbb{N} to R\mathbb{R}.

Proof (Cantor’s diagonal argument, 1891)

Suppose for contradiction that we can list all real numbers in [0,1)[0, 1) as an infinite sequence r1,r2,r3,…r_1, r_2, r_3, \ldots

Write each rir_i in decimal expansion:

ri=0.di1di2di3…r_i = 0.d_{i1}d_{i2}d_{i3}\ldots

Construct a new number x=0.x1x2x3…x = 0.x_1 x_2 x_3 \ldots where each digit xix_i differs from diid_{ii} (the diagonal digit):

xi≠diix_i \neq d_{ii}

Then xx differs from every rir_i in at least the ii-th decimal place. So xx is not in our list — contradicting the assumption that we listed all reals. ■\blacksquare

Eight real numbers written out as rows of digits; the diagonal digits are collected and each is changed to build a new number d, which differs from every row at that row's own position.