Blancmange curve

From The Right Wiki
(Redirected from Midpoint displacement)
Jump to navigationJump to search
File:Blancmange.svg
A plot of the blancmange curve.

In mathematics, the blancmange curve is a self-affine 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 Blancmange pudding. It is a special case of the more general de Rham curve.

Definition

The blancmange function is defined on the unit interval by

blanc(x)=n=0s(2nx)2n,

where s(x) is the triangle wave, defined by s(x)=minnZ|xn|, that is, s(x) is the distance from x to the nearest integer. The Takagi–Landsberg curve is a slight generalization, given by

Tw(x)=n=0wns(2nx)

for a parameter w; thus the blancmange curve is the case w=1/2. The value H=log2w 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.

Functional equation definition

The periodic version of the Takagi curve can also be defined as the unique bounded solution T=Tw: to the functional equation

T(x)=s(x)+wT(2x).

Indeed, the blancmange function Tw is certainly bounded, and solves the functional equation, since

Tw(x):=n=0wns(2nx)=s(x)+n=1wns(2nx)=s(x)+wn=0wns(2n+1x)=s(x)+wTw(2x).

Conversely, if T: is a bounded solution of the functional equation, iterating the equality one has for any N

T(x)=n=0Nwns(2nx)+wN+1T(2N+1x)=n=0Nwns(2nx)+o(1), for N,

whence T=Tw. Incidentally, the above functional equations possesses infinitely many continuous, non-bounded solutions, e.g. Tw(x)+c|x|log2w.

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 illustrations below, progressively finer triangle functions (shown in red) are added to the curve at each stage.

File:Blancmange-approx1.svg File:Blancmange-approx2.svg File:Blancmange-approx3.svg File:Blancmange-approx4.svg
n = 0 n ≤ 1 n ≤ 2 n ≤ 3

Properties

Convergence and continuity

The infinite sum defining Tw(x) converges absolutely for all x. Since 0s(x)1/2 for all x,

n=0|wns(2nx)|12n=0|w|n=1211|w|

if |w|<1. The Takagi curve of parameter w is defined on the unit interval (or ) if |w|<1. The Takagi function of parameter w is continuous. The functions Tw,n defined by the partial sums

Tw,n(x)=k=0nwks(2kx)

are continuous and converge uniformly toward Tw:

|Tw(x)Tw,n(x)|=|k=n+1wks(2kx)|=|wn+1k=0wks(2k+n+1x)||w|n+1211|w|

for all x when |w|<1. This bound decreases as n. By the uniform limit theorem, Tw is continuous if |w| < 1.

Subadditivity

Since the absolute value is a subadditive function so is the function s(x)=minnZ|xn|, and its dilations s(2kx); since positive linear combinations and point-wise limits of subadditive functions are subadditive, the Takagi function is subadditive for any value of the parameter w.

The special case of the parabola

For w=1/4, one obtains the parabola: the construction of the parabola by midpoint subdivision was described by Archimedes.

Differentiability

For values of the parameter 0<w<1/2, the Takagi function Tw is differentiable in the classical sense at any x which is not a dyadic rational. By derivation under the sign of series, for any non dyadic rational x, one finds

Tw(x)=n=0(2w)n(2bn1)

where (bn)n{0,1} is the sequence of binary digits in the base 2 expansion of x:

x=n=kbn2n1.

Equivalently, the bits in the binary expansion can be understood as a sequence of square waves, the Haar wavelets, scaled to width 2n. This follows, since the derivative of the triangle wave is just the square wave:

ddxs(x)=sgn(1/2(xmod1))

and so

Tw(x)=n=0(2w)nsgn(1/2(2nxmod1))

For the parameter 0<w<1/2, the function Tw is Lipschitz of constant 1/(12w). In particular for the special value w=1/4 one finds, for any non dyadic rational x[0,1] T1/4(x)=24x, according with the mentioned T1/4(x)=2x(1x). For w=1/2 the blancmange function Tw it is of bounded variation on no non-empty open set; it is not even locally Lipschitz, but it is quasi-Lipschitz, indeed, it admits the function ω(t):=t(|log2t|+1/2) as a modulus of continuity .

Fourier series expansion

The Takagi–Landsberg function admits an absolutely convergent Fourier series expansion:

Tw(x)=m=0amcos(2πmx)

with a0=1/4(1w) and, for m1

am:=2π2m2(4w)ν(m),

where 2ν(m) is the maximum power of 2 that divides m. Indeed, the above triangle wave s(x) has an absolutely convergent Fourier series expansion

s(x)=142π2k=01(2k+1)2cos(2π(2k+1)x).

By absolute convergence, one can reorder the corresponding double series for Tw(x):

Tw(x):=n=0wns(2nx)=14n=0wn2π2n=0k=0wn(2k+1)2cos(2π2n(2k+1)x):

putting m=2n(2k+1) yields the above Fourier series for Tw(x).

Self similarity

The 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

[gTw](x)=Tw(gx)=Tw(x2)=x2+wTw(x)

and

[rTw](x)=Tw(rx)=Tw(1x)=Tw(x).

A general element of the monoid then has the form γ=ga1rga2rrgan for some integers a1,a2,,an This acts on the curve as a linear function: γTw=a+bx+cTw 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:

1e1=[100]
xe2=[010]
Twe3=[001]

In this representation, the action of g and r are given by

g=[1000121200w]

and

r=[110010001]

That is, the action of a general element γ maps the blancmange curve on the unit interval [0,1] to a sub-interval [m/2p,n/2p] for some integers m, n, p. The mapping is given exactly by [γTw](x)=a+bx+cTw(x) where the values of a, b and c can be obtained directly by multiplying out the above matrices. That is:

γ=[1m2pa0nm2pb00c]

Note that p=a1+a2++an 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 blanc(x) from 0 to 1 is 1/2, the identity blanc(x)=blanc(2x)/2+s(x) 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

I(x)=0xblanc(y)dy

one has that

I(x)={I(2x)/4+x2/2if 0x1/21/2I(1x)if 1/2x1n/2+I(xn)if nx(n+1)

The definite integral is given by:

abblanc(y)dy=I(b)I(a).

A more general expression can be obtained by defining

S(x)=0xs(y)dy={x2/2,0x12x2/2+x1/4,12x1n/4+S(xn),(nxn+1)

which, combined with the series representation, gives

Iw(x)=0xTw(y)dy=n=0(w/2)nS(2nx)

Note that

Iw(1)=14(1w)

This integral is also self-similar on the unit interval, under an action of the dyadic monoid described in the section Self similarity. Here, the representation is 4-dimensional, having the basis {e1,e2,e3,e4}={1,x,x2,Iw(x)}. The action of g on the unit interval is the commuting diagram

[gIw](x)=Iw(gx)=Iw(x2)=x28+w2Iw(x).

From this, one can then immediately read off the generators of the four-dimensional representation:

g=[100001200001418000w2]

and

r=[11114(1w)012000100001]

Repeated integrals transform under a 5,6,... dimensional representation.

Relation to simplicial complexes

Let

N=(ntt)+(nt1t1)++(njj),nt>nt1>>njj1.

Define the Kruskal–Katona function

κt(N)=(ntt+1)+(nt1t)++(njj+1).

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, κt(N)N (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. Soc. Jpn., 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

External links