The Cantor set
- Construct the middle-thirds Cantor set
- Show its total length is zero
- Describe its points using base-3 numbers
Georg Cantor published this set in 1883. Start with the interval [0, 1]. Remove the open middle third (1/3, 2/3), leaving two intervals. Remove the middle third of each of those, and so on forever. What survives is the Cantor set.
After n steps there are 2n intervals, each of length 3−n, so the total length left is (2/3)n. This tends to 0. The Cantor set has no length at all.
Yet it is far from empty. Write numbers in base 3 (ternary). Removing the middle third removes the numbers whose first ternary digit must be 1. The Cantor set is exactly the numbers in [0,1] that can be written using only the digits 0 and 2. There are as many such sequences as there are real numbers, so the set is uncountable. For example, 1/4 = 0.020202…3 lies in the set even though it is never an endpoint.
The Cantor set consists of two copies of itself scaled by 1/3, so its dimension is log 2 / log 3 ≈ 0.6309: more than a point, less than a line.
Key terms Cantor set ternary expansion uncountable measure zero
Try it live: Find the Cantor set in the dimension list →
Lesson quiz
What total length remains in the Cantor set?
- 1/3
- 2/3
- 0
- 1/2
Show answer
0. After n steps the length is (2/3)ⁿ, which tends to 0.
How many intervals remain after 3 steps?
- 6
- 8
- 9
- 27
Show answer
8. Each step doubles the number of intervals: 2³ = 8.
Which digits appear in the base-3 expansion of every point of the Cantor set (using a suitable expansion)?
- Only 0 and 1
- Only 1 and 2
- Only 0 and 2
- All of 0, 1, 2
Show answer
Only 0 and 2. Each removed middle third corresponds to the digit 1, so the remaining points use only 0 and 2.
Take this quiz interactively and save your progress (free) →