Blancmange curve
In mathematics, the blancmange curve is a fractal curve constructible by midpoint subdivision. It is also known as the Takagi curve, after Teiji Takagi who described it in 1901, or as the Takagi–Landsberg curve, a generalization of the curve named after Takagi and Georg Landsberg. The name blancmange comes from its resemblance to a pudding of the same name. It is a special case of the more general de Rham curve.
Definition
The blancmange function is defined on the unit interval by
where is the triangle wave, defined by , that is, is the distance from x to the nearest integer.
The Takagi–Landsberg curve is a slight generalization, given by
for a parameter w; thus the blancmange curve is the case . The value is known as the Hurst parameter.
The function can be extended to all of the real line: applying the definition given above shows that the function repeats on each unit interval.
Graphical construction
The blancmange curve can be visually built up out of triangle wave functions if the infinite sum is approximated by finite sums of the first few terms. In the illustration below, progressively finer triangle functions (shown in red) are added to the curve at each stage.
n = 0 | n ≤ 1 | n ≤ 2 | n ≤ 3 |
Properties
Convergence and continuity
The infinite sum defining converges absolutely for all x: since for all , we have:
- if .
Therefore, the Takagi curve of parameter w is defined on the unit interval (or ) if .
The Takagi function of parameter w is continuous. Indeed, the functions defined by the partial sums are continuous and converge uniformly toward , since:
- for all x when .
This value can be made as small as we want by selecting a big enough value of n. Therefore, by the uniform limit theorem, is continuous if |w|<1.
-
parameter w=2/3
-
parameter w=1/2
-
parameter w=1/3
-
parameter w=1/4
-
parameter w=1/8
The special case of the parabola
For , one obtains the parabola: the construction of the parabola by midpoint subdivision was described by Archimedes.
Differentiability
The Takagi curve is a fractal for parameters , as it is nowhere differentiable in the classic definition of delta-epsilon differentiability on the real number line (that is, w.r.t. the natural topology on the reals). However, by instead representing a real number as a 2-adic expansion of binary bits, one may temporarily adopt the product topology of the Cantor set, and immediately give meaning of the differential as a formal sum. That is, by noting that the derivative of a triangle wave is a square wave (equivalently, the repeated Haar mother wavelet):
one may immediately write the formal sum
This sum is manifestly convergent for , although it is ill-defined at all dyadic rationals. It is the temporary adoption of the product topology that allows this formal manipulation to be given a practical meaning. Thus, it is more accurate to say that the Takagi curve is not differentiable on the dyadic rationals; it is "well-behaved" elsewhere (on the irrationals, and the non-dyadic rationals). The derivative is discontinuous at all dyadic rationals.
Equivalently, one may apply the discrete wavelet transform to obtain a representation in terms of Haar wavelets ; the wavelet coefficients take a particularly simple form:
Fourier series expansion
The Takagi-Landsberg function admits an absolutely convergent Fourier series expansion:
with and, for
where is the maximum power of that divides . Indeed, the above triangle wave has an absolutely convergent Fourier series expansion
By absolute convergence, one can reorder the corresponding double series for :
putting yields the above Fourier series for .
Recursive definition
The periodic version of the Takagi curve can also be defined recursively by:
- .
The version restricted to the unit interval can also be defined recursively by:
Proof:
- .
Observe that this definition has the form of a discrete wavelet transform; thus the coefficients of the wavelet transform take a particularly simple form.
Self similarity
The above recursive definition allows the monoid of self-symmetries of the curve to be given. This monoid is given by two generators, g and r, which act on the curve (restricted to the unit interval) as
and
- .
A general element of the monoid then has the form for some integers This acts on the curve as a linear function: for some constants a, b and c. Because the action is linear, it can be described in terms of a vector space, with the vector space basis:
In this representation, the action of g and r are given by
and
That is, the action of a general element maps the blancmange curve on the unit interval [0,1] to a sub-interval for some integers m, n, p. The mapping is given exactly by where the values of a, b and c can be obtained directly by multiplying out the above matrices. That is:
Note that is immediate.
The monoid generated by g and r is sometimes called the dyadic monoid; it is a sub-monoid of the modular group. When discussing the modular group, the more common notation for g and r is T and S, but that notation conflicts with the symbols used here.
The above three-dimensional representation is just one of many representations it can have; it shows that the blancmange curve is one possible realization of the action. That is, there are representations for any dimension, not just 3; some of these give the de Rham curves.
Integrating the Blancmange curve
Given that the integral of from 0 to 1 is 1/2, the identity allows the integral over any interval to be computed by the following relation. The computation is recursive with computing time on the order of log of the accuracy required. Defining
one has that
The definite integral is given by:
A more general expression can be obtained by defining
which, combined with the series representation, gives
Note that
This integral is also self-similar on the unit interval, under an action of the same dyadic monoid as described above. Here, the representation is 4-dimensional, having the basis . Re-writing the above to make the action of g more clear: on the unit interval, one has
- .
From this, one can then immediately read off the generators of the four-dimensional representation:
and
Repeated integrals transform under a 5,6,... dimensional representation.
Relation to simplicial complexes
Let
Define the Kruskal–Katona function
The Kruskal–Katona theorem states that this is the minimum number of (t − 1)-simplexes that are faces of a set of N t-simplexes.
As t and N approach infinity, (suitably normalized) approaches the blancmange curve.
See also
References
- Weisstein, Eric W., "Blancmange Function", MathWorld.
- Takagi, Teiji (1901), "A Simple Example of the Continuous Function without Derivative", Proc. Phys. Math. Japan 1: 176–177, doi:10.11429/subutsuhokoku1901.1.F176
- Benoit Mandelbrot, "Fractal Landscapes without creases and with rivers", appearing in The Science of Fractal Images, ed. Heinz-Otto Peitgen, Dietmar Saupe; Springer-Verlag (1988) pp 243–260.
- Linas Vepstas, Symmetries of Period-Doubling Maps, (2004)
- Donald Knuth, The Art of Computer Programming, volume 4a. Combinatorial algorithms, part 1. ISBN 0-201-03804-8. See pages 372-375.
Further reading
- Allaart, Pieter C.; Kawamura, Kiko (11 October 2011), The Takagi function: a survey, arXiv:1110.1691
- Lagarias, Jeffrey C. (17 December 2011), The Takagi Function and Its Properties, arXiv:1112.4205