Learning Objectives
By the end of this section, you will be able to:
- Set up a delta-hedged portfolio of one option and shares of stock from scratch.
- Apply Itô's lemma to the option value and read off every term.
- Eliminate the stochastic term by choosing .
- Close the derivation with the no-arbitrage condition to obtain the Black-Scholes partial differential equation.
- Interpret each of the four terms physically and verify the result numerically by simulating a hedge.
The Question Black-Scholes Answers
Imagine you have just sold a one-year European call option on a stock currently trading at , struck at . In a year the buyer can demand a share from you for . If the stock has risen to , you lose . If it has fallen to , you keep the premium and owe nothing.
The question: what is a fair premium to charge today, so that — no matter what path the stock takes — you can guarantee you will not lose money?
Naively the answer should depend on the drift (will the stock go up?), on your risk appetite, and on the expected payoff. The 1973 result of Black, Scholes, and Merton is far more shocking: if you continuously rebalance a hedge of shares, all stochastic risk disappears, drift drops out entirely, and the fair price is the unique function solving one partial differential equation:
The drift is gone. The risk-free rate is the only growth term. Our job in this section is to derive that equation from first principles — every step, every Itô correction, every cancellation made visible.
Three Ingredients We Already Have
The derivation rests on three results we built in the previous sections. Keep them at hand — we will quote each one explicitly when we use it.
| Ingredient | What it says | From |
|---|---|---|
| GBM for the stock | §31.2 — Brownian motion · §31.3 — SDEs | |
| Itô's lemma | §31.3 — Itô calculus | |
| The Itô rule | §31.3 — quadratic variation |
The Hedging Trick — The Real Insight
Before the algebra, the story. A call option is risky because is risky. But the option value is a function of : if wiggles up by , the option wiggles up by approximately .
So: if you hold one option and shares of stock in opposite directions, the small wiggle in the option is cancelled by the equal-and-opposite wiggle in the stock. The portfolio is locally riskless.
That is the entire idea. Everything else — Itô, the PDE, even Nobel prizes — is bookkeeping to make this idea precise.
Let us watch this cancellation happen with our own eyes before we write the algebra. The simulator below sells one call, continuously rebalances a delta hedge, and plots the seller's P&L against the unhedged P&L on the same path.
The orange line is what happens if you collect the premium and do nothing: your terminal wealth depends entirely on where the stock ended up — pure gambling. The green line is the same trade with a continuously rebalanced -hedge: it hugs zero regardless of whether the path went up, down, or sideways. The hedge has converted randomness into determinism. That is what the Black-Scholes PDE encodes.
Step 1: Itô's Lemma on V(S,t)
Let be the price of the option as a function of the underlying stock price and time . We do not yet know what is — that is what we are trying to find. But it is at least a smooth function of two variables, and the stock follows . So Itô's lemma gives us:
Now substitute. First the easy piece — :
Plug that back into along with and collect terms:
Two parts. A drift piece (the -bracket) and a diffusion piece (the -term). The diffusion piece carries the Brownian risk — and it is exactly proportional to . That is our hook.
Step 2: Build the Hedged Portfolio
Define a portfolio with one option long and shares short:
We have not yet decided what is — we will choose it cleverly in one step. The change in value over an infinitesimal is:
Substitute from Step 1 and :
Group the and terms:
Look at the coefficient. It is . The drift appears only multiplied by the same factor . Both pieces of risky future are controlled by one knob: .
Step 3: Kill the dW Term
Choose to make the random part disappear. The only way:
With the factor , and both the term and the term vanish in one stroke:
Stop and read this. The portfolio has no — it is deterministic. It also has no — it does not matter whether the stock drifts up or down. Whatever the path, this hedged portfolio earns the same return over any short interval. That is what we hoped for from the analogy of the wobbly ladder, now expressed in algebra.
Use the interactive view below to watch this happen term by term. Move the hedge ratio away from and the red "RISK" bar — the coefficient — grows. Snap back to and it collapses to exactly zero.
Step 4: No-Arbitrage Closes the Loop
We now have a portfolio whose return over is guaranteed, no randomness. In financial markets, any guaranteed-return portfolio must earn exactly the risk-free rate — otherwise, you could borrow at , buy the portfolio, and pocket the difference forever (arbitrage). So:
Set our two expressions for equal and divide out the common :
Rearrange so the right-hand side is zero, and we are done.
The Black-Scholes PDE
A second-order linear parabolic PDE in two variables . Backward in time (we know the payoff at and solve toward ). The boundary/terminal conditions determine which contract it is:
| Contract | Terminal condition at t = T | Boundary at S = 0 |
|---|---|---|
| European call | ||
| European put | ||
| Cash-or-nothing call | ||
| Forward contract |
Reading the PDE Term by Term
Each of the four terms has a financial meaning. Read them out loud.
| Term | Greek name | What it represents |
|---|---|---|
| Theta (Θ) | Time decay. How much value the option loses per unit of time, all else equal. | |
| Gamma (Γ) × ½σ²S² | Convexity bonus. The hedger profits from realised volatility — proportional to gamma and the square of σS. | |
| Delta (Δ) × rS | Cost of carry on the stock position you hold to hedge. You borrow rS·dt every interval to finance the hedge. | |
| −rV (discounting) | Discounting the option's own value back at the risk-free rate. |
In words: The option loses time-value (theta) at exactly the rate at which it gains convexity from realised volatility (gamma), net of the carry on the hedge and the discounting on its own value. That sentence is the Black-Scholes PDE in English.
Look once more at the equation: . Notice what is not there:
- No . The actual drift of the stock is irrelevant. A bullish trader and a bearish trader must agree on the same fair price.
- No expected payoff. We never computed . The price is the deterministic cost of running a hedge, not a probability-weighted expectation.
- No risk preferences. There is no utility function, no risk aversion, no "market price of risk" here. Two investors who disagree on still agree on .
Worked Example: Hedging a One-Year Call
Time to do this by hand. We will price a one-year at-the-money call, set up the hedge, take one step forward, watch the cancellation, then verify our PDE term by term. Try each step yourself first; the full hand-worked solution is hidden in the box below.
Setup: . Take one step of size (about 2.5 trading days). Assume a Brownian increment .
▶ Show full hand-worked solution (8 steps)
Step 1 — Compute the BS quantities at t = 0
With ,
| Quantity | Formula | Value |
|---|---|---|
Step 2 — Set up the hedged portfolio
Sell one call, collect . Buy shares for . Net cash: (borrowed at rate r). Define the seller's position as (he is long stock and short option — equivalent to from the algebra above; signs don't change the conclusion).
Step 3 — Compute dS over one step
So . The drift contributes only ; the Brownian shock contributes . Randomness dominates, as expected.
Step 4 — Compute dV via Itô
First . Then
Theta at our state is (BS theta) (per year). So .
Step 5 — Compute dΠ for the unhedged seller
If we did not hedge, the seller's short-call P&L change would be approximately (he loses what the option gained). Plus interest on his cash of . Net: . A $0.80 loss on a $1.33 stock move — pure exposure to .
Step 6 — Compute dΠ for the delta-hedged seller
Now include the hedge: hold shares (long). Stock gain from hedge: . Interest on cash of . Plus option P&L of (from Step 4).
The risky $0.80 swing has collapsed to $0.003. That residue is the discretisation error from taking a finite step : it scales like . In the continuous-hedging limit it is exactly zero, which is precisely the BS PDE.
Step 7 — Verify the PDE numerically
Plug our numbers into the LHS of the PDE:
(would be exactly 0 if we used the exact BS theta; our rounded values produced a small residual)
Step 8 — Interpret the four terms
- : option bleeds 6.45/yr in time value.
- : gamma earns 4.78/yr from realised volatility — partial compensation for theta.
- : financing the long stock hedge costs 2.45/yr — but it shows up as a positive term in the PDE because we are summing the parts to zero.
- : discounting the option itself.
They sum to zero (modulo rounding). That is the PDE in action — balance of forces: theta is paid for by gamma plus carry plus discounting.
Code: Simulating the Hedged Portfolio
Algebra is one thing — but you should not believe the derivation until you have run it on a computer and watched the residual P&L distribution collapse. The script below simulates 2000 paths, rebalances daily, and prints the distribution of the seller's terminal P&L. Read each line; the explanation panel walks through the BS formula, the GBM step, the self-financing rebalance, and how to check the PDE numerically.
Run it. With you should see mean P&L within a few cents of zero and a standard deviation of order $0.15. Double and the std-dev roughly halves. The convergence rate is — the exact rate at which Itô's lemma promises continuous-time hedging is risk-free.
Common Confusions, Cleared Up
| What students often think | What is actually going on |
|---|---|
| " = expected discounted payoff under the real-world measure." | Wrong. V is the deterministic cost of running a continuous-time hedge. The 'real' probabilities never appear. (Under a special risk-neutral measure ℚ — discussed later — V IS an expectation, but with μ replaced by r.) |
| "The drift must matter — bull and bear markets price calls differently." | In Black-Scholes they don't. The hedge absorbs the drift entirely: every dt, you earn μS·V_S on stock and lose μS·V_S on the short option position. The μ exactly cancels. |
| "Why is there a second derivative? Surely a first derivative is enough to react to S." | Because realised volatility is a second-order effect: it is the variance of S, which is encoded in V_SS via Itô's lemma. Without volatility (σ=0) the PDE degenerates to V_t + rS V_S − rV = 0 — a simple ODE for a forward contract. |
| "The hedge has to be perfect — surely real markets are not continuous." | Correct concern. Discrete hedging leaves a residual std-dev of O(1/√N). Transaction costs make N=∞ impossible. Real desks accept a small variance and add a margin. The PDE is the idealised limit. |
| "Why is the PDE solved backward in time?" | Because we know the payoff at t=T (the contract spec) and we want the price today, t=0. We diffuse the terminal condition backward — exactly like solving the heat equation with a final temperature distribution. |
Summary
The whole derivation in one breath: write Itô on , build the portfolio to cancel the , observe that is now deterministic, demand it earn by no-arbitrage, equate coefficients — and out drops .
- Itô's lemma gives the chain rule for stochastic functions: the extra term is the source of everything new.
- The delta hedge simultaneously kills the noise and the drift . One coefficient, two cancellations.
- No-arbitrage () is the final ingredient — it converts "riskless" into "earns ".
- The PDE is universal: same equation, different terminal condition for each derivative.
- The four PDE terms have clean financial meaning: theta + gamma·½σ²S² + delta·rS − rV = 0. Theta is paid for by gamma and carry, net of discounting.
- Numerical simulation confirms it: hedged P&L collapses to zero as .
In the next section we will solve this PDE for a European call, recover the famous closed-form Black-Scholes formula, and meet the Greeks for the first time as honest derivatives of .