The Random Walk
A random walk is a running total of independent random steps, the simplest model of a price wandering with no memory. Its defining feature is that typical distance from the start grows like the square root of time, not time itself.
Prerequisites: Variance, Intuitively
Picture someone standing on a number line who flips a coin each second: heads they step one unit right, tails one unit left. Their position is a random walk, the running sum of independent steps. It's the plainest model of something that drifts nowhere on purpose but wanders anyway, and it's the discrete ancestor of how quants model prices.
Write the steps as , each equal to or with probability . The position after steps is their cumulative sum:
Each symbol is small: is a single coin-flip step, and is where you stand after of them. The path is jagged and unpredictable step to step, yet its statistics are strikingly regular.
The two numbers that describe it
Because each step averages to zero, the walk's expected position is always zero, no matter how long it runs:
The spread is the interesting part. Each step has variance , and independent variances add (from variance), so
That square root is the headline result. Typical distance from the start grows like , not . The walk keeps wandering, but ever more slowly relative to the clock.
The signature of a random walk: expected position stays , but typical distance from the start grows as , not . To wander twice as far you must run the walk four times as long — the same diffusion that carries into Brownian motion.
Worked example: how far after many steps?
After steps, the expected position is still , but the standard deviation is . So a typical endpoint is about ten units from the origin, and by the The Central Limit Theorem the position is approximately normal, meaning you'd land beyond (two sigma) only about of the time.
Now push to steps, a hundred times longer. The spread is only , ten times wider, not a hundred. To double how far you typically roam, you must run the walk four times as long. This scaling is exactly the diffusion behavior that carries over to Brownian Motion, the continuous-time limit of the random walk.
Common pitfalls
- Zero drift is not zero risk. The expected position never moves, yet the range of where you might be keeps widening. "Fair on average" and "safe" are different claims.
- Distance grows like , not . Assuming the walk drifts proportionally to time is the single most common error; it overstates long-run movement badly.
- No memory, no reversion. A pure random walk does not get "pulled back" after a run of heads. Believing losses must reverse is the gambler's fallacy.
- Independence is doing the work. The clean relies on steps being independent. If steps are correlated, the variance no longer adds so simply.
Zero drift is not zero risk: the average position never moves, yet the range of where you might be keeps widening. And a walk has no memory — a run of heads is never "due" to reverse. Believing losses must bounce back is the gambler's fallacy.
The random walk is the bridge from coin flips to continuous price models: it's a martingale (a fair game with no predictable drift), its endpoint is normal by the The Central Limit Theorem, and its scaling limit is Brownian Motion, the engine under most of quantitative finance.
Practice in interviews
Further reading
- Ross, A First Course in Probability
- Feller, An Introduction to Probability Theory, Vol. 1