Ito's Lemma¶
We are often concerned with the behavior of functions of stochastic processes, in particular the differentials of those functions. The number one example at hand is to know how the value of an asset (or an option) evolves over time. Ito's Lemma gives a way to compute those differentials. This relates the functions we are interested in to the stochastic differential equation that governs the underlying stochastic process.
Consider a function \(F\left(x,t\right)\) that depends on a stochastic process \(x\). \(x\) is assumed to be an Ito process following:
Normal calculus rules would give the differential of \(F\) as:
Although not always clear, one of the reasons for expressing the differential without resorting to higher order terms is that those terms depend on \(dt^{2}\), \(dt^{3}\ldots\). As \(dt\to0\) all higher order terms go to zero faster, and are hence ignored. But stochastic process add a new factor because their components depend of time through \(\sqrt{dt}\), so square terms like \(\left(dx\right)^{2}\) must also be considered.
A second order Taylor expansion of \(F\) gives:
As shown in Oksendal (2003, Sec. 4.1) \(dWdt=dt^{2}=0\), they can be safely ignored because they depend on terms of order higher than \(dt\). That leaves us with:
From the definition of our Ito process we get:
We can again drop the terms involving \(\left(dt\right)^{2}\) and \(\left(dtdW\right)\), and also show that \(\left(dW\right)^{2}=dt\) (recall that \(E\left[\left(dW\right)^{2}\right]=dt\)). The proof is not hard and can be found in Oksendal (2003, Sec. 4.1). Replacing:
This derivation (Ito's Formula) means that \(y=F\left(x,t\right)\) is itself an Ito process with \(\mu_{y}\left(x,t\right)=\left(F_{t}+\mu\left(x,t\right)F_{x}+\frac{1}{2}\sigma^{2}\left(x,t\right)F_{xx}\right)\) and \(\sigma_{y}\left(x,t\right)=\sigma\left(x,t\right)F_{x}\) as parameters. Unsurprisingly, the expected value of \(y\) is \(\mu_{y}\left(x,t\right)\) and its variance is \(\sigma_{y}\left(x,t\right)dt\).
Application to geometric brownian motion¶
We can use Ito's Lemma to obtain the properties of different stochastic processes. For instance the Geometric Brownian motion can be shown to be the exponential of a standard brownian motion, or equivalently it can be shown that the logarithm of a geometric brownian motion is a brownian motion.
Let \(x\) be a geometric brownian motion satisfying:
and \(y=\ln x\). By Ito's Lemma:
thus \(y\) is a brownian motion with parameters \(\mu_{y}=\mu-\frac{1}{2}\sigma^{2}\) and \(\sigma_{y}=\sigma\). The drift of \(y\) is lower than the drift of \(x\), because the logarithm is a concave function Jensen's inequality implies that the expected value of the log is lower.
We can also obtain the expected value of \(x\) by noting that:
taking expectations gives:
recalling that the third term is a stochastic integral, and hence has expected value equal to zero. From this equation we can derive a first order differential equation for the expected value of \(x\):
The solution for this equation, given the boundary condition \(E\left[x\left(0\right)\right]=x\left(0\right)\) is:
Finding the variance (and other moments) works in the same way. For the variance we want to obtain an expression for \(x^{2}\), so first consider the function \(f\left(x\right)=x^{2}\). By Ito's Lemma we get:
We can now take expectations to obtain:
which leads to a differential equation for \(E\left[x^{2}\right]\):
the variance is then:
Some applications are shown below:
Example 27.1
Consider an asset that gives flow payoffs \(x\) that evolve according to a geometric brownian motion
we can compute the expected discounted value of holding that asset easily using the results above:
Example 27.2
Now consider an agent that receives flow consumption of \(x\), which evolves again as a geometric brownian motion. The agent's utility is CRRA, so that \(u\left(x\right)=\frac{x^{1-\theta}}{1-\theta}\) . We want to know the expected present value of utility.
To know it we need to compute \(E\left[u\left(x\left(t\right)\right)\right]\). From Ito's Lemma we have:
Thus, \(u\) is itself a geometric brownian motion (actually if \(x\) is a brownian motion \(x^{k}\) is a geometric brownian motion). Using our previous results we have:
So we have:
Poisson Processes¶
Similar, and simpler, results can be obtained if \(x\) follows a Poisson process:
and we have a function \(H\left(x,t\right)\) that depends on \(x\). Unlike the Ito Process the Poisson process does not depend on \(\sqrt{dt}\), so higher order terms in the Taylor expansion can be ignored altogether to get:
The expected value of this change must take into account the probability of a jump in \(q\) (given by \(\lambda dt\)), so we have:
it follows, by using the identity function that \(E\left[dx\right]=f\left(x,t\right)dt+\lambda E_{u}\left[ug\left(x,t\right)\right]dt\).
We can apply this result to a couple examples taken from Dixit and Pindyck (1994):
Example 27.3
Consider an individual that lives forever and receives a wage \(w\left(t\right)\) at each point in time. The wage increases by \(\epsilon\) at random times, following a Poisson process with arrival rate \(\lambda\), so:
The individual wants to know the expected discounted value of taking the job we need to compute:
The function \(V\) (a value function) has a recursive representation, this is easier to see in the discrete time approximation. Consider a period of length \(\Delta t\), then:
Taking the limit as \(\Delta t\to0\) we get:
Staying in the job works just like an asset, with a normal return at rate \(\rho\) being equal to the sum of the dividend (in this case given by the wage) and the expected capital gains (from changes in the wage). In the expression above \(\frac{E\left[dV\right]}{dt}=\lim_{\Delta t\to0}\frac{1}{\Delta t}E\left[\Delta V\right]\)
We can apply the formula from above:
where \(H=V\), \(x=w\), \(f\left(x,t\right)=0\) and \(g\left(x,t\right)=\epsilon\) and \(u=1\) with certainty:
This leaves us with an explicit solution for \(V\):
\(V\) is equal to an asset that pays the current wage forever plus the capitalized value of the average raise in wages per unit of time.
Example 27.4
Consider now a firm that produces using capital. As long as capital is operational a flow profit of \(\pi\) is obtained, but capital becomes obsolete when new technologies arrive. These innovations occur at random times following a Poisson process with arrival rate \(\lambda\). Once the innovation arrives and the capital becomes obsolete the firm goes out of business forever.
The value of the firm follows a process:
The return can be found as before:
To find \(E\left[dV\right]\) we can again use our formula with \(H=V\), the identity function:
replacing we get
Which this is equivalent to solving:
This should not be a surprise. Consider the case where there are no shocks and the firm can operate forever with certainty. Then \(V\) is:
Now the firm shuts down with a certain probability, given by the arrival of the Poisson shock. Then:
The probability of there being no shocks is known:
Replacing gives the desired result.