Topology

How a random path winds round a point

A path in the plane with one point removed has a class in the punctured plane's fundamental group: how many times it has wound round the point. For a random path the class grows like the logarithm of time, and its spread has a law. Brownian motion follows Spitzer's Cauchy law, so heavy-tailed that the mean winding does not exist; a walk on a grid follows the hyperbolic secant law instead, with tails that fall exponentially. The difference is made entirely by close passes, which a grid forbids. With two points removed the class becomes a word, and some loops wind round neither point and still cannot be shrunk.

Worth reading first: What homology forgets about a loop · The same loop, unrolled.

The essays on loops have so far classified loops one at a time. A loop that cannot be pulled tight found the plane with a point removed to have loops that cannot be shrunk, and the count of how many times a loop goes round the point to be the whole of its class: the fundamental group of the punctured plane is the integers. The same loop, unrolled lifted loops to the helix that covers the punctured plane, where the winding becomes a height, and what homology forgets about a loop took two holes and found that the fundamental group is no longer commutative, so that a loop’s class is a word and some words record nothing that winding numbers can see.

This essay asks what class a random loop has. The question is natural in physics, where polymers wind round obstacles and charged particles round flux lines, and it has a surprising answer with a topological moral. A random path’s winding grows, its spread has a limiting law, and which law depends on whether the path can come arbitrarily close to the point. Brownian motion can, and its winding has a law so heavy-tailed that it has no mean. A walk on a grid cannot, and its winding has a law with exponential tails. Every heavy-tailed winding is made near the puncture.

A random walk winding round a puncture. Lattice walk of 4000 steps around (½, ½); final winding -4.861 turns; box -12..26 × -29..22.
Fig. 1 A walk of 4,000 steps on the square grid that happens to stay near its start, around a puncture at the centre of a square; beside it, the total angle it has turned through, in turns, step by step — its height on the helix that unrolls the punctured plane. The angle moves fast when the path is near the puncture and slowly when far, and ends at −4.86-4.86 turns.

The winding angle is a height on the helix

A path in the plane that avoids the origin has a continuous angle θ(t)\theta(t), defined by following the direction from the origin to the path and never letting it jump by a whole turn. Lifted to the helix above the punctured plane — the universal cover, in which a point at angle θ\theta and the same point at angle θ+2π\theta + 2\pi are different points one storey apart — the path becomes a path whose height is θ\theta. For a closed loop, θ\theta at the end minus θ\theta at the start is 2π2\pi times a whole number, and that number is the loop’s class. For an open path, θ\theta is a real number, and it records the class of the path up to the last fraction of a turn.

The hero figure follows one walk on the square grid around a puncture placed at the centre of a square, so that the walk, which lives on the corners of squares, can never land on it. The walk’s angle about the puncture moves in bursts. When the path is close to the puncture, a single step can change the angle by a quarter of a turn or more, and the path can go round several times in a few dozen steps; when the path is far away, a step changes the angle by very little, and the winding barely moves for hundreds of steps. This walk ends nearly five turns clockwise from where it began. A typical walk winds less; this one was picked for staying near its start. What is typical is described by the laws below.

Spitzer’s law for Brownian motion

Brownian motion in the plane, started away from the origin, never hits it, and so its winding angle θ(t)\theta(t) is defined for all time. Frank Spitzer proved in 1958 that it grows like the logarithm of time, and more precisely that

2 θ(t)log⁡t⟶Cauchy,density 1π(1+x2).\frac{2\,\theta(t)}{\log t} \longrightarrow \text{Cauchy}, \qquad \text{density } \frac{1}{\pi(1 + x^2)}.

The Cauchy law is the archetype of a distribution without a mean: its tails fall like 1/x21/x^2, so slowly that the average of many independent Cauchy samples is itself Cauchy, no more concentrated than a single sample. Spitzer’s law says the winding of planar Brownian motion is that wild.

The reason it grows like log⁡t\log t is conformal invariance, the property the walk that becomes a curve gave Brownian motion in the plane. In polar coordinates, log⁡r\log r and θ\theta are two independent one-dimensional Brownian motions, running not in ordinary time but in a clock that advances at rate 1/r21/r^2. Far from the origin the clock runs slowly and the angle hardly changes; near the origin it races, and the angle spins. By time tt the path has typically reached distance about t\sqrt{t}, so log⁡r\log r has travelled about 12log⁡t\tfrac12 \log t, and the angle, running on the same clock, has travelled a comparable amount — hence 2θ/log⁡t2\theta/\log t. The heavy tail comes from the rare paths that pass very close to the origin, where the clock races without limit and the angle can wind an unbounded number of times in very little real time.

That decomposition is also how the figures simulate Brownian motion exactly. The path is advanced in the clock, not in real time, with log⁡r\log r and θ\theta each taking independent Gaussian steps and real time accumulating at rate r2r^2. A path that dives towards the origin takes many small clock steps that cost almost no real time, and spins as much as the mathematics says it should; a naive simulation in real time would step straight past the origin and miss exactly those windings.

A walk on the grid follows a different law

A random walk on the square grid looks like Brownian motion from far away, and it is natural to expect its winding round the centre of a square to follow Spitzer’s law too. It does not.

A lattice walk winds by the hyperbolic secant law. n = 10⁴, 2000 walks: interquartile range 1.451 (hyperbolic secant 1.122, Cauchy 2); histogram densities 0.007 0.018 0.005 0.013 0.010 0.022 0.028 0.025 0.063 0.052 0.068 0.095 0.120 0.142 0.212 0.230 0.320 0.295 0.372 0.395 0.380 0.320 0.367 0.253 0.207 0.207 0.170 0.092 0.092 0.117 0.058 0.030 0.037 0.030 0.037 0.020 0.013 0.018 0.013 0.003.
Fig. 2 The winding angle of 2,000 lattice walks of 10410^4 steps around the centre of a square, scaled as 2θ/log⁡n2\theta / \log n, as a histogram; the solid curve is the hyperbolic secant law 12sech⁡(πx/2)\tfrac12 \operatorname{sech}(\pi x/2) and the dashed curve Spitzer’s Cauchy law. The middle half of the walks spread over 1.45, against the Cauchy law’s 2 and the hyperbolic secant’s 1.12.

Two thousand walks of ten thousand steps give a histogram of 2θ/log⁡n2\theta/\log n that is far narrower than the Cauchy density, with a taller peak and thin tails. It is close to a different law, the hyperbolic secant, with density 12sech⁡(πx/2)\tfrac12 \operatorname{sech}(\pi x / 2), whose tails fall exponentially. The physicists Joseph Rudnick and Yuxing Hu found this law for lattice walks in 1987, and Christian Bélisle proved in 1989 that it is the limit for a broad class of random walks. The histogram is not yet at the limit — the middle half of the walks spread over 1.451.45 units of the scaled angle, against the hyperbolic secant’s 1.121.12 — because the scaling is by log⁡n\log n, and a logarithm moves slowly. But it is nowhere near the Cauchy law’s 22.

The reason is geometric. A lattice walk cannot come closer to the puncture than half the diagonal of a square, about 0.710.71 of a step. It can go round the puncture by circling the four corners of its square, but every turn costs at least four steps, and it cannot spin arbitrarily fast. The windings that make Spitzer’s tail — many turns in a short time, very close to the point — are simply unavailable.

Close passes make the heavy tail

The two laws differ in their tails, so that is where the comparison is sharpest.

Close passes make the heavy tail. walk, n = 10³: >0.25 0.8230, >0.5 0.6610, >1 0.4030, >1.5 0.2343, >2 0.1343, >3 0.0370, >4 0.0120, >6 0.0000, >8 0.0000; walk, n = 10⁴: >0.25 0.8105, >0.5 0.6405, >1 0.3720, >1.5 0.2075, >2 0.1085, >3 0.0320, >4 0.0085, >6 0.0010, >8 0.0000; walk, n = 10⁵: >0.25 0.8200, >0.5 0.6400, >1 0.3300, >1.5 0.1575, >2 0.0775, >3 0.0275, >4 0.0000, >6 0.0000, >8 0.0000; Brownian, t = 10⁴: >0.25 0.8510, >0.5 0.7210, >1 0.5160, >1.5 0.3990, >2 0.3190, >3 0.2350, >4 0.1780, >6 0.1220, >8 0.0870.
Fig. 3 The share of paths whose scaled winding exceeds xx in size, on a logarithmic scale: lattice walks of 10310^3, 10410^4 and 10510^5 steps, and 1,000 Brownian paths run to time 10410^4 from distance 1, simulated exactly in polar form. Brownian motion follows the Cauchy tail, 23.5% beyond 3 against 20.5%. The lattice walks fall away exponentially, 2.8% beyond 3 at 10510^5 steps, drifting down towards the hyperbolic secant’s 1.1%.

On a logarithmic scale the difference is stark. The Brownian paths follow the Cauchy tail all the way out: 23.5% of them have a scaled winding beyond 3 in size, against the Cauchy law’s 20.5%, and 8.7% exceed 8. The lattice walks fall away along a nearly straight line — an exponential tail — and none of the walks of 10510^5 steps exceeds 4. They are still above the hyperbolic secant’s tail, by a margin that shrinks as the walks lengthen, which is the same slow logarithmic approach the histogram showed. The two kinds of path differ in nothing but their behaviour near the puncture: away from it a walk of many steps is a good approximation to Brownian motion, as the walk that becomes a curve showed, and the approximation fails exactly where the angle is most sensitive to position.

Big windings and small windings

Jim Pitman and Marc Yor explained the two laws together in 1986, by splitting Brownian motion’s winding into two parts: the angle accumulated while the path is outside a fixed circle round the point, the big windings, and the angle accumulated inside it, the small windings.

Big windings and small windings. outside: >0.25 0.7750, >0.5 0.5370, >1 0.2720, >1.5 0.1200, >2 0.0420, >3 0.0110, >4 0.0010, >6 0.0000, >8 0.0000; inside: >0.25 0.6910, >0.5 0.5700, >1 0.4240, >1.5 0.3340, >2 0.2790, >3 0.2100, >4 0.1590, >6 0.1200, >8 0.0850.
Fig. 4 The same 1,000 Brownian paths, their winding split into the part made outside the unit circle round the point and the part made inside it, each scaled by 2/log⁡t2/\log t. The big windings follow the hyperbolic secant law; the small windings carry the heavy tail, 21.0% beyond 3 against 1.1% for the big ones.

Splitting the simulated paths at the unit circle reproduces their theorem. The big windings, made far from the point, follow the hyperbolic secant law closely: 27.2% beyond 1 against the law’s 26.1%, and 1.1% beyond 3 against 1.15%. The small windings carry all of the heavy tail: 21.0% of paths have small windings beyond 3 in size, and more than one in ten beyond 6. So the hyperbolic secant law is not a special property of lattices. It is the law of winding at a distance, which any path that looks like Brownian motion on large scales obeys, and a lattice walk obeys only that law because it has no small windings at all. Spitzer’s Cauchy law is the sum of the two, and the sum is dominated by the heavier tail.

There is a clean reason the big windings have exponential tails. In the clock in which log⁡r\log r is a Brownian motion, the time spent outside the unit circle up to the moment log⁡r\log r reaches a given level has a distribution whose Laplace transform is 1/cosh⁡1/\cosh, and the winding accumulated in that time is a Gaussian with that random variance; averaging the Gaussian over the variance gives exactly the hyperbolic secant. The time spent inside the circle has no such bound — log⁡r\log r can make long excursions towards −∞-\infty — and averaging over it gives the heavy tail.

The class of a random loop

So far the paths have been open. A closed path — a loop that returns to its start — has a whole number of windings, and that number is its class in the fundamental group of the punctured plane. Random loops on the grid can be sampled exactly: a closed walk on the square grid is the same thing as two independent closed walks on a line, one for x+yx + y and one for x−yx - y, and each of those is a random arrangement of equally many steps up and down.

The class of a random loop round one puncture. L=100: -4: 0.000, -3: 0.001, -2: 0.021, -1: 0.192, 0: 0.587, 1: 0.183, 2: 0.014, 3: 0.001, 4: 0.000; L=1000: -4: 0.001, -3: 0.011, -2: 0.052, -1: 0.214, 0: 0.431, 1: 0.229, 2: 0.051, 3: 0.009, 4: 0.002; L=10000: -4: 0.003, -3: 0.024, -2: 0.070, -1: 0.215, 0: 0.366, 1: 0.206, 2: 0.096, 3: 0.017, 4: 0.002.
Fig. 5 Random closed walks on the grid — loops of 100, 1,000 and 10,000 steps, each chosen uniformly among all loops of its length from the origin — sorted by their winding number round a puncture at the centre of the square beside the start. 59%, 43% and 37% of them can be shrunk to a point; the rest wind once, twice or more, either way.

The distribution of the class is a narrow spike that widens slowly. Of loops of a hundred steps, 59% wind zero times round the puncture beside their start and can be shrunk to a point; of loops of ten thousand steps, 37% can. At every length about a fifth of the loops wind exactly once clockwise and about a fifth exactly once anticlockwise. The rest are spread over positive and negative winding numbers symmetrically, and the spread grows slowly with the length of the loop — as a logarithmic law of winding would lead one to expect, since a loop a hundred times longer is, in the clock that matters, only a fixed number of units longer. The loops started next to the puncture; a walk that always comes home showed that a walk in the plane returns to its start, and these loops are the walks that have, and the class records what they did on the way.

Why physicists counted windings

The winding of a random path round a point entered physics before Spitzer’s theorem was widely known there. Sam Edwards asked in 1967 how a long flexible polymer, modelled as a random path, is entangled with a straight rod passing through it, and the question reduced to the distribution of the path’s winding round the point where the rod meets the plane. Electrons in a magnetic field confined to a thin tube give the same mathematics from a different direction: in the Aharonov–Bohm effect, a charged particle circling a tube of magnetic flux has its wave function multiplied by a factor fixed by its winding number, even though it never touches the field, and so the sum over all of its possible paths becomes a sum over paths weighted by a factor that depends only on their class in the fundamental group of the punctured plane. The distribution of winding numbers of random closed paths is, in that sense, the Fourier transform of a physical quantity, and it can be measured.

Both settings care about the difference the figures above have drawn. A real polymer has a thickness and a real flux tube a radius, so the path cannot approach the puncture arbitrarily closely, and by Pitman and Yor’s decomposition the windings that survive are the big ones: for long paths the relevant law is the hyperbolic secant rather than Cauchy’s, and the Cauchy law shows only over the range of scales between the obstacle’s size and the path’s finest wiggles, which for a polymer of short segments round a thin rod can be wide. The puncture of the mathematician is a limit that the physical systems approach and never reach, and the heavy tail lives entirely in that limit.

Two punctures: loops that homology cannot see

With two punctures the fundamental group is free on two generators: a loop’s class is a word in aa, for once round the first puncture, and bb, for once round the second, with the inverses for the other direction. Cutting a space to find its group computed this group by van Kampen’s theorem, and what homology forgets about a loop measured, for loops in the figure eight, how much of the class is lost when only the winding numbers are kept. The same question can be asked of random loops.

Loops that homology cannot see. L=100: winding zero 0.4910, hidden 0.0005, mean word length 0.727; L=1000: winding zero 0.2760, hidden 0.0043, mean word length 1.526; L=10000: winding zero 0.1880, hidden 0.0060, mean word length 2.251; example b a b⁻¹ a⁻¹.
Fig. 6 The same random loops with two punctures two squares apart; each loop’s class is a word in the free group on aa and bb, read from where the loop crosses an upward cut from each puncture and cancelled down. The share of loops whose winding numbers are zero round both punctures, and, ten times taller, the share of those that still cannot be shrunk: 0.1%, 0.4% and 0.6% of all loops. The shortest such class found among the longest loops is b a b−1a−1b\,a\,b^{-1}a^{-1}.

Each loop’s word is read by placing a cut from each puncture straight upwards and recording a letter each time the loop crosses a cut — aa or a−1a^{-1} for the first, bb or b−1b^{-1} for the second, by direction — and cancelling any letter followed immediately by its inverse. The exponent sums of the word are the two winding numbers, the loop’s class in homology. The word itself is its class in the fundamental group.

Most loops that wind zero times round each puncture really are trivial: their words cancel completely. But some do not. Among loops of ten thousand steps, 18.8% have zero winding round both punctures, and 0.6% of all loops — about one in thirty of those — have a word that does not cancel. The shortest found is b a b−1a−1b\,a\,b^{-1}a^{-1}, the commutator: round the second puncture, round the first, back round the second, back round the first. It winds zero times round each puncture, so homology calls it trivial, and it cannot be shrunk without passing through one of them. The share of such hidden classes grows with the length of the loop, as does the average length of the reduced word, from 0.73 letters for loops of a hundred steps to 2.25 for loops of ten thousand. A longer random loop has more time to braid itself round the two punctures in ways that the winding numbers cannot record.

Still open: winding in other settings

The planar laws are complete: Spitzer’s for Brownian motion, the hyperbolic secant for paths that cannot approach the point, and Pitman and Yor’s decomposition between them. What is less settled is winding in settings where the path interacts with itself or with its surroundings. A self-avoiding walk, which a walk that may not step where it has been followed, winds round a point with a Gaussian law at the scale of log⁡n\sqrt{\log n}, according to a prediction of Bertrand Duplantier and Hubert Saleur from conformal field theory; it has been confirmed numerically and, through its connection with the Schramm–Loewner evolution, for some related curves rigorously, but not for the self-avoiding walk itself, whose scaling limit is still unproved.

For loops with several punctures, the law of the full word — not just its length, but the distribution of which words occur — is known for Brownian motion through work on the windings of planar Brownian motion around several points, which turn out to be governed by a joint Cauchy-type law with dependent components. For random walks on the grid, and for the hidden classes the last figure counted, the corresponding statements, and the rate at which the reduced word grows, are understood only partially. The free group is where the topology of the punctured plane becomes non-commutative, and it is also where the probability of random loops becomes hardest to compute.

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.

Covering spaceFree groupFundamental groupHeavy tailsHomologyHomotopyRandom walkWinding number