Cantor Set
Welcome to one of the most curious objects in mathematics: the Cantor set. It starts as a simple line segment, but through a process of infinite cuts, it becomes a strange and beautiful collection of points—a 'dust' that is both infinitely detailed and has zero length. Let's explore this mind-bending idea.

What Is the Cantor Set?
The Cantor set is a special collection of points on a line segment, created by starting with a single segment and repeatedly removing the open middle third of every segment that remains. This process is continued forever, an infinite number of times. The points that are left over—the ones that are never removed—make up the Cantor set. It's a foundational example of a fractal, an object that is self-similar at different scales.
Imagine you have a piece of string of length 1. Here’s how you begin to construct the Cantor set:
- Step 0: You start with the entire string. In math, we represent this as the closed interval
, which means all the numbers from 0 to 1, including 0 and 1 themselves. - Step 1: You find the middle third of the string, from
to , and remove it. You are now left with two smaller pieces of string: and . - Step 2: Now, you take each of those two smaller pieces and remove the middle third from both of them. From the first piece, you remove
. From the second piece, you remove . You are now left with four even smaller pieces. - Step 3 and beyond: You continue this process forever. At each step, you look at all the little pieces of string you have and snip out the middle third of each one.
The Cantor set is the collection of all the points that survive this infinite cutting process. It might seem like nothing would be left, but as we'll see, what remains is infinitely more complex than you might guess.
How Is the Cantor Set Constructed Step-by-Step?
Let's formalize the construction process using mathematical notation. We'll call the set at the beginning
- Step 0: We start with the closed interval from 0 to 1.
- Step 1: Remove the open interval
. - Step 2: Remove the middle third from the two remaining intervals. These are
and . - Step 3: Remove the middle third from the four remaining intervals.
and so on.
The Cantor set
What Happens to the Length and Number of Pieces?
Let's track two important properties as we build the Cantor set: the number of segments and the total length of those segments. This reveals a fascinating paradox.
At each step
| Step (n) | Number of Intervals | Length of Each Interval | Total Length Remaining |
|---|---|---|---|
| 0 | 1 (which is | 1 | 1 |
| 1 | 2 (which is | ||
| 2 | 4 (which is | ||
| 3 | 8 (which is | ||
| ... | ... | ... | ... |
Notice the patterns here. The number of intervals doubles at each step, following the pattern
So, what is the total length of the final Cantor set? We need to see what happens to
This leads to our first mind-blowing conclusion: The total length of the Cantor set is 0. We have removed so much material that, in terms of length, nothing is left.
If the Length is Zero, How Many Points Are Left?
This is where the Cantor set gets truly weird. Its length is zero, which might make you think it's an empty set. But it's not! There are points left. In fact, there are infinitely many points left.
How can we be sure? Well, think about the endpoints of the intervals. At Step 1, we create the endpoints
But it's even stranger than that. There are points in the Cantor set that are not endpoints of any removed interval. A famous example is the point
The amazing truth is that the Cantor set contains an 'uncountably infinite' number of points. This is a higher level of infinity. It means that the Cantor set, despite having zero length, contains just as many points as the original line segment
Worked Examples with the Cantor Set
Calculate the total length of the segments that are removed from the interval
Solution: We can add up the lengths of the pieces we remove at each step.
Step 1: We remove 1 interval of length
Step 2: We remove 2 intervals of length
Step 3: We remove 4 intervals of length
Step
The total length removed is the sum of an infinite geometric series:
This is a geometric series with first term
The total length of all the removed pieces is exactly 1. Since we started with a line of length 1, this confirms that the length of the remaining Cantor set must be
Determine if the point
Solution: We check step by step to see if
Step 0: The interval is
Step 1: We remove the open interval
Step 2 and beyond: In all future steps, the point
Therefore, yes,
After how many steps is the total length of the remaining segments less than
Solution: We found that the total length remaining after
We can solve this by testing values of
For
For
For
For
For
For
Since
Answer: After 6 steps, the total length is less than
Common Mistakes and Pitfalls
- Thinking Zero Length Means No Points: This is the biggest conceptual hurdle. The idea of 'length' in calculus (called 'measure') is different from just counting points. The Cantor set is a classic example of an uncountably infinite set of points that has a measure of zero. Think of it as points without any 'thickness'.
- Believing Only Endpoints Remain: While all the endpoints of the removed intervals are in the set, they are not the only points. Points like
and are also in the set, even though they are never endpoints of any of the construction intervals. The set is much richer and more complex than just its endpoints. - Confusing Length Removed with Length Remaining: Be careful with what the question is asking. The length removed at step
is (for ). The length remaining after step is . The sum of all removed lengths is 1, while the final remaining length is 0. - Calculating the Number of Points: Do not mistake the number of intervals (
) at a finite step for the number of points in the final set. The number of intervals goes to infinity, but this doesn't capture the true 'size' of the infinity of points in the final set, which is uncountable.
Quick Summary
Here are the key properties of the Cantor set to remember:
- Construction: It's created by starting with the interval
and infinitely removing the open middle third of each remaining segment. - Self-Similarity: It's a fractal. If you zoom in on the portion of the Cantor set within
, it looks exactly like the entire Cantor set, just scaled down by a factor of 3. - Total Length: The total length of the Cantor set is 0.
- Number of Points (Cardinality): The Cantor set contains an uncountably infinite number of points, the same 'amount' of infinity as the original
interval. - Contents: It contains no intervals. It is a totally disconnected set of points, often called a 'dust'.
Frequently Asked Questions
Why is it called the Cantor set?
It is named after the 19th-century German mathematician Georg Cantor, who introduced it in 1883. Cantor used this set to explore groundbreaking ideas about infinity and the nature of the real number line.
Is the Cantor set a fractal?
Yes, it is one of the earliest and most fundamental examples of a fractal. It exhibits perfect self-similarity: if you take the part of the set in the first third,
Can you draw the Cantor set?
You can't draw the complete, final Cantor set because it involves an infinite process. We can only draw approximations of the first few steps of its construction. These drawings show how the line breaks into more and more smaller pieces, eventually looking like a fine dust of points.
What is the point of learning about the Cantor set?
The Cantor set is a fantastic educational tool because its properties are so counter-intuitive. It challenges our basic ideas about length and infinity, forcing us to think more deeply. It serves as a gateway to advanced topics in math like topology, measure theory, and fractal geometry.
Is the number 0.5 in the Cantor set?
No, it is not. The number
Are there other fractals made in a similar way?
Yes, many famous fractals are created by a similar process of recursively removing parts of a shape. Two well-known examples are the Sierpinski triangle (where you remove the middle triangle from a larger one) and the Koch snowflake (where you add triangles to the sides of a line).
Does the Cantor set contain any 'chunks' or line segments?
No, it does not. The final Cantor set contains no intervals, no matter how small. Any two points in the Cantor set, no matter how close, will always have a gap between them that was removed during the construction. This is why it's described as being 'totally disconnected'.