03 - Stochastic Calculus - Part III

Author

Francois de Ryckel

Published

July 3, 2023

Modified

July 3, 2023

Recall

Function Itô Lemma
F(Xt) dF=12d2FdX2 dt+dFdX dx
F(t,Xt) dF=(Ft+122FX2)dt+FXdX
V(S) when dS=μSdt+σSdX dV=(μSdVdS+12σ2S2d2VdS2)dt+(σSdVdS)dX

Itô Integrals as non-anticipatory

Let’s consider the stochastic integral of the form 0Tf(t,X(t))dX(t) where Xt is a Brownian motion. We’ll shorten this form to 0Tf(t,X)dX

We define this integral as 0Tf(t,X)dX=limNi=0N1f(ti,Xi)(Xi+1Xi)dX

It’s important to define it this way in order for the itô integral to stay non-anticipatory. We know everything up to time ti and so the only uncertainties left is Xi+1Xi which is dX

Product rule within Stochastic Calculus

When dealing with Stochastic Differential Equations, we can adapt some of the rules of classical calculus such as the product rule: d(xy)=xdy+ydx

Let’s say we have 2 stochastic processes: d(X(t))=μ1X(t)dt+σ1X(t)dWt d(Y(t))=μ2Y(t)dt+σ2Y(t)dWt

And we define a function F which is a product of these 2 stochastic processes such that F=F(X,Y)=XY.

Using a Taylor Series Expansion, we can write: F(X+dX,Y+dY)F(X,Y)+FXdX+FYdY+122FX2dX2+122FY2dY2+2FXYdXdY+

Hence, (1)dF=FXdX+FYdY+122FX2dX2+122FY2dY2+2FXYdXdY+

Now, we can calculate all these partial derivatives and plugged them back in the above equation. FX=Y and 2FX2=0.

Similarly FY=X and 2FY2=0.

Finally: 2FXY=1

Plugging it all back in : (2)dF=YdX+XdY+dXdY

Integral by parts

In classical calculus, we re-use the product rule to come up with the integration by part: d(xy)=xdy+ydx. That is xdy=d(xy)ydx which we can integrate for and get: xdy=d(xy)ydx which is the same as xdy=xyydx.

Let’s bring this to stochastic calculus. Again F is a function of the product of 2 stochastic processes: F=F(X,Y)=XY Using the same logic and our previous result , we write d(XY)=YdX+XdY+dXdY XdY=d(XY)YdXdXdY 0tXsdYs=0td(XsYs)0tYsdXs0tdXsdYs 0tXsdYs=XtYtX0Y00tYsdXsotdXsdYs

Quotient Rule within Stochastic Calculus

We will re-use the Taylor Series Expansion () except this time the function F is a function of the quotient of 2 stochastic processes: F=F(X,Y)=XY. Calculating all the partial derivatives: FX=1Y and 2FX2=0.

Similarly FY=XY2 and 2FY2=2XY3.

Finally: 2FXY=1Y2

Putting it all back together: dF=1YdX+XY2dY+122XY3dY2+1Y2dXdY Which we can re-write as: (3)dF=d(XY)=XY(1XdX1YdY1XYdXdY+1Y2dY2)

In the quant world.

we can word these results in the following way - taken from here:

  • Itô product rule: we buy correlation when we have a product
  • Itô quotient rule: we sell correlation when we have a ratio, and we are long vol of the denominator.