Cantor's Diagonalization Argument

R is uncountable.

Proof
We'll show that [0,1]R is uncountable. Let f:N[0,1]. We'll show f is not onto. Recall that each x[0,1] has an infinite decimal representation:

x=0.b1b2...

where each bi{0,...,9}.

1=0.9999999, so 1 can be represented this way.

Let's look at each f(n):

f(1)=0.a11a12a13a14f(2)=0.a22a22a23a24f(3)=0.a31a32a33a34f(4)=0.a41a42a43a44

For nN, let bn={7 if ann73 if ann=7 (note: the numbers here don't matter. It just matters we change each number to some new number).

Now consider x=0.b1b2b3b4. Clearly x[0,1] still. But since b1a11 by our mapping, then xf(1). Similarly since b2a22 then xf(2). Repeat this argument, so then xf(n) for all n. Therefore, f is not onto, completing the proof.