Stochastic CalculusItô's LemmaStochastic Differential Equations

Itô's Lemma: Derivation and Applications

Module 2 of 422 min readLevel: Hard

Setup

We work on (Ω,F,P)(\Omega, \mathcal{F}, \mathbb{P}) with filtration F=(Ft)t0\mathbb{F} = (\mathcal{F}_t)_{t \geq 0} satisfying the usual conditions. Let (Wt)t0(W_t)_{t \geq 0} be a standard P\mathbb{P}-Brownian motion.

An Itô process is a continuous adapted process of the form: Xt=X0+0tμsds+0tσsdWs,X_t = X_0 + \int_0^t \mu_s \, ds + \int_0^t \sigma_s \, dW_s, where μ\mu (drift) and σ\sigma (diffusion) are F\mathbb{F}-progressively measurable and satisfy: 0Tμsds<and0Tσs2ds<a.s.\int_0^T |\mu_s| \, ds < \infty \quad \text{and} \quad \int_0^T \sigma_s^2 \, ds < \infty \quad \text{a.s.}

In differential notation: dXt=μtdt+σtdWtdX_t = \mu_t \, dt + \sigma_t \, dW_t.


The Itô Integral

The stochastic integral 0TσsdWs\int_0^T \sigma_s \, dW_s is defined as the L2L^2 limit of non-anticipating Riemann sums: 0TσsdWs=L2- ⁣limπ0iσti1(WtiWti1).\int_0^T \sigma_s \, dW_s = L^2\text{-}\!\lim_{|\pi| \to 0} \sum_{i} \sigma_{t_{i-1}} \bigl(W_{t_i} - W_{t_{i-1}}\bigr).

The requirement to evaluate σ\sigma at the left endpoint ti1t_{i-1} — not the midpoint — is what makes the integral Itô. Left-endpoint evaluation ensures σti1\sigma_{t_{i-1}} is Fti1\mathcal{F}_{t_{i-1}}-measurable (non-anticipating). The choice of evaluation point matters: different conventions yield different integrals (see Itô vs Stratonovich below).

Itô isometry. For square-integrable adapted σ\sigma: E ⁣[(0TσsdWs)2]=E ⁣[0Tσs2ds].\mathbb{E}\!\left[\left(\int_0^T \sigma_s \, dW_s\right)^2\right] = \mathbb{E}\!\left[\int_0^T \sigma_s^2 \, ds\right].

This is the key L2L^2 norm identity. It follows from expanding the square and using independence of non-overlapping Brownian increments: cross terms E[σti1(WtiWti1)σtj1(WtjWtj1)]=0\mathbb{E}[\sigma_{t_{i-1}}(W_{t_i} - W_{t_{i-1}}) \cdot \sigma_{t_{j-1}}(W_{t_j} - W_{t_{j-1}})] = 0 for iji \neq j.

A square-integrable adapted integrand produces a martingale: E ⁣[0tσsdWsFr]=0rσsdWs,rt.\mathbb{E}\!\left[\int_0^t \sigma_s \, dW_s \,\Big|\, \mathcal{F}_r\right] = \int_0^r \sigma_s \, dW_s, \quad r \leq t.


Itô's Lemma: Statement

Let f:R+×RRf: \mathbb{R}_+ \times \mathbb{R} \to \mathbb{R} be C1,2C^{1,2} (once continuously differentiable in tt, twice in xx). Define Yt=f(t,Xt)Y_t = f(t, X_t). Then YY is again an Itô process and: dYt=ft(t,Xt)dt+fx(t,Xt)dXt+122fx2(t,Xt)(dXt)2,dY_t = \frac{\partial f}{\partial t}(t, X_t) \, dt + \frac{\partial f}{\partial x}(t, X_t) \, dX_t + \frac{1}{2} \frac{\partial^2 f}{\partial x^2}(t, X_t) \, (dX_t)^2, where (dXt)2(dX_t)^2 is evaluated using the Itô multiplication table: dtdt=0,dtdWt=0,dWtdWt=dt.dt \cdot dt = 0, \qquad dt \cdot dW_t = 0, \qquad dW_t \cdot dW_t = dt.

Substituting dXt=μtdt+σtdWtdX_t = \mu_t \, dt + \sigma_t \, dW_t and (dXt)2=σt2dt(dX_t)^2 = \sigma_t^2 \, dt: dYt=(ft+μtfx+12σt22fx2)dt+σtfxdWt.\boxed{dY_t = \left(\frac{\partial f}{\partial t} + \mu_t \frac{\partial f}{\partial x} + \frac{1}{2}\sigma_t^2 \frac{\partial^2 f}{\partial x^2}\right) dt + \sigma_t \frac{\partial f}{\partial x} \, dW_t.}

The term 12σt2fxx\frac{1}{2}\sigma_t^2 f_{xx} is the Itô correction. It has no analogue in classical calculus and arises solely from the non-zero quadratic variation of Brownian motion.


Derivation

Apply Taylor's theorem to f(t+dt,Xt+dt)f(t + dt, X_{t+dt}) around (t,Xt)(t, X_t): df=ftdt+fxdX+12fxx(dX)2+12ftt(dt)2+fxtdtdX+df = f_t \, dt + f_x \, dX + \frac{1}{2}f_{xx}(dX)^2 + \frac{1}{2}f_{tt}(dt)^2 + f_{xt} \, dt \, dX + \cdots

Substitute dX=μdt+σdWdX = \mu \, dt + \sigma \, dW and expand (dX)2(dX)^2: (dX)2=μ2(dt)2+2μσdtdW+σ2(dW)2.(dX)^2 = \mu^2(dt)^2 + 2\mu\sigma \, dt \, dW + \sigma^2(dW)^2.

Apply the Itô multiplication table. The key step: (dW)2=dt(dW)^2 = dt is the quadratic variation result [W]t=t[W]_t = t in differential form. The other products vanish as o(dt)o(dt): (dX)2=σ2dt+O ⁣((dt)3/2).(dX)^2 = \sigma^2 \, dt + O\!\left((dt)^{3/2}\right).

Similarly, (dt)2=0(dt)^2 = 0 and dtdW=0dt \cdot dW = 0 in the L2L^2 sense. Retaining only terms of order dtdt: df=ftdt+fx(μdt+σdW)+12fxxσ2dt.df = f_t \, dt + f_x(\mu \, dt + \sigma \, dW) + \frac{1}{2}f_{xx}\sigma^2 \, dt.

Collecting drift and diffusion terms: df=(ft+μfx+12σ2fxx)dt+σfxdW.df = \left(f_t + \mu f_x + \frac{1}{2}\sigma^2 f_{xx}\right) dt + \sigma f_x \, dW.

This is Itô's lemma. The heuristic argument is exact in identifying the correct terms; the rigorous version replaces the Taylor remainder analysis with an L2L^2 convergence argument using the Itô isometry.


Application: Solving the GBM SDE

Let StS_t satisfy the geometric Brownian motion SDE: dSt=μStdt+σStdWt.dS_t = \mu S_t \, dt + \sigma S_t \, dW_t.

Apply Itô's lemma to f(St)=lnStf(S_t) = \ln S_t, with fx=1/xf_x = 1/x, fxx=1/x2f_{xx} = -1/x^2, ft=0f_t = 0: d(lnSt)=1StdSt121St2σ2St2dt=(μσ22)dt+σdWt.d(\ln S_t) = \frac{1}{S_t} \, dS_t - \frac{1}{2} \cdot \frac{1}{S_t^2} \cdot \sigma^2 S_t^2 \, dt = \left(\mu - \frac{\sigma^2}{2}\right) dt + \sigma \, dW_t.

Integrating from 0 to TT: lnSTlnS0=(μσ22)T+σWT.\ln S_T - \ln S_0 = \left(\mu - \frac{\sigma^2}{2}\right)T + \sigma W_T.

Therefore: ST=S0exp ⁣((μσ22)T+σWT).S_T = S_0 \exp\!\left(\left(\mu - \frac{\sigma^2}{2}\right)T + \sigma W_T\right).

The Role of the Itô Correction

The term σ2/2-\sigma^2/2 is not a typo. It is the Itô correction from fxx=1/S2f_{xx} = -1/S^2. Without it — if one naively wrote lnST=lnS0+μT+σWT\ln S_T = \ln S_0 + \mu T + \sigma W_T — the expectation would be wrong: E[ST]=S0eμT,correct from the SDE:dE[St]=μE[St]dt.\mathbb{E}[S_T] = S_0 e^{\mu T}, \quad \text{correct from the SDE:} \quad d\mathbb{E}[S_t] = \mu \mathbb{E}[S_t] \, dt.

But E[e(μ+σ2/2)T+σWT]=e(μ+σ2/2)Teσ2T/2=e(μ+σ2)TeμT\mathbb{E}[e^{(\mu + \sigma^2/2)T + \sigma W_T}] = e^{(\mu + \sigma^2/2)T} \cdot e^{\sigma^2 T/2} = e^{(\mu + \sigma^2)T} \neq e^{\mu T}. The Itô correction σ2/2-\sigma^2/2 is what reconciles the arithmetic mean growth μ\mu of the SDE with the geometric mean growth μσ2/2\mu - \sigma^2/2 of the log process.


Itô vs Stratonovich

The Stratonovich integral evaluates the integrand at the midpoint: 0TσsdWs=L2- ⁣limπ0iσti+σti12(WtiWti1).\int_0^T \sigma_s \circ dW_s = L^2\text{-}\!\lim_{|\pi| \to 0} \sum_i \frac{\sigma_{t_i} + \sigma_{t_{i-1}}}{2}\bigl(W_{t_i} - W_{t_{i-1}}\bigr).

The full lesson requires Premium

The complete derivation, the C++ / Python implementation, the validation tables, the quiz, and the interview-angle notes are part of Premium. Start a Premium plan to unlock every module in this track.