The Cantor Function Is Uniformly Continuous but Carries No Mass Where It Grows
Let be the Cantor–Lebesgue function (the "devil's staircase"): is continuous, non-decreasing, , , and is constant on each interval removed in the construction of the Cantor set .
Question: Compute .
(Hint: No explicit formula for is needed.)
Answer: Integral of the Cantor Function via Symmetry
Key Idea / Intuition
The Cantor function has a beautiful self-similar symmetry: the graph of on is symmetric about the point . More precisely, for all . This single symmetry immediately pins down the integral without any calculation involving the Cantor set's fractal structure.
Formal Proof / Solution
Step 1: Establish the symmetry .
The Cantor set and the Cantor function are built symmetrically: at each stage of the construction, the removed middle-third intervals are placed symmetrically about , and the function values are assigned symmetrically (the left half gets values in , the right half in , mirrored). A formal induction shows that for all ,
Step 2: Use the symmetry to evaluate the integral.
Let . Substitute :
Add the two expressions:
Therefore,
Why this is surprising.
The function is constant on the complement of the Cantor set, which has measure . So is "flat" almost everywhere — it does all its rising on a set of measure zero. Yet the integral comes out exactly , just as it would for the identity function ! The symmetry argument bypasses the fractal complexity entirely and gives the answer in two lines.
Remark on integration theory.
One can also see this via integration by parts (Lebesgue–Stieltjes): By the same symmetry argument applied to (substituting and using by symmetry), one again gets , confirming .