Quants who implement valuation models for options, and risk managers who check a model's assumptions, run into Ito's lemma. It comes up when they read the equations of a model and when they check where the valuation partial differential equation comes from.
Prerequisites
- Random Walks and Brownian Motion PractitionerTo check the definition of Brownian motion and the properties of its increments first.
- Probability and Statistics Basics IntroductoryTo check the definitions of expected value, variance, and the normal distribution first.
Key points
- A stochastic differential equation writes the movement of a value as a drift term plus a Brownian motion term.
- The square of a Brownian motion increment is replaced by time, and this produces the extra term.
- Applied to the logarithm of a stock price, it gives a drift of μ − σ²/2 and the geometric Brownian motion solution.
- Equating the replication conditions gives the Black-Scholes partial differential equation, which does not contain μ.
What Ito's lemma expresses
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 (written ) is not differentiable at any point. The quantity therefore does not exist, and the chain rule has no meaning1.
You might try writing instead, but that is not enough. The Taylor expansion of around is as follows.
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 such term remains1. For one variable, the simplest form of the result is as follows.
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 given by the ordinary rules of differentiation.
How Ito's lemma is derived
Writing a stochastic differential equation
A stochastic differential equation expresses the small change in a stochastic process as a term proportional to time plus a term proportional to the increment of Brownian motion. is called the drift, and is the coefficient of the term2.
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 (GBM) is the case and . Here is the volatility, and the equation is 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.
Properties of the Ito integral
The last term is the Ito integral. The Ito integral defines integration as the inverse of differentiation. is the increment of the process that satisfies . The process that satisfies is written as the sum of the integrals of and 2. The integrand (here ) must be adapted. Adapted means that its value at each time is determined only by the movement up to that time, which corresponds to not being able to 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 the expected value of the square of the integral equals the expected value of the integral of the squared integrand. denotes the expected value3.
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. 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. Divide the interval into equal parts and make the step finer, and the sum of the squared increments converges to with probability 14.
Here is the number of subintervals. 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 .
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
This extends the expansion in the first section to . 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 above, so they are omitted.
Squaring gives . By the multiplication rules above, 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. Terms of third order and higher are even smaller relative to the time step and are ignored1.
Worked examples: W squared and the logarithm of a stock price
The integral of W squared
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 property3.
The logarithm of a stock price and the GBM solution
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 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 | ||
| Quadratic variation of the logarithm |
The quadratic variation of the logarithm of the stock price converges to , the square of the coefficient multiplied by time.
How the results move when the input changes
Change only , to 30% and 50%, under the same conditions. The price after 1 year follows a lognormal distribution. Its median (the price below which half the probability lies) is , and its expected value is 5. The expected value is determined by and alone and does not depend on .
| Volatility σ | Drift of the logarithm | Median | Expected value | Limit of the quadratic variation of the logarithm |
|---|---|---|---|---|
| 20% | 0.03 | 103.05 | 105.13 | 0.04 |
| 30% | 0.005 | 100.50 | 105.13 | 0.09 |
| 50% | −0.075 | 92.77 | 105.13 | 0.25 |
The larger is, the lower the drift of the logarithm and the median. At , the drift of the logarithm is negative and the median falls below 100, so the price after 1 year is below the starting 100 with a probability of more than one half. The expected value is still 105.13, because large gains with small probabilities hold up the average6.
At , 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 the squared moves 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. (Terms of Use)
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 check the same relation as the ∫W dW example above, on a fixed path on screen (different from the W_T = 1.5 path above). They show how the sum of the products of the left-end W and the increment of each subinterval (the left-endpoint sum) differs from the ordinary calculus value.
An entry point to the Black-Scholes equation
The option price movement and the replication condition
Consider a call on a stock that pays no dividends. The call 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 follows7.
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. The movement of the portfolio value is as follows7.
Deriving the partial differential equation
For the portfolio's movement to equal the option's movement, equate the terms and the terms of the equations for and . The terms give , and the terms give . With the initial value , this makes .
Since , the portfolio value equals , so . Putting this into the equation for the terms gives . Rearranging gives the following Black-Scholes partial differential equation8.
To solve the equation you need boundary conditions, such as the condition at maturity ( for a call)8. The solution formula and its use are covered in The Black-Scholes Model.
This equation does not contain . Setting gives the same equation. The case is one in which investors do not demand an extra return for holding the stock, and this valuation came to be called risk-neutral valuation8.
There are two simple solutions you can check by hand9. 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 not unique. Another way of defining the integral has a term with the opposite sign to Ito's lemma (). The Ito integral matches the premise that the future cannot be seen10. Under this other convention, in the example above (, ) becomes 1.625 () instead of the Ito integral's 0.625. When you read a source that defines the integral differently, check the sign of the correction term and the definition of the integral.
The Black-Scholes partial differential equation assumes geometric Brownian motion with constant volatility and a constant interest rate. The portfolio of cash and the underlying replicates the option without money being added or withdrawn along the way7. If this assumption is right, the volatility implied by option prices is the same for every strike and maturity. In real markets it is not constant and varies with the strike and the maturity11.
Notes
-
Massachusetts Institute of Technology, "Lecture 18: Itō Calculus" (external site) (18.S096, Fall 2013; the "MIT Lecture 18"), 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
-
The MIT Lecture 18 (external site), Definition 1.2 and Example 1.3 (i) (pages 2–3). The integral form () is notation written from this definition. ↩ ↩2
-
The MIT Lecture 18 (external site), section 2 (pages 4–5), the theorem at its start, 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" (external site) (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 MIT Lecture 18 (external site) (page 2). The expected value is that of a lognormal distribution, and the values in the table are rounded to two decimal places. ↩ ↩2
-
A calculation of the values for and 50% from the equations above. The medians are and , rounded to two decimal places. ↩
-
Martin Haugh, "Black-Scholes and the Volatility Surface" (external site) (Columbia University, Fall 2013; "Haugh's lecture notes"), 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 ↩3
-
Haugh's lecture notes (external site), section 1 (page 2), equations (6)–(8) and the paragraph that follows. The boundary condition for a call, and the point that investors need not demand a premium for holding the stock when , are also there. ↩ ↩2 ↩3
-
A calculation that puts and into equation (8) of Haugh's lecture notes (external site) (page 2). For the latter, the partial derivative with respect to is . ↩
-
The MIT Lecture 18 (external site), the Remark after Example 1.3 (pages 3–4). The example of another convention is , and 1.625 is a value calculated from this equation. ↩
-
Haugh's lecture notes (external site), section 3 (page 4). If the Black-Scholes model were right, the volatility surface would be flat, but in practice it is not flat and varies with the strike and the maturity. ↩