© 2026 NeckPinch · www.neckpinch.com · All rights reserved.
Course 6Book 6D: Diffusions, Finance and ComputationChapter 3
Stochastic Differential Equations and Feynman–Kac
Existence and uniqueness, generators, the Kolmogorov equations, Fokker–Planck and Feynman–Kac.
Read with Øksendal, Stochastic Differential Equations, chapters 5 (existence and uniqueness), 7 (diffusions: the Markov property, the generator and Dynkin's formula) and 8 (Kolmogorov's backward equation and the Feynman–Kac formula); Shreve, Stochastic Calculus for Finance II, chapter 6 (connections with partial differential equations); and Taylor II, chapter 11 (the Feynman–Kac formula and diffusions with drift). This chapter proves existence and uniqueness for Lipschitz SDEs by Picard iteration, Dynkin's formula, the Feynman–Kac representation for classical solutions, the Fokker–Planck equation for smooth densities, and the explicit solution of the Ornstein–Uhlenbeck equation; the Markov property and the regularity of are stated.
A stochastic differential equation
describes a system that moves with velocity and is kicked by noise of size . It is an ODE with a random forcing, made rigorous by Itô's integral (6D.2 Martingales and the Itô Integral): it means . Its solutions, diffusions, model particles in fluids, interest rates, populations, neurons, and the noise schedules of generative AI.
The central fact of this chapter is that diffusions and second-order parabolic PDE are two descriptions of the same thing. To the SDE belongs the generator
and expectations of functions of the solution satisfy the backward Kolmogorov equation , while the probability density of the solution satisfies the forward or Fokker–Planck equation , with the adjoint operator. With a killing rate or discount , the expectation solves : the Feynman–Kac formula. That formula is how option prices are computed (6D.6 Black–Scholes), and it is the probabilistic meaning of every linear parabolic equation in this course.
By the end of this chapter you will be able to:
- prove existence and uniqueness for SDEs with Lipschitz coefficients by Picard iteration, and recognise non-uniqueness when the coefficients are not Lipschitz;
- compute the generator of a diffusion and use Dynkin's formula to find exit probabilities and expected exit times;
- prove the Feynman–Kac formula for classical solutions of ;
- derive the Fokker–Planck equation, and find stationary distributions;
- solve the Ornstein–Uhlenbeck equation explicitly, and show that the Gibbs measure is stationary for Langevin dynamics.
Running the noise backwards
Many modern image generators are built on stochastic differential equations. The idea, developed by Jascha Sohl-Dickstein and collaborators (2015), Jonathan Ho, Ajay Jain and Pieter Abbeel (2020), and Yang Song and collaborators (2021), is to take a data distribution (say, of photographs, as vectors of pixel values) and destroy it slowly with noise by running an Ornstein–Uhlenbeck process . As grows, the law of approaches a standard Gaussian, whatever was: the Fokker–Planck equation of this chapter has the Gaussian as its attracting stationary solution.
Then run time backwards. Brian Anderson showed in 1982 that the time-reversed process is again a diffusion, with drift corrected by the score :
with a Brownian motion in reversed time. A neural network is trained to approximate the score at every noise level, and new images are generated by sampling Gaussian noise and integrating the reverse SDE numerically (6D.10 Monte Carlo, Fourier and Finite Element Methods). The method rests on three results of this chapter: the solution theory for SDEs, the Fokker–Planck equation, and the explicit Gaussian structure of the Ornstein–Uhlenbeck process (Exercise 3.10). 6D.4 Fokker–Planck, Time Reversal and Diffusion Models proves the time-reversal formula and explains how the score is learned.
Existence and uniqueness
We work in with an -dimensional Brownian motion and coefficients , , satisfying the Lipschitz condition
which implies linear growth: . (Time-dependent coefficients , are handled identically.)
For every and , there is a continuous adapted process on with solving
Any two such solutions agree for all , almost surely.
Proof. Two inequalities. For adapted , and , by Cauchy–Schwarz, and by Doob's inequality with the Itô isometry (6D.2 Martingales and the Itô Integral),
Picard iteration. Let and
Each is continuous and adapted (by induction, using 6D.2 Martingales and the Itô Integral). Let . Using , the two inequalities and the Lipschitz condition,
with . And for , by linear growth. By induction, .
Convergence. By Chebyshev, , which is summable. By Borel–Cantelli, almost surely for large , so converges uniformly on to a continuous adapted process . Since , the convergence also holds in the norm , and inherits the bound . Passing to the limit in the recursion (the Lipschitz condition and the two inequalities give convergence of both integrals in ) shows that solves the equation.
Uniqueness. If and are solutions, is bounded and, by the same estimates, . By Gronwall's inequality (Exercise 3.7), . So almost surely for each , hence for all rational simultaneously, hence for all by continuity.
The proof is the Picard–Lindelöf proof for ODEs (2B.9 The Inverse and Implicit Function Theorems) with the Itô isometry in place of the sup-norm estimate for an integral. As for ODEs, without the Lipschitz condition uniqueness can fail (Exercise 3.8), and without linear growth solutions can explode in finite time. Noise can also restore uniqueness: for with merely bounded and measurable, Alexander Veretennikov proved in 1981 that the solution is unique, although the ODE may have many solutions.
The Markov property (statement; Øksendal, section 7.1). The solution started at , observed from time on, is the solution started at driven by the increments of after , which are independent of . Hence for bounded ,
and the same holds at stopping times (the strong Markov property).
The generator and Dynkin's formula
For , Itô's formula (6D.2 Martingales and the Itô Integral) applied to , with , gives
The operator is the generator of the diffusion. For Brownian motion it is ; for in one dimension it is . It is elliptic (possibly degenerate, since ), and every operator with smooth arises this way (take ).
Let , or with confined to a compact set up to time , and a stopping time with . Then
Proof. By Itô's formula, . The integrand is bounded (it involves and on a compact set), so the right side is a stochastic integral of a bounded process up to a bounded time, and has expectation zero. Now let : boundedly, and , which is integrable, so dominated convergence applies.
Dynkin's formula turns questions about diffusions into boundary value problems. If in a bounded domain with on (and the exit time has finite mean), then : Kakutani's theorem of 6D.1 Brownian Motion for general diffusions. If in with on , then . For example, Brownian motion with drift on an interval has exit probabilities given by the solutions of (Exercise 3.9).
The backward equation and Feynman–Kac
Let , be Lipschitz, bounded, continuous and bounded below, and suppose with and bounded solves the terminal value problem
Then, with the solution of the SDE started at at time ,
Proof. Fix , run for from , and let , so (an ordinary derivative: has finite variation). By Itô's formula for and the product rule (the cross term vanishes because has no part),
The integrand is bounded (, and , are bounded), so integrating from to and taking expectations gives . Let : by continuity of up to and bounded convergence, .
Three remarks. Uniqueness: the theorem shows that a bounded classical solution with bounded gradient is determined by , a probabilistic uniqueness proof like 6A.3 The Heat Equation on ℝⁿ's maximum principle. Existence: conversely, if the coefficients and are smooth with bounded derivatives, the expectation is and solves the equation (statement; Øksendal, Theorem 8.2.1, and Friedman's books), so the formula constructs solutions; this is how Monte Carlo methods solve PDE (6D.10 Monte Carlo, Fourier and Finite Element Methods). Forward form: with , the problem becomes the initial value problem , , and ; for this is the backward Kolmogorov equation , and for Brownian motion it is the heat equation of 6A.3 The Heat Equation on ℝⁿ.
The formula is named after Richard Feynman, whose 1948 path-integral formulation of quantum mechanics expresses the Schrödinger propagator as an "integral over paths" weighted by , and Mark Kac, who in 1949 saw that in imaginary time the path integral becomes a genuine integral over Brownian paths: the solution of is . The potential acts as a killing rate: paths that spend time where is large are discounted. In finance is the interest rate and the formula says that the value of a contract is the discounted expected payoff.
The forward equation
If (started at ) has a smooth density , then for , Dynkin's formula at the fixed time gives , that is,
integrating by parts twice, where
is the formal adjoint. Since is arbitrary:
If the law of has a density that is for , then , with as . A probability density with is a stationary density: if then for all .
The two Kolmogorov equations are dual. The backward equation evolves observables (, a function of the starting point), the forward equation evolves densities (, a function of the endpoint), and pairs them. Adriaan Fokker (1914) and Max Planck (1917) wrote the forward equation for physical diffusions, and Andrei Kolmogorov (1931) gave both equations their general form, before stochastic integrals existed.
For a potential on , the overdamped Langevin equation
has generator and adjoint . For (assuming ), , so : the Gibbs measure is stationary. A particle in a potential landscape, buffeted by thermal noise, spends time in each region in proportion to . Run backwards, this is an algorithm: to sample from a distribution with density proportional to , simulate the Langevin equation for a long time (Langevin Monte Carlo, used throughout Bayesian statistics). How fast the law converges to is governed by the logarithmic Sobolev inequality of 6A.12 Entropy, Information and Diffusion, which holds with constant when (Bakry–Émery).
The Ornstein–Uhlenbeck process
For , , the solution of , , is
It is Gaussian with mean and variance . As its law converges to , the unique stationary distribution.
Proof. By the product rule, , so . The stochastic integral of a deterministic function is Gaussian (an limit of Gaussian sums), with mean zero and, by the Itô isometry, variance . The limit as is immediate, and stationarity of is checked in Exercise 3.10.
Leonard Ornstein and George Uhlenbeck introduced the process in 1930 to model the velocity of a Brownian particle, subject to friction () and random molecular kicks. In finance, Oldřich Vašíček used it in 1977 to model short-term interest rates, which are pulled back towards a long-run level (mean reversion): . Its Fokker–Planck equation, , is the equation whose Gaussian ground state was used in 6A.12 Entropy, Information and Diffusion.
Perelman's conjugate heat equation , along a Ricci flow run backwards in time, is the Fokker–Planck equation dual to the heat equation on the evolving manifold (Exercise 3.13): the scalar curvature term appears because the volume form itself changes, . Its fundamental solution is the object whose logarithm defines the in Perelman's -entropy (12A.3 The 𝓦-Entropy), and its asymptotics are governed by the reduced distance, the Ricci flow analogue of the Gaussian exponent (12A.5 Reduced Distance and Reduced Volume, 6D.1 Brownian Motion). Feynman–Kac with potential gives the conjugate heat kernel a path-integral meaning that Perelman used as heuristic guidance.
History
Andrei Kolmogorov derived the backward and forward equations for Markov processes in 1931. Kiyosi Itô's stochastic integral (1944) made it possible to construct diffusions path by path as solutions of SDEs, and Itô proved the existence and uniqueness theorem under Lipschitz conditions in the 1940s and early 1950s. Kac proved his formula in 1949, inspired by Feynman's path integrals (1948). Eugene Dynkin developed the theory of generators of Markov processes in the 1950s and 1960s. The Ornstein–Uhlenbeck process dates from 1930 and Vašíček's model from 1977.
SDEs with Lipschitz coefficients have unique continuous solutions, constructed by Picard iteration with the Itô isometry, Doob's inequality and Gronwall; non-Lipschitz coefficients can give several solutions. The generator is with , and Dynkin's formula turns exit problems into boundary value problems. Feynman–Kac: a bounded classical solution of , is ; for this is the backward Kolmogorov equation. Densities solve the Fokker–Planck equation ; the Gibbs measure is stationary for Langevin dynamics, and the Ornstein–Uhlenbeck process is Gaussian with stationary law . 6D.4 Fokker–Planck, Time Reversal and Diffusion Models follows the density further: how fast it reaches equilibrium, how to run a diffusion backwards with the score, and what this has to do with Perelman's entropy.
Exercises
Let be bounded and measurable on with . Show . (Iterate the inequality, or differentiate .) In particular gives .
Solution
Let . Then almost everywhere, so and , i.e. . Then .
Show that and both solve , . Which hypothesis of Theorem 3.1 fails? Find a one-parameter family of solutions.
Solution
. The coefficient is not Lipschitz at . For each , for and for is a solution.
For with and : (a) show that solves , , , and find . (b) A gambler with capital plays a game whose capital follows this process with (a slight disadvantage) and stops at or . Compare the chance of reaching with the fair case .
Solution
(a) Dynkin's formula with gives the boundary value problem. Solutions are ; the boundary values give . (b) With , : . A small drift against the gambler cuts the chance from to over this range: in the long run drift beats noise, because drift accumulates like and noise like .
(a) Verify that , the density of , satisfies . (b) Compute for the stationary process ( independent of ), and show it is .
Solution
(a) , so , and ; the sum is zero. (b) For , , and the integral is independent of . So .
With and constant , show directly that solves , , for bounded continuous . What is the financial meaning of ?
Solution
solves (6A.3 The Heat Equation on ℝⁿ, with in place of and the probabilists' normalisation). Then has . It is the present value of a payment due at time , when money earns interest at rate .
For , , use 6D.2 Martingales and the Itô Integral to show that , and compute and the median of .
Solution
, so is as stated. The median of is , and .
Let be a Ricci flow on a closed manifold, , so that (11A.2 How Curvature Evolves). (a) If solves the heat equation and solves the conjugate heat equation , show that is constant in . (b) Explain the analogy with the pairing of the backward and forward Kolmogorov equations: which equation plays the role of Fokker–Planck, and why does appear? (c) With , the conjugate heat equation is : a heat equation run backwards along the flow with potential , which by Feynman–Kac is a path integral with killing (or creation) rate . This is the equation Perelman's entropy is built on (12A.3 The 𝓦-Entropy).
Solution
(a) , integrating by parts on the closed manifold. (b) The heat equation evolves observables and the conjugate equation evolves densities with respect to the moving volume ; the pairing is conserved, as is for the Kolmogorov pair. The term compensates the shrinking of the volume form, so that evolves as a measure. (c) Then behaves like the law of a diffusion running backwards in time, which is why Perelman's reduced volume and entropy can be read as quantities about Brownian motion in space-time.
Free resources for this chapter
Chosen for what this chapter covers, and all free to read. Links checked Oct 20, 2026.
- Reference Stochastic differential equationWikipediaSDEs and their solutions.
- Reference Feynman–Kac formulaWikipediaExpectations over paths as solutions of parabolic PDEs.
- Reference Fokker–Planck equationWikipediaThe forward equation for densities.
- Reference Ornstein–Uhlenbeck processWikipediaThe mean-reverting Gaussian diffusion.
- Notes Lecture 21: Stochastic Differential EquationsMIT OpenCourseWare 18.S096 Topics in Mathematics with Applications in Finance (Fall 2013)SDEs with financial examples.
© 2026 NeckPinch (www.neckpinch.com). All content in the guidebook (text, mathematics, figures and exercises) is protected by copyright. All rights reserved. No part may be copied, republished or redistributed without written permission.