Skip to main content

Ito's Lamma

· 2 min read
Hinny Tsang
Data Scientist @ Pollock Asset Management

In very simple terms, Ito's lemma is a formula that allows us to compute the differential of a function of a stochastic process. In normal functions, we can use the chain rule to compute the differential of a function. However, in stochastic calculus, we need to use Ito's lemma.

Suppose we have a stochastic process XtX_t that follows a stochastic differential equation (SDE).

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

where WtW_t is a Wiener process (or Brownian motion), μ(Xt,t)\mu(X_t, t) is the drift term, and σ(Xt,t)\sigma(X_t, t) is the diffusion term.

Now, let's say we have a function f(Xt,t)f(X_t, t) (twice differentiable) that we want to differentiate with respect to time. Ito's lemma states that the differential of f(Xt,t)f(X_t, t) is given by:

Δf(t)dtdt=ftdt+122ft2(dt)2+\frac{\Delta f(t)}{dt} dt = \frac{\partial f}{\partial t} dt + \frac{1}{2}\frac{\partial^2f}{\partial t^2} (dt)^2 + \cdots

and so with xx, the total derivative of ff will be

df=ftdt+fxdx=limdx,dt0,0ftdt+fxdx+12(2ft2(dt)2+2fx2(dx)2)+\begin{align*} df &= f_t dt + f_x dx \\ &=\lim_{dx, dt\rightarrow 0, 0} \frac{\partial f}{\partial t} dt + \frac{\partial f}{\partial x} dx + \frac{1}{2} \left(\frac{\partial^2f}{\partial t^2} (dt)^2 + \frac{\partial^2f}{\partial x^2} (dx)^2 \right) + \cdots \end{align*}

Than substitute x=Xtx = X_t, in the limit dt0dt \to 0, the following terms tend to zero faster than dtdt are:

  1. (dt)2(dt)^2

  2. dtdWtdtdW_t

  3. (dx)3(dx)^3

Noted that (dBt)2=O(dt)(dB_t)^2 = \mathcal{O}(dt) due to quadratic variation of a Wiener process. # TODO, Hance

df=limdt0(ft+μtfx+σt222fx2)dt+σtfxdWtdf = \lim_{dt \to 0} \left(\frac{\partial f}{\partial t} + \mu_t \frac{\partial f}{\partial x} + \frac{\sigma_t^2}{2} \frac{\partial^2 f}{\partial x^2} \right) dt + \sigma_t \frac{\partial f}{\partial x} dW_t

That's it!