Feynman-Kac Formula
Motivation: why this matters in quant finance
Option pricing has two faces. The probabilistic face says "discount the expected payoff under the right dynamics"; the analytic face says "solve a parabolic PDE with a terminal payoff." The Feynman-Kac formula is the theorem that makes those faces the same object.
then satisfies a PDE. In finance, this is why a Monte Carlo estimator and a finite-difference solver can agree: they are approximating the same conditional expectation from different sides.
The formula does not choose the pricing measure and does not prove absence of arbitrage. It starts after the diffusion dynamics and discounting convention have been specified, then turns the expectation into the corresponding differential equation.
The informal idea
Imagine holding a future payoff when the state process currently has value . If a dollar at time grows at instantaneous rate , then the payoff must be discounted back along the path. The value function is therefore
Formal definitions
Let solve the one-dimensional diffusion SDE
Let be an integrable payoff at time , and let be a discounting rate. Define
If is in and in , Lawler's Feynman-Kac theorem gives
for , with terminal condition
Equivalently, using the time- generator
the PDE is
Key properties
It turns a discounted expectation into a PDE
The discount rate appears as a killing term
In the generator form,
The term is exactly the mathematical trace of discounting. If , the equation reduces to the backward Kolmogorov equation for an undiscounted conditional expectation.
The terminal condition is the payoff
The martingale argument depends on Markov state sufficiency
Lawler uses that, given , the only relevant state information for predicting is . This is why the value can be written as rather than as a functional of the whole past path. Path-dependent payoffs require enlarging the state before this formula applies directly.
Smoothness is an assumption in the introductory theorem
Lawler explicitly assumes is in time and in space, and notes that the general regularity theory is beyond the book. Kinked payoffs such as calls are handled by approximation or viscosity/weak-solution theory in more advanced treatments.
Worked examples
Example 1: no discounting recovers the backward equation
Set and define
Feynman-Kac becomes
This is the backward Kolmogorov equation. Feynman-Kac is therefore not separate from generators; it is the discounted payoff version of the same operator calculus.
Example 2: Lawler's geometric Brownian motion call
Let
and let be a call payoff with strike . With constant discount rate ,
The generator is
so Feynman-Kac gives
Lawler notes that this is a version of the Black-Scholes PDE. In risk-neutral pricing, is replaced by , but that substitution comes from financial no-arbitrage reasoning, not from Feynman-Kac itself.
Example 3: deterministic discounting as a multiplier
If is deterministic, Lawler writes
where
Since satisfies , differentiating the product gives
This is the same PDE:
The example makes the discounting role transparent: it shifts the backward equation by a value-proportional term.
Common confusions and pitfalls
"Feynman-Kac proves the risk-neutral measure exists." No. It connects a specified diffusion expectation with a PDE. The risk-neutral measure comes from no-arbitrage and change-of-measure arguments such as Girsanov's theorem.
"The discount term has the wrong sign." In generator form the PDE is . Solving for moves the generator terms to the other side and writes there. Both forms are the same equation.
"Feynman-Kac applies to any path-dependent payoff as written." The formula uses a Markov state . For path-dependent products, the state must be enlarged to include the relevant running average, maximum, accrued integral, or barrier status.
"The PDE route avoids probabilistic assumptions." The PDE coefficients are exactly the diffusion coefficients. Changing , , or the measure changes the PDE.
"A kinked payoff violates the theorem, so option pricing fails." The introductory theorem assumes smoothness of , not necessarily smoothness of in the final applied solution. Advanced regularity theory or approximation justifies common payoff cases.
Where this goes next
- Black-Scholes PDE: applies Feynman-Kac to risk-neutral geometric Brownian motion.
- Girsanov's Theorem: supplies the drift change needed before the pricing expectation is risk-neutral.
- Infinitesimal Generators and Kolmogorov Equations: isolates the operator used in the PDE.
- Risk-Neutral Measure: explains the finance assumption behind the expectation measure.
- Local Martingales and Semimartingales: clarifies why the discounted value process must be a martingale, not merely formal notation.
References
- Lawler, G. F. (2023). Stochastic Calculus: An Introduction with Applications. Ch. 4 §4.3 (Feynman-Kac formula), with generator notation from Ch. 3 §3.5 (Diffusions).