๐Ÿงฎ Brain Teaser

The Cantor Set: Measure Zero yet Uncountable


Problem

Construct the Cantor set CC by starting with [0,1][0,1] and repeatedly removing the open middle third:

C0=[0,1],C1=[0,13]โˆช[23,1],C2=[0,19]โˆช[29,13]โˆชโ‹ฏโ€‰,โ€ฆC_0 = [0,1], \quad C_1 = \left[0,\tfrac{1}{3}\right] \cup \left[\tfrac{2}{3},1\right], \quad C_2 = \left[0,\tfrac{1}{9}\right] \cup \left[\tfrac{2}{9},\tfrac{1}{3}\right] \cup \cdots, \quad \ldots

C=โ‹‚n=0โˆžCnC = \bigcap_{n=0}^{\infty} C_n

Prove both of the following:

  1. CC has Lebesgue measure zero.
  2. CC is uncountable.

Why It's Interesting

These two facts together are shocking: CC is "negligibly small" from the measure-theoretic viewpoint (you can cover it with intervals of total length ฮต\varepsilon for any ฮต>0\varepsilon > 0), yet it is "as large as [0,1][0,1]" from the cardinality viewpoint. It demolished the naive intuition that "measure zero โ‡’\Rightarrow countable." It is also closed, nowhere dense, perfect, and totally disconnected โ€” a remarkable object.


Answer: view

Cantor setMeasure theoryCardinalityUncountability

Answer: The Cantor Set โ€” Measure Zero yet Uncountable

Part 1: Measure Zero

At each stage nn, we remove 2nโˆ’12^{n-1} open intervals each of length 13n\tfrac{1}{3^n}.

Total measure removed:

โˆ‘n=1โˆž2nโˆ’1โ‹…13n=13โˆ‘n=1โˆž(23)nโˆ’1=13โ‹…11โˆ’23=1\sum_{n=1}^{\infty} 2^{n-1} \cdot \frac{1}{3^n} = \frac{1}{3} \sum_{n=1}^{\infty} \left(\frac{2}{3}\right)^{n-1} = \frac{1}{3} \cdot \frac{1}{1 - \frac{2}{3}} = 1

So all of [0,1][0,1] is removed, and:

m(C)=m([0,1])โˆ’1=0โ– m(C) = m([0,1]) - 1 = 0 \qquad \blacksquare


Part 2: Uncountable

Key idea: every point in CC has a base-3 (ternary) expansion using only the digits {0,2}\{0, 2\}.

Why: At each stage, removing the middle third eliminates exactly those numbers whose ternary expansion has a 11 in the nn-th position (that is genuinely a 11, not a tail of 22's). What remains are numbers expressible as:

x=โˆ‘n=1โˆžan3n,anโˆˆ{0,2}x = \sum_{n=1}^{\infty} \frac{a_n}{3^n}, \qquad a_n \in \{0, 2\}

Now define the map ฯ†:Cโ†’[0,1]\varphi: C \to [0,1] by replacing each digit 22 with 11 and reading in base 2:

ฯ†(x)=โˆ‘n=1โˆžan/22n\varphi(x) = \sum_{n=1}^{\infty} \frac{a_n/2}{2^n}

This map is surjective onto [0,1][0,1]: every binary sequence (bn)โˆˆ{0,1}N(b_n) \in \{0,1\}^{\mathbb{N}} lifts to a sequence (2bn)โˆˆ{0,2}N(2b_n) \in \{0,2\}^{\mathbb{N}}, giving a point in CC.

Since [0,1][0,1] is uncountable and ฯ†:Cโ† [0,1]\varphi: C \twoheadrightarrow [0,1], we conclude:

โˆฃCโˆฃโ‰ฅโˆฃ[0,1]โˆฃ=cโ– |C| \geq |[0,1]| = \mathfrak{c} \qquad \blacksquare


The Punchline

The Cantor set has the same cardinality as R\mathbb{R}, yet measure zero. The bijection works because CC has a product structure: each point is an independent binary choice at each stage, giving {0,2}Nโ‰…{0,1}N\{0,2\}^{\mathbb{N}} \cong \{0,1\}^{\mathbb{N}}, which has cardinality 2โ„ต0=c2^{\aleph_0} = \mathfrak{c}.

This is why "small in measure" and "small in cardinality" are completely orthogonal notions.