A small set with many points
Start with the closed interval [0,1]. Remove its open middle third, then remove the open middle third from each remaining closed interval, and continue indefinitely.
The Cantor set C is the intersection of all stages. Equivalently, C consists of numbers in [0,1] that admit a base-3 expansion using only the digits 0 and 2, with endpoint expansions handled consistently.
Each stage is closed and nested inside [0,1], so their intersection is closed; being a closed subset of a compact interval makes C compact. Every point of C is approached by other points of C, so C has no isolated points and is perfect.
Between any two distinct Cantor points lies a removed interval at some finite stage. This separates them within C, which makes C totally disconnected.
Yet mapping binary digit sequences to ternary sequences using 0 and 2 shows that C is uncountable. Its total remaining length tends to zero, demonstrating that length and cardinality measure different kinds of size.
Which number has a ternary expansion containing only 0 and 2 and therefore belongs to the Cantor set?
Mark Yourself Question
- Grab a piece of paper and try this problem yourself.
- When you're done, check the "I have answered this question" box below.
- View the solution and report whether you got it right or wrong.
Give a concise proof that the middle-thirds Cantor set C is compact as a subset of R.