Quants and risk managers who implement stochastic models of options and stock prices use Ito's lemma to check what a model's equations mean and to read where the partial differential equation for valuation comes from.
What Ito's lemma expresses
Brownian motion is written . The introduction of Brownian motion is covered on the Random Walks and Brownian Motion page.
Ito's lemma is a formula for the change in a function when the ordinary chain rule cannot be used. A path of Brownian motion is continuous but not differentiable at any point, so the quantity does not exist. The chain rule therefore has no meaning1.
You might try writing instead, but that is not enough. The Taylor expansion of a function around is . When is Brownian motion, the expected value of is , which is as large as the time step. The second-order term therefore cannot be ignored, and exactly one second-order term remains1. The following equation is the simplest form of Ito's lemma, for one variable.
Compared with the ordinary chain rule, there is one extra deterministic term, . When , this term makes the expected movement of the function larger than the change you would get from the ordinary rules of differentiation.
Stochastic differential equations and the Ito integral
A stochastic differential equation is an equation that expresses the small change in a stochastic process as a term proportional to time plus a term proportional to the increment of Brownian motion. In the form below, is called the drift, and is the coefficient of the term2. For geometric Brownian motion, takes the form of the volatility multiplied by the price ().
and may be constants, or functions of time or of the price . If they are constants, , which is Brownian motion with drift. Geometric Brownian motion is the case and , written as follows.
This equation is shorthand for the movement over a short time, and its meaning is fixed only once it is rewritten in integral form. The integral form is as follows.
The last term is the Ito integral. Define with differential as the sum of the integrals of and , with the integral taken as the inverse of the differential2. The Ito integral requires the integrand (here ) to be adapted, meaning that its value at each time is determined only by the movement of Brownian motion up to that time. This corresponds to the fact that you cannot see future prices when deciding how much stock to trade3.
The Ito integral of an adapted integrand has two convenient properties. First, if the integrand satisfies conditions such as square integrability, the integral is a martingale (a process whose expected future value equals its current value)3. Second, the Ito isometry says that, for an adapted integrand , the expected value of the square of the integral ( denotes the expected value) equals the expected value of the integral of the squared integrand3.
Consider a hypothetical example in which the integrand is the constant and year. The right-hand side is . Because the mean is 0, the variance of the integral is 0.04 and its standard deviation is 0.2 (20%). If the integrand is a fixed function of time alone, the integral follows a normal distribution3.
Quadratic variation and the sum of squared increments
The extra term in Ito's lemma arises because the square of a Brownian increment is replaced by the deterministic time step . This property is expressed by quadratic variation. Split the interval into small subintervals and let the largest width of the partition approach 0. The sum of the squared Brownian increments then converges to with probability 14.
Here is the partition of the interval and is its largest width. For a smooth function , the same sum approaches 0. Each increment shrinks in proportion to the step, so its square is a small value proportional to the square of the step4. The table below compares the sums when the interval is divided into equal parts.
| Number of subintervals n | Step Δt | Size of an increment √Δt | Sum of squared increments (Brownian motion approximation) | Sum of squared increments () |
|---|---|---|---|---|
| 4 | 0.25 | 0.5 | 1 | 0.25 |
| 100 | 0.01 | 0.1 | 1 | 0.01 |
| 10,000 | 0.0001 | 0.01 | 1 | 0.0001 |
The rightmost column follows from the fact that each increment of is , so the sum is . For Brownian motion, the sum of squares stays at 1 however fine the steps become, while for the smooth function it approaches 0.
The Brownian motion column of the table uses a random walk with increments of as an approximation. Each squared increment is exactly , so the sum is 1 on every path. For Brownian motion itself, each squared increment is a random value with mean , and their sum approaches by the law of large numbers.
This relation can be summarized as rules for multiplying infinitesimal quantities. is replaced with , and the and terms are negligible1.
| Product | Replacement |
|---|---|
| 0 | |
| 0 |
The formula of Ito's lemma
Let the function be smooth and let follow . The small change in is then given by the following equation1.
is the change due to time and is the first-order change due to . Both terms also appear in the ordinary chain rule. The term is the one that Ito's lemma adds. If is linear (), this term vanishes and the result has the same form as the ordinary chain rule. The greater the curvature of , the larger this term becomes.
Deep diveOutline of the derivation of Ito's lemma
Expand in a Taylor series and write the change up to second order. The second-order terms that contain ( and ) are 0 by the multiplication rules in the previous section, so they are omitted.
Squaring gives . By the multiplication rules in the previous section, the first two terms are 0 and the last term becomes . Hence . Substituting this into the equation above and collecting the terms and the terms gives the formula in the main text. The proof follows the same sequence of calculations1. Terms of third order and higher are even smaller relative to the time step and are ignored.
Worked examples: W squared and the logarithm of a stock price
The first example is . Since and , Ito's lemma gives . Integrating both sides gives the following relation1.
In ordinary calculus, , and the term does not appear. Consider a hypothetical example in which a path has and . The ordinary calculus value is , and the Ito integral is . Since , the expected value of the Ito integral is , which is consistent with the martingale property mentioned earlier3.
The second example is the solution of geometric Brownian motion. Let . Then and . Substitute and into Ito's lemma5.
The coefficients on the right-hand side are constants, so integrating and taking the exponential gives the solution for .
The drift of the logarithm, , is smaller than by because the extra term in Ito's lemma comes from the curvature of (its second derivative is negative). Consider a hypothetical example in which , , , and year.
| Item | Formula | Value |
|---|---|---|
| Drift of the logarithm | ||
| Standard deviation of the log return | 0.20 | |
| Price after 1 year if the log return equals its mean | 103.05 | |
| Expected price after 1 year | 105.13 |
The difference between the two prices in the table shows up in the distribution in Figure 1. The price after 1 year follows a lognormal distribution. The price of 103.05, where the log return equals its mean, is the median (the price below which half the probability lies), and the expected value of 105.13 lies to its right.
The expected value is proportional to , which follows from the expected value of the lognormal distribution. Ito's lemma explains why the drift of the logarithm is .
Figure description
The figure shows the distribution of the stock price after 1 year for geometric Brownian motion with , , , and year. It corresponds to the logarithm of the price following a normal distribution with mean and standard deviation 0.20. The vertical axis is the probability density, and area represents probability.
The distribution has a long right tail, and the vertical line marks the expected value, 105.13. The median, 103.05, lies about 2.08 to the left of the line, and the peak of the curve (about 99) lies further left still.
In this example, the mean log return is 0.03, and the difference from the drift-only value of 0.05 is . As the interval is divided more finely, the sum of squared increments of the log price approaches . The simulator below lets you check both.
- Sum of squared increments of ln S (quadratic variation)
- σ²T
- Expected price (closed form S₀e^(μT))
- 105.13
- Simulated mean price
- 105.20
- Standard error 0.13, 1,000 paths (antithetic pairs)
- Mean log return (Itô's lemma, (μ − σ²/2)T)
- 0.0300
- Drift alone (μT)
- 0.0500
- Mean log return (simulated)
- 0.0298
- Standard error 0.00038
- The extra term (σ²T/2)
- 0.0200
- Price when the log return equals its mean
- 103.05
- Quadratic variation (8,192 intervals)
- 0.0390
- Limit of the quadratic variation (σ²T)
- 0.0400
- Sum of squared increments of the drift part (8,192 intervals)
- 1.10e-7
- 4.50e-4 with 2 intervals; it falls in inverse proportion to the number of intervals.
- ∫W dW, left-endpoint sum (8,192 intervals)
- 0.1579
- Itô's value W_T²/2 − T/2
- 0.1453
- Ordinary calculus value W_T²/2
- 0.6453
Simplifications
- The price follows a geometric Brownian motion, stepped as S ← S + μSΔt + σSΔW at a fixed step (the Euler method). As the step shrinks, the mean log return approaches (μ − σ²/2)T, not μT.
- There are 1,000 paths, counted as pairs of Z and −Z (antithetic variates), and the random numbers are pseudo-random with a fixed seed (the same input always gives the same result). The standard error is computed from 500 pairs.
- The quadratic-variation chart groups the increments of one Brownian path (8,192 increments) into a power-of-two number of intervals. The path is fixed, so σ, μ and T reuse the same random sequence. The three ∫W dW rows in the results do not depend on σ or μ; they depend only on T and this fixed path.
- The drift part in the results is the sum of squares when the drift (μ − σ²/2)T of ln S is split evenly into intervals. Like any smooth function, it falls toward 0 in proportion to 1/n.
- The upper limit of 50% for σ and at least 12 steps per year keep the per-step growth factor of the Euler method positive.
This simulator uses simplified calculations for learning. It cannot be used for valuing actual transactions or managing their risk. (Disclaimer)
About this simulator
Move σ, μ, the horizon, and the time step to see where the extra term of Ito's lemma appears. The initial values are the same as in the worked example above. For the expected price, compare the closed form with the simulated mean. For the mean log return, see how it differs from the drift-only value. For the sum of squared increments, see how it moves as the interval is divided more finely. The last three rows of the results are the ∫W dW example above, showing how the left-endpoint sum differs from the ordinary calculus value.
An entry point to the Black-Scholes equation
The option price is a function of the underlying price and time , so Ito's lemma can describe its movement. When follows geometric Brownian motion and the interest rate is constant, the result is as follows6.
Next, consider a portfolio of units of cash (the value of cash grows as ) and units of the underlying, with no money added or withdrawn along the way. Choose and so that this portfolio replicates the movement of the option. Set the initial value and equate the terms and the terms of the two equations so that . The movement of the portfolio value is as follows6.
Equating the terms gives . Equating the terms gives .
Now substitute and rearrange. Since , the portfolio value equals , so . Putting this into the equation for the terms gives , and rearranging gives the following Black-Scholes partial differential equation7.
To solve the equation you need boundary conditions such as the condition at maturity ( for a call)7. The solution formula and its use are covered on The Black-Scholes Model page.
This equation does not contain . Setting gives the same equation, which is why the method came to be called risk-neutral valuation7.
There are two simple solutions you can check by hand8. One is (the underlying itself). Putting , , and into the equation gives . The other is (the value of a promise to receive with certainty at maturity). Since , the result is . Both are values that can be built from cash and the underlying alone, and both satisfy the equation.
Assumptions and limitations
Ito's lemma assumes that the function is smooth and that the process follows a stochastic differential equation of the form above1. The convention for calculus is also not unique. Another integral can be defined with a term different from Ito's (). The Ito integral matches the premise that the future cannot be seen, and the source calls it a natural way to bring in time9. When you read a source that uses another convention, check the sign of the correction term and the definition of the integral.
The Black-Scholes partial differential equation was derived assuming geometric Brownian motion with constant volatility and a portfolio, with no money added or withdrawn, that can be rebalanced continuously. In real markets these assumptions do not hold. The fact that volatility differs by strike is one example.
What this article does not cover
The rigorous definition of the Ito integral (the limit of sums built from the value at the left end of each subinterval), the exact conditions on functions for which Ito's lemma holds, multiple variables, and processes whose paths are not continuous are not covered on this page.
Notes
-
Massachusetts Institute of Technology, "Lecture 18: Itō Calculus" (18.S096, Fall 2013), section 1 (pages 1–3), equation (1.2), Theorem 1.1 with its proof, and Example 1.3 (ii). The source's is replaced with . ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7
-
Same, Definition 1.2 and Example 1.3 (i) (pages 2–3). The integral form () is notation written from this definition. ↩ ↩2
-
Same, section 2 (pages 4–5), Definition 2.1, Theorem 2.3, Example 2.4, and Theorem 2.5. The variance 0.04 is the calculation on the right-hand side of the isometry. ↩ ↩2 ↩3 ↩4 ↩5
-
Massachusetts Institute of Technology, "Lecture 17: Stochastic Processes II" (18.S096, Fall 2013), Theorem 2.5 (page 4) and the paragraph after it (page 5). The values in the table are hand calculations for a random walk with increments of and for . ↩ ↩2
-
A calculation that puts and similar values into the formula of Theorem 1.1 of the source (Lecture 18, page 2). The values in the table are and multiplied by 100 and rounded to two decimal places. ↩
-
Martin Haugh, "Black-Scholes and the Volatility Surface" (Columbia University, Fall 2013), section 1 (page 1), equations (1)–(5). The source covers a call on a stock paying no dividends, and writes the portfolio value as . ↩ ↩2
-
Same, "Black-Scholes and the Volatility Surface", section 1 (page 2), equations (6)–(8) and the paragraphs that follow. The boundary condition for a call, and the fact that the same equation results when , are also there. ↩ ↩2 ↩3
-
A calculation that puts and into equation (8) of the source (Haugh, page 2). For the latter, the partial derivative with respect to is . ↩
-
Massachusetts Institute of Technology, "Lecture 18: Itō Calculus", the Remark after Example 1.3 (pages 3–4). The example of another convention is . ↩