The Drunkard’s Walk
There are 300 dots, and each one steps in a random direction, like a person who has had too much to drink. Watch how their typical distance from the start grows as the steps pile up.
0 steps. Typical distance: measured 0.0, calculated (square root of steps) 0.0
Across: steps. Up: typical distance (solid = measured, dashed = square root of steps)
Even though every step is random, if you multiply the distance of each dot by itself and average over many dots, you get exactly the number of steps. So the typical distance is the square root of the steps (the number that, times itself, gives the steps). Four times the steps only doubles the spread, in one dimension and in two.
How to play
Three hundred dots each take one step at the same time. "Step" moves them once; "Auto" keeps them walking. The dashed circle (dashed vertical lines in 1D) marks the typical distance worked out by calculation: the square root of the steps. Your goal is to watch the spread of dots match the dashed line. The chart below compares the measured and calculated values.
Learn more
Even though every step is random, if you multiply the distance of each dot by itself and average over many dots, you get exactly the number of steps. So the typical distance is the square root of the steps (the number that, times itself, gives the steps). Four times the steps only doubles the spread, in one dimension and in two.