Diagonalization is a technique first used by George Cantor, a German mathematician. He used it to show that the cardinality of the real numbers is not equal to the cardinality of the natural numbers, thereby demonstrating the real numbers are not countable.
Proof of the non-countability of real numbers
There exists a map
(in fact all infinitly supported probability distribution does this). Therefor there are as many number in
as
.
We will now use proof by contradiction to show that the numbers in
are uncountable.
Assume that that they are countable then we can list them as such,
Where
Construct the number,
, where
when
and
when
.
Therefor
is not in the list, so we have a contradition and our assumption is false, the number
are not countable. Therefor
is uncountable.
References
Komolgorov, Introduction to Real Analysis. (You can find it inalmost any book store).