Maths WorkshopMaths problems with full solutions
Exercise 1559Logic, sets and proofs › Countability and cardinalityM1Added 3 Nov 2026

The Cantor set is uncountable

#Cantor set#uncountable#ternary

Statement

Show that the Cantor set KK (obtained by removing middle thirds iteratively from [0,1][0,1]) is uncountable.

Hint

Elements of KK have a ternary expansion using only digits 00 and 22.

Show solutionHide solution

Solution

Ternary. K={x∈[0,1]:xK=\{x\in[0,1]:x has a ternary expansion with digits in {0,2}}\{0,2\}\}.

Bijection. Map each ternary expansion (digits 0,20,2) to a binary expansion (digits 0,10,1). This gives a surjection K→[0,1]K\to[0,1].

Conclusion. KK has cardinality 2ℵ02^{\aleph_0}; uncountable (Lebesgue measure 00, yet uncountable).