Chapter 11
Hard

Feynman–Kac and the Black-Scholes PDE

00 · Symbol Glossary

$V(t,S)$option value as a function of time and price

The no-arbitrage value of a derivative at time tt when the underlying is at level SS. Chapters 08–10 studied StS_t as a random process; this chapter studies VV, a deterministic function of the two variables (t,S)(t,S), which is the object a PDE can be written about.

$\dfrac{\partial V}{\partial t}$theta — time decay

The rate VV changes as calendar time passes with SS held fixed. Distinct from dVtdV_t, which also includes the randomness coming from StS_t moving — ∂V/∂t\partial V/\partial t is only the frozen-SS slice, exactly as in Chapter 15 of Calculus's partial-derivative convention.

$\dfrac{\partial V}{\partial S}$delta — hedge ratio

The sensitivity of VV to the underlying, holding tt fixed. This is the number of shares a hedger holds to offset the option's exposure to SS — Section 03 derives exactly why.

$\dfrac{\partial^2V}{\partial S^2}$gamma — convexity

The curvature of VV in SS. Chapter 06's Itô correction term contributes exactly this second derivative, multiplied by 12σ2S2\tfrac12\sigma^2S^2, whenever SS follows a diffusion.

$\Pi_t$hedged portfolio value

The value at time tt of a portfolio long the option and short Δ\Delta shares of the underlying: Πt=V(t,St)−ΔSt\Pi_t=V(t,S_t)-\Delta S_t. Section 03 builds this to remove randomness.


01 · PDE ↔ Expectation

Two ways to price a claim that pays a known function f(ST)f(S_T) at time TT: (a) solve a PDE for V(t,S)V(t,S) backward from the terminal condition V(T,S)=f(S)V(T,S)=f(S), or (b) compute today's price as a discounted expectation, V(t,S)=E[e−r(T−t)f(ST)∣St=S]V(t,S)=\mathbb{E}[e^{-r(T-t)}f(S_T)\mid S_t=S] under the risk-neutral measure of Chapter 10. These look like different mathematical objects — a PDE is a statement about derivatives of a deterministic function, an expectation is an integral against a probability distribution — yet Feynman–Kac says they are the same number, for the right pairing of PDE and diffusion.

The direction of time is worth pausing on. Chapters 05–09 built processes forward: start at t=0t=0, run the SDE, watch StS_t evolve. Pricing runs the other way: you know the payoff at the end, TT, and want the value today, t<Tt<T. Feynman–Kac is the bridge that lets a forward-in-time SDE answer a backward-in-time valuation question.

Example — the driftless, undiscounted case

Let u(t,x)u(t,x) solve the heat equation ∂u/∂t+12∂2u/∂x2=0\partial u/\partial t+\tfrac12\partial^2u/\partial x^2=0 with u(T,x)=f(x)u(T,x)=f(x). Feynman–Kac's simplest instance says u(t,x)=E[f(x+WT−t)]u(t,x)=\mathbb{E}[f(x+W_{T-t})] — the solution at (t,x)(t,x) is just the expected payoff after running a Brownian motion for the remaining time T−tT-t, starting at xx. Every ingredient of the full theorem below (drift, discounting) is an extra term layered on top of this one identity.


02 · The Feynman–Kac Formula

Definition — Feynman–Kac Theorem

Let XtX_t solve dXt=μ(t,Xt) dt+σ(t,Xt) dWtdX_t=\mu(t,X_t)\,dt+\sigma(t,X_t)\,dW_t, and suppose u(t,x)u(t,x) solves the PDE

∂u∂t+μ(t,x)∂u∂x+12σ(t,x)2∂2u∂x2−r u=0,u(T,x)=f(x)\frac{\partial u}{\partial t} + \mu(t,x)\frac{\partial u}{\partial x} + \frac12\sigma(t,x)^2\frac{\partial^2 u}{\partial x^2} - r\,u = 0, \qquad u(T,x)=f(x)

Then uu has the probabilistic representation

u(t,x)=E[e−r(T−t)f(XT) | Xt=x]u(t,x) = \mathbb{E}\left[e^{-r(T-t)}f(X_T)\ \middle|\ X_t=x\right]

Plain language: the PDE's first three terms are exactly Itô's lemma's drift-and-convexity correction (Chapter 06) applied to u(t,Xt)u(t,X_t), set to zero on average; the −ru-ru term accounts for discounting the payoff back to today. Solving the PDE and computing the expectation are two routes to the same uu — one is analysis, one is probability, and Feynman–Kac is the dictionary between them.

❌ Dropping (or duplicating) the discount term

Writing the PDE as ∂u/∂t+μux+12σ2uxx=0\partial u/\partial t+\mu u_x+\tfrac12\sigma^2u_{xx}=0 (no −ru-ru) while still discounting the payoff in the expectation, or the reverse — including −ru-ru in the PDE but computing u(t,x)=E[f(XT)]u(t,x)=\mathbb{E}[f(X_T)] with no discount factor.

Why it breaks: the −ru-ru term and the e−r(T−t)e^{-r(T-t)} factor are the same discounting, appearing once on each side of the correspondence. Feynman–Kac pairs a specific PDE with a specific expectation; changing one side without the matching change on the other breaks the identity.

Consequence: a PDE solved without −ru-ru gives the expected undiscounted payoff, not a price. Plugging that into a formula that also discounts double-counts nothing, or — worse — silently prices as if r=0r=0 while the market clearly has r≠0r\neq0.


03 · Replication: The Hedged Portfolio

Feynman–Kac says a PDE solution equals an expectation; it does not yet say that expectation is an enforceable price. That requires an argument that trading can replicate the payoff, so that any other price permits arbitrage. Build a portfolio long one option, short Δ\Delta shares:

Πt=V(t,St)−ΔSt\Pi_t = V(t,S_t) - \Delta S_t

If Δ\Delta can be chosen so that Πt\Pi_t's change over [t,t+dt][t,t+dt] has no dWtdW_t term, then Πt\Pi_t is momentarily riskless, and a riskless portfolio in a no-arbitrage market must earn exactly the risk-free rate rr. That single requirement — no free lunch — pins down VV completely, which is the content of the next section.

Self-financing, one instant at a time

"Hedged" here means locally riskless over the next instant dtdt, not riskless forever. Δ=∂V/∂S\Delta=\partial V/\partial S changes as StS_t and tt move, so the hedge must be rebalanced continuously — a self-financing, dynamically rebalanced replicating strategy, formalized in full in Chapter 13.

Practice — Why the hedge ratio, not some other number

Suppose a hedger used Δ=1\Delta=1 (short one share per option) regardless of SS or tt, instead of ∂V/∂S\partial V/\partial S. Explain, in terms of the dWtdW_t coefficient in dΠtd\Pi_t, why this portfolio is not riskless, and what would have to be true about VV for Δ=1\Delta=1 to accidentally work.


04 · Deriving the Black-Scholes PDE

Step-by-step — From Itô's lemma to the Black-Scholes PDE
1
Apply Itô's lemma (Chapter 06) to V(t,St)V(t,S_t) under GBM dSt=μSt dt+σSt dWtdS_t=\mu S_t\,dt+\sigma S_t\,dW_t: dV=(∂V∂t+μS∂V∂S+12σ2S2∂2V∂S2)dt+σS∂V∂S dWtdV = \left(\dfrac{\partial V}{\partial t}+\mu S\dfrac{\partial V}{\partial S}+\dfrac12\sigma^2S^2\dfrac{\partial^2V}{\partial S^2}\right)dt + \sigma S\dfrac{\partial V}{\partial S}\,dW_t.
2
Form the hedged portfolio Π=V−ΔS\Pi=V-\Delta S and choose Δ=∂V∂S\Delta=\dfrac{\partial V}{\partial S} so the dWtdW_t terms from dVdV and −Δ dSt-\Delta\,dS_t exactly cancel: dΠ=(∂V∂t+12σ2S2∂2V∂S2)dtd\Pi = \left(\dfrac{\partial V}{\partial t}+\dfrac12\sigma^2S^2\dfrac{\partial^2V}{\partial S^2}\right)dt.
3
Invoke no-arbitrage: a riskless portfolio earns the risk-free rate, so dΠ=rΠ dt=r(V−S∂V∂S)dtd\Pi = r\Pi\,dt = r\left(V-S\dfrac{\partial V}{\partial S}\right)dt.
4
Equate the two expressions for dΠd\Pi and cancel dtdt: ∂V∂t+12σ2S2∂2V∂S2=rV−rS∂V∂S\dfrac{\partial V}{\partial t}+\dfrac12\sigma^2S^2\dfrac{\partial^2V}{\partial S^2} = rV - rS\dfrac{\partial V}{\partial S}.
5
Rearrange into the standard form: ∂V∂t+rS∂V∂S+12σ2S2∂2V∂S2−rV=0\dfrac{\partial V}{\partial t} + rS\dfrac{\partial V}{\partial S} + \dfrac12\sigma^2S^2\dfrac{\partial^2V}{\partial S^2} - rV = 0 — the Black-Scholes PDE.

Notice what disappeared: μ\mu, the real-world drift, is nowhere in the final equation. It canceled in step 2 along with the dWtdW_t term, because the hedge that removes randomness removes the drift's partner risk premium along with it. The PDE only ever sees rr — which is exactly Chapter 10's Girsanov statement, arrived at here by a hedging argument instead of a measure change.


05 · Reading the PDE Term by Term

∂V∂t⏟time decay+rS∂V∂S⏟risk-neutral drift+12σ2S2∂2V∂S2⏟convexity / Itoˆ term−rV⏟discounting=0\underbrace{\frac{\partial V}{\partial t}}_{\text{time decay}} + \underbrace{rS\frac{\partial V}{\partial S}}_{\text{risk-neutral drift}} + \underbrace{\frac12\sigma^2S^2\frac{\partial^2V}{\partial S^2}}_{\text{convexity / Itô term}} - \underbrace{rV}_{\text{discounting}} = 0

∂V/∂t\partial V/\partial t is how value erodes or accrues purely from the passage of time, SS fixed. rS ∂V/∂SrS\,\partial V/\partial S is the drift contribution, but at the risk-free rate rr, not the stock's real expected return μ\mu — the PDE has already priced as if every asset drifted at rr, consistent with the risk-neutral measure of Chapter 10. 12σ2S2 ∂2V/∂S2\tfrac12\sigma^2S^2\,\partial^2V/\partial S^2 is the Itô correction (Chapter 06): it is present precisely because StS_t has nonzero quadratic variation, and it is the term that makes convex payoffs (like options) worth strictly more than their linear approximation suggests. −rV-rV discounts the value itself, since a claim worth VV today must earn rr like any riskless asset once perfectly hedged.

Same conclusion, two routes

Chapter 10 reached "replace μ\mu with rr" through a change of measure — reweight probabilities so the drift becomes rr, leaving σ\sigma untouched. This chapter reaches the identical replacement through hedging — build a riskless portfolio, and μ\mu cancels algebraically. Feynman–Kac is the formal statement that these two routes must agree.


06 · Exercises

EXERCISE 11.1

Set μ=0\mu=0, σ=0\sigma=0, f(x)=1f(x)=1 in the Feynman–Kac PDE, and check the constant function u(t,x)=e−r(T−t)u(t,x)=e^{-r(T-t)} satisfies both the PDE and the terminal condition.

With no drift or diffusion, the PDE reduces to ∂u/∂t−ru=0\partial u/\partial t - ru=0, u(T,x)=1u(T,x)=1. The function u(t,x)=e−r(T−t)u(t,x)=e^{-r(T-t)} has ∂u/∂t=re−r(T−t)=ru\partial u/\partial t = re^{-r(T-t)}=ru, so ∂u/∂t−ru=0\partial u/\partial t - ru=0 holds, and u(T,x)=e0=1u(T,x)=e^0=1 matches the terminal condition. This is just the price of a riskless zero-coupon bond, recovered as the degenerate case of Feynman–Kac with a deterministic Xt≡xX_t\equiv x.

Use Feynman–Kac to recover the price of a riskless bond paying 11 at TT: what PDE and expectation correspond to μ=σ=0\mu=\sigma=0, f(x)=1f(x)=1?

EXERCISE 11.2

Redo steps 1–2 of Section 04 but leave Δ\Delta general (not yet set to ∂V/∂S\partial V/\partial S), and look at the coefficient of dWtdW_t in dΠd\Pi.

dΠ=dV−Δ dStd\Pi = dV - \Delta\,dS_t has dWtdW_t-coefficient σS∂V∂S−ΔσS=σS(∂V∂S−Δ)\sigma S\dfrac{\partial V}{\partial S} - \Delta\sigma S = \sigma S\left(\dfrac{\partial V}{\partial S}-\Delta\right). This vanishes for every possible path only if Δ=∂V/∂S\Delta=\partial V/\partial S exactly — any other choice leaves a nonzero multiple of dWtdW_t, an unpredictable term that no amount of averaging removes from a single realized path.

Show directly that Δ=∂V/∂S\Delta=\partial V/\partial S is the only hedge ratio that eliminates the dWtdW_t term from dΠd\Pi.

EXERCISE 11.3

Compare the Black-Scholes PDE's convexity term for a claim with ∂2V/∂S2>0\partial^2V/\partial S^2>0 everywhere (a call) against one with ∂2V/∂S2=0\partial^2V/\partial S^2=0 (a forward contract, V=S−Ke−r(T−t)V=S-Ke^{-r(T-t)}).

For a forward, V=S−Ke−r(T−t)V=S-Ke^{-r(T-t)} has ∂V/∂S=1\partial V/\partial S=1 and ∂2V/∂S2=0\partial^2V/\partial S^2=0, so the convexity term vanishes and the PDE reduces to an ordinary linear discounting relation — no Itô correction needed because the payoff is linear in SS. A call's payoff max⁡(ST−K,0)\max(S_T-K,0) is convex, so ∂2V/∂S2>0\partial^2V/\partial S^2>0, and that term contributes strictly positive value beyond what a naive linear (forward-like) valuation would give — the source of an option's time value.

Explain why the convexity term 12σ2S2∂2V/∂S2\tfrac12\sigma^2S^2\partial^2V/\partial S^2 vanishes for a forward contract but not for a call option, and what that implies about each instrument's "time value."


07 · Chapter Summary

ConceptMeaning
Feynman–KacPDE with −ru-ru term ⇔\Leftrightarrow discounted expectation E[e−r(T−t)f(XT)]\mathbb{E}[e^{-r(T-t)}f(X_T)]
Hedged portfolioΠ=V−ΔS\Pi=V-\Delta S; riskless only when Δ=∂V/∂S\Delta=\partial V/\partial S
No-arbitrageriskless Π\Pi must earn exactly rr
Black-Scholes PDEVt+rSVS+12σ2S2VSS−rV=0V_t+rSV_S+\tfrac12\sigma^2S^2V_{SS}-rV=0
Missing ingredientμ\mu cancels — hedging reaches the same rr-only drift as Girsanov (Chapter 10)
Convexity termpresent whenever the payoff is nonlinear in SS

Next: Chapter 12 — The Black-Scholes Formula, Greeks, and Put-Call Parity, which solves this PDE explicitly for a call and a put.