Mathwords logoMathwords

Blancmange Curve — Definition, Formula & Example

The blancmange curve is the graph of a function made by stacking ever-smaller zigzags, one on top of another. The result is continuous but so jagged that it has no tangent line at any point. It is named for its resemblance to a blancmange pudding.

The Takagi function T:R→RT:\mathbb{R}\to\mathbb{R} is defined by T(x)=∑n=0∞2−n s(2nx)T(x)=\sum_{n=0}^{\infty} 2^{-n}\,s(2^n x), where s(x)s(x) is the distance from xx to the nearest integer. The series converges uniformly, so TT is continuous. TT has period 1 and is differentiable at no real number. Its graph on [0,1][0,1] is the blancmange (Takagi) curve. Teiji Takagi described it in 1903.

Key Formula

T(x)=∑n=0∞s(2nx)2n,s(x)=min⁡m∈Z∣x−m∣T(x)=\sum_{n=0}^{\infty}\frac{s(2^n x)}{2^n}, \qquad s(x)=\min_{m\in\mathbb{Z}}|x-m|
Where:
  • T(x)T(x) = Height of the blancmange curve at x
  • s(x)s(x) = Triangle wave: distance from x to the nearest integer, ranging from 0 to 1/2
  • nn = Layer index; layer nn has 2n2^n times the frequency and 1/2n1/2^n times the height of the first zigzag

Worked Example

Problem: Find the exact height of the blancmange curve at x=13x = \tfrac{1}{3}.
Step 1: Compute the first few terms. Doubling 1/3 gives 2/3, then 4/3, then 8/3. Each of these lies exactly 1/3 from the nearest integer, so every triangle-wave value equals 1/3.
s ⁣(13)=13,s ⁣(23)2=16,s ⁣(43)4=112s\!\left(\tfrac13\right)=\tfrac13,\quad \frac{s\!\left(\tfrac23\right)}{2}=\tfrac16,\quad \frac{s\!\left(\tfrac43\right)}{4}=\tfrac1{12}
Step 2: The pattern continues, because 2n2^n always leaves remainder 1 or 2 when divided by 3. The terms form a geometric series with first term 1/3 and ratio 1/2.
T ⁣(13)=13∑n=0∞(12)n=13⋅2=23T\!\left(\tfrac13\right)=\frac13\sum_{n=0}^{\infty}\left(\frac12\right)^n=\frac13\cdot 2=\frac23
Answer: T(1/3)=2/3T(1/3) = 2/3. This is the largest value the blancmange curve ever reaches. It is also attained at other points, such as x=2/3x = 2/3.

Why It Matters

In a first real analysis course, the blancmange curve is a standard counterexample. It shows that continuity does not imply differentiability, even at a single point. It is simpler to analyze than the Weierstrass function because it uses only triangle waves. It also satisfies two self-affine equations: T(x/2)=x/2+T(x)/2T(x/2) = x/2 + T(x)/2 and T((x+1)/2)=(1−x)/2+T(x)/2T((x+1)/2) = (1-x)/2 + T(x)/2 for 0≤x≤10 \le x \le 1. These equations make its graph a fractal attractor.

Common Mistakes

Mistake: Assuming the partial sums are nowhere differentiable, or that the zigzags are pointy only at finitely many places.
Correction: Each partial sum ∑n=0N\sum_{n=0}^{N} is piecewise linear. It fails to be differentiable only at finitely many corners, at multiples of 2−(N+1)2^{-(N+1)}. The infinite sum is what removes every tangent line. As layers are added, the corners become dense, and the slopes near any point never settle to a limit.

Related Terms

  • Curve — The general idea of a continuous path it is
  • Koch Snowflake — Another continuous fractal curve with no tangent anywhere
  • Dragon Curve — Fractal built from scaled copies of itself
  • Chaos Game — Can plot this curve using its two affine maps
  • Fractal — Broader family this self-affine curve belongs to
  • Self-Similarity — Property behind the curve's halves resembling the whole