Why (dW)² = dt: quadratic variation and Itô’s lemma
In ordinary calculus, squares of small changes are negligible: if dx is tiny, dx² is tinier and drops out. For Brownian motion that’s false. Its increments over a step of length dt have size about √dt, so their squares are about dt, the same order as the time step itself. Add them up and they don’t vanish; they add up to exactly the elapsed time. Everything that makes stochastic calculus different follows from this.
Squared increments add up to time
Split [0, 1] into n equal steps. Each increment is normal with mean 0 and variance 1/n, so has mean 1/n and variance . They’re independent, so
The sum converges to 1 and its randomness disappears. Compare the absolute increments: each has mean , so their sum has mean , which blows up. And cubes: . Squares are the one power that lands exactly on a finite, non-random limit.
The path, sampled at n points
Running sum of (ΔW)² up to time t
Slide k up. The orange polygon follows the path more and more closely; its total length (sum of |ΔW|) keeps growing without bound, but the running sum of squares settles onto the line y = t. At n = 16,384 the sum of squares typically lands within 1–2% of 1 (its standard deviation is 1.1%). A simulation with 200 paths gave a standard deviation of 0.0137 at n = 10,000, against .
Where the extra term comes from
Take a smooth function f and expand by Taylor:
In ordinary calculus you’d keep only the first term. Here, summed over a time interval, adds up to (step 1) while and higher powers add up to zero. So the second-order term survives as a drift: step 3. For a process the same argument gives and
This is the term behind the in (the volatility drag), the in the delta-hedged P&L, and the Black–Scholes PDE itself.
Realised variance is quadratic variation
For a stock with , the quadratic variation of log price over [0, T] is , whatever μ is. So summing squared log returns over finer and finer intervals measures σ² exactly, without knowing the drift. That’s why volatility can be estimated precisely from high-frequency data while the mean return can’t (the Sharpe ratio post has the other side of this). In practice, microstructure noise (bid–ask bounce) stops you sampling arbitrarily often; 5-minute returns are a common compromise. And a variance swap pays exactly this realised quadratic variation.
import numpy as np
rng = np.random.default_rng(0)
for n in [10, 100, 1_000, 10_000, 100_000]:
dW = rng.standard_normal((200, n)) * np.sqrt(1 / n)
qv = (dW**2).sum(axis=1)
tv = np.abs(dW).sum(axis=1)
print(n, qv.mean().round(4), qv.std().round(4), tv.mean().round(1))
# quadratic variation → 1 with s.d. √(2/n); total variation grows like √(2n/π)Where people slip in interviews
- Dropping the ½f″ term. Ordinary chain rule gives , which would make . The correct gives .
- Thinking (dW)² = dt is random. The sum of squared increments converges to a deterministic limit; that’s what the rule means.
- Using it for jumps. With jumps, quadratic variation includes the sum of squared jumps, and Itô’s lemma gets a jump term.
- Confusing Itô and Stratonovich. Stratonovich integrals evaluate at midpoints and obey the ordinary chain rule; finance uses Itô because a trading strategy can’t use future prices.
Try these before you open the answer
Warm-upUse Itô's lemma to find d(W_t²), and hence E[W_t²].Show answer
, , : . Taking expectations (the dW term has mean zero): .
IntegralCompute ∫₀ᵀ W_t dW_t.Show answer
From the warm-up, , so . Ordinary calculus would give .
ExponentialFind E[e^{W_t}] using Itô's lemma.Show answer
. Let : , , so .
Realised volA stock's 5-minute log returns over a 6.5-hour day have squares summing to 0.0004. What's the daily vol estimate, annualised?Show answer
Daily variance 0.0004, daily vol 2%, annualised .
VarianceWhat is the variance of Σ(ΔW_i)² over [0, T] with n equal steps?Show answer
Each term has variance , so the sum has variance , going to 0 as n grows.
The convergence numbers come from 200 simulated paths at each n. The figure uses one 16,384-step path and samples it at coarser grids.