The Feynman–Kac formula, named after Richard Feynman and Mark Kac, establishes a link between parabolic partial differential equations (PDEs) and stochastic processes. It offers a method of solving certain PDEs by simulating random paths of a stochastic process. Conversely, an important class of expectations of random processes can be computed by deterministic methods. Consider the PDE,
defined for all real and in the interval , subject to the terminal condition
where are known functions, is a parameter and is the unknown. Then the Feynman–Kac formula tells us that the solution can be written as an expectation:
where is an Itō process driven by the equation
with is a Wiener process (also called Brownian motion) and the initial condition for is . This expectation can then be approximated using Monte Carlo or quasi-Monte Carlo methods.
Contents |
NOTE: The proof presented below is essentially that of,[1] albeit with more detail. Let be the solution to above PDE. Applying Itō's lemma to the process one gets
Since , the third term is and can be dropped. Applying Itō's lemma once again to , it follows that
The first term contains, in parentheses, the above PDE and is therefore zero. What remains is
Integrating this equation from to , one concludes that
Upon taking expectations, conditioned on , and observing that the right side is an Itō integral, which has expectation zero, it follows that . The desired result is obtained by observing that
When originally published by Kac in 1949,[2] the Feynman–Kac formula was presented as a formula for determining the distribution of certain Wiener functionals. Suppose we wish to find the expected value of the function
in the case where is some realization of a diffusion process starting at . The Feynman–Kac formula says that this expectation is equivalent to the integral of a solution to a diffusion equation. Specifically, under the conditions that ,
where and
The Feynman–Kac formula can also be interpreted as a method for evaluating functional integrals of a certain form. If
where the integral is taken over all random walks, then
where is a solution to the parabolic partial differential equation
with initial condition .