Lably
Skip to content

Cantor function

Continuous function that is not absolutely continuous

  • 8 min read
  • 5 chapters

Related on Lably

Through Mathematics, Function (mathematics) and Continuous function

It is also called the Cantor ternary function, the Lebesgue function, Lebesgue's singular function, the Cantor–Vitali function, the Devil's staircase, the Cantor staircase function, and the Cantor–Lebesgue function. Georg Cantor (1884) introduced the Cantor function and mentioned that Scheeffer pointed out that it was a counterexample to an extension of the fundamental theorem of calculus claimed by Harnack. The Cantor function was discussed and popularized by Scheeffer (1884), Lebesgue (1904), and Vitali (1905).

Definition

To define the Cantor function c:[0,1]→[0,1], let x be any number in [0,1] and obtain c(x) by the following steps:

  1. Express x in base 3, using digits 0, 1, 2.
  2. If the base-3 representation of x contains a 1, replace every digit strictly after the first 1 with 0.
  3. Replace any remaining 2s with 1s.
  4. Interpret the result as a binary number. The result is c(x).

For example:

  • 14 has the ternary representation 0.02020202... There are no 1s so the next stage is still 0.02020202... This is rewritten as 0.01010101... This is the binary representation of 13, so c(14)=13.
  • 15 has the ternary representation 0.01210121... The digits after the first 1 are replaced by 0s to produce 0.01000000... This is not rewritten since it has no 2s. This is the binary representation of 14, so c(15)=14.
  • 200243 has the ternary representation 0.21102 (or 0.211012222...). The digits after the first 1 are replaced by 0s to produce 0.21. This is rewritten as 0.11. This is the binary representation of 34, so c(200243)=34.

Equivalently, letting C be the Cantor set on [0,1], the Cantor function c:[0,1]→[0,1] can be defined as

c(x)={∑n=1∞an2n,if x=∑n=1∞2an3n∈Cforan∈{0,1};supy≤x,y∈Cc(y),if x∈[0,1]∖C.

This formula is well-defined, since every member of the Cantor set has a unique base 3 representation that only contains the digits 0 or 2. (For some members of C, the ternary expansion is repeating with trailing 2's and there is an alternative non-repeating expansion ending in 1. For example, 13 = 0.13 = 0.02222...3 is a member of the Cantor set). Since c(0)=0 and c(1)=1, and c is monotonic on C, it is clear that 0≤c(x)≤1 also holds for all x∈[0,1]∖C.

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Topics in mathematics