Search

Search papers and lessons

Itô Calculus

Level 4 · 9 min read

Itô calculus is calculus for paths that wander like Brownian motion, where the second-order term of a small step does not vanish and adds an extra dt.

On this page

  • Colour = topic mix
  • Probability
  • Calculus
  • Stochastic processes
  • Discrete math
  • Sign in to see your progress

TL;DR

Ordinary calculus assumes that a small change in a function is roughly linear, so its second-order terms are negligible. Brownian motion breaks that assumption. Over a tiny time step hh its increment is of size h\sqrt{h}, so the square of the increment is of size hh, the same order as the step itself. Itô calculus is the set of rules that keeps this extra term, and it lets you integrate, differentiate and solve equations for random paths.

Where you'll see it: option pricing under the Black-Scholes model, the noise terms in diffusion models, and any stochastic differential equation that describes a quantity buffeted by continuous random shocks.

Intuition

Why the second-order term matters

Take an ordinary smooth function ff and a small step Δx\Delta x. The Taylor expansion says f(x+Δx)−f(x)≈f′(x) Δx+12f′′(x) (Δx)2f(x + \Delta x) - f(x) \approx f'(x)\,\Delta x + \tfrac{1}{2} f''(x)\,(\Delta x)^2. When Δx\Delta x is small, (Δx)2(\Delta x)^2 is much smaller than Δx\Delta x, so it is dropped. That is why school calculus works.

Now let the input be a Brownian path WtW_t. Over a time step hh, the increment ΔW\Delta W has typical size h\sqrt{h}. For h=0.01h = 0.01 the step is about 0.10.1, but its square is about 0.010.01, which is the same size as hh. The square of the noise does not disappear as the steps shrink. It accumulates into a steady drift, and you cannot ignore it. More precisely, E[(ΔW)2]=h\mathbb{E}[(\Delta W)^2] = h because the variance of the increment is hh, and over many small steps the squares add up to the elapsed time with vanishing randomness. The rule that captures this is (dWt)2=dt(dW_t)^2 = dt, and it is the reason the chain rule has to change.

What Itô calculus gives you

Itô calculus defines an integral with respect to Brownian motion, ∫Ht dWt\int H_t\,dW_t, and a chain rule, Itô's lemma, that includes the extra term. With those two tools you can write and solve equations of the form dXt=μ(Xt) dt+σ(Xt) dWtdX_t = \mu(X_t)\,dt + \sigma(X_t)\,dW_t. Such an equation says: over a small time step, the quantity drifts by μ dt\mu\,dt and is shaken by a random kick of size σ dW\sigma\,dW. This is a stochastic differential equation, and it is the main reason Itô calculus exists.

The plot below shows the integral ∫04W dW\int_0^4 W\,dW as a function of where the path ends. The value depends on the endpoint in a curved way, not the linear way ordinary calculus would predict.

−4−3−2−101234−202468W at time 4integral
  • Itô value of ∫ W dW, T = 4
The Itô integral equals one half of W squared minus T. Ordinary calculus would instead give one half of W squared, which differs by the term T over 2.

The math

Setup and the Itô integral

Let WtW_t be a standard Brownian motion: W0=0W_0 = 0, its increments over disjoint intervals are independent, and each increment Wt−WsW_t - W_s is Gaussian with mean 0 and variance t−st - s. The Itô integral of an adapted process HtH_t, meaning one that depends only on the past, is defined as a limit of sums. Partition [0,T][0, T] into points t0<t1<⋯<tnt_0 < t_1 < \dots < t_n, and evaluate HH at the left endpoint of each interval:

∫0THt dWt=lim⁡n→∞∑i=0n−1Hti (Wti+1−Wti).\int_0^T H_t\,dW_t = \lim_{n \to \infty} \sum_{i=0}^{n-1} H_{t_i}\,\big(W_{t_{i+1}} - W_{t_i}\big).

The left-endpoint choice is essential. It guarantees that the integral is a martingale with mean zero, which is what makes it useful for modelling a fair random game.

Basic properties

The integral has three properties you will use constantly:

  1. Mean zero: E[∫0THt dWt]=0\mathbb{E}\big[\int_0^T H_t\,dW_t\big] = 0.
  2. Itô isometry: E[(∫0THt dWt)2]=E[∫0THt2 dt]\mathbb{E}\big[\big(\int_0^T H_t\,dW_t\big)^2\big] = \mathbb{E}\big[\int_0^T H_t^2\,dt\big].
  3. Linearity: the integral of a sum is the sum of the integrals.

Itô's lemma

Let XtX_t satisfy dXt=μt dt+σt dWtdX_t = \mu_t\,dt + \sigma_t\,dW_t, and let f(t,x)f(t, x) be smooth. Then Yt=f(t,Xt)Y_t = f(t, X_t) satisfies

dYt=(∂f∂t+μt∂f∂x+12σt2∂2f∂x2) dt+σt∂f∂x dWt.dY_t = \Big(\frac{\partial f}{\partial t} + \mu_t \frac{\partial f}{\partial x} + \tfrac{1}{2}\sigma_t^2 \frac{\partial^2 f}{\partial x^2}\Big)\,dt + \sigma_t \frac{\partial f}{\partial x}\,dW_t.

The derivation has three steps. Expand ff in a Taylor series around (t,Xt)(t, X_t). Keep the first-order terms ft dtf_t\,dt and fx dXf_x\,dX. Keep the second-order term 12fxx (dX)2\tfrac{1}{2} f_{xx}\,(dX)^2, and use the rules dt dt=0dt\,dt = 0, dt dW=0dt\,dW = 0 and (dW)2=dt(dW)^2 = dt to get (dX)2=σ2 dt(dX)^2 = \sigma^2\,dt. Every term with a higher power of dtdt or dWdW is dropped.

The only term that differs from ordinary calculus is the last part of the drift, 12σ2fxx\tfrac{1}{2}\sigma^2 f_{xx}. This is the second-order Taylor term surviving because (dW)2(dW)^2 is not zero.

Stratonovich versus Itô

There is a second convention, the Stratonovich integral, which evaluates HH at the midpoint of each interval. It obeys the ordinary chain rule but is not a martingale in general. The two integrals differ by a correction term, and the Itô convention is the one used in most financial and machine learning models because the mean-zero property is needed there. Converting between them is a standard step when a physics model is written in Stratonovich form.

Worked examples

Example
The integral of W against itself

Compute ∫04Wt dWt\int_0^4 W_t\,dW_t, where WW is standard Brownian motion.

  1. Apply Itô's lemma to f(x)=x2f(x) = x^2, with dX=dWdX = dW, so μ=0\mu = 0 and σ=1\sigma = 1. The formula gives d(W2)=2W dW+12⋅2⋅dt=2W dW+dtd(W^2) = 2W\,dW + \tfrac{1}{2}\cdot 2 \cdot dt = 2W\,dW + dt.
  2. Rearrange: W dW=12 d(W2)−12 dtW\,dW = \tfrac{1}{2}\,d(W^2) - \tfrac{1}{2}\,dt.
  3. Integrate from 0 to 4: ∫04W dW=12(W42−W02)−12⋅4=12(W42−4)\int_0^4 W\,dW = \tfrac{1}{2}(W_4^2 - W_0^2) - \tfrac{1}{2}\cdot 4 = \tfrac{1}{2}(W_4^2 - 4).
  4. Check the mean. Since W4∼N(0,4)W_4 \sim \mathcal{N}(0, 4), we have E[W42]=4\mathbb{E}[W_4^2] = 4, so the expectation is 12(4−4)=0\tfrac{1}{2}(4 - 4) = 0, as the mean-zero property requires.
  5. Plug in numbers. If W4=3W_4 = 3, the integral is 12(9−4)=2.5\tfrac{1}{2}(9 - 4) = 2.5. If W4=2W_4 = 2, it is 00.

Interpretation: the naive answer 12W42\tfrac{1}{2}W_4^2 would have mean 2, not 0. The missing −12T-\tfrac{1}{2}T is the Itô correction, and it exists only because (dW)2=dt(dW)^2 = dt.

Example
Geometric Brownian motion

Let a stock price follow dSt=μSt dt+σSt dWtdS_t = \mu S_t\,dt + \sigma S_t\,dW_t, with drift μ=0.05\mu = 0.05 and volatility σ=0.2\sigma = 0.2 per year. Find the solution.

  1. Apply Itô's lemma to f(S)=ln⁡Sf(S) = \ln S. Here fS=1/Sf_S = 1/S and fSS=−1/S2f_{SS} = -1/S^2, and (dS)2=σ2S2 dt(dS)^2 = \sigma^2 S^2\,dt.
  2. The drift term is μS⋅1S+12σ2S2⋅(−1S2)=μ−12σ2\mu S \cdot \tfrac{1}{S} + \tfrac{1}{2}\sigma^2 S^2 \cdot \big(-\tfrac{1}{S^2}\big) = \mu - \tfrac{1}{2}\sigma^2. The noise term is σ\sigma.
  3. So d(ln⁡St)=(μ−12σ2) dt+σ dWtd(\ln S_t) = (\mu - \tfrac{1}{2}\sigma^2)\,dt + \sigma\,dW_t, which integrates to ln⁡St=ln⁡S0+(μ−12σ2)t+σWt\ln S_t = \ln S_0 + (\mu - \tfrac{1}{2}\sigma^2)t + \sigma W_t.
  4. Numbers: with μ−12σ2=0.05−0.02=0.03\mu - \tfrac{1}{2}\sigma^2 = 0.05 - 0.02 = 0.03, the median growth is 0.030.03 per year in log terms, not 0.050.05. The arithmetic drift is μ\mu, but the typical path grows more slowly.

Interpretation: the −12σ2-\tfrac{1}{2}\sigma^2 term is the volatility drag. Without Itô's correction the wrong drift would be used, and simulated prices would be biased upward.

Tradeoffs and failure modes

Itô calculus is the right tool when a process has continuous random fluctuations and you need martingale properties, which underpin pricing and filtering. It is the wrong tool for a physical noise that is smooth at small scales, where Stratonovich integrals are more natural.

SituationProblemBetter choice
Ordinary chain rule applied to Brownian inputMissing 12σ2fxx\tfrac{1}{2}\sigma^2 f_{xx} termItô's lemma
Physical noise that is smooth at small scalesItô drift is a modelling artefactStratonovich calculus
Need a closed-form solutionMost equations have noneNumerical schemes such as [[euler-method
Path-level analysis of rare eventsSums have high varianceImportance sampling or variance reduction

The most common mistake is to apply the ordinary chain rule and forget that (dW)2=dt(dW)^2 = dt. In the log example above this gives a drift of μ\mu instead of μ−12σ2\mu - \tfrac{1}{2}\sigma^2, which is too large by 12σ2\tfrac{1}{2}\sigma^2. Check the second-order term whenever a function of a random variable is differentiated.

History

Kiyosi Itô, working in Japan, published the stochastic integral in 1944. He was solving the problem of describing diffusions, the random motion of particles, in a way that could be manipulated mathematically. His construction is now the foundation of stochastic analysis. The Itô formula for the chain rule followed as a central result of the same framework.

The calculus took off in mathematical finance in the 1970s. Black and Scholes used a geometric Brownian motion model for stock prices in 1973, and Robert Merton extended their argument in continuous time. Itô's lemma is the tool that turns such a model into a pricing equation, which is why the calculus became standard in finance. Its use in physics, biology and machine learning followed later.

Check yourself

QuestionState the rule (dWt)2=dt(dW_t)^2 = dt in words, and explain why it means ordinary calculus fails for Brownian input.Show answer

The square of the infinitesimal increment of Brownian motion is equal to the infinitesimal time step, not zero. In ordinary calculus, (dx)2(dx)^2 is negligible compared with dxdx, so second-order terms are dropped. For Brownian input, the second-order term 12fxx(dW)2\tfrac{1}{2}f_{xx}(dW)^2 survives as 12fxx dt\tfrac{1}{2}f_{xx}\,dt and must be kept.

QuestionUse Itô's lemma to find d(Wt2)d(W_t^2) for standard Brownian motion, and then give E[WT2]\mathbb{E}[W_T^2] for T=4T = 4.Show answer

With f(x)=x2f(x) = x^2, fx=2xf_x = 2x and fxx=2f_{xx} = 2, so d(W2)=2W dW+dtd(W^2) = 2W\,dW + dt. Integrating from 0 to TT gives WT2=2∫0TW dW+TW_T^2 = 2\int_0^T W\,dW + T. Taking expectations kills the mean-zero integral, so E[WT2]=T\mathbb{E}[W_T^2] = T. For T=4T = 4 that is 44.

QuestionFor dS=0.1 S dt+0.3 S dWdS = 0.1\,S\,dt + 0.3\,S\,dW, compute the drift of ln⁡S\ln S.Show answer

Itô's lemma gives drift μ−12σ2=0.1−12(0.09)=0.1−0.045=0.055\mu - \tfrac{1}{2}\sigma^2 = 0.1 - \tfrac{1}{2}(0.09) = 0.1 - 0.045 = 0.055. So ln⁡S\ln S grows at 0.055 per unit time on average, which is less than the arithmetic drift of 0.1 because of volatility drag.

QuestionWhy do financial models use the Itô convention rather than Stratonovich, and what property does the Itô integral have that matters for pricing?Show answer

The Itô integral is a martingale when its integrand is adapted, so its expectation is zero. This matches the idea of a fair game, which is needed to define a risk-neutral price. Stratonovich integrals do not have this property in general, so their use in pricing would introduce an artificial drift that does not reflect the market.

Sources