Skip to content
Finance Lessons

Stochastic Processes

Itô's Lemma & Stochastic Differential Equations

What a stochastic differential equation says — a deterministic drift plus a random diffusion — why ordinary calculus breaks on Brownian motion, how Itô's lemma adds the ½σ² correction term, and why solving the SDE for a stock gives geometric Brownian motion and lognormal prices.

10 min Updated Jun 7, 2026

You can already simulate a stock by chaining random draws — that’s Monte Carlo, and the engine inside it was geometric Brownian motion. But where did that engine come from? Why does the GBM step subtract a mysterious 12σ2\tfrac{1}{2}\sigma^2? Why does the price turn out lognormal rather than normal? This lesson is the conceptual peak of the whole topic: we write down the stochastic differential equation (SDE) that defines how a price moves in continuous time, watch ordinary calculus break the instant it touches a Brownian path, and meet Itô’s lemma — the one tool that repairs it, manufactures the 12σ2\tfrac{1}{2}\sigma^2 correction, and hands you GBM as a solution rather than a recipe you took on faith.

Before you read — take a guess

A stock's price S is expected to drift upward at 8% per year. At roughly what rate does the LOGARITHM of that price drift?

What a stochastic differential equation says

A stochastic differential equation is a recipe for the next infinitesimally small move. Written out, the SDE for a process XtX_t is:

dXt=μ(Xt,t)dt+σ(Xt,t)dWtdX_t = \mu(X_t, t)\,dt + \sigma(X_t, t)\,dW_t

Read it left to right as a sentence. Over the next tiny instant dtdt, the change dXtdX_t is the sum of two pieces:

  • The drift term μdt\mu\,dt — a predictable pull, proportional to the length of time dtdt. This is where the process wants to go: the steady, deterministic lean.
  • The diffusion term σdWt\sigma\,dW_t — a random Brownian kick, proportional to the increment dWtdW_t of a Wiener process (the continuous-time random walk from the last lesson). This is the noise: unpredictable, mean-zero, scaling with the volatility σ\sigma.

Analogy. Picture a sailboat crossing a bay. There’s a steady current carrying it in one direction — that’s the drift, smooth and predictable, it acts the same every second. And there are gusty winds shoving it left and right at random — that’s the diffusion, jittery and mean-zero. Where the boat ends up is the current’s steady push plus the accumulated buffeting of a thousand random gusts. The SDE is just that sentence written in math: position next instant = steady push + random shove.

Worked example — arithmetic Brownian motion. The simplest SDE takes constant coefficients:

dXt=μdt+σdWtdX_t = \mu\,dt + \sigma\,dW_t

Read it aloud: “over the next instant, XX drifts up by μdt\mu\,dt (a fixed lean) and gets jostled by σdWt\sigma\,dW_t (a random kick scaled by volatility).” There’s no XX on the right-hand side, so the drift and kick don’t depend on the current level — the process wanders the whole real line and can go negative. That’s fine for an interest-rate spread or a temperature, but as you’ll see, it’s wrong for a price, which is why finance reaches for a level-dependent SDE instead.

Match each piece of the SDE dX = μ dt + σ dW to what it does.

Pick a term, then click its definition.

Why ordinary calculus breaks

The chain rule you learned in school — df=f(x)dxdf = f'(x)\,dx — has a hidden assumption baked in: the path x(t)x(t) is smooth. Smooth means that over a tiny step, the change is tiny in proportion (dxdx), and anything quadratic (dx2dx^2) is negligibly tinier still, so you throw it away. That’s the whole trick of differential calculus: second-order terms vanish.

Brownian motion shatters that assumption. As you saw last lesson, a Wiener path is continuous but nowhere differentiable — you cannot draw a tangent line to it — and it has the strange property of quadratic variation equal to elapsed time. In the shorthand of stochastic calculus, that’s the box-calculus rule:

(dW)2=dt,(dt)2=0,dtdW=0(dW)^2 = dt, \qquad (dt)^2 = 0, \qquad dt\,dW = 0

That first equation is the entire revolution. On a smooth path, (dx)2(dx)^2 is second-order and dies. On a Brownian path, (dW)2(dW)^2 is first-order — it equals dtdt, the same order as the drift — so it refuses to vanish. When you Taylor-expand a function ff of a Brownian path, the second-order term

12f(W)(dW)2=12f(W)dt\tfrac{1}{2}f''(W)\,(dW)^2 = \tfrac{1}{2}f''(W)\,dt

does not disappear. It survives, contributing a real dtdt-sized drift that ordinary calculus never sees. That surviving term is Itô’s correction. Everything else in this lesson is a consequence of those two characters: (dW)2=dt(dW)^2 = dt.

Why does (dW)² = dt and not 0? (the one insight to keep)

Chop a time interval of length tt into nn steps. Each Brownian increment has variance t/nt/n, so a typical squared increment is about t/nt/n. Add up all nn of them and you get roughly n×(t/n)=tn \times (t/n) = t — and crucially, as nn \to \infty the random scatter around that total washes out, so the sum of squared increments converges to exactly tt, not zero. A smooth path’s squared increments would each be of size (t/n)2(t/n)^2 and sum to t2/n0\approx t^2/n \to 0; Brownian increments are so much rougher (each scales like t/n\sqrt{t/n}, so its square is t/nt/n) that their squares add up to a finite, non-zero total. That non-vanishing sum is quadratic variation =t= t, and writing it per-step gives (dW)2=dt(dW)^2 = dt. Hold onto this one fact and Itô’s lemma stops being magic — it’s just the second-order term that smooth calculus throws away but Brownian calculus can’t.

Itô’s lemma and the ½σ² correction

Itô’s lemma is the chain rule for stochastic paths. In words: when you transform a process XtX_t through a smooth function ff, the change dfdf is everything ordinary calculus gives you plus one extra term — the surviving second-order piece 12σ2fdt\tfrac{1}{2}\sigma^2 f''\,dt. For f(Xt)f(X_t) where dXt=μdt+σdWtdX_t = \mu\,dt + \sigma\,dW_t:

df=(μf+12σ2f)dtdrift+σfdWtdiffusiondf = \underbrace{\left(\mu f' + \tfrac{1}{2}\sigma^2 f''\right)dt}_{\text{drift}} + \underbrace{\sigma f'\,dW_t}_{\text{diffusion}}

Compare it to the ordinary chain rule df=fdX=(μf)dt+(σf)dWdf = f'\,dX = (\mu f')dt + (\sigma f')dW. Identical except for the bonus 12σ2fdt\tfrac{1}{2}\sigma^2 f''\,dt glued onto the drift — the fingerprint of (dW)2=dt(dW)^2 = dt.

The headline consequence for finance. Suppose a price SS follows the SDE dS=μSdt+σSdWdS = \mu S\,dt + \sigma S\,dW (drift μ\mu, volatility σ\sigma, both scaling with the price level). Now ask: how does logS\log S move? Apply Itô’s lemma with f(S)=logSf(S) = \log S, so f=1/Sf' = 1/S and f=1/S2f'' = -1/S^2. The drift of logS\log S becomes μ12σ2\mu - \tfrac{1}{2}\sigma^2. In words:

A price with drift μ\mu does not give a log-price that drifts at μ\mu. The log drifts at μ12σ2\mu - \tfrac{1}{2}\sigma^2.

The curvature of the log function (it’s concave — its second derivative ff'' is negative) bends the random kicks downward on average, and Itô’s term measures exactly how much: half the variance per unit time. The chart below makes it visible — slide the volatility σ\sigma up and watch the log-price drift sink below the price drift, with the shaded wedge between them growing quadratically as the 12σ2\tfrac{1}{2}\sigma^2 correction balloons.

Itô's correction: log-price drifts at μ − ½σ²
Price drift μLog-price drift μ − ½σ²Itô correction ½σ²
10%8%-1%-11%Price drift μLog-price drift μ − ½σ²Itô correction ½σ²
Volatility σ (annual)25%Price drift μ8.0%Itô correction ½σ²3.13%Log-price drift μ − ½σ²4.88%
18%0%0%60%Itô correction ½σ²

The blue line is the price drift μ — flat, it doesn't care about volatility. The orange line is the drift of the LOG price, μ − ½σ². Drag σ rightward and the orange line sinks: the shaded wedge between them is the Itô correction ½σ², and it grows quadratically with volatility. At σ = 0 there's no correction (smooth path, ordinary calculus); the more volatile the price, the harder its log is dragged down.

Worked numeric example. Take μ=8%\mu = 8\% and σ=40%\sigma = 40\%. The correction is 12σ2=12(0.40)2=12(0.16)=0.08=8%\tfrac{1}{2}\sigma^2 = \tfrac{1}{2}(0.40)^2 = \tfrac{1}{2}(0.16) = 0.08 = 8\%. So the log-price drift is μ12σ2=0.080.08=0\mu - \tfrac{1}{2}\sigma^2 = 0.08 - 0.08 = 0. Read that again: the price is expected to grow at 8% a year, yet its log drifts at 0% — the typical (median) path is expected to go nowhere. The price’s average is propped up by a few lucky exponential winners, but the median investor, riding the typical path, treads water. That entire gap is the volatility tax, and Itô’s lemma is what put a number on it.

Info:

Why “½σ²” and not “σ”?

The correction is half the variance, not the volatility itself. Variance (σ2\sigma^2), not standard deviation (σ\sigma), is what adds up linearly over time and what the squared Brownian increment (dW)2=dt(dW)^2 = dt delivers. The factor of 12\tfrac{1}{2} is the coefficient on the second-order term of a Taylor expansion (12f\tfrac{1}{2}f''). Put together: 12σ2\tfrac{1}{2}\sigma^2. This is why doubling volatility quadruples the drag, not doubles it — the wedge in the chart grows as σ2\sigma^2.

Fill in the logic of Itô's correction.

Pick the right option for each blank, then check.

Ordinary calculus throws away (dW) squared because on a smooth path it is . But for Brownian motion (dW) squared equals , so the second-order term survives as an extra . Applied to log of a price, this means the log drifts at instead of μ.

Geometric Brownian motion as the solution

Now everything snaps together. The SDE for a stock price is geometric Brownian motion:

dSt=μStdt+σStdWtdS_t = \mu S_t\,dt + \sigma S_t\,dW_t

Drift and diffusion both scale with the price StS_t — a percentage move, not a fixed-dollar move, which is exactly why prices stay positive and behave the same on a $5 stock and a $5000 stock. Solving this SDE (apply Itô’s lemma to logS\log S, then integrate the constant-drift result) gives the closed form:

St=S0exp ⁣((μ12σ2)t+σWt)S_t = S_0 \exp\!\Big(\big(\mu - \tfrac{1}{2}\sigma^2\big)t + \sigma W_t\Big)

Look at what’s inside the exponential. The log-price logSt=logS0+(μ12σ2)t+σWt\log S_t = \log S_0 + (\mu - \tfrac{1}{2}\sigma^2)t + \sigma W_t is just arithmetic Brownian motion with drift μ12σ2\mu - \tfrac{1}{2}\sigma^2 — the same correction the chart showed. And because logSt\log S_t is normal (a constant plus a scaled Wiener value), the price StS_t is lognormal: always positive, right-skewed, with a long upside tail and a floor at zero. That’s precisely the fan of paths you generated in Monte Carlo — now you know it falls straight out of the SDE.

GBM paths — the lognormal fan the SDE produces
16 pathsStart 100
95100105Start 1000252
Drift μ (annual)+8%Volatility σ (annual)25%

Every thread is one realization of the GBM SDE — the steady drift μ tilts the whole cloud, while the Brownian diffusion σ flares it into a fan. Crank σ up and the spread widens, the right-skew exaggerates, and the typical (median) path sinks below the mean — that gap is the ½σ² drag the previous chart measured. Resimulate to draw a fresh batch of futures from the same SDE.

Worked example — mean versus median. For a lognormal price, the expected price grows like eμte^{\mu t} (the average, lifted by the lucky right-tail winners), but the median price grows like e(μ12σ2)te^{(\mu - \tfrac{1}{2}\sigma^2)t} (the typical path). With μ=8%\mu = 8\%, σ=40%\sigma = 40\% over one year: the expected price multiplies by e0.081.083e^{0.08} \approx 1.083 (up 8.3%), while the median multiplies by e0=1.000e^{0} = 1.000 (flat). The mean rises while the median stays put — the unmistakable signature of a right-skewed lognormal, and the reason “expected return” and “what you’ll typically get” are not the same number.

The GBM solution is S_t = S_0 · exp((μ − ½σ²)t + σ W_t). Why is the resulting price lognormal rather than normal?

The volatility drag, restated

Step back from the calculus and the same 12σ2\tfrac{1}{2}\sigma^2 shows up wearing a different hat: volatility drag, the gap between the arithmetic mean return and the geometric (compounded) growth rate. They are the same number arriving from two directions.

The connection. Your wealth compounds at the geometric mean, not the arithmetic mean — and the geometric mean is lower by approximately 12σ2\tfrac{1}{2}\sigma^2. So a stock with an 8% arithmetic average return and 40% volatility compounds at only about 8%8%=0%8\% - 8\% = 0\%. The arithmetic average is the drift μ\mu; the rate your money actually grows at is μ12σ2\mu - \tfrac{1}{2}\sigma^2 — the log-drift, the median path. This is the exact same ledger you’ll see again in Kelly bet-sizing and CAGR: maximizing long-run growth means maximizing μ12σ2\mu - \tfrac{1}{2}\sigma^2, not μ\mu.

Pitfall 1 — quoting the arithmetic mean and expecting to compound it. People average a fund’s yearly returns, get (say) 8%, and assume $100 grows to $108-ish a year on average over the long haul. It won’t. Volatility silently skims 12σ2\tfrac{1}{2}\sigma^2 off every period’s compounding. The more a return series bounces, the wider the gap between the cheerful arithmetic average they quote and the duller geometric rate their account balance actually tracks.

Pitfall 2 — treating Itô’s correction as a “fudge factor.” The 12σ2\tfrac{1}{2}\sigma^2 is not an arbitrary haircut someone bolted on to make the math work. It is the necessary second-order term that appears whenever you push a random process through a curved (nonlinear) transform — here, the log. On a linear transform (f=0f'' = 0) the correction is exactly zero; it only bites on curvature. Far from being a fudge, it’s the part of the answer ordinary calculus is structurally incapable of seeing.

A volatile fund reports an 8% arithmetic-average annual return. An investor expects to compound roughly 8% a year long term. What's the trap?

Putting it together

A stochastic differential equation dX=μdt+σdWdX = \mu\,dt + \sigma\,dW is a recipe for the next infinitesimal move: a deterministic drift (dt\propto dt) plus a random diffusion (dW\propto dW) — a steady current plus gusty wind. Ordinary calculus breaks on a Brownian path because (dW)2=dt(dW)^2 = dt refuses to vanish, so the second-order Taylor term survives. Itô’s lemma is the chain rule that keeps that term, adding 12σ2fdt\tfrac{1}{2}\sigma^2 f''\,dt to the drift. The headline: a price with drift μ\mu has a log-price that drifts at μ12σ2\mu - \tfrac{1}{2}\sigma^2. Solving the GBM SDE dS=μSdt+σSdWdS = \mu S\,dt + \sigma S\,dW gives St=S0exp((μ12σ2)t+σWt)S_t = S_0\exp((\mu - \tfrac{1}{2}\sigma^2)t + \sigma W_t) — log-price is arithmetic Brownian motion, so the price is lognormal, with the mean (eμte^{\mu t}) riding above the median (e(μ12σ2)te^{(\mu - \frac{1}{2}\sigma^2)t}). And that same 12σ2\tfrac{1}{2}\sigma^2 is volatility drag: the tax compounding pays for bouncing around.

Big picture

Itô, SDEs & the ½σ² correction — the whole structure

  • Ito and SDEs
    • What an SDE says
      • dX = mu dt + sigma dW
      • Drift: predictable pull, proportional to dt
      • Diffusion: random Brownian kick, proportional to dW
      • Sailboat: steady current plus gusty wind
    • Why ordinary calculus breaks
      • Brownian paths are nowhere differentiable
      • Quadratic variation: (dW) squared = dt, not 0
      • Second-order Taylor term survives as dt
    • Ito lemma and the correction
      • Chain rule plus an extra half sigma squared f double-prime dt
      • Log of a price drifts at mu minus half sigma squared
      • Correction grows quadratically with volatility
      • Only nonzero for curved (nonlinear) transforms
    • GBM as the solution
      • dS = mu S dt + sigma S dW
      • Solution: S0 exp((mu minus half sigma sq) t + sigma W)
      • Log-price is arithmetic Brownian motion
      • Price is lognormal: positive, right-skewed
      • Mean e^(mu t) above median e^((mu minus half sigma sq) t)
    • Volatility drag, restated
      • Same half sigma squared as variance drag
      • Geometric growth below arithmetic average
      • Wealth compounds at mu minus half sigma squared
      • Forward link: Kelly and CAGR
An SDE is drift plus diffusion; (dW)² = dt breaks ordinary calculus; Itô's lemma keeps the surviving ½σ² term; solving the GBM SDE gives lognormal prices; the same ½σ² is volatility drag.

Recap: Itô's lemma & SDEs

Question 1 of 40 correct

A price has drift μ = 12% and volatility σ = 30%. At what rate does its LOG-price drift?

Check your answer to continue.

Next, in mean reversion and jumps, we leave the constant-drift world: the Ornstein–Uhlenbeck SDE adds a pull back toward a long-run level (perfect for interest rates and spreads), and Merton’s jump-diffusion bolts sudden gaps onto smooth GBM to capture crashes and fat tails — both written as SDEs you now know how to read.

Mark lesson as complete