The Cantor function is a canonical example of a singular function. It is based on the Cantor set, and is usually defined as follows. Let be a real number in with the ternary expansion , then let be if no and otherwise let be the smallest value such that . Next let for all and let . We define the Cantor function (or the Cantor ternary function) as
This function can be easily checked to be continuous and monotonic on and also almost everywhere (it is constant on the complement of the Cantor set), with and . Another interesting fact about this function is that the arclength of the graph is 2, hence the calculus arclength formula does not work in this case.
Figure 1: Graph of the cantor function using 20 iterations.
This function, and functions similar to it are frequently called the Devil’s staircase. Such functions sometimes occur naturally in various areas of mathematics and mathematical physics and are not just a pathological oddity.
- 1 H. L. Royden. . Prentice-Hall, Englewood Cliffs, New Jersey, 1988
|Date of creation||2013-03-22 14:08:23|
|Last modified on||2013-03-22 14:08:23|
|Last modified by||jirka (4157)|
|Synonym||Cantor ternary function|
|Defines||Cantor ternary function|