Cantor’s diagonal argument
One of the starting points inCantor’s development of set theory was his discovery that there aredifferent degrees of infinity
. The rational numbers
, for example, arecountably infinite
; it is possible to enumerate all the rationalnumbers by means of an infinite
list. By contrast, the real numbersare uncountable. it is impossible to enumerate them by means of aninfinite list. These discoveries underlie the idea of cardinality,which is expressed by saying that two sets have the same cardinalityif there exists a bijective
correspondence between them.
In essence, Cantor discovered two theorems: first, that the set ofreal numbers has the same cardinality as the power set of thenaturals; and second, that a set and its power set have a differentcardinality (see Cantor’s theorem). The proof of the second resultis based on the celebrated diagonalization argument.
Cantor showed that for every given infinite sequence of real numbers it is possible to construct a real number that is not on that list. Consequently, it is impossible to enumeratethe real numbers; they are uncountable. No generality is lost if wesuppose that all the numbers on the list are between and .Certainly, if this subset of the real numbers in uncountable, then thefull set is uncountable as well.
Let us write our sequence as a table of decimal expansions:
where
and the expansion avoids an infinite trailing string ofthe digit .
For each we choose a digit that is different from and not equal to , and consider the real number withdecimal expansion
By construction, this number is different from every member of thegiven sequence. After all, for every , the number differs fromthe number in the decimaldigit.The claim is proven.