Basic Prerequisites: Stochastic Calculus & Itô’s Lemma.


1. Intuition & Practical Objective

Two pictures produce the same price: the PDE picture (a parabolic partial differential equation with boundary conditions, solved analytically for European options) and the expectation picture (a discounted conditional expectation under the risk-neutral measure ). The Feynman–Kac theorem is the bridge that declares these two pictures identical. The practical objective: once you see the bridge, every option becomes the same kind of object - “integrate the payoff against a probability density under ” - and the PDE is just that integral written in differential form.

This page gives the full, honest derivation of the BSM PDE (delta-neutral replication) plus the risk-neutral/expectation derivation (Girsanov change of measure), and then shows they coincide via Feynman–Kac. This is the mathematical spine of the whole topic-folder.


2. Mathematical Ground Truth & Derivations

2.1 Route A - Delta-Neutral Replicating Portfolio (PDE)

Underlying follows GBM under physical measure :

Let be the derivative price. By Itô–Doeblin (Shreve II Thm 4.4.6; Hull eq. 14.12):

Form , the hedged portfolio. Substituting and choosing kills the term:

A riskless portfolio must earn the risk-free rate (Shreve II §4.5; Björk Prop 7.6 - “only one short rate on an arbitrage-free market”): . Equating and rearranging gives the BSM PDE:

Terminal & boundary conditions (Shreve II 4.5.14):

  • Terminal payoff: (call), (put).
  • Boundary: for a call (a worthless stock, worthless option).
  • Growth: as .

The drift is absent - volatility (not drift) is the pricing parameter (Shreve II §4.5).

2.2 Route B - Risk-Neutral Expectation (Girsanov / Martingale)

Shreve II Ch 5 and Björk Ch 7. Define the money-market account and the market price of risk . Girsanov’s theorem (Shreve II Thm 5.2.3) builds the equivalent measure via the Radon–Nikodym derivative

under which is a Brownian motion. Under the stock becomes

and the discounted stock is a -martingale. The risk-neutral pricing formula (Shreve II 5.2.30/31) is then

For constant and payoff , this expectation has a closed form - the BSM formula (next page). Crucially, the change of measure changes the mean rate () but not the volatility or the paths.

2.3 The Feynman–Kac Bridge (Björk Props 5.5/5.6; Shreve II §4.5)

Theorem. If solves the parabolic PDE

for the SDE , then

Applying it to the BSM PDE (, the -drift) says exactly: the PDE solution equals the discounted risk-neutral expectation of the payoff. The two routes in §2.1 and §2.2 are the same number by construction.


3. Computational Implementation - verifying the bridge by Monte Carlo

Direct proof of §2.3: simulate the risk-neutral dynamics (drift , not ) and compare the discounted average payoff to the closed-form BSM price. Stdlib only.

The MC expectation converges to the PDE solution - the Feynman–Kac bridge, verified numerically. (Remaining gap at is sampling error, exactly as Glasserman Ch 1 predicts.)


4. Failure Modes & First-Principles Breakdowns

  1. Girsanov requires an integrability condition. The theorem needs (equivalently a Novikov-type condition) for to be a genuine martingale - this was a flagged omission in early extractions (Shreve II 5.2.13). Without it the change of measure is formal only.
  2. Martingale Representation (MRT) needs the right filtration. Replicating an -claim requires to be generated by the Brownian motion (Shreve II Thm 5.3.1). Extra randomness (jumps, an untraded source) breaks completeness - the deep root of the failure modes in 05 · Failure Modes.
  3. The delta-neutral “riskless portfolio” is riskless only if rebalancing is continuous. The PDE is derived for . In discrete time there is hedging error proportional to gamma and squared returns - the gamma–theta residual (04 · Greeks).
  4. is not optional. Itô’s lemma uses ; forgetting the half-variance term breaks the martingale property and the pricing formula.

5. References

  • Shreve, Stochastic Calculus for Finance II
  • Björk, Arbitrage Theory in Continuous Time
  • Hull, Options, Futures, and Other Derivatives

6. Connected Graph Bridges