

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Cantor's diagonal argument is a proof that the set of real numbers is not countable. This means that it is impossible to label the elements of the set with positive integers so that each positive integer is used exactly once as a label. The argument uses a diagonal method to construct a number that cannot be in the table of values of any function that maps natural numbers to real numbers.
Typology: Papers
1 / 3
This page cannot be seen from the preview
Don't miss anything!


Recall that...
A set S is called countably infinite if there is a bijection between S and N. That is, you can label the elements of S 1, 2,... so that each positive integer is used exactly once as a label.
Why “countably infinite”? Such a set is countable because you can count it (via the labeling just mentioned). Unlike a finite set, you never stop counting. But at least the elements can be put in correspondence with N.
On the other hand, not all infinite sets are countably infinite. In fact, there are infinitely many sizes of infinite sets.
Georg Cantor proved this astonishing fact in 1895 by showing that the the set of real numbers is not countable. That is, it is impossible to construct a bijection between N and R. In fact, it’s impossible to construct a bijection between N and the interval [0, 1] (whose cardinality is the same as that of R).
Here’s Cantor’s proof.
Suppose that f : N → [0, 1] is any function. Make a table of values of f , where the 1st row contains the decimal expansion of f (1), the 2nd row contains the decimal expansion of f (2),... the nth row contains the decimal expansion of f (n),... Perhaps f (1) = π/10, f (2) = 37/99, f (3) = 1/7, f (4) =
2 /2, f (5) = 3/8, so that the table starts out like this.
n f (n) 1 0. 3 1 4 1 5 9 2 6 5 3... 2 0. 3 7 3 7 3 7 3 7 3 7... 3 0. 1 4 2 8 5 7 1 4 2 8... 4 0. 7 0 7 1 0 6 7 8 1 1... 5 0. 3 7 5 0 0 0 0 0 0 0... .. .
Of course, only part of the table can be shown on a piece of paper — it goes on forever down and to the right.
Can f possibly be onto? That is, can every number in [0, 1] appear somewhere in the table?
In fact, the answer is no — there are lots and lots of numbers that can’t possibly appear! For example, let’s highlight the digits in the main diagonal of the table.
n f (n) 1 0. 3 1 4 1 5 9 2 6 5 3... 2 0. 3 7 3 7 3 7 3 7 3 7... 3 0. 1 4 2 8 5 7 1 4 2 8... 4 0. 7 0 7 1 0 6 7 8 1 1... 5 0. 3 7 5 0 0 0 0 0 0 0... .. .
The highlighed digits are 0. 37210.... Suppose that we add 1 to each of these digits, to get the number
Now, this number can’t be in the table. Why not? Because
So it can’t equal f (n) for any n — that is, it can’t appear in the table.
This looks like a trick, but in fact there are lots of numbers that are not in the table. For example, we could subtract 1 from each of the highlighted digits (changing 0’s to 9’s), getting 0.26109 — by the same argument, this number isn’t in the table. Or we could subtract 3 from the odd-numbered digits and add 4 to the even-numbered digits. Or we could even highlight a different set of digits:
n f (n) 1 0. 3 1 4 1 5 9 2 6 5 3... 2 0. 3 7 3 7 3 7 3 7 3 7... 3 0. 1 4 2 8 5 7 1 4 2 8... 4 0. 7 0 7 1 0 6 7 8 1 1... 5 0. 3 7 5 0 0 0 0 0 0 0... .. .
As long as we highlight at least one digit in each row and at most one digit in each column, we can change each the digits to get another number not in the table. Here, if we add 1 to all the highlighted digits, we end up with 0. 42981... — there’s a real number that does not equal f (n) for any positive integer n.
What is the point of all this? Precisely that the function f can’t possibly be onto — there will always be (infinitely many!) missing values. Therefore, there does not exist a bijection between N and [0, 1].
If S is a set, then the power set P(S) is defined as the set of all subsets of S. For example, if S = { 1 , 3 , 4 }, then P(S) =