Probability

The walk that becomes a curve

Shrink the steps of a random walk and it disappears. Shrink them while stretching the time in the right proportion — space by the square root of whatever time is divided by — and something is left behind, which is a curve nobody could draw.

Worth reading first: A walk that always comes home, until it does not · A bell curve assembled out of coin flips.

A walk of a hundred steps looks like a walk. A walk of a hundred thousand steps, drawn at the same scale, is a smear a metre wide; drawn to fit the page, it is a walk of a hundred steps again. Something is preserved by that rescaling, and it is not the steps.

One walk at three magnifications, and the shape it is heading forThe same random walk over three windows, each ten times longer than the last and scaled vertically by the square root of ten, so all three look alike. Beside them, the exact distribution of the position after a few step counts, standardised, closing on the bell curve.200 steps±√t drawn dashed2,000 steps±√t drawn dashed20,000 steps±√t drawn dashed-3-2-101230.00.10.20.30.4position ÷ √nn = 4, gap 0.187n = 16, gap 0.098n = 64, gap 0.050n = 256, gap 0.025the position, standardisedone walk of 20,000 steps, seen over its first 200, 2,000 and 20,000 steps, with the vertical scale shrunk by the square root of the horizontal one each timeon the right, the exact distribution of the position after 4, 16, 64, 256 steps, standardised: the largest gap to the bell curve falls 0.187 → 0.098 → 0.050 → 0.025
Fig. 1 One walk, seen over its first two hundred, two thousand and twenty thousand steps. Each window is ten times longer than the last and its vertical scale has been shrunk by the square root of ten, and the three pictures are the same picture. On the right, the exact distribution of the position, standardised, closing on the bell curve.

The three panels are not three walks. They are the same walk under three magnifications, and the only thing done to make them comparable is the choice of vertical scale. Divide the width of the window by ten and divide the height by the square root of ten, and the picture does not change. Divide the height by ten as well and the walk flattens into a line; divide it by nothing and the walk shoots off the top. Only one exponent leaves anything behind, and finding out which is the whole content of the limit.

Why the square root, and not something else

The reason is one line of arithmetic and it does not require any limit at all.

A step is +1+1 or 1-1 with equal probability, so its mean is zero and its variance is one. Steps are independent, so variances add: after nn steps the position has variance exactly nn, and its typical size is therefore n\sqrt{n}. Not approximately — exactly. The figure computes the distribution of the position by convolving the one-step distribution with itself and checks that its variance is nn before drawing anything.

Where the walks endedThe endpoints of 5000 walks of 100 steps, against the exact binomial they are drawn from. The spread is 10.0, and √100 is 10.0.-30-20-10102030where the walk endedthe exact binomial
Fig. 2 Where five thousand walks of a hundred steps end up. The spread is ten, which is the square root of a hundred, and it is not an average of anything: the variance of a sum of independent quantities is the sum of their variances, exactly.

So the walk’s displacement over a time tt has size of order t\sqrt{t}, and any rescaling that hopes to keep the picture the same must shrink space as the square root of the factor time is shrunk by. That single relation — space like the square root of time — is what diffusion means, and every consequence below comes from it.

It is worth pausing on how badly it fits intuition about travel. Doubling the time does not double the distance covered; it multiplies it by about 1.411.41. Covering ten times the distance takes a hundred times as long. A diffusing quantity is astonishingly bad at getting anywhere, and that is why a room full of still air takes hours to carry a smell across it while a draught does it in seconds.

What is left when the steps are gone

Take the limit properly — steps of size 1/N1/\sqrt{N} taken NN times per unit of time, with NN growing without bound — and the sequence of walks converges to an object called Brownian motion. It is a genuine mathematical object with three properties worth stating, and they are strange in a way the picture only hints at.

It is continuous. The path has no jumps, which is inherited from the steps shrinking to nothing.

It is nowhere differentiable. No point of the path has a tangent. The reason is the square root: over an interval of length hh the path moves about h\sqrt{h}, so the difference quotient is about h/h=1/h\sqrt{h}/h = 1/\sqrt{h}, which grows without bound as hh shrinks. That is the same arithmetic as the curve with a corner at every point, arrived at from probability rather than from a construction, and the two objects are close cousins — one built by summing a series designed to be rough, the other by summing noise that is rough for free.

It is self-similar. Multiply time by cc and space by c\sqrt{c} and the object has the same distribution as before. The three panels of the first figure are a picture of this, and the panels are honest about their status: they are one sample at three scales, and what the theorem says is that the distributions agree.

Coming home, in one, two and three dimensions4000 walks in each of one, two and three dimensions, each run for up to 3000 steps. On a line and in a plane a walk returns to its start with probability one; in space it returns with probability about 0.66, so roughly a third of walks never come back.1 dimension1.6% escapedtrue value 0%2 dimensions29.8% escapedtrue value 0%3 dimensions67.0% escapedtrue value 34.05%4000 walks per dimension, cut off at 3000 steps — which is why the first two are not exactly zero
Fig. 3 Returns to the starting point, on a walk with no barriers. The limit inherits this: Brownian motion in one dimension returns to every level it visits, infinitely often, and the fact survives the passage from steps to a curve unchanged.

The position, exactly

The right-hand panel of the first figure is doing something the left-hand panels cannot, and the difference matters. The three walks are one sample; the distribution is computed.

After nn steps the position is a sum of nn independent ±1\pm 1 terms, whose distribution is a binomial, and the generator builds it by repeated convolution rather than by simulation. Standardised — shifted to mean zero and divided by n\sqrt{n} — those distributions march in on the bell curve, and the largest gap between the two cumulative distributions falls from 0.1870.187 at four steps to 0.0250.025 at two hundred and fifty-six.

That gap is the quantity to watch, because it is the whole of the convergence: the walk becomes a curve exactly to the extent that the position becomes normal. Where that convergence comes from is the first rung of a different ladder, and how fast it happens is the third rung of it. Here it is the engine rather than the subject.

The two scalings deserve separating, because they are constantly confused.

One set of sums, two scalings, two different limitsThe exact distribution of a sum of n independent copies, scaled two ways. Divided by n it collapses onto the mean; divided by the square root of n it holds a fixed width and settles into a shape.-1-0.50.510.01.02.03.0the average, minus the meann = 4n = 16n = 64-3-2-11230.00.10.20.30.4the sum, minus n means, over √nn = 4n = 16n = 64the same exact distributions, drawn twice as densities: divided by n the spread falls 0.500 → 0.250 →0.125, divided by √n it is 1.000 every timeso the left curves climb — 0.75 → 1.57 → 3.18 at the peak — and the right ones settle on 0.399, which is theheight of the bell curve
Fig. 4 The same sums, scaled two ways. Divided by the number of terms they collapse onto a point — which is the law of large numbers. Divided by the square root of that number they hold a fixed width and settle into a shape, which is the diffusion limit.

Divide by nn and the walk goes to zero: the average step is zero and the average of the steps converges to it. Divide by n\sqrt{n} and something non-trivial survives. The first scaling is why a walk has no drift; the second is why it has a shape. Both are true of the same sequence at the same time, and neither implies the other.

A recurrence that turns into an equation

The most useful consequence of the limit is that it converts a two-line recurrence into a differential equation, and once there, everything known about that equation applies to the walk.

Write p(x,t)p(x, t) for the chance of being at xx after tt steps. Then

p(x,t+1)=12p(x1,t)+12p(x+1,t),p(x, t+1) = \tfrac{1}{2}p(x-1, t) + \tfrac{1}{2}p(x+1, t),

which says that to be somewhere now, the walk was next door a moment ago. Subtract p(x,t)p(x,t) from both sides and the right-hand side becomes half the second difference in space — the discrete second derivative. Under the diffusion scaling the time step and the square of the space step vanish together, and what is left is

pt=122px2,\frac{\partial p}{\partial t} = \frac{1}{2}\frac{\partial^2 p}{\partial x^2},

the heat equation. The rate of change in time is proportional to the curvature in space: where the distribution is peaked, it falls; where it is dished, it fills.

A square profile of heat, spreadingThe same profile at four times, each drawn from the same harmonics with each one damped by the exponential of minus its frequency squared times the time. The corners go first.−ππ-11position around the ringtemperatureat the startt = 0.02t = 0.1t = 0.4a square profile on a ring, left to spread: harmonic m fades by exp(−m²t), so the 41th term is gone 1,681 times fasterthan the firstthe corners disappear immediately and the shape that remains is a single sine — which is why running the flowbackwards is hopeless: the information in the corners has been divided by a number this large
Fig. 5 A square profile of heat, spreading. Each harmonic is damped by the exponential of minus its frequency squared times the time, so the fine detail goes first — which is the same statement as a walk’s distribution forgetting where it started.

That the two subjects share an equation is not a metaphor. Heat spreads because energy is carried by particles that are, to a good approximation, doing exactly this walk, and the appearance of the same equation in both places is one of those coincidences that turns out to be an identity. The solution starting from a single point is the bell curve of width t\sqrt{t}, which closes the circle: the walk’s position after tt steps and the temperature after time tt from a point source are the same function.

What survives the limit, and what does not

Some facts about walks pass to the curve unchanged and some are destroyed, and which is which is not obvious from the outside.

Recurrence survives. A one-dimensional walk returns to its start infinitely often, and so does Brownian motion. The dimension at which this stops being true is the same in both, which is a strong hint that the property belongs to the scaling rather than to the steps.

The arcsine law survives. The fraction of time a walk spends on one side of its start has the same distribution in the limit, and the limit is where the law is cleanest to state.

Total length does not survive. A walk of nn steps has travelled a distance nn, and the limiting curve has infinite length over every interval, however short. The path length goes to infinity while the displacement stays finite, which is why the limit has no velocity and why an integral against it needs a definition of its own.

And the lattice does not survive. A walk is on the integers; the limit is on the whole line, and questions about the walk’s parity — that it can only be at an even position after an even number of steps — have no counterpart at all. That is the cleanest example of a property that is real, checkable, and simply not there afterwards.

Two dimensions, and the same exponent

Nothing in the argument used the line. A walk on the plane takes a step north, south, east or west; its two coordinates are independent walks of their own, each with variance tt; and the same rescaling produces the same limit in each coordinate at once.

The same walk, on a grid4000 steps on the square lattice, each one place along one axis. The walk returned to its starting square 9 times, and it will return again however long it goes on — but nothing in the picture shows why.start9 returns to the start in 4000 steps
Fig. 6 Four thousand steps on the square lattice. The cloud it fills has a radius of about sixty, which is the square root of four thousand — the same exponent as on the line, and the reason the picture looks like a blot rather than a journey.

The picture makes the exponent visible in a way the one-dimensional version does not. A walk that got anywhere would fill a disc of radius proportional to its step count; this one fills a disc of radius proportional to the square root, so quadrupling the number of steps doubles the width of the blot and leaves it looking exactly the same. Everything about the drawing except its scale is unchanged, which is self-similarity seen sideways.

Two dimensions is also where the limit acquires a property the line does not have. Planar Brownian motion visits every neighbourhood of the plane, again and again, and yet the set of points it actually lands on has zero area — a curve of infinite length that misses almost everything it passes through. That combination is not available to any object that can be drawn, and it is the point at which the limit stops being a tidied-up walk and becomes something else.

Where it fails

The limit requires the step distribution to have a finite variance, and the requirement is not a technicality.

If the steps are drawn from a distribution with heavy tails, the sum is dominated by its largest term rather than by the accumulation of many, and no rescaling produces a bell curve. The average of such quantities never settles at all, and the corresponding limit is a jump process rather than a continuous curve — a path that sits still and then leaps, at every scale.

This is the sharpest available answer to why the diffusion limit looks universal. It is not that any random walk becomes Brownian motion; it is that any walk with a finite step variance does, and the shape of the limit depends on the step distribution only through that one number. The condition is invisible in the picture and decisive in the mathematics.

What the picture cannot show

The three panels show one walk, and the claim is about a distribution. A different seed gives three different panels that are, again, the same picture as each other — and no number of seeds establishes the theorem, which is about all of them at once.

The limit object cannot be drawn at all. Every drawn path has finitely many vertices and is therefore piecewise straight, so it has a tangent almost everywhere, which the limit does not have anywhere. What is on the page is always a walk pretending to be a curve, and the pretence gets better as the vertices get closer without ever arriving.

Nor does the picture show the convergence in the sense the theorem means. Two random objects are close when the probabilities they assign to sets are close — not when their sample paths are near each other, which they need not be. The right-hand panel is the honest half: it draws distributions, and distributions are what converge.

Where it came from, three times

The limit was found three times in twenty-three years by people who were not looking for each other’s problem, which is a fair sign that it is the natural object rather than a construction.

Bachelier wrote it down first, in 1900, in a thesis about prices on the Paris exchange. He derived the heat equation for the distribution of a price, solved it, and used the solution to value an option — five years before Einstein and seventy before the subject caught up with him. His examiners thought the topic beneath the mathematics, and the thesis was ignored for half a century.

Einstein reached the same equation in 1905 from the opposite end: he wanted an observable consequence of the atomic hypothesis, argued that a suspended grain is bombarded by molecules and therefore performs a walk, and predicted that the mean square displacement grows in proportion to time rather than to its square. That prediction is the square root again, stated as a claim about the world, and Perrin’s measurements of it a few years later are what settled the existence of atoms.

Wiener supplied what neither had: a proof that an object with the required properties exists at all. Constructing a random continuous function is not free — most attempts produce something with no paths, or with paths that are not continuous — and the measure he built in 1923 is why the limit can be treated as an object rather than as a manner of speaking.

The ladder from here

Below: the walk that comes home, the fold that counts constrained paths, the time spent one-sided and the game between two barriers, whose parabola k(Nk)k(N-k) is the same parabola the continuous version gives. Sideways: the bell curve from coin flips and the shape that averaging leaves alone, which is why the limit is this curve and not another. Above: stochastic calculus, where the fact that the limiting path has infinite length forces a new definition of the integral, and the correction term that definition carries is the reason the subject exists.

One exponent, and what it decides

The lasting point is that a limit had to be searched for. Shrinking the steps of a walk destroys it; stretching the time destroys it the other way; and between the two failures there is exactly one exponent that leaves something behind.

That is a common shape and it is worth recognising in the wild. The rescaling that turns a lopsided distribution into a bell is the same manoeuvre, and so is the magnification under which a curve becomes straight — in each case the object of interest is invisible until the right power is divided out, and finding that power is most of the work. The answer here is one half, it comes from variances adding, and everything else in this rung is a consequence of it.

What links here

Computed from the collection, not written here: the essays that point at this one.

Shares its objects with

Essays that name at least two of the same things, and that neither author linked.

Named objects

A dashed tag is an object no other essay names yet.

ContinuityDiffusionLimitNormal distributionRandom walkScalingSelf similarityVariance