Fractal Lab

Geometric

Cantor set

Georg Cantor described this set in 1883, decades before the word “fractal” existed. Take the unit interval [0, 1]. Remove the open middle third (1/3, 2/3). From each remaining third, remove its open middle third. Repeat forever. The intersection is the Cantor set, a nowhere-dense, perfect, uncountable set of measure zero.

Seven iterations of the middle-thirds Cantor construction. Each row removes the middle third of every remaining interval.

At a glance

DesignerGeorg Cantor, 1883
Hausdorff dimensionlog3(2) ≈ 0.6309
Topological dimension0
Lebesgue measure0
CardinalityUncountable (continuum)
Self-similar copies2 copies at scale 1/3

Equivalent definitions

Why measure zero but uncountable

At step n, the total length of remaining intervals is (2/3)n, which goes to 0. So the Cantor set has Lebesgue measure zero. But every point with a ternary expansion in {0, 2}survives, and there are uncountably many such sequences (bijection with the set of binary sequences). So Cantor set has the cardinality of the continuum despite occupying no length, our first hint that “dimension” needs to mean more than just cardinality or measure.

Generalizations

References

Try it

Run an interactive playground at /tools/cantor.

Quick quiz

Test yourself on cantor-set

10 multiple-choice questions. Pick an answer for each, then submit to see explanations.

  1. Q1.The standard Cantor set is built by removing what from [0,1]?

  2. Q2.Hausdorff dimension of the standard Cantor set is:

  3. Q3.Lebesgue measure of the Cantor set is:

  4. Q4.Cardinality of the Cantor set is:

  5. Q5.Topologically, the Cantor set is:

  6. Q6.Georg Cantor published the construction in:

  7. Q7.The Cantor set is the attractor of which IFS?

  8. Q8.Is every point of the Cantor set an endpoint of one of the removed intervals?

  9. Q9.The Cantor function (devil's staircase) is constant on:

  10. Q10.Smith-Volterra-Cantor sets remove a shrinking fraction at each step. Their measure is:

0 of 10 answered