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)t≥0\mathbb{F} = (\mathcal{F}_t)_{t \geq 0} satisfying the usual conditions. Let (Wt)t≥0(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μs ds+∫0tσs dWs,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∣μs∣ ds<∞and∫0Tσs2 ds<∞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=μt dt+σt dWtdX_t = \mu_t \, dt + \sigma_t \, dW_t.


The Itô Integral

The stochastic integral ∫0Tσs dWs\int_0^T \sigma_s \, dW_s is defined as the L2L^2 limit of non-anticipating Riemann sums: ∫0Tσs dWs=L2- ⁣lim⁡∣π∣→0∑iσti−1(Wti−Wti−1).\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 ti−1t_{i-1} — not the midpoint — is what makes the integral Itô. Left-endpoint evaluation ensures σti−1\sigma_{t_{i-1}} is Fti−1\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σs dWs)2]=E ⁣[∫0Tσs2 ds].\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[σti−1(Wti−Wti−1)⋅σtj−1(Wtj−Wtj−1)]=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 i≠ji \neq j.

A square-integrable adapted integrand produces a martingale: E ⁣[∫0tσs dWs ∣ Fr]=∫0rσs dWs,r≤t.\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+×R→Rf: \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=∂f∂t(t,Xt) dt+∂f∂x(t,Xt) dXt+12∂2f∂x2(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: dt⋅dt=0,dt⋅dWt=0,dWt⋅dWt=dt.dt \cdot dt = 0, \qquad dt \cdot dW_t = 0, \qquad dW_t \cdot dW_t = dt.

Substituting dXt=μt dt+σt dWtdX_t = \mu_t \, dt + \sigma_t \, dW_t and (dXt)2=σt2 dt(dX_t)^2 = \sigma_t^2 \, dt: dYt=(∂f∂t+μt∂f∂x+12σt2∂2f∂x2)dt+σt∂f∂x dWt.\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=ft dt+fx dX+12fxx(dX)2+12ftt(dt)2+fxt dt dX+⋯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μσ dt dW+σ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=σ2 dt+O ⁣((dt)3/2).(dX)^2 = \sigma^2 \, dt + O\!\left((dt)^{3/2}\right).

Similarly, (dt)2=0(dt)^2 = 0 and dt⋅dW=0dt \cdot dW = 0 in the L2L^2 sense. Retaining only terms of order dtdt: df=ft dt+fx(μ dt+σ dW)+12fxxσ2 dt.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+σfx dW.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=μSt dt+σSt dWt.dS_t = \mu S_t \, dt + \sigma S_t \, dW_t.

Apply Itô's lemma to f(St)=ln⁡Stf(S_t) = \ln S_t, with fx=1/xf_x = 1/x, fxx=−1/x2f_{xx} = -1/x^2, ft=0f_t = 0: d(ln⁡St)=1St dSt−12⋅1St2⋅σ2St2 dt=(μ−σ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: ln⁡ST−ln⁡S0=(μ−σ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 ln⁡ST=ln⁡S0+μ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)T⋅eσ2T/2=e(μ+σ2)T≠eμ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σs∘dWs=L2- ⁣lim⁡∣π∣→0∑iσti+σti−12(Wti−Wti−1).\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.