The Cantor function on $[0, 1]$
The graph of the Cantor function.
The Cantor function $c$, also called the devil’s staircase, is constant on each of the intervals removed to build the Cantor set: $c = 1/2$ on $[1/3, 2/3]$, $c = 1/4$ on $[1/9, 2/9]$, $c = 3/4$ on $[7/9, 8/9]$, and so on, with $c(0) = 0$ and $c(1) = 1$. Between those intervals, on the Cantor set, $c$ rises continuously.
Terms
| Term | This example | Why |
|---|---|---|
| Hölder continuous | ✓ | The Cantor function is Hölder continuous with $\alpha = \log 2 / \log 3$, because it rises by at most $2^{-n}$ over each interval of length $3^{-n}$. |
| uniformly continuous | ✓ | The Cantor function is uniformly continuous because it is continuous on the compact interval $[0, 1]$. |
| continuous | ✓ | The Cantor function is continuous, because it is nondecreasing and takes every value in $[0, 1]$, so it has no jumps. |
| Lipschitz continuous | ✗ | The Cantor function is not Lipschitz continuous, because it rises by $2^{-n}$ over intervals of length $3^{-n}$, so its slopes are unbounded. |
| absolutely continuous | ✗ | The Cantor function is not absolutely continuous: it rises from $0$ to $1$, but its derivative is $0$ almost everywhere, so it is not the integral of its derivative. |
| continuously differentiable | ✗ |
Distinctions using this example
All examples · All distinctions · All definitions · Notation