The Feynman-Kac Theorem
The bridge between PDEs and expectations, why the solution of a parabolic PDE equals a discounted expectation of a diffusion's terminal payoff, derived by making a discounted process a martingale, and why it makes the Black-Scholes PDE and the pricing integral the same thing.
Prerequisites: Itô's Lemma, Risk-Neutral Pricing
Feynman-Kac is the theorem that says two apparently different objects are the same: the solution of a certain partial differential equation, and the expected value of a payoff along a random path. It is the reason Black-Scholes can be derived either as a PDE (via delta-hedging) or as a discounted risk-neutral expectation, Feynman-Kac guarantees the two routes give the identical price. It is the formal dictionary between the analyst's world of PDEs and the probabilist's world of expectations, and it underlies every Monte-Carlo-versus-PDE choice a quant makes.
The statement
Let be a diffusion , and suppose solves the backward parabolic PDE
with terminal condition . Then has the probabilistic representation
The PDE and the expectation are two faces of the same function. The differential operator is the generator of the diffusion; the term is discounting; the terminal condition is the payoff.
Derivation: discount, then martingalize
The proof is a one-line application of Itô's lemma plus the observation that a driftless Itô process is a martingale. Define the discounted process
Apply Itô, treating the discount factor and as a product (the discount factor has finite variation, so no extra covariation term):
The entire drift is precisely the left side of the PDE, which is zero. So , a driftless process, hence (under integrability) a martingale. The martingale property then gives, using ,
Divide by the discount to time and set to recover the boxed formula. The PDE was exactly the condition that makes the discounted value a martingale, which is the same condition as no-arbitrage pricing.
Why the Black-Scholes PDE equals a discounted expectation
Specialize to the Black-Scholes setting: under the risk-neutral measure , the stock has generator with drift and diffusion , and constant discount . Feynman-Kac with , , says the solution of
is exactly
The delta-hedging derivation produces the PDE; Feynman-Kac converts it to the expectation, which the lognormal integral evaluates to . The two "derivations" of Black-Scholes are not independent results, Feynman-Kac is the theorem that makes them provably identical.
Both directions
The dictionary runs both ways, and quants exploit each:
- PDE expectation: when a diffusion is easy to simulate but the PDE is high-dimensional or the payoff is path-dependent, price by Monte Carlo of the expectation. This is why Feynman-Kac is the theoretical license for Monte Carlo pricing.
- Expectation PDE: when the state space is low-dimensional (one or two factors) and you want the whole solution surface, boundary behaviour, or early-exercise (American) features, solve the PDE by finite differences. The curse of dimensionality decides: PDEs win in 1–3 factors, Monte Carlo wins in high dimension.
Worked example
Price a claim paying (a "power" payoff) under with . Rather than solve the PDE, use the expectation side directly. Since ,
You can verify this solves the Black-Scholes PDE with terminal condition , the two agree, which is Feynman-Kac in action. Notice the price grows with : a convex payoff is long volatility, exactly as the PDE's term (with ) predicts.
What breaks in practice
- Regularity and growth conditions. The clean theorem needs Lipschitz and of controlled growth; kinked payoffs like are handled in the viscosity/weak sense, and blow-up payoffs can make the expectation infinite even when the PDE looks fine.
- Early exercise breaks the equivalence. American options are a free-boundary PDE (variational inequality), and the naive Feynman-Kac expectation must be replaced by an optimal-stopping representation, , the source of all the difficulty in American/Bermudan pricing.
- Jumps. With jumps the "PDE" becomes a partial integro-differential equation (PIDE) and the generator gains a non-local term; standard Feynman-Kac is for pure diffusions.
- Dimensionality. The theorem is exact in any dimension, but solving the PDE numerically suffers the curse of dimensionality above ~3–4 factors, forcing the Monte Carlo (expectation) route.
In interviews
State the correspondence: the solution of the discounted backward PDE with terminal equals the discounted expectation . The derivation they want is the martingale argument: apply Itô to the discounted , note the drift is the PDE and vanishes, so the process is a martingale, then take expectations. The payoff line: this is why the Black-Scholes PDE and the risk-neutral pricing integral are the same object, and why you can price either by finite-difference PDE or by Monte Carlo, the choice being dimensionality. A good closer is the American caveat: early exercise turns it into optimal stopping, which Feynman-Kac in its basic form does not cover.
Practice in interviews
Further reading
- Shreve, Stochastic Calculus for Finance II (Ch. 6)
- Øksendal, Stochastic Differential Equations (Ch. 8)
- Karatzas & Shreve, Brownian Motion and Stochastic Calculus