The Feynman–Kac Theorem and the PDE Connection
How a conditional expectation solves a partial differential equation, and vice versa.
Leads to: 9.6 identifies this PDE as the Black–Scholes equation.
Learning Objectives
Click a status chip to cycle: Not started → In progress → Studied → Practiced → Needs review → Mastered.
- State the Feynman–Kac theorem linking a parabolic PDE to a conditional expectation.
- Derive the PDE by applying Itô to the candidate value function and setting the drift to zero.
- Interpret the discounting term as a killing rate in the expectation.
- Verify Feynman–Kac on the heat equation with a known Gaussian solution.
- Explain why the drift in the PDE is the risk-neutral drift, not the physical one.
Key Vocabulary
- Feynman–Kac
- The identity: the solution of a linear parabolic PDE equals an expectation over a diffusion path.
- Value function
- The function \(v(t,x)=\E[\text{payoff}\mid X_t=x]\) (possibly discounted) that solves the PDE.
- Terminal condition
- The payoff \(v(T,x)=h(x)\) that anchors the backward PDE at maturity.
- Killing / discount rate
- The \(-rv\) term; it discounts (or ‘kills’) value at rate \(r\) along the path.
- Infinitesimal generator
- The operator \(\mathcal{L}=a\partial_x+\tfrac12 b^2\partial_{xx}\) governing the diffusion's dynamics.
- Parabolic PDE
- A PDE of heat-equation type: first order in time, second order in space.
Intuition & Motivation
The theorem
Read it backward in time from the payoff \(h\) at \(T\). The operator \(\mathcal{L}v=a v_x+\tfrac12 b^2 v_{xx}\) is the generator of the diffusion; the \(-rv\) term does the discounting.
Predict the drift
- Solving the PDE forward in time. It is a terminal-value problem: integrate backward from \(v(T,\cdot)=h\).
- Dropping the \(-rv\) term - that omits discounting and misprices.
- Using the physical drift \(\mu\) in the PDE when pricing; it must be the risk-neutral drift \(r\).
- Forgetting \(v_t\); the value function depends on time-to-maturity, which is the whole dynamic.
- Memorize the pattern: martingale \(\Leftrightarrow\) zero Itô drift \(\Leftrightarrow\) PDE. It recurs throughout pricing.
- Feynman–Kac lets you price by Monte Carlo (average paths) OR by PDE solvers - pick whichever is cheaper for the problem.
- The generator \(\mathcal{L}=a\partial_x+\tfrac12 b^2\partial_{xx}\) is worth recognizing on sight; Itô always produces it.
Knowledge Check
Practical Exercise
Let \(dX=\theta(m-X)dt+\sigma\,dW\) (an Ornstein–Uhlenbeck process) and \(v(t,x)=\E[X_T\mid X_t=x]\). (a) Write the Feynman–Kac PDE (here \(h(x)=x,\ r=0\)). (b) Guess \(v(t,x)=m+(x-m)e^{-\theta(T-t)}\) and verify it solves the PDE.
(a) \(v_t+\theta(m-x)v_x+\tfrac12\sigma^2 v_{xx}=0\), \(v(T,x)=x\).
(b) With \(v=m+(x-m)e^{-\theta(T-t)}\): \(v_x=e^{-\theta(T-t)}\), \(v_{xx}=0\), \(v_t=-\theta(x-m)e^{-\theta(T-t)}\). Substitute: \(-\theta(x-m)e^{-\theta(T-t)}+\theta(m-x)e^{-\theta(T-t)}+0=0\) since \(\theta(m-x)=-\theta(x-m)\). And \(v(T,x)=m+(x-m)=x\). Verified; this is the mean-reversion formula.
Lesson Summary
Retrieval Practice
Close the lesson and answer from memory before checking. This is deliberate, effortful recall - the single highest-yield study action.
A: The solution of \(v_t+av_x+\tfrac12 b^2 v_{xx}-rv=0\) with terminal data \(h\) equals the discounted expectation \(\E[e^{-\int_t^T r}h(X_T)\mid X_t=x]\).
A: Apply Itô to the discounted value function; since it is a martingale its drift must vanish, and the zero-drift condition is exactly the PDE.
Completion Checklist
- I can explain the core ideas in my own words
- I worked the derivations/examples by hand
- I completed the interactive workbench(es)
- I passed the knowledge check
Source References
This lesson synthesizes and paraphrases concepts from the sources below. No copyrighted text, problem sets, or solutions are reproduced. Return to the originals for full depth.
- Stochastic Calculus for Finance II (Steven Shreve, 2004) foundational - Ch. 6 - Ch. 6: the Feynman–Kac theorem and the pricing PDE.
- Brownian Motion and Stochastic Calculus (Karatzas & Shreve, 2nd ed., GTM 113) foundational - Ch. 4-5 - Ch. 4–5: connections between SDEs, generators, and parabolic PDEs.