From PDE to Price: Solving Black-Scholes and Delta Hedging
Solve , go risk-neutral, then hedge with so .
5/15/2023
This is the capstone for the series: we turn the PDE into a price, swap to the risk-neutral lens, and sanity-check the hedge.
Attention Conservation Notice
Final post in the five-part series--math-heavy, implementation-light, complete derivation.
Recap (where we have been)
- We built Brownian motion as a random-walk limit: /brownian-motion-as-a-symmetric-random-walk-limit.
- We framed SDEs and argued for geometric Brownian motion (GBM): /stochastic-differential-equations-geometric-brownian-motion.
- We used Ito's Lemma to understand transforms of diffusions: /itos_lemma.
- We produced the Black-Scholes PDE by delta-hedging a small portfolio: /black-scholes-pde.
Today we close the loop: solve the PDE, hop into the risk-neutral world, write down the closed form, and tie it back to hedging.
The PDE we need to solve
For a European price with maturity and payoff , the Black-Scholes PDE (no dividends, constant ) is
We'll solve it two ways:
- transform to the heat equation (classical PDE route), and
- apply a change of measure (risk-neutral route / Feynman-Kac).
Same destination, two viewpoints. Two proofs keep us honest; they're the algebraic version of diversification.
Route A: Heat-equation transform (the classical solve)
Set time-to-maturity and work with the call where . Define the log-moneyness
and the re-scaled function
Choose to cancel the first-derivative and zero-order terms in the PDE. A standard calculation gives
With that choice, satisfies the heat equation
with terminal condition
The heat equation solution is a Gaussian convolution. Evaluate the convolution, undo the change of variables, and out drops the Black-Scholes formula:
where is the standard normal CDF. The put follows by put-call parity,
PDE intuition. The change of variables strips out drift and discounting so only diffusion remains in log-moneyness. It's the same bell curve from the random-walk limit humming in a new key.
Route B: Risk-neutral valuation (the probabilistic solve)
From post #2, under the physical measure ,
Define the market price of risk . Girsanov's theorem says the density process
tilts to a new measure so that
is a Brownian motion under . Under , the stock has drift :
Feynman-Kac then yields the valuation formula
For a European call, with under . Compute the expectation explicitly to recover the same .
Measure-change intuition. Risk premiums move from the drift into the measure. Pricing becomes "discount the payoff under a world where every asset earns ." In that world, volatility is the only knob the option cares about; vanishes like a stage prop.
Delta hedging, replication, and where the PDE came from
Reprising the portfolio from post #4, hold +1 option and shares with . Ito + the product rule give
The term vanishes by construction. No instantaneous risk no-arbitrage the PDE above. Solve the PDE and the delta that makes the hedge work is, mechanically,
In discrete time the hedge is imperfect. Over a small ,
where and . With continuous rebalancing and no costs this error vanishes; with discrete rebalancing and frictions it does not--which is where real trading lives.
Greeks at a glance (for intuition, not worship)
Let be the standard normal pdf.
- Delta. (call), (put). Sensitivity to spot. It is the replicating weight.
- Gamma. Curvature in spot; source of hedging error when you hedge discretely.
- Vega. Sensitivity to implied vol; symmetric for calls and puts.
- Theta. Time decay (typically negative).
- Rho. Sensitivity to rates (small unless long-dated).
Connection. . It's the PDE rearranged--the "theta-gamma-carry" identity traders scribble on whiteboards.
Interpretations worth keeping
- Replication. The option is the present value of a self-financing stock+cash strategy that reproduces the payoff. That's "no arbitrage" in plain clothes.
- Risk-neutrality. Prices are discounted -expectations. Pick the bank account as numeraire and everything earns on average; switch numeraires if a forward or bond makes life easier.
- Diffusion worldview. The heat-equation proof says Black-Scholes is a diffusion with Gaussian smoothing in log-space. That's why the log shows up in , and why the CLT from post #1 keeps humming in the background.
Extensions (the small print)
- Continuous dividends (or carry ). Replace with in drift terms and with in the formula: with using .
- Forwards as numeraire. Pricing in the forward measure makes moneyness central, with . It cleans up term-structure effects and generalizes well.
- Beyond GBM. Smiles and skews reveal that markets want stochastic/local volatility and jumps. Black-Scholes is the zeroth-order approximation around which we perturb and calibrate.
Extra notes
- Library of identities. With , and . Handy when massaging Greeks or parity.
- Feynman-Kac links the routes. The PDE solution and the -expectation are the same object; FK is the bridge between calculus and probability.
- On limitations. Continuous rebalancing, zero costs, constant , lognormal tails, complete markets. Realistic models relax at least one. More realism = more work, and usually better hedges.
- Series map. If you landed here first, start at /brownian-motion-as-a-symmetric-random-walk-limit, then /stochastic-differential-equations-geometric-brownian-motion and /itos_lemma; the PDE machinery lives in /black-scholes-pde.