Kalpana Kalpana (Editor)

Blancmange curve

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
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.

Contents

Definition

The blancmange function is defined on the unit interval by

b l a n c ( x ) = n = 0 s ( 2 n x ) 2 n ,

where s ( x ) is the triangle wave, defined by s ( x ) = min n Z | x n | , that is, s ( x ) is the distance from x to the nearest integer.

The Takagi–Landsberg curve is a slight generalization, given by

T w ( x ) = n = 0 w n s ( 2 n x )

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

Convergence and continuity

The infinite sum defining T w ( x ) converges absolutely for all x: since 0 s ( x ) 1 / 2 for all x R , we have:

n = 0 | w n s ( 2 n x ) | 1 / 2 n = 0 | w | n = 1 2 1 1 | w | if | w | < 1 .

Therefore, the Takagi curve of parameter w is defined on the unit interval (or R ) if | w | < 1 .

The Takagi function of parameter w is continuous. Indeed, the functions T w , n defined by the partial sums T w , n ( x ) = k = 0 n w k s ( 2 k x ) are continuous and converge uniformly toward T w , since:

| T w ( x ) T w , n ( x ) | = | k = n + 1 w k s ( 2 k x ) | = | w n + 1 k = 0 w k s ( 2 k + n + 1 x ) | | w | n + 1 2 1 1 | w | for all x when | w | < 1 .

This value can be made as small as we want by selecting a big enough value of n. Therefore, by the uniform limit theorem, T w is continuous if |w|<1.

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

The Takagi curve is a fractal for parameters w 1 / 4 , 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):

d d x s ( x ) = sgn ( x 1 2 ) = { + 1  for  0 < x < 1 2 1  for  1 2 < x < 1

one may immediately write the formal sum

d d x T w ( x ) = n = 0 ( 2 w ) n sgn ( s ( 2 n x 1 4 ) 1 2 )

This sum is manifestly convergent for w < 1 / 2 , 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 ψ n , k ( x ) ; the wavelet coefficients take a particularly simple form:

d d x T w ( x ) = n = 0 2 n / 2 w n ψ n , 0 ( x )

Fourier series expansion

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

T w ( x ) = m = 0 a m cos ( 2 π m x )

with a 0 = 1 / 4 ( 1 w ) and, for m 1

a m := 2 π 2 m 2 ( 4 w ) ν ( 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 ) = 1 4 2 π 2 k = 0 1 ( 2 k + 1 ) 2 cos ( 2 π ( 2 k + 1 ) x ) .

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

T w ( x ) := n = 0 w n s ( 2 n x ) = 1 4 n = 0 w n 2 π 2 n = 0 k = 0 w n ( 2 k + 1 ) 2 cos ( 2 π 2 n ( 2 k + 1 ) x ) :

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

Recursive definition

The periodic version of the Takagi curve can also be defined recursively by:

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

The version restricted to the unit interval can also be defined recursively by:

T w ( x ) = { x + w T w ( 2 x ) if  0 x 1 / 2 ( 1 x ) + w T w ( 2 x 1 ) if  1 / 2 < x 1.

Proof:

T w ( x ) = n = 0 w n s ( 2 n x ) = s ( x ) + n = 1 w n s ( 2 n x ) = s ( x ) + w n = 0 w n s ( 2 n + 1 x ) = s ( x ) + w T w ( 2 x ) .

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

[ g T w ] ( x ) = T w ( x 2 ) = x 2 + w T w ( x )

and

[ r T w ] ( x ) = T w ( 1 x ) = T w ( x ) .

A general element of the monoid then has the form γ = g a 1 r g a 2 r r g a n for some integers a 1 , a 2 , , a n This acts on the curve as a linear function: γ T w = a + b x + c T w 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:

1 e 1 = [ 1 0 0 ] x e 2 = [ 0 1 0 ] T w e 3 = [ 0 0 1 ]

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

g = [ 1 0 0 0 1 2 1 2 0 0 w ]

and

r = [ 1 1 0 0 1 0 0 0 1 ]

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

γ = [ 1 m 2 p a 0 n m 2 p b 0 0 c ]

Note that p = a 1 + a 2 + + a n 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 b l a n c ( x ) from 0 to 1 is 1/2, the identity b l a n c ( x ) = b l a n c ( 2 x ) / 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 ) = 0 x b l a n c ( x ) d x

one has that

I ( x ) = { I ( 2 x ) / 4 + x 2 / 2 if  0 x 1 / 2 1 / 2 I ( 1 x ) if  1 / 2 x 1 n / 2 + I ( x n ) if  n x ( n + 1 )

The definite integral is given by:

a b b l a n c ( x ) d x = I ( b ) I ( a ) .

A more general expression can be obtained by defining

S ( x ) = 0 x s ( y ) d y = { x 2 / 2  for  0 x 1 2 x 2 / 2 + x 1 / 4  for  1 2 x 1 n / 4 + S ( x n )  for  ( n x n + 1 )

which, combined with the series representation, gives

I w ( x ) = 0 x T w ( x ) d x = n = 0 ( w / 2 ) n S ( 2 n x )

Note that

I w ( 1 ) = 1 4 ( 1 w )

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 { 1 , x , x 2 , I ( x ) } . Re-writing the above to make the action of g more clear: on the unit interval, one has

[ g I w ] ( x ) = I w ( x 2 ) = x 2 8 + w 2 I w ( x ) .

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

g = [ 1 0 0 0 0 1 2 0 0 0 0 1 4 1 8 0 0 0 w 2 ]

and

r = [ 1 1 1 1 4 ( 1 w ) 0 1 2 0 0 0 1 0 0 0 0 1 ]

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

Relation to simplicial complexes

Let

N = ( n t t ) + ( n t 1 t 1 ) + + ( n j j ) , n t > n t 1 > > n j j 1.

Define the Kruskal–Katona function

κ t ( N ) = ( n t t + 1 ) + ( n t 1 t ) + + ( n j j + 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.

References

Blancmange curve Wikipedia