Английская Википедия:Cantor function
Шаблон:Use American English Шаблон:Short description
In mathematics, the Cantor function is an example of a function that is continuous, but not absolutely continuous. It is a notorious counterexample in analysis, because it challenges naive intuitions about continuity, derivative, and measure. Though it is continuous everywhere and has zero derivative almost everywhere, its value still goes from 0 to 1 as its argument reaches from 0 to 1. Thus, in one sense the function seems very much like a constant one which cannot grow, and in another, it does indeed monotonically grow.
It is also called the Cantor ternary function, the Lebesgue function,[1] Lebesgue's singular function, the Cantor–Vitali function, the Devil's staircase,[2] the Cantor staircase function,[3] and the Cantor–Lebesgue function.[4] Шаблон:Harvs 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 Шаблон:Harvtxt, Шаблон:Harvtxt and Шаблон:Harvtxt.
Definition
To define the Cantor function <math>c:[0,1]\to[0,1]</math>, let <math>x</math> be any number in <math>[0,1]</math> and obtain <math>c(x)</math> by the following steps:
- Express <math>x</math> in base 3.
- If the base-3 representation of <math>x</math> contains a 1, replace every digit strictly after the first 1 with 0.
- Replace any remaining 2s with 1s.
- Interpret the result as a binary number. The result is <math>c(x)</math>.
For example:
- <math>\tfrac14</math> 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 <math>\tfrac13</math>, so <math>c(\tfrac14)=\tfrac13</math>.
- <math>\tfrac15</math> 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 <math>\tfrac14</math>, so <math>c(\tfrac15)=\tfrac14</math>.
- <math>\tfrac{200}{243}</math> 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 <math>\tfrac34</math>, so <math>c(\tfrac{200}{243})=\tfrac34</math>.
Equivalently, if <math>\mathcal{C}</math> is the Cantor set on [0,1], then the Cantor function <math>c:[0,1]\to[0,1]</math> can be defined as
- <math>c(x) =\begin{cases}
\sum_{n=1}^\infty \frac{a_n}{2^n}, & x = \sum_{n=1}^\infty
\frac{2a_n}{3^n}\in\mathcal{C}\ \mathrm{for}\ a_n\in\{0,1\}; \\ \sup_{y\leq x,\, y\in\mathcal{C}} c(y), & x\in [0,1]\smallsetminus \mathcal{C}. \end{cases} </math>
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 <math>\mathcal{C}</math>, the ternary expansion is repeating with trailing 2's and there is an alternative non-repeating expansion ending in 1. For example, <math>\tfrac13</math> = 0.13 = 0.02222...3 is a member of the Cantor set). Since <math>c(0)=0</math> and <math>c(1)=1</math>, and <math>c</math> is monotonic on <math>\mathcal{C}</math>, it is clear that <math>0\le c(x)\le 1</math> also holds for all <math>x\in[0,1]\smallsetminus\mathcal{C}</math>.
Properties
The Cantor function challenges naive intuitions about continuity and measure; though it is continuous everywhere and has zero derivative almost everywhere, <math display="inline">c(x)</math> goes from 0 to 1 as <math display="inline>x</math> goes from 0 to 1, and takes on every value in between. The Cantor function is the most frequently cited example of a real function that is uniformly continuous (precisely, it is Hölder continuous of exponent α = log 2/log 3) but not absolutely continuous. It is constant on intervals of the form (0.x1x2x3...xn022222..., 0.x1x2x3...xn200000...), and every point not in the Cantor set is in one of these intervals, so its derivative is 0 outside of the Cantor set. On the other hand, it has no derivative at any point in an uncountable subset of the Cantor set containing the interval endpoints described above.
The Cantor function can also be seen as the cumulative probability distribution function of the 1/2-1/2 Bernoulli measure μ supported on the Cantor set: <math display="inline">c(x)=\mu([0,x])</math>. This probability distribution, called the Cantor distribution, has no discrete part. That is, the corresponding measure is atomless. This is why there are no jump discontinuities in the function; any such jump would correspond to an atom in the measure.
However, no non-constant part of the Cantor function can be represented as an integral of a probability density function; integrating any putative probability density function that is not almost everywhere zero over any interval will give positive probability to some interval to which this distribution assigns probability zero. In particular, as Шаблон:Harvtxt pointed out, the function is not the integral of its derivative even though the derivative exists almost everywhere.
The Cantor function is the standard example of a singular function.
The Cantor function is also a standard example of a function with bounded variation but, as mentioned above, is not absolutely continuous. However, every absolutely continuous function is continuous with bounded variation.
The Cantor function is non-decreasing, and so in particular its graph defines a rectifiable curve. Шаблон:Harvtxt showed that the arc length of its graph is 2. Note that the graph of any nondecreasing function such that <math>f(0)=0</math> and <math>f(1)=1</math> has length not greater than 2. In this sense, the Cantor function is extremal.
Lack of absolute continuity
Because the Lebesgue measure of the uncountably infinite Cantor set is 0, for any positive ε < 1 and δ, there exists a finite sequence of pairwise disjoint sub-intervals with total length < δ over which the Cantor function cumulatively rises more than ε.
In fact, for every δ > 0 there are finitely many pairwise disjoint intervals (xk,yk) (1 ≤ k ≤ M) with <math>\sum\limits_{k=1}^M (y_k-x_k)<\delta</math> and <math>\sum\limits_{k=1}^M (c(y_k)-c(x_k))=1</math>.
Alternative definitions
Iterative construction
Below we define a sequence {fn} of functions on the unit interval that converges to the Cantor function.
Let f0(x) = x.
Then, for every integer Шаблон:Nowrap, the next function fn+1(x) will be defined in terms of fn(x) as follows:
Let fn+1(x) = Шаблон:Nowrap, when Шаблон:Nowrap;
Let fn+1(x) = 1/2, when Шаблон:Nowrap;
Let fn+1(x) = Шаблон:Nowrap, when Шаблон:Nowrap.
The three definitions are compatible at the end-points 1/3 and 2/3, because fn(0) = 0 and fn(1) = 1 for every n, by induction. One may check that fn converges pointwise to the Cantor function defined above. Furthermore, the convergence is uniform. Indeed, separating into three cases, according to the definition of fn+1, one sees that
- <math>\max_{x \in [0, 1]} |f_{n+1}(x) - f_n(x)| \le \frac 1 2 \, \max_{x \in [0, 1]} |f_{n}(x) - f_{n-1}(x)|, \quad n \ge 1.</math>
If f denotes the limit function, it follows that, for every n ≥ 0,
- <math>\max_{x \in [0, 1]} |f(x) - f_n(x)| \le 2^{-n+1} \, \max_{x \in [0, 1]} |f_1(x) - f_0(x)|.</math>
Also the choice of starting function does not really matter, provided f0(0) = 0, f0(1) = 1 and f0 is boundedШаблон:Citation needed.
Fractal volume
The Cantor function is closely related to the Cantor set. The Cantor set C can be defined as the set of those numbers in the interval [0, 1] that do not contain the digit 1 in their base-3 (triadic) expansion, except if the 1 is followed by zeros only (in which case the tail 1000<math>\ldots</math> can be replaced by 0222<math>\ldots</math> to get rid of any 1). It turns out that the Cantor set is a fractal with (uncountably) infinitely many points (zero-dimensional volume), but zero length (one-dimensional volume). Only the D-dimensional volume <math> H_D </math> (in the sense of a Hausdorff-measure) takes a finite value, where <math> D = \log(2)/\log(3) </math> is the fractal dimension of C. We may define the Cantor function alternatively as the D-dimensional volume of sections of the Cantor set
- <math>
f(x)=H_D(C \cap (0,x)). </math>
Self-similarity
The Cantor function possesses several symmetries. For <math>0\le x\le 1</math>, there is a reflection symmetry
- <math>c(x)=1-c(1-x)</math>
and a pair of magnifications, one on the left and one on the right:
- <math>c\left(\frac{x}{3}\right) = \frac{c(x)}{2}</math>
and
- <math>c\left(\frac{x+2}{3}\right) = \frac{1+c(x)}{2}</math>
The magnifications can be cascaded; they generate the dyadic monoid. This is exhibited by defining several helper functions. Define the reflection as
- <math>r(x)=1-x</math>
The first self-symmetry can be expressed as
- <math>r\circ c = c\circ r</math>
where the symbol <math>\circ</math> denotes function composition. That is, <math>(r\circ c)(x)=r(c(x))=1-c(x)</math> and likewise for the other cases. For the left and right magnifications, write the left-mappings
- <math>L_D(x)= \frac{x}{2}</math> and <math>L_C(x)= \frac{x}{3}</math>
Then the Cantor function obeys
- <math>L_D \circ c = c \circ L_C</math>
Similarly, define the right mappings as
- <math>R_D(x)= \frac{1+x}{2}</math> and <math>R_C(x)= \frac{2+x}{3}</math>
Then, likewise,
- <math>R_D \circ c = c \circ R_C</math>
The two sides can be mirrored one onto the other, in that
- <math>L_D \circ r = r\circ R_D</math>
and likewise,
- <math>L_C \circ r = r\circ R_C</math>
These operations can be stacked arbitrarily. Consider, for example, the sequence of left-right moves <math>LRLLR.</math> Adding the subscripts C and D, and, for clarity, dropping the composition operator <math>\circ</math> in all but a few places, one has:
- <math>L_D R_D L_D L_D R_D \circ c = c \circ L_C R_C L_C L_C R_C</math>
Arbitrary finite-length strings in the letters L and R correspond to the dyadic rationals, in that every dyadic rational can be written as both <math>y=n/2^m</math> for integer n and m and as finite length of bits <math>y=0.b_1b_2b_3\cdots b_m</math> with <math>b_k\in \{0,1\}.</math> Thus, every dyadic rational is in one-to-one correspondence with some self-symmetry of the Cantor function.
Some notational rearrangements can make the above slightly easier to express. Let <math>g_0</math> and <math>g_1</math> stand for L and R. Function composition extends this to a monoid, in that one can write <math>g_{010}=g_0g_1g_0</math> and generally, <math>g_Ag_B=g_{AB}</math> for some binary strings of digits A, B, where AB is just the ordinary concatenation of such strings. The dyadic monoid M is then the monoid of all such finite-length left-right moves. Writing <math>\gamma\in M</math> as a general element of the monoid, there is a corresponding self-symmetry of the Cantor function:
- <math>\gamma_D\circ c= c\circ \gamma_C</math>
The dyadic monoid itself has several interesting properties. It can be viewed as a finite number of left-right moves down an infinite binary tree; the infinitely distant "leaves" on the tree correspond to the points on the Cantor set, and so, the monoid also represents the self-symmetries of the Cantor set. In fact, a large class of commonly occurring fractals are described by the dyadic monoid; additional examples can be found in the article on de Rham curves. Other fractals possessing self-similarity are described with other kinds of monoids. The dyadic monoid is itself a sub-monoid of the modular group <math>SL(2,\mathbb{Z}).</math>
Note that the Cantor function bears more than a passing resemblance to Minkowski's question-mark function. In particular, it obeys the exact same symmetry relations, although in an altered form.
Generalizations
Let
- <math>y=\sum_{k=1}^\infty b_k 2^{-k}</math>
be the dyadic (binary) expansion of the real number 0 ≤ y ≤ 1 in terms of binary digits bk ∈ {0,1}. This expansion is discussed in greater detail in the article on the dyadic transformation. Then consider the function
- <math>C_z(y)=\sum_{k=1}^\infty b_k z^{k}.</math>
For z = 1/3, the inverse of the function x = 2 C1/3(y) is the Cantor function. That is, y = y(x) is the Cantor function. In general, for any z < 1/2, Cz(y) looks like the Cantor function turned on its side, with the width of the steps getting wider as z approaches zero.
As mentioned above, the Cantor function is also the cumulative distribution function of a measure on the Cantor set. Different Cantor functions, or Devil's Staircases, can be obtained by considering different atom-less probability measures supported on the Cantor set or other fractals. While the Cantor function has derivative 0 almost everywhere, current research focusses on the question of the size of the set of points where the upper right derivative is distinct from the lower right derivative, causing the derivative to not exist. This analysis of differentiability is usually given in terms of fractal dimension, with the Hausdorff dimension the most popular choice. This line of research was started in the 1990s by Darst,[5] who showed that the Hausdorff dimension of the set of non-differentiability of the Cantor function is the square of the dimension of the Cantor set, <math>(\log2/\log3)^2</math>. Subsequently Falconer[6] showed that this squaring relationship holds for all Ahlfor's regular, singular measures, i.e.<math display="block">\dim_H\left\{x : f'(x)=\lim_{h\to0^+}\frac{\mu([x,x+h])}{h}\text{ does not exist}\right\}=\left(\dim_H\operatorname{supp}(\mu)\right)^2</math>Later, Troscheit[7] obtain a more comprehensive picture of the set where the derivative does not exist for more general normalized Gibb's measures supported on self-conformal and self-similar sets.
Hermann Minkowski's question mark function loosely resembles the Cantor function visually, appearing as a "smoothed out" form of the latter; it can be constructed by passing from a continued fraction expansion to a binary expansion, just as the Cantor function can be constructed by passing from a ternary expansion to a binary expansion. The question mark function has the interesting property of having vanishing derivatives at all rational numbers.
See also
- Dyadic transformation
- Weierstrass function, a function that is continuous everywhere but differentiable nowhere.
Notes
References
- Шаблон:Cite book
- Шаблон:Cite journal Reprinted in: E. Zermelo (Ed.), Gesammelte Abhandlungen Mathematischen und Philosophischen Inhalts, Springer, New York, 1980.
- Шаблон:Citation
- Шаблон:Cite journal
- Шаблон:Cite journal
- Шаблон:Citation
- Шаблон:Cite book
- Шаблон:Cite journal
- Шаблон:Cite book
- Шаблон:Cite book
- Шаблон:Citation
External links
- Cantor ternary function at Encyclopaedia of Mathematics
- Cantor Function by Douglas Rivers, the Wolfram Demonstrations Project.
- Шаблон:MathWorld