Random walks and Brownian motion
The lesson "Returns and volatility" showed that, with independent returns, the standard deviation of the total log return grows like . This lesson builds the random process behind that rule from the simplest possible ingredient, a fair coin, and takes a limit to arrive at Brownian motion, the source of randomness in every continuous-time model that follows.
The coin-flip walk
Toss a fair coin repeatedly. On heads move one unit up, on tails one unit down. Write the -th move as , so or , each with probability , and different tosses are independent. The position after tosses, starting from zero, is
This is the symmetric random walk. Think of a person on a long corridor who takes one step forward or back each second depending on the coin. Nobody can say where they will be after 100 steps, but the spread of their likely positions can be computed exactly.
Mean and variance of the walk
Each step has mean zero and variance one:
Expectations always add. Variances add when the terms are independent, which they are here. So
The variance grows linearly in the number of steps and the standard deviation grows like its square root. After 100 tosses the typical distance from the start is units, not 100. After 10000 tosses it is 100. Many steps partly cancel each other, which is why the spread grows much more slowly than the number of steps.
Scaling the steps
To describe a price that moves continuously, we want many small steps inside a fixed time interval rather than unit steps once a second. Fix the interval , split it into steps of length , and let each step have size for some still to be chosen. After steps the time is and the variance of the position is .
Now let grow, so shrinks. There are three cases:
- If , the variance grows without bound. The walk flies off.
- If , the variance goes to zero. The walk collapses to a flat line.
- If , the variance is exactly for every . This is the only choice that gives a non-trivial limit.
So the step size must be proportional to the square root of the time step:
Example: with steps on , each step is . At the walk has taken 25 steps, so its variance is and its standard deviation is . At the standard deviation is 1.
The figure draws six sample paths of this scaled walk on together with the curves and . Switch between , and steps and press "New paths" a few times. The paths get finer, but the envelope stays the same, and the readout of the endpoint variance over 2000 simulated paths stays close to 1 whatever is.
- Step size √(1/n)
- 0.100
- Sample variance of W₁ (2000 paths)
- 0.975
Brownian motion
As , each is a sum of more and more small independent steps, so by the central limit theorem its distribution becomes normal. The limiting process is Brownian motion (also called the Wiener process), written . It is defined by four properties:
- .
- For , the increment is normally distributed with mean 0 and variance .
- Increments over non-overlapping intervals are independent.
- The path is continuous.
Taking in the second property gives
Example: is standard normal, so it lies between and with probability about 68%. The increment has variance , regardless of what the path did before .
Brownian motion: , independent increments, , continuous paths. In particular .
Continuous but jagged paths
Brownian paths have no jumps, yet they are extremely rough. Over a short interval the typical move is , so the typical slope is
Zooming in does not make the path look smoother, as it would for an ordinary smooth curve; it reveals more wiggles at every scale. The path has no well-defined slope at any point. This is why ordinary calculus does not apply directly to Brownian motion and later lessons need a correction term.
The link to the square-root-of-time rule
Combine this with "Returns and volatility". Model the log return over as a straight-line drift plus a scaled Brownian motion:
Since , the log return is normal with mean and standard deviation , exactly the first model from "Returns and volatility". The in that rule is the envelope of the random walk in the figure.
Endpoints and the bell curve
A single walk says little; many walks show the distribution. In the figure each walker takes steps of and drops into the bin of its endpoint. Press Play, or add walkers by hand, and watch the histogram fill the normal curve with variance . The sample variance settles near whatever you choose, and doubling makes the spread grow by , not by 2.
- Walkers
- 500
- Sample mean
- -0.04
- Sample variance
- 19.82 (n = 20)
Summary
- A coin-flip walk of independent steps has mean 0 and variance , so its spread grows like .
- To get a sensible limit in continuous time, steps of length must have size ; then .
- The limit is Brownian motion: , independent normal increments with variance equal to elapsed time, continuous paths.
- Brownian paths are continuous but have no slope anywhere.
- The log return model reproduces the square-root-of-time rule.