Blancmange curve explained

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

\operatorname{blanc}(x)=

infty
\sum
n=0

{s(2nx)\over2n},

where

s(x)

is the triangle wave, defined by

s(x)=minn\in{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

Tw(x)=

infty
\sum
n=0

wns(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:\R\to\R

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):=

infty
\sum
n=0

wns(2nx)=s(x)+

infty
\sum
n=1

wns(2nx)

=s(x)+

infty
w\sum
n=0

wns(2n+1x)=s(x)+wTw(2x).

Conversely, if

T:\R\to\R

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

T(x)

N
=\sum
n=0

wns(2nx)+wN+1T(2N+1x)

N
=\sum
n=0

wns(2nx)+o(1),forN\toinfty,

whence

T=Tw

. Incidentally, the above functional equations possesses infinitely many continuous, non-bounded solutions, e.g.

Tw(x)+c

-log2w
|x|

.

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.

Properties

Convergence and continuity

The infinite sum defining

Tw(x)

converges absolutely for all

x.

Since

0\les(x)\le1/2

for all

x\inR,

infty
\sum
n=0

|wns(2nx)|\le

1
2
infty
\sum
n=0

|w|n=

1
2

1
1-|w|

if

|w|<1.

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. The functions

Tw,n

defined by the partial sums

Tw,n(x)=

n
\sum
k=0

wks(2kx)

are continuous and converge uniformly toward

Tw:

\begin{align} \left|Tw(x)-Tw,n(x)\right| &=

infty
\left|\sum
k=n+1

wks(2kx)\right|\\ &=\left|wn+1

infty
\sum
k=0

wks(2k+n+1x)\right|\\ &\le

|w|n+1
2

1
1-|w|

\end{align}

for all x when

|w|<1.

This bound decreases as

n\toinfty.

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)=minn\in{Z

}|x-n|, 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\in\R

which is not a dyadic rational. By derivation under the sign of series, for any non dyadic rational

x\in\R,

one finds
\prime(x)
T
w

=

infty
\sum
n=0

(2w)n(2bn-1)

where

(bn)n\in\N\in\{0,1\}\N

is the sequence of binary digits in the base 2 expansion of

x

:
infty
x=\sum
n=-k
-n-1
b
n2

.

Equivalently, the bits in the binary expansion can be understood as a sequence of square waves, the Haar wavelets, scaled to width

2-n.

This follows, since the derivative of the triangle wave is just the square wave:
d
dx

s(x)=sgn(1/2-(x\mod1))

and so

\prime(x)
T
w

=

infty
\sum
n=0

(2w)nsgn(1/2-(2nx\mod1))

For the parameter

0<w<1/2,

the function

Tw

is Lipschitz of constant

1/(1-2w).

In particular for the special value

w=1/4

one finds, for any non dyadic rational

x\in[0,1]

T1/4'(x)=2-4x

, according with the mentioned

T1/4(x)=2x(1-x).

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

\omega(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)

infty
=\sum
m=0

am\cos(2\pimx)

with

a0=1/4(1-w)

and, for

m\ge1

a
m:=-2
\pi2m2

(4w)\nu(m),

where

2\nu(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
\pi2
infty1
(2k+1)2
\sum
k=0

\cos(2\pi(2k+1)x).

By absolute convergence, one can reorder the corresponding double series for

Tw(x)

:

Tw(x):=\sum

infty
n=0

wns(2nx)=

1
4
infty
\sum
n=0

wn-

2
\pi2
infty
\sum
k=0
wn
(2k+1)2

\cos(2\pi2n(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\left(gx\right)=

T
w\left(x
2

\right)=

x
2

+wTw(x)

and

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

A general element of the monoid then has the form

a1
\gamma=g

r

a2
g

rr

an
g
for some integers

a1,a2,,an

This acts on the curve as a linear function:

\gammaTw=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:

1\mapstoe1=\begin{bmatrix}1\ 0\ 0\end{bmatrix}

x\mapstoe2=\begin{bmatrix}0\ 1\ 0\end{bmatrix}

Tw\mapstoe3=\begin{bmatrix}0\ 0\ 1\end{bmatrix}

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

g=\begin{bmatrix}1&0&0\ 0&

1
2

&

1
2

\ 0&0&w\end{bmatrix}

and

r=\begin{bmatrix}1&1&0\ 0&-1&0\ 0&0&1\end{bmatrix}

That is, the action of a general element

\gamma

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

[\gammaTw](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:

\gamma=\begin{bmatrix}1&

m
2p

&a\ 0&

n-m
2p

&b\ 0&0&c\end{bmatrix}

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

\operatorname{blanc}(x)

from 0 to 1 is 1/2, the identity

\operatorname{blanc}(x)=\operatorname{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)=

x\operatorname{blanc}(y)dy
\int
0
one has that

I(x)=\begin{cases} I(2x)/4+x2/2&if0\leqx\leq1/2\\ 1/2-I(1-x)&if1/2\lex\le1\\ n/2+I(x-n)&ifn\lex\le(n+1)\\ \end{cases}

The definite integral is given by:
b\operatorname{blanc}(y)dy
\int
a

=I(b)-I(a).

A more general expression can be obtained by defining

x
S(x)=\int
0

s(y)dy=\begin{cases}x2/2,&0\lex\le

1
2

\ -x2/2+x-1/4,&

1
2

\lex\le1\\ n/4+S(x-n),&(n\lex\len+1) \end{cases}

which, combined with the series representation, gives

Iw(x)=

x
\int
0

Tw(y)dy=

infty
\sum
n=0

(w/2)nS(2nx)

Note that

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

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\left(gx\right)=

I
w\left(x
2

\right)=

x2
8

+

w
2

Iw(x).

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

g=\begin{bmatrix}1&0&0&0\ 0&

1
2

&0&0\ 0&0&

1
4

&

1
8

\ 0&0&0&

w
2

\end{bmatrix}

and

r=\begin{bmatrix}1&1&1&

1
4(1-w)

\ 0&-1&-2&0\ 0&0&1&0\ 0&0&0&-1\end{bmatrix}

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

Relation to simplicial complexes

Let

N=\binom{nt}{t}+\binom{nt-1

}+\ldots+\binom,\quadn_t > n_ > \ldots > n_j \geq j\geq 1.

Define the Kruskal–Katona function

\kappat(N)={nt\chooset+1}+{nt-1\chooset}+...+{nj\choosej+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,

\kappat(N)-N

(suitably normalized) approaches the blancmange curve.

See also

References

External links