The coastline paradox explained
Ask how long a coastline is and the honest answer is: it depends on your ruler. Measure with a long ruler and you cut across bays and headlands; measure with a short one and you follow them, and the coast grows. For a smooth curve the lengths settle down, but a real coast keeps adding detail at every scale. That simple observation led to one of the central ideas of fractal geometry.
Borders that did not agree
Lewis Fry Richardson, a British meteorologist and pacifist, wondered whether the chance of war between two countries depended on the length of their common border. Looking the lengths up, he found that the countries themselves did not agree: Spain put its border with Portugal at 987 km, Portugal at 1,214 km; the Netherlands gave 380 km for its border with Belgium, Belgium 449 km. Nobody had made a mistake. They had measured with different rulers.
Why the ruler matters
Measuring a curve means replacing it with straight pieces. Open a pair of dividers to a length ε, put one point on the coast and swing the other until it touches the coast again further along, then step on. Every bay narrower than ε is skipped and every headland smaller than ε cut off. A shorter ruler skips less, so it always measures at least as much, and on a coast with bends at every size it measures more.
Smooth curves have a length
For a smooth curve the extra length runs out. Archimedes found π by walking polygons of 6, 12, 24, 48 and 96 sides around a circle, and their perimeters approach the circumference as closely as you like. Curves with this property are called rectifiable, and most curves of school geometry are. Choose the circle in the generator and the lengths on the chart level off: the line is flat and the dimension 1.
Richardson's law
Richardson plotted his measurements on logarithmic scales and found that they lay on straight lines: the length grows like a power of the ruler, L(ε) = F·ε^(1 − D). The exponent D was about 1.25 for the west coast of Britain, 1.15 for the land frontier of Germany, 1.13 for the coast of Australia and 1.02 for South Africa. His results were published in 1961, eight years after his death, and drew little attention at first.
Mandelbrot and the fractal dimension
In 1967 Benoît Mandelbrot published How long is the coast of Britain? Statistical self-similarity and fractional dimension in the journal Science. He read Richardson's D as a dimension: a coast is statistically self-similar, each stretch looking like a smaller copy of the whole, and such shapes have a dimension between 1 and 2. The Koch snowflake is the textbook model: every step makes it 4/3 as long, so its length is infinite, and its dimension is log 4 / log 3 ≈ 1.262. Mandelbrot coined the word fractal for such shapes in 1975.
Counting boxes
Box counting measures the same thing another way. Cover the map with a grid of squares of side s and count the squares N(s) that the coast passes through. For a smooth curve N doubles when s is halved; for a fractal it grows faster, like s^(−D), and the slope of log N against log s gives D. Box counting is easy to run on a computer, works for any set in the plane, and is the usual way to measure the dimension of clouds, cracks, river networks and coastlines from images.
Coasts from random numbers
The random islands in the generator are made by midpoint displacement. Start with a ring of points, break every edge at its middle and push the midpoint sideways by a random share of the edge's length, and repeat on the new edges. Each edge becomes two edges a little longer than half, so every round multiplies the length by the same factor, and the coast gets the dimension D = log 2 / log(1 / r), where r is the share each half keeps. The Roughness slider sets the push and with it the dimension, between 1 and 1.4.
Frequently asked questions
Who discovered the coastline paradox?
Lewis Fry Richardson collected the data and found the law behind it; his work appeared in 1961. Hugo Steinhaus had remarked in 1954 that the left bank of the Vistula, measured ever more precisely, would come out ten, a hundred or even a thousand times as long as the school atlas says. Benoît Mandelbrot gave the effect its explanation as a fractal dimension in 1967.
Is the coastline paradox really a paradox?
Not a logical one. Nothing contradicts anything: it only goes against the intuition that every line has a length waiting to be measured. A smooth curve has one; a fractal curve has infinite length and only its dimension, and the length at a given ruler, are well-defined numbers.
How can the Koch snowflake have infinite length but finite area?
Every step replaces each segment by four segments a third as long, so the perimeter is multiplied by 4/3 each time and grows without limit. The bumps added each time get smaller so quickly that the area converges, to 8/5 of the starting triangle. The snowflake fits in a circle, but its border is endlessly long.
What fractal dimension do real coastlines have?
Richardson found about 1.25 for the west coast of Britain, 1.13 for Australia and 1.02 for South Africa, one of the smoothest coasts in the world. Fjord coasts are rougher: Jens Feder measured about 1.52 for the coast of Norway. The value depends somewhat on the range of rulers used, so published figures vary.
Do the ruler walk and box counting give the same dimension?
For self-similar shapes like the Koch snowflake both converge to the same value, here log 4 / log 3. On a finite drawing they differ a little, because the longest rulers and the largest boxes see only the rough outline and the smallest see the limits of the drawing. The generator fits both over the same range of sizes, so you can compare them on one coast.
Ready to try it?
Open PictorX in your browser — no install, no credit card required to start.
Open the coastline paradox