Itô’s lemma explained: intuition, derivation and worked examples
Itô’s lemma is the chain rule for a smooth function of an Itô diffusion. Besides the ordinary time and first-derivative terms, it includes half the diffusion variance multiplied by the function’s second derivative.
That extra term explains why a geometric Brownian stock model with proportional drift has expected log growth . It also appears in the Black–Scholes equation. Missing it changes both simulated distributions and derivative prices.
The formula, with each term identified
Suppose
is a well-defined continuous Itô process with the required local integrability, and is once continuously differentiable in time and twice continuously differentiable in its state variable. Then
All derivatives and coefficients on the right are evaluated at . The equivalent integral statement is
The first integral is an ordinary time integral. The second is an Itô stochastic integral. Its construction uses integrands that do not look into future increments. The familiar differential notation is shorthand for this integral relationship.
| Ingredient | Meaning | What it contributes |
|---|---|---|
| Time derivative | The function changes even if the state is held fixed | Time drift |
| First state derivative | Local sensitivity to a change in the state | State drift and random exposure |
| Second state derivative | Curvature of the function | Additional drift from accumulated squared noise |
For a linear function of the state, the curvature is zero and the correction vanishes. For nonlinear functions, it generally does not.
Why the ordinary chain rule misses a term
Over a small interval, write . A second-order Taylor expansion suggests
The squared state increment expands as
Brownian increments have typical scale . The final term therefore has the same accumulated order as elapsed time. On finer partitions, the time-square and mixed terms vanish under the theorem’s conditions, while squared Brownian increments accumulate into quadratic variation.
That leaves . The shorthand rules , and help remember the calculation, but the actual justification is convergence of sums. A finite squared increment is still random.

There is also a timing choice. An Itô sum evaluates the integrand at the left endpoint, before the next increment is known. A Stratonovich integral uses a different limiting convention and a different chain rule. Changing convention without converting the drift changes the mathematical model.
Example 1: the square of Brownian motion
Let and . Here , , , and . Substitution gives
Starting from ,
The stochastic integral has mean zero on a finite horizon because its integrand satisfies the needed square-integrability condition. Therefore , agreeing with the Brownian variance.
There is an exact discrete identity behind the picture:
Summing telescopes. The left-point sum approaches the stochastic integral, while the sum of squares approaches . The finite-grid identity is exact even though replacing the sum of squares by time is a limiting step.
import numpy as np
rng = np.random.default_rng(20261015)
increments = rng.normal(0.0, np.sqrt(1 / 4096), 4096)
w = np.r_[0.0, np.cumsum(increments)]
left_sum = np.sum(w[:-1] * increments)
quadratic_sum = np.sum(increments**2)
residual = w[-1]**2 - 2 * left_sum - quadratic_sum
print(f"quadratic sum={quadratic_sum:.6f}")
print(f"discrete identity residual={abs(residual):.2e}")
# quadratic sum=0.970260
# discrete identity residual=5.55e-16The residual checks floating-point arithmetic in a discrete identity. It is not an estimate of the error in a general Itô theorem. The quadratic sum’s distance from 1 is the finite-partition fluctuation relevant to this example.

Example 2: log of a geometric Brownian stock price
Assume a strictly positive stock process obeys
with constant coefficients. For on ,
Using and yields
Integrate and exponentiate:
If per year and per square-root year, the correction is per year. Expected log growth is , or 3.5% per year.
The domain matters: log is undefined at nonpositive prices. Exact GBM stays positive from a positive starting value, but an Euler approximation can produce a negative step. Taking a logarithm after such a step does not fix the discretisation.
Example 3: an exponential martingale
Take . Its derivatives are
For , the two drift terms cancel:
This identifies the local-martingale form. For this constant-coefficient example, the Gaussian exponential moment additionally proves the true martingale property on finite horizons. That extra check matters: zero drift in a formal differential does not establish the needed integrability for every model.
How this enters the Black–Scholes equation
Let be a sufficiently smooth option value in the interior of its time domain. Itô’s lemma gives
A delta hedge holds shares against the option. Within the frictionless continuous-trading replication argument, the stock exposure cancels the random term. No arbitrage requires the remaining locally riskless position to earn the risk-free rate. For a stock without dividends,
The physical drift disappears from this replication equation. Itô’s lemma supplies the option dynamics; self-financing replication and no arbitrage supply the pricing restriction. The calculus alone does not establish a market price.
At maturity a call payoff has a kink at the strike and is not twice differentiable there. The familiar pricing derivation uses the smooth pre-maturity value function, with the payoff imposed as a terminal condition. You cannot apply the elementary smooth version directly at every point of a nonsmooth payoff. Generalisations such as Itô–Tanaka handle particular nonsmooth functions with additional terms.
A repeatable method for new functions
First identify the state dynamics and the probability measure. Then calculate the three derivatives of the transformed function. Substitute the actual diffusion coefficient into , including any state factors. Finally collect the drift and diffusion separately and check a known implication.
For under GBM, this gives
The positive term is consistent with increasing second moments. Leaving it out would understate the model’s expected square and variance.
For a deterministic state with , the formula reduces to the ordinary chain rule. For a linear function with , there is no curvature correction. These boundary checks catch many sign and coefficient mistakes before simulation does.
Download and continue
Sources and further study
Go deeper with lessons, derivations and worked exercises behind this article.