The Ornstein–Uhlenbeck process
$$ dX_t = \theta(\mu - X_t)\,dt + \sigma\,dW_t $$relaxes exponentially toward $\mu$ with half-life $\frac{\ln 2}{\theta}$ and settles into a Gaussian stationary distribution of mean $\mu$ and variance $\frac{\sigma^2}{2\theta}$ [1, 2].
Exact moments and relaxation
Integrating from $X_0 = x_0$ gives $X_t = \mu + (x_0 - \mu)e^{-\theta t} + \sigma\int_0^t e^{-\theta(t - s)}\,dW_s$, so at every time $t \ge 0$:
$$ \begin{aligned} \mathbb{E}[X_t] &= \mu + (x_0 - \mu)\,e^{-\theta t}, \\ \operatorname{Var}[X_t] &= \frac{\sigma^2}{2\theta}\bigl(1 - e^{-2\theta t}\bigr). \end{aligned} $$In the stationary limit ($t \to \infty$), $X_\infty \sim \mathcal{N}\bigl(\mu, \frac{\sigma^2}{2\theta}\bigr)$ with lag-$\tau$ autocorrelation $e^{-\theta\tau}$ and half-life $\frac{\ln 2}{\theta}$. For $\theta = 2$, $\mu = 0$, and $\sigma = 0.5$, the stationary variance is $0.0625$ (standard deviation $0.25$) and the half-life is $0.347$.


Run this in sItô
Open sItô with this model pre-loaded to inspect the path distribution, summary statistics, and parameter sensitivities—or change any setting and rerun:
- Open relaxation from $x_0 = 2$ ($T = 1$) in sItô ↗
- Open stationary run from $x_0 = 0$ ($T = 5$) in sItô ↗
| Run ($\theta = 2, \mu = 0, \sigma = 0.5$) | Exact mean (simulated) | Exact variance (simulated) |
|---|---|---|
| $x_0 = 2$, $T = 1$ ($\Delta = 0.01$) | 0.2707 ($\approx 0.267$) | 0.0614 ($\approx 0.062$) |
| $x_0 = 0$, $T = 5$ ($2 \times 10^3$ paths) | 0 ($\approx 0$) | 0.0625 ($\approx 0.0625$, SE $2 \times 10^{-3}$) |
In the $T = 1$ run, the $2\%$ shortfall in the simulated mean comes from the Euler decay factor $(1 - \theta\Delta)^{100} = 0.2652$ replacing $e^{-2} = 0.2707$.
Applications across models
For interest rates, the Ornstein–Uhlenbeck SDE is the Vasicek short-rate model, pulling rates toward $\mu$ while allowing negative values. With large $\theta$ and $\sigma$ scaled to hold $\frac{\sigma^2}{2\theta}$ fixed, it also models credit spreads, basis trades, and log commodity prices. When $\theta\Delta$ grows large, explicit Euler inflates stationary variance as analyzed in Euler on a stiff mean reversion. The underlying simulation pipeline is described in Compiling parametric SDEs into fast Monte Carlo simulations.
Related notes: Short-rate models compared, Commodity prices.