Chapter 06
Hard

Itô's Lemma

00 · Symbol Glossary

$f(W_t,t)$a smooth function of Brownian motion and time

Assumed C2C^2 in the spatial argument and C1C^1 in time — enough derivatives to Taylor-expand, which is all Itô's Lemma is: a Taylor expansion kept honest about quadratic variation.

$[X]_t$quadratic variation of $X$

From Chapter 03: for Brownian motion, [W]t=t[W]_t=t; informally (dWt)2=dt(dW_t)^2=dt. This replacement is the entire mechanical content of Itô's Lemma.

$dX_t = \mu_t\,dt + \sigma_t\,dW_t$a general Itô process

Shorthand for Xt=X0+∫0tμs ds+∫0tσs dWsX_t = X_0+\int_0^t \mu_s\,ds+\int_0^t \sigma_s\,dW_s, the object Chapter 05 built. μt\mu_t is the drift, σt\sigma_t the diffusion coefficient.

$f_x,\,f_{xx},\,f_t$partial derivatives of $f$

Standard subscript notation: fx=∂f/∂xf_x=\partial f/\partial x, fxx=∂2f/∂x2f_{xx}=\partial^2 f/\partial x^2, ft=∂f/∂tf_t=\partial f/\partial t. Itô's Lemma is a formula for dfdf in terms of exactly these.


01 · Taylor's Theorem, Kept Honest

Ordinary calculus differentiates f(xt)f(x_t) by a first-order Taylor expansion: df=f′(xt) dxtdf=f'(x_t)\,dx_t, with second-order terms discarded because (dxt)2(dx_t)^2 is negligible compared to dxtdx_t when xtx_t is smooth. Chapter 03 showed that is false for Brownian motion — (ΔW)2(\Delta W)^2 is the same order as Δt\Delta t, not smaller. Itô's Lemma is the second-order Taylor expansion with that fact kept instead of discarded.

Start from a second-order expansion of f(Wt+Δt)−f(Wt)f(W_{t+\Delta t})-f(W_t) over a small step:

Δf≈f′(Wt) ΔW+12f′′(Wt) (ΔW)2+O((ΔW)3)\Delta f \approx f'(W_t)\,\Delta W + \tfrac12 f''(W_t)\,(\Delta W)^2 + O((\Delta W)^3)

In ordinary calculus, (ΔW)2(\Delta W)^2 would be O(Δt2)O(\Delta t^2) and vanish faster than Δt\Delta t as the partition is refined. For Brownian motion, E[(ΔW)2]=Δt\mathbb{E}[(\Delta W)^2]=\Delta t, and Chapter 03's quadratic-variation result says ∑(ΔW)2→t\sum(\Delta W)^2\to t — the sum of squared increments does not vanish, it converges to a finite, nonzero limit. The correct replacement, justified by that convergence, is (dWt)2=dt(dW_t)^2=dt inside any expression that is eventually integrated.

The one rule to memorize

(dWt)2=dt(dW_t)^2=dt,  dWt dt=0\,dW_t\,dt=0,  (dt)2=0\,(dt)^2=0. Every version of Itô's Lemma below is Taylor's theorem plus this substitution rule, nothing more.


02 · Itô's Lemma for f(Wt,t)f(W_t,t)

Definition — Itô's Lemma, Pure Brownian Case

If f(x,t)f(x,t) is C2C^2 in xx and C1C^1 in tt, then

df(Wt,t)=ft(Wt,t) dt+fx(Wt,t) dWt+12fxx(Wt,t) dtdf(W_t,t) = f_t(W_t,t)\,dt + f_x(W_t,t)\,dW_t + \tfrac12 f_{xx}(W_t,t)\,dt

equivalently, in integral form,

f(WT,T)=f(W0,0)+∫0T(ft+12fxx)dt+∫0Tfx dWtf(W_T,T) = f(W_0,0) + \int_0^T \left(f_t+\tfrac12 f_{xx}\right)dt + \int_0^T f_x\,dW_t

Plain language: the ordinary chain-rule term fx dWtf_x\,dW_t is still there, but there is an extra drift term 12fxx dt\tfrac12 f_{xx}\,dt that has no analogue in deterministic calculus. It appears because the second-order Taylor term 12fxx(dWt)2\tfrac12 f_{xx}(dW_t)^2 does not vanish — it becomes 12fxx dt\tfrac12 f_{xx}\,dt, a bona fide first-order contribution to the drift.

Example — $d(W_t^2)$

Let f(x)=x2f(x)=x^2, so fx=2xf_x=2x, fxx=2f_{xx}=2. Itô's Lemma gives

d(Wt2)=2Wt dWt+12(2) dt=2Wt dWt+dtd(W_t^2) = 2W_t\,dW_t + \tfrac12(2)\,dt = 2W_t\,dW_t + dt

Integrating: WT2=∫0T2Wt dWt+TW_T^2 = \int_0^T 2W_t\,dW_t + T, i.e. ∫0TWt dWt=12WT2−12T\int_0^T W_t\,dW_t=\tfrac12 W_T^2-\tfrac12 T — exactly the identity flagged in Chapter 05's FailBlock, now derived rather than asserted.


03 · General Diffusions

The pure-Brownian case extends immediately once WtW_t is replaced by a general Itô process XtX_t.

Definition — Itô's Lemma, General Case

Let dXt=μt dt+σt dWtdX_t = \mu_t\,dt+\sigma_t\,dW_t and let f(x,t)f(x,t) be C2C^2 in xx, C1C^1 in tt. Then

df(Xt,t)=(ft+μtfx+12σt2fxx)dt+σtfx dWtdf(X_t,t) = \left(f_t + \mu_t f_x + \tfrac12 \sigma_t^2 f_{xx}\right)dt + \sigma_t f_x\,dW_t

Plain language: fxf_x carries through both the drift μt\mu_t and the noise σt dWt\sigma_t\,dW_t exactly as the ordinary chain rule would predict, but there is again a correction 12σt2fxx dt\tfrac12 \sigma_t^2 f_{xx}\,dt coming from (dXt)2=σt2 dt(dX_t)^2=\sigma_t^2\,dt — the increment squared inherits its quadratic variation entirely from the diffusion coefficient, not the drift, because dtdt and dWt dtdW_t\,dt terms vanish under squaring while (σt dWt)2=σt2 dt(\sigma_t\,dW_t)^2=\sigma_t^2\,dt survives. This is the formula that will turn the SDE for a stock price (Chapter 08) into a solvable equation for log⁡St\log S_t.

Step-by-step — Applying Itô's Lemma
1
Identify XtX_t's drift and diffusion: write dXt=μt dt+σt dWtdX_t=\mu_t\,dt+\sigma_t\,dW_t explicitly; misreading either coefficient propagates into every term below.
2
Compute ftf_t, fxf_x, fxxf_{xx}: ordinary partial derivatives of the transform ff, evaluated at (Xt,t)(X_t,t).
3
Assemble the drift: ft+μtfx+12σt2fxxf_t+\mu_t f_x+\tfrac12\sigma_t^2 f_{xx} — three separate contributions, and it is easy to forget the third.
4
Assemble the diffusion term: σtfx dWt\sigma_t f_x\,dW_t — this one matches ordinary chain-rule intuition exactly.

04 · Worked Examples

Example — $d(e^{W_t})$

f(x)=exf(x)=e^x, so fx=fxx=exf_x=f_{xx}=e^x. With μt=0,σt=1\mu_t=0,\sigma_t=1 (pure WtW_t),

d(eWt)=12eWt dt+eWt dWtd(e^{W_t}) = \tfrac12 e^{W_t}\,dt + e^{W_t}\,dW_t

Notice the drift is strictly positive: eWte^{W_t} has an upward bias even though WtW_t itself has zero drift. This is not a modeling choice — it falls straight out of fxx>0f_{xx}>0 (convexity of the exponential) and is the mechanism behind the lognormal mean correction that Chapter 08 needs for geometric Brownian motion.

Example — $d(W_t^3)$ as a check of the pattern

f(x)=x3f(x)=x^3, fx=3x2f_x=3x^2, fxx=6xf_{xx}=6x. Then d(Wt3)=3Wt2 dWt+3Wt dtd(W_t^3)=3W_t^2\,dW_t+3W_t\,dt. Unlike the two previous examples, the correction term here is itself random (3Wt dt3W_t\,dt, not a constant), because fxx=6xf_{xx}=6x depends on xx. Constant fxxf_{xx} is the special case that produces a deterministic correction; it is not the general rule.

❌ Applying the chain rule without the second-order term

A common shortcut: "f(Wt)f(W_t) changes by f′(Wt) dWtf'(W_t)\,dW_t, same as ordinary calculus" — and then d(eWt)=eWt dWtd(e^{W_t})=e^{W_t}\,dW_t is reported with no drift.

Why it breaks: it drops the 12fxx dt\tfrac12 f_{xx}\,dt term entirely, treating (dWt)2(dW_t)^2 as negligible the way ordinary calculus treats (dx)2(dx)^2. Section 01 is precisely the argument for why that is wrong for Brownian motion.

Consequence: the resulting process has the wrong mean. E[eWt]\mathbb{E}[e^{W_t}] under the correct formula grows like et/2e^{t/2} (matching the lognormal moment-generating function directly), while the shortcut formula implies a driftless martingale with constant mean E[eW0]=1\mathbb{E}[e^{W_0}]=1 — flatly wrong for t>0t>0.


05 · Exercises

EXERCISE 6.1

Apply the general formula with μt,σt\mu_t,\sigma_t constant and f(x,t)=g(x)f(x,t)=g(x) time-independent.

df(Xt)=(μg′(Xt)+12σ2g′′(Xt))dt+σg′(Xt) dWtdf(X_t)=\left(\mu g'(X_t)+\tfrac12\sigma^2 g''(X_t)\right)dt+\sigma g'(X_t)\,dW_t. Setting g(x)=x2g(x)=x^2: d(Xt2)=(2μXt+σ2) dt+2σXt dWtd(X_t^2)=(2\mu X_t+\sigma^2)\,dt+2\sigma X_t\,dW_t. The σ2 dt\sigma^2\,dt term is the quadratic-variation correction; it survives even though g′′=2g''=2 is constant, because σt2≠0\sigma_t^2\neq 0.

For dXt=μ dt+σ dWtdX_t=\mu\,dt+\sigma\,dW_t (constant μ,σ\mu,\sigma), compute d(Xt2)d(X_t^2) using the general Itô's Lemma.

EXERCISE 6.2

f(x)=log⁡xf(x)=\log x has fx=1/xf_x=1/x, fxx=−1/x2f_{xx}=-1/x^2; apply with Xt=StX_t=S_t following dSt=μSt dt+σSt dWtdS_t=\mu S_t\,dt+\sigma S_t\,dW_t.

d(log⁡St)=(μ−12σ2)dt+σ dWtd(\log S_t)=\left(\mu-\tfrac12\sigma^2\right)dt+\sigma\,dW_t. The correction −12σ2 dt-\tfrac12\sigma^2\,dt is negative here because fxx=−1/St2<0f_{xx}=-1/S_t^2<0 (log is concave) — the opposite sign from the eWte^{W_t} example in Section 04, where convexity gave a positive correction. This identity is exactly the tool Chapter 08 uses to solve geometric Brownian motion.

Let StS_t follow dSt=μSt dt+σSt dWtdS_t=\mu S_t\,dt+\sigma S_t\,dW_t. Compute d(log⁡St)d(\log S_t) and explain the sign of the correction term.

EXERCISE 6.3

Compare d(eWt)d(e^{W_t}) (Section 04) to d(eσWt−σ2t/2)d(e^{\sigma W_t-\sigma^2 t/2}); the second is built to cancel its own correction term.

Let Yt=eσWt−σ2t/2Y_t=e^{\sigma W_t-\sigma^2 t/2}. With f(x,t)=eσx−σ2t/2f(x,t)=e^{\sigma x-\sigma^2 t/2}: ft=−σ22ff_t=-\tfrac{\sigma^2}{2}f, fx=σff_x=\sigma f, fxx=σ2ff_{xx}=\sigma^2 f. So dYt=(−σ22+12σ2)f dt+σf dWt=σYt dWtdY_t=\left(-\tfrac{\sigma^2}{2}+\tfrac12\sigma^2\right)f\,dt+\sigma f\,dW_t=\sigma Y_t\,dW_t — the drift cancels exactly, leaving a pure martingale. This is the stochastic exponential, and its driftless property is the seed of Girsanov's Theorem (Chapter 10).

Show that Yt=eσWt−σ2t/2Y_t=e^{\sigma W_t-\sigma^2 t/2} has zero drift under Itô's Lemma. Why is this remarkable given that eWte^{W_t} alone (Section 04) has strictly positive drift?


06 · Chapter Summary

ConceptMeaning
Core substitution(dWt)2=dt(dW_t)^2=dt, dWt dt=0dW_t\,dt=0, (dt)2=0(dt)^2=0
Pure Brownian casedf=ft dt+fx dWt+12fxx dtdf=f_t\,dt+f_x\,dW_t+\tfrac12 f_{xx}\,dt
General diffusiondf=(ft+μfx+12σ2fxx) dt+σfx dWtdf=(f_t+\mu f_x+\tfrac12\sigma^2 f_{xx})\,dt+\sigma f_x\,dW_t
Correction sourcesecond-order Taylor term, kept instead of discarded
d(log⁡St)d(\log S_t)drift shifts by −12σ2-\tfrac12\sigma^2 relative to naive log
Common errordropping 12fxx dt\tfrac12 f_{xx}\,dt, producing the wrong mean

Next: Chapter 07 — Stochastic Differential Equations, where Itô's Lemma becomes the tool for turning an equation for dXtdX_t into a closed-form solution for XtX_t.