CONTENTS

Exercise: Ornstein-Uhlenbeck via Itô

Problem

The Ornstein-Uhlenbeck (OU) process is the simplest mean-reverting SDE in quant finance — it models short rates (Vasicek), log-volatility (some stochastic-vol setups), and spread dynamics (pairs-trading residuals). Let

dXt=κXtdt+σdWt,X0=x0,dX_t = -\kappa X_t\,dt + \sigma\,dW_t, \qquad X_0 = x_0,

with κ,σ>0\kappa, \sigma > 0.

  1. Apply Itô's lemma to V(t,X)=eκtXV(t, X) = e^{\kappa t} X and show that the drift vanishes. Deduce that d(eκtXt)=σeκtdWtd(e^{\kappa t}X_t) = \sigma e^{\kappa t}\,dW_t.

  2. Integrate the result in part 1 from 00 to tt and solve for XtX_t. Write the solution in the form Xt=x0eκt+(stochastic integral)X_t = x_0 e^{-\kappa t} + (\text{stochastic integral}) and identify the integrand explicitly.

  3. Use the Itô isometry to compute Var(Xt)\operatorname{Var}(X_t). Show that Var(Xt)σ2/(2κ)\operatorname{Var}(X_t) \to \sigma^2/(2\kappa) as tt \to \infty.

  4. Explain in one or two sentences why the trick "multiply by eκte^{\kappa t}" is the stochastic analogue of the integrating-factor trick from ordinary linear first-order ODEs, and why the absence of an Itô correction for this particular VV is not a coincidence.

Hint

For part 1: Vt=κeκtXV_t = \kappa e^{\kappa t} X, VX=eκtV_X = e^{\kappa t}, VXX=0V_{XX} = 0. The VXX=0V_{XX} = 0 is the reason the Itô correction drops out — VV is linear in XX.
Jump to the solution when you're ready.