Black–Scholes PDE Explained with Worked Examples

The value of a derivative on a stock obeys , where is the risk-free rate and the volatility.

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

  • partial derivatives
  • the risk-free rate r and volatility σ
  • the idea of a derivative (option) price

What Black–Scholes PDE means

The equation comes from applying Itô's lemma to when follows geometric Brownian motion, then holding a hedge of shares so that the randomness cancels. A riskless portfolio must earn the rate , which gives the equation. The drift of the stock does not appear, only and .

Simple solutions test the equation. (owning the stock): , , so the left side is . A riskless bond has , and . Also is a solution: at , , , it equals . The closed-form call price is in the Black–Scholes call price.

With the change of variables , the equation becomes the heat equation (the heat equation, Fokker–Planck), and the solution as an expectation is the Feynman–Kac formula, which leads to risk-neutral pricing. The sensitivities , are in delta, gamma and vega.

What is it used for?

The equation says how an option value changes with time and stock price once risk is hedged away.

How to use black–scholes pde

  1. Write as a function of and .
  2. Compute , and .
  3. Substitute into .
  4. If the result is 0 for all , is a solution.

Graph

A solution V = S² e^0.09 of the equation, with the value at S = 10S = 10: 109.42024681012020406080100120140160A solution V = S² e^0.09 of the equation, with the value at S = 10SVV(S) = S² e^0.09Graph with x from 0 to 12 and y from 0 to 160. Shows the curve V(S) = S² e^0.09; point S = 10: 109.42 at (10, 109.42).

The value grows with the square of the stock price for this solution.

Worked examples

These examples are worked by hand, step by step, so you can compare your own working.

Example 1: V = S

Check that satisfies the equation at , .

Worked example
Answer
00
  1. Derivatives
  2. Left side

Example 2: a bond

Check that satisfies it with , .

Worked example
Answer
00
  1. V_t
  2. Left side

Example 3: V = S² e^((r+σ²)(T−t))

Evaluate this solution at , , , .

Worked example
Answer
109.42109.42
  1. Formula

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

V = S

∂V/∂t = 0, V_S = 1, V_SS = 0

Left side: rS − rS = 0.

A bond

V = e^(−r(T−t)): ∂V/∂t = rV

Left side: rV − rV = 0.

The equation

V_t + ½σ²S²V_SS + rSV_S − rV = 0

The Black–Scholes PDE.

V = S²

V_t = 0, V_S = 2S, V_SS = 2: needs time dependence

σ²S² + 2rS² − rS² is not zero without a time factor.

Word problems

A derivative price V(S, t) satisfies ∂V/∂t + ½σ²S² ∂²V/∂S² + rS ∂V/∂S − rV = 0. Test a candidate by substituting its derivatives.

V = S

Show V = S satisfies the equation (r = 0.05, S = 100).

  1. DerivativesV_t = 0, V_S = 1, V_SS = 0
  2. Substitute0 + 0 + rS − rS
  3. Check: 5 − 5 = 0 ✓It satisfies it.

A bond Higher

Show V = e^(−r(T−t)) satisfies the equation.

  1. V_trV
  2. V_S, V_SS0
  3. SubstituterV − rV = 0
  4. Check: ✓It satisfies it.

Test V = S² Higher

Substitute V = S² at S = 100 with σ = 0.2, r = 0.05.

  1. Terms½σ²S²·2 + rS·2S − rS²
  2. Value400 + 1000 − 500
  3. Check: 900 ≠ 0, so V = S² alone fails ✓Not a solution.

Units Higher

What are the units of the term rV?

  1. rper year
  2. Vcurrency
  3. Check: currency per year ✓Currency per year.

Common mistakes

Forgetting the −rV term

V_t + … = 0 without −rV ✗

include −rV ✓

It is the discounting term.

Using σ instead of σ²

½σS²V_SS ✗

½σ²S²V_SS ✓

Variance enters.

Mixing S and V derivatives

V_SS means ∂V/∂S twice ✗

second derivative in S ✓

Check the order.

Treating r as volatility

r = σ ✗

different parameters ✓

r is the interest rate.

Exam tips

  1. Substitute V, V_t, V_S, V_SS.
  2. Check units.
  3. σ² enters.
  4. −rV is discounting.
  5. Boundary conditions pick the solution.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. r = 0.04, S = 50, V = S: evaluate rSV_S − rV Foundation

0

2. r = 0.05, V = 10: find rV Foundation

0.5

3. σ = 0.3, S = 10, V_SS = 2: find ½σ²S²V_SS Foundation

9

4. r = 0.05, S = 100, V_S = 0.6368: find rSV_S Higher

3.184

5. σ = 0.2, S = 100, V_SS = 0.018762: find ½σ²S²V_SS Higher

3.7524

6. V = 10.45, r = 0.05: find rV Higher

0.5225

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Black–Scholes PDE
The pricing equation for options.
Volatility (σ)
Standard deviation of returns.
Risk-free rate (r)
Interest on a safe asset.
Delta
∂V/∂S.
Gamma
∂²V/∂S².
Theta
∂V/∂t.

Frequently asked questions

What is the Black–Scholes PDE?

V_t + ½σ²S²V_SS + rSV_S − rV = 0.

What does it assume?

No arbitrage and geometric Brownian motion.

Does V = S satisfy it?

Yes.

What picks the solution?

The payoff at maturity.

Which page gives the call price?

Black–Scholes call price.

Which page covers the Greeks?

delta, gamma and vega.

More in Advanced statistics and stochastic processes and the formula sheets.