Are some infinities bigger than others? Cantor's diagonal argument explained
Yes. One of the most surprising results in mathematics is that infinite sets can have different sizes. Georg Cantor showed this in the late 1800s.
Comparing sizes without counting Two sets have the same size (cardinality) if you can pair their elements one-to-one with none left over. For finite sets, that matches counting. For infinite sets, it leads to strange results:
- The even numbers can be paired with all natural numbers (1 with 2, 2 with 4, 3 with 6, ...), so they are the same size, even though evens seem like "half."
- The integers and even the rational numbers (fractions) can also be paired with the natural numbers. These are called countably infinite.
The diagonal argument Now suppose you could list every real number between 0 and 1 in an infinite list. Cantor showed how to build a number not on the list:
- Look at the first digit of the first number, the second digit of the second number, and so on down the diagonal.
- Create a new number by changing each of those digits (for example, add 1, turning 9 into 0 or another rule that avoids ambiguity).
- The new number differs from every number on the list in at least one digit.
So no list can contain all real numbers. The reals are uncountably infinite, a strictly larger infinity.
Going further Cantor also showed that for any set, the set of all its subsets is larger, so there is an endless hierarchy of infinities. Whether there is a size strictly between the naturals and the reals is the continuum hypothesis, which turned out to be independent of standard set theory axioms.
Did this blow your mind the first time? And do you find it intuitive that the fractions are only "countably" infinite?
Comments · 3
The diagonal argument is such an elegant proof. It's one of those where the logic is simple but the conclusion feels wrong.
So is there a size between the integers and the real numbers? I remember hearing that this question has a strange answer.
Infinity hotel is full? Sure, there's always room for one more.