Follow your curiosity

What discovery has been shared with you?

Start with one fact. Explore it, go deeper, then follow whichever branch catches your imagination.

Choose subjects for a surprise

Exploring any topic

Begin your discovery

Your next discovery is one click away.

Choose one or more subjects above, or leave Any Topic selected and let curiosity decide.

Mathematics

Cantor's Diagonal Argument and the Uncountability of the Reals

Quick fact

Cantor's diagonal argument shows that even though the set of all decimal numbers between 0 and 1 is infinite, it contains more elements than the set of all counting numbers (1, 2, 3, ...).

Why this is interesting

You've probably been told that there are infinitely many numbers. But did you know that some infinities are actually bigger than others?

Read the full explanation

Understanding Cantor's Diagonal Argument and the Uncountability of the Reals

Imagine trying to count every real number—every decimal like 3.14159..., 0.333..., and √2 = 1.41421...—by making a list. Since there are infinitely many, you might think you could list them all: first on the list, second, third, and so on. Cantor's famous trick shows that no matter how cleverly you list them, there will always be at least one number that slips through the cracks. He imagines writing your list as a vertical column of decimals, each with infinitely many digits. Then he looks at the diagonal—the first digit of the first number, the second digit of the second, and so on. He creates a new number by changing each diagonal digit: for example, if the digit is 5, he writes 4; if it's anything else, he writes 5. This new number differs from every number on the list because it has a different digit in the position that matches that number's position on the list. So it can't be on the list, even though it's clearly a real number between 0 and 1. This shows that the real numbers are too many to count—they are uncountably infinite.

A deeper explanation

The magic of Cantor's argument lies in its use of proof by contradiction. He assumes that you have a complete list of all real numbers (with digits arranged in a table). Then he constructs a new real number by taking the diagonal of this table and flipping each digit (a standard choice is to map each digit d to (d+1) mod 10, but any systematic change works). Because this new number differs from every listed number in at least one decimal place, it cannot already be on the list. This contradicts the assumption that the list was complete. Therefore, no complete list can exist, so the reals must be uncountable. More formally, the set of real numbers has cardinality ℵ₁ (or larger, depending on the continuum hypothesis), which is strictly greater than the cardinality of the natural numbers, ℵ₀. This diagonalization technique is not just a clever trick; it is a fundamental method in mathematics and computer science. It is used to prove that the set of all subsets of a set is always larger than the set itself (Cantor's theorem), that there are problems computers cannot solve (like the halting problem), and even in proving Gödel's incompleteness theorems. The reason it works is that it exploits the structure of a list and the ability to define a mathematical object that contradicts the list in a systematic way. This reveals a deep truth: some collections of mathematical objects are so large that they resist any attempt to be enumerated, forming a hierarchy of infinite sizes.

Keep FACTREE close

Internet access is required. Updates arrive when you reopen or reload the app. You may need to sign in again in the installed app.