State-dependent volatility complicates both analysis and time stepping: discretization error grows where $\sigma(x)$ is steep, and square-root or power-law diffusions can overshoot zero on a grid. For any scalar diffusion with strictly positive $\sigma(x)$ on its domain,
$$ dX_t = a(X_t)\,dt + \sigma(X_t)\,dW_t, $$the Lamperti transform [2, 1] maps $X_t$ to a new process $Y_t = f(X_t)$ whose diffusion coefficient is identically $1$, moving all state dependence into the drift.
General drift identity
Choosing the antiderivative
$$ f(x) = \int^{x} \frac{du}{\sigma(u)} $$gives $f'(x) = \frac{1}{\sigma(x)}$ and $f''(x) = -\frac{\sigma'(x)}{\sigma(x)^2}$. Applying Itô’s lemma to $Y_t = f(X_t)$ cancels $\sigma(X_t) f'(X_t) = 1$ in the noise term and leaves
$$ \begin{aligned} dY_t &= \Bigl(a(X_t) f'(X_t) + \frac{1}{2}\sigma(X_t)^2 f''(X_t)\Bigr)\,dt + \sigma(X_t) f'(X_t)\,dW_t \\ &= \Bigl(\frac{a(X_t)}{\sigma(X_t)} - \frac{1}{2}\sigma'(X_t)\Bigr)\,dt + dW_t, \end{aligned} $$with $X_t = f^{-1}(Y_t)$ substituted into the drift.
Two worked examples
| Process | Original SDE | Transform $Y_t$ | Transformed SDE ($dY_t$) |
|---|---|---|---|
| Geometric Brownian motion | $\mu X_t\,dt + \sigma X_t\,dW_t$ | $\frac{\ln X_t}{\sigma}$ | $\bigl(\frac{\mu}{\sigma} - \frac{\sigma}{2}\bigr)\,dt + dW_t$ |
| Cox–Ingersoll–Ross (CIR) | $\kappa(\theta - X_t)\,dt + \sigma\sqrt{X_t}\,dW_t$ | $\frac{2\sqrt{X_t}}{\sigma}$ | $\bigl[\bigl(\frac{2\kappa\theta}{\sigma^2} - \frac{1}{2}\bigr)\frac{1}{Y_t} - \frac{\kappa Y_t}{2}\bigr]\,dt + dW_t$ |
For geometric Brownian motion, $\sigma'(x) = \sigma$, so $\frac{a}{\sigma} - \frac{1}{2}\sigma' = \frac{\mu}{\sigma} - \frac{\sigma}{2}$ is constant and $Y_t$ is simply drifted Brownian motion.
For CIR, $\sigma(x) = \sigma\sqrt{x}$ gives $f(x) = \frac{2\sqrt{x}}{\sigma}$ and $\sigma'(x) = \frac{\sigma}{2\sqrt{x}}$. Substituting $\sqrt{X_t} = \frac{\sigma Y_t}{2}$ yields the transformed drift above, which exposes Feller’s boundary condition directly: near $Y_t = 0$, the dynamics match a Bessel process of effective dimension $d = \frac{4\kappa\theta}{\sigma^2}$. A Bessel process never hits zero if and only if $d \ge 2$ (repulsion coefficient $\frac{d - 1}{2} \ge \frac{1}{2}$), which is equivalent to $2\kappa\theta \ge \sigma^2$.

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 GBM Lamperti transform ($y = \frac{\ln x}{\sigma}$) in sItô ↗. Unit diffusion gives $\operatorname{Var}[Y_1] = 1.00$ regardless of $\sigma$, with mean $\frac{\mu}{\sigma} - \frac{\sigma}{2} = 0.15$ (SE $0.01$).
- Open CIR Lamperti transform ($y = \frac{2\sqrt{x}}{\sigma}$) in sItô ↗. Starting from $x_0 = 0.5$ toward $\theta = 1$, $\mathbb{E}[Y_1] \approx 6.4$; sItô prints the symbolic drift in original coordinates as $\frac{\kappa\theta - \kappa x - \frac{\sigma^2}{4}}{\sigma\sqrt{x}}$.
Numerical benefits and multi-dimensional limits
When a scalar SDE has unit diffusion, the Milstein correction $\frac{1}{2}\sigma\sigma'$ vanishes identically, so Euler–Maruyama achieves strong order $1.0$ and the step noise no longer varies with state. Moreover, positive processes such as GBM stay positive automatically when simulated in $Y_t$ and inverted back via $X_t = f^{-1}(Y_t)$—though for CIR when $2\kappa\theta < \sigma^2$, the $\frac{1}{Y_t}$ singularity still requires care near zero.
In dimension $d > 1$, a vector-valued Lamperti transform exists only when the diffusion matrix columns satisfy a Frobenius commutativity condition; general multi-factor models such as Heston or SABR cannot be flattened to constant diffusion and must be discretized directly in the original coordinates. Coordinate changes via Itô’s lemma are shown in Using sItô, while the symbolic transformation and discretization schemes are described in Compiling parametric SDEs into fast Monte Carlo simulations.
Related notes: The Feller condition for CIR, Square-root processes on a grid, The Itô integral of W dW.