Book 6D

© 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.

34 min read · Updated Oct 23, 2026

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 x↦Exg(Xt)x \mapsto \mathbb{E}_xg(X_t) are stated.

In this chapter · 8 sections
  1. 3.1Running the noise backwards
  2. 3.2Existence and uniqueness
  3. 3.3The generator and Dynkin's formula
  4. 3.4The backward equation and Feynman–Kac
  5. 3.5The forward equation
  6. 3.6The Ornstein–Uhlenbeck process
  7. 3.7History
  8. 3.8Exercises
  9. ↗Free resources

A stochastic differential equation

dXt=b(Xt) dt+σ(Xt) dBt,X0=x,dX_t = b(X_t)\,dt + \sigma(X_t)\,dB_t, \qquad X_0 = x,

describes a system that moves with velocity bb and is kicked by noise of size σ\sigma. It is an ODE with a random forcing, made rigorous by Itô's integral (6D.2 Martingales and the Itô Integral): it means Xt=x+∫0tb(Xs) ds+∫0tσ(Xs) dBsX_t = x + \int_0^tb(X_s)\,ds + \int_0^t\sigma(X_s)\,dB_s. 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

L=bi∂i+12aij∂ij,a=σσT,L = b^i\partial_i + \frac12a^{ij}\partial_{ij}, \qquad a = \sigma\sigma^T,

and expectations of functions of the solution satisfy the backward Kolmogorov equation ut=Luu_t = Lu, while the probability density of the solution satisfies the forward or Fokker–Planck equation pt=L∗pp_t = L^*p, with the adjoint operator. With a killing rate or discount r(x)r(x), the expectation E[e−∫rg(X)]\mathbb{E}\big[e^{-\int r}g(X)\big] solves ut=Lu−ruu_t = Lu - ru: 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 ∂tu+Lu−ru=0\partial_tu + Lu - ru = 0;
  • 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

In the world In use Diffusion models in generative AI

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 p0p_0 (say, of photographs, as vectors of pixel values) and destroy it slowly with noise by running an Ornstein–Uhlenbeck process dX=−12βX dt+β dBdX = -\frac12\beta X\,dt + \sqrt\beta\,dB. As tt grows, the law ptp_t of XtX_t approaches a standard Gaussian, whatever p0p_0 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 ∇log⁡pt\nabla\log p_t:

dX=(−12βX−β∇log⁡pt(X))dt+β dBˉdX = \Big(-\frac12\beta X - \beta\nabla\log p_t(X)\Big)dt + \sqrt\beta\,d\bar B

with Bˉ\bar B 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 Rn\mathbb{R}^n with an mm-dimensional Brownian motion BB and coefficients b:Rn→Rnb : \mathbb{R}^n \to \mathbb{R}^n, σ:Rn→Rn×m\sigma : \mathbb{R}^n \to \mathbb{R}^{n\times m}, satisfying the Lipschitz condition

∣b(x)−b(y)∣+∣σ(x)−σ(y)∣≤K∣x−y∣,|b(x) - b(y)| + |\sigma(x) - \sigma(y)| \leq K|x - y|,

which implies linear growth: ∣b(x)∣+∣σ(x)∣≤K′(1+∣x∣)|b(x)| + |\sigma(x)| \leq K'(1 + |x|). (Time-dependent coefficients b(t,x)b(t, x), σ(t,x)\sigma(t, x) are handled identically.)

Theorem 3.1 Existence and uniqueness for Lipschitz SDEs

For every x∈Rnx \in \mathbb{R}^n and T>0T > 0, there is a continuous adapted process XX on [0,T][0, T] with Esup⁡t≤T∣Xt∣2<∞\mathbb{E}\sup_{t\leq T}|X_t|^2 < \infty solving

Xt=x+∫0tb(Xs) ds+∫0tσ(Xs) dBs,0≤t≤T.X_t = x + \int_0^tb(X_s)\,ds + \int_0^t\sigma(X_s)\,dB_s, \qquad 0 \leq t \leq T.

Any two such solutions agree for all tt, almost surely.

Proof. Two inequalities. For adapted ff, gg and t≤Tt \leq T, by Cauchy–Schwarz, and by Doob's inequality with the Itô isometry (6D.2 Martingales and the Itô Integral),

Esup⁡s≤t∣∫0sf dr∣2≤t E∫0t∣f∣2 dr,Esup⁡s≤t∣∫0sg dB∣2≤4 E∫0t∣g∣2 dr.\mathbb{E}\sup_{s\leq t}\Big|\int_0^sf\,dr\Big|^2 \leq t\,\mathbb{E}\int_0^t|f|^2\,dr, \qquad \mathbb{E}\sup_{s\leq t}\Big|\int_0^sg\,dB\Big|^2 \leq 4\,\mathbb{E}\int_0^t|g|^2\,dr.

Picard iteration. Let Xt0=xX^0_t = x and

Xtk+1=x+∫0tb(Xsk) ds+∫0tσ(Xsk) dBs.X^{k+1}_t = x + \int_0^tb(X^k_s)\,ds + \int_0^t\sigma(X^k_s)\,dB_s.

Each XkX^k is continuous and adapted (by induction, using 6D.2 Martingales and the Itô Integral). Let Dk(t)=Esup⁡s≤t∣Xsk+1−Xsk∣2D_k(t) = \mathbb{E}\sup_{s\leq t}|X^{k+1}_s - X^k_s|^2. Using ∣p+q∣2≤2∣p∣2+2∣q∣2|p + q|^2 \leq 2|p|^2 + 2|q|^2, the two inequalities and the Lipschitz condition,

Dk(t)≤2tK2∫0tE∣Xrk−Xrk−1∣2 dr+8K2∫0tE∣Xrk−Xrk−1∣2 dr≤C∫0tDk−1(r) dr,D_k(t) \leq 2tK^2\int_0^t\mathbb{E}|X^k_r - X^{k-1}_r|^2\,dr + 8K^2\int_0^t\mathbb{E}|X^k_r - X^{k-1}_r|^2\,dr \leq C\int_0^tD_{k-1}(r)\,dr,

with C=2K2(T+4)C = 2K^2(T + 4). And D0(t)≤C0D_0(t) \leq C_0 for t≤Tt \leq T, by linear growth. By induction, Dk(t)≤C0(Ct)kk!D_k(t) \leq C_0\frac{(Ct)^k}{k!}.

Convergence. By Chebyshev, P(sup⁡t≤T∣Xtk+1−Xtk∣>2−k)≤4kC0(CT)kk!\mathbb{P}\big(\sup_{t\leq T}|X^{k+1}_t - X^k_t| > 2^{-k}\big) \leq 4^kC_0\frac{(CT)^k}{k!}, which is summable. By Borel–Cantelli, almost surely sup⁡t∣Xtk+1−Xtk∣≤2−k\sup_t|X^{k+1}_t - X^k_t| \leq 2^{-k} for large kk, so XkX^k converges uniformly on [0,T][0, T] to a continuous adapted process XX. Since ∑kDk(T)1/2<∞\sum_kD_k(T)^{1/2} < \infty, the convergence also holds in the norm (Esup⁡t≤T∣⋅∣2)1/2\big(\mathbb{E}\sup_{t\leq T}|\cdot|^2\big)^{1/2}, and XX inherits the bound Esup⁡∣Xt∣2<∞\mathbb{E}\sup|X_t|^2 < \infty. Passing to the limit in the recursion (the Lipschitz condition and the two inequalities give convergence of both integrals in L2L^2) shows that XX solves the equation.

Uniqueness. If XX and YY are solutions, f(t)=E∣Xt−Yt∣2f(t) = \mathbb{E}|X_t - Y_t|^2 is bounded and, by the same estimates, f(t)≤C∫0tf(r) drf(t) \leq C\int_0^tf(r)\,dr. By Gronwall's inequality (Exercise 3.7), f≡0f \equiv 0. So Xt=YtX_t = Y_t almost surely for each tt, hence for all rational tt simultaneously, hence for all tt 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 dX=b(X) dt+dBdX = b(X)\,dt + dB with bb merely bounded and measurable, Alexander Veretennikov proved in 1981 that the solution is unique, although the ODE x˙=b(x)\dot x = b(x) may have many solutions.

The Markov property (statement; Øksendal, section 7.1). The solution started at xx, observed from time ss on, is the solution started at XsX_s driven by the increments of BB after ss, which are independent of Fs\mathcal F_s. Hence for bounded gg,

E[g(Xs+t)∣Fs]=EXs[g(Xt)],\mathbb{E}\big[g(X_{s+t})\mid\mathcal F_s\big] = \mathbb{E}_{X_s}\big[g(X_t)\big],

and the same holds at stopping times (the strong Markov property).

The generator and Dynkin's formula

For f∈C2f \in C^2, Itô's formula (6D.2 Martingales and the Itô Integral) applied to f(Xt)f(X_t), with dXi dXj=aij(X) dtdX^i\,dX^j = a^{ij}(X)\,dt, gives

df(Xt)=Lf(Xt) dt+∂if(Xt) σαi(Xt) dBtα,L=bi∂i+12aij∂ij.df(X_t) = Lf(X_t)\,dt + \partial_if(X_t)\,\sigma^i_\alpha(X_t)\,dB^\alpha_t, \qquad L = b^i\partial_i + \frac12a^{ij}\partial_{ij}.

The operator LL is the generator of the diffusion. For Brownian motion it is 12Δ\frac12\Delta; for dX=μ dt+σ dBdX = \mu\,dt + \sigma\,dB in one dimension it is μddx+σ22d2dx2\mu\frac{d}{dx} + \frac{\sigma^2}{2}\frac{d^2}{dx^2}. It is elliptic (possibly degenerate, since a=σσT≥0a = \sigma\sigma^T \geq 0), and every operator bi∂i+12aij∂ijb^i\partial_i + \frac12a^{ij}\partial_{ij} with a≥0a \geq 0 smooth arises this way (take σ=a1/2\sigma = a^{1/2}).

Theorem 3.2 Dynkin's formula

Let f∈Cc2(Rn)f \in C^2_c(\mathbb{R}^n), or f∈C2f \in C^2 with XX confined to a compact set up to time τ\tau, and τ\tau a stopping time with Exτ<∞\mathbb{E}_x\tau < \infty. Then

Ex[f(Xτ)]=f(x)+Ex∫0τLf(Xs) ds.\mathbb{E}_x\big[f(X_\tau)\big] = f(x) + \mathbb{E}_x\int_0^\tau Lf(X_s)\,ds.

Proof. By Itô's formula, f(Xτ∧k)−f(x)−∫0τ∧kLf(Xs) ds=∫0τ∧k∂if σαi dBαf(X_{\tau\wedge k}) - f(x) - \int_0^{\tau\wedge k}Lf(X_s)\,ds = \int_0^{\tau\wedge k}\partial_if\,\sigma^i_\alpha\,dB^\alpha. The integrand is bounded (it involves ∇f\nabla f and σ\sigma 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 k→∞k \to \infty: f(Xτ∧k)→f(Xτ)f(X_{\tau\wedge k}) \to f(X_\tau) boundedly, and ∣∫0τ∧kLf∣≤∥Lf∥∞τ\big|\int_0^{\tau\wedge k}Lf\big| \leq \|Lf\|_\infty\tau, which is integrable, so dominated convergence applies.

Dynkin's formula turns questions about diffusions into boundary value problems. If Lu=0Lu = 0 in a bounded domain UU with u=gu = g on ∂U\partial U (and the exit time τ\tau has finite mean), then u(x)=Ex[g(Xτ)]u(x) = \mathbb{E}_x[g(X_\tau)]: Kakutani's theorem of 6D.1 Brownian Motion for general diffusions. If Lv=−1Lv = -1 in UU with v=0v = 0 on ∂U\partial U, then v(x)=Exτv(x) = \mathbb{E}_x\tau. For example, Brownian motion with drift μ\mu on an interval has exit probabilities given by the solutions A+Be−2μxA + Be^{-2\mu x} of μu′+12u′′=0\mu u' + \frac12u'' = 0 (Exercise 3.9).

The backward equation and Feynman–Kac

Theorem 3.3 The Feynman–Kac formula

Let bb, σ\sigma be Lipschitz, σ\sigma bounded, rr continuous and bounded below, and suppose u∈C1,2([0,T)×Rn)∩C([0,T]×Rn)u \in C^{1,2}([0, T)\times\mathbb{R}^n)\cap C([0, T]\times\mathbb{R}^n) with uu and ∇u\nabla u bounded solves the terminal value problem

∂tu+Lu−r(x)u=0  on [0,T)×Rn,u(T,x)=g(x).\partial_tu + Lu - r(x)u = 0 \ \text{ on } [0, T)\times\mathbb{R}^n, \qquad u(T, x) = g(x).

Then, with XX the solution of the SDE started at xx at time tt,

u(t,x)=E[e−∫tTr(Xs) ds g(XT) ∣ Xt=x].u(t, x) = \mathbb{E}\Big[e^{-\int_t^Tr(X_s)\,ds}\,g(X_T)\,\Big|\,X_t = x\Big].

Proof. Fix (t,x)(t, x), run XsX_s for s≥ts \geq t from Xt=xX_t = x, and let Rs=e−∫tsr(Xv) dvR_s = e^{-\int_t^sr(X_v)\,dv}, so dRs=−r(Xs)Rs dsdR_s = -r(X_s)R_s\,ds (an ordinary derivative: RR has finite variation). By Itô's formula for u(s,Xs)u(s, X_s) and the product rule (the cross term dR dudR\,du vanishes because dRdR has no dBdB part),

d(Rsu(s,Xs))=Rs(∂su+Lu−ru)(s,Xs) ds+Rs ∂iu(s,Xs) σαi(Xs) dBsα=Rs ∂iu σαi dBsα.d\big(R_su(s, X_s)\big) = R_s\big(\partial_su + Lu - ru\big)(s, X_s)\,ds + R_s\,\partial_iu(s, X_s)\,\sigma^i_\alpha(X_s)\,dB^\alpha_s = R_s\,\partial_iu\,\sigma^i_\alpha\,dB^\alpha_s.

The integrand is bounded (Rs≤e(T−t)sup⁡r−R_s \leq e^{(T-t)\sup r^-}, and ∇u\nabla u, σ\sigma are bounded), so integrating from tt to T−εT - \varepsilon and taking expectations gives u(t,x)=E[RT−εu(T−ε,XT−ε)]u(t, x) = \mathbb{E}\big[R_{T-\varepsilon}u(T - \varepsilon, X_{T-\varepsilon})\big]. Let ε→0\varepsilon \to 0: by continuity of uu up to TT and bounded convergence, u(t,x)=E[RTg(XT)]u(t, x) = \mathbb{E}[R_Tg(X_T)].

Three remarks. Uniqueness: the theorem shows that a bounded classical solution with bounded gradient is determined by gg, a probabilistic uniqueness proof like 6A.3 The Heat Equation on ℝⁿ's maximum principle. Existence: conversely, if the coefficients and gg are smooth with bounded derivatives, the expectation is C1,2C^{1,2} 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 v(t,x)=u(T−t,x)v(t, x) = u(T - t, x), the problem becomes the initial value problem vt=Lv−rvv_t = Lv - rv, v(0)=gv(0) = g, and v(t,x)=Ex[e−∫0tr(Xs)dsg(Xt)]v(t, x) = \mathbb{E}_x\big[e^{-\int_0^tr(X_s)ds}g(X_t)\big]; for r=0r = 0 this is the backward Kolmogorov equation vt=Lvv_t = Lv, and for Brownian motion it is the heat equation vt=12Δvv_t = \frac12\Delta v 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 e−itHe^{-itH} as an "integral over paths" weighted by eiS/ℏe^{iS/\hbar}, and Mark Kac, who in 1949 saw that in imaginary time the path integral becomes a genuine integral over Brownian paths: the solution of ut=12Δu−Vuu_t = \frac12\Delta u - Vu is Ex[e−∫0tV(Bs)dsg(Bt)]\mathbb{E}_x\big[e^{-\int_0^tV(B_s)ds}g(B_t)\big]. The potential VV acts as a killing rate: paths that spend time where VV is large are discounted. In finance rr is the interest rate and the formula says that the value of a contract is the discounted expected payoff.

The forward equation

If XtX_t (started at xx) has a smooth density p(t,y)p(t, y), then for f∈Cc∞f \in C^\infty_c, Dynkin's formula at the fixed time tt gives ddtEf(Xt)=ELf(Xt)\frac{d}{dt}\mathbb{E}f(X_t) = \mathbb{E}Lf(X_t), that is,

∫f(y) ∂tp(t,y) dy=∫Lf(y) p(t,y) dy=∫f(y) L∗p(t,y) dy,\int f(y)\,\partial_tp(t, y)\,dy = \int Lf(y)\,p(t, y)\,dy = \int f(y)\,L^*p(t, y)\,dy,

integrating by parts twice, where

L∗p=−∂i(bip)+12∂ij(aijp)L^*p = -\partial_i(b^ip) + \frac12\partial_{ij}(a^{ij}p)

is the formal adjoint. Since ff is arbitrary:

Proposition 3.4 The Fokker–Planck equation

If the law of XtX_t has a density p(t,y)p(t, y) that is C1,2C^{1,2} for t>0t > 0, then ∂tp=L∗p\partial_tp = L^*p, with p(t,⋅)→δxp(t, \cdot) \to \delta_x as t→0t \to 0. A probability density π\pi with L∗π=0L^*\pi = 0 is a stationary density: if X0∼πX_0 \sim \pi then Xt∼πX_t \sim \pi for all tt.

The two Kolmogorov equations are dual. The backward equation evolves observables (u(t,x)=Exg(Xt)u(t, x) = \mathbb{E}_xg(X_t), a function of the starting point), the forward equation evolves densities (p(t,y)p(t, y), a function of the endpoint), and ∫u p0=∫g pt\int u\,p_0 = \int g\,p_t 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.

Example 3.5 Langevin dynamics and the Gibbs measure

For a potential VV on Rn\mathbb{R}^n, the overdamped Langevin equation

dXt=−∇V(Xt) dt+2 dBtdX_t = -\nabla V(X_t)\,dt + \sqrt2\,dB_t

has generator L=−∇V⋅∇+ΔL = -\nabla V\cdot\nabla + \Delta and adjoint L∗p=div⁡(p∇V)+Δp=div⁡(p∇V+∇p)L^*p = \operatorname{div}(p\nabla V) + \Delta p = \operatorname{div}\big(p\nabla V + \nabla p\big). For π=Z−1e−V\pi = Z^{-1}e^{-V} (assuming Z=∫e−V<∞Z = \int e^{-V} < \infty), ∇π=−π∇V\nabla\pi = -\pi\nabla V, so L∗π=0L^*\pi = 0: the Gibbs measure is stationary. A particle in a potential landscape, buffeted by thermal noise, spends time in each region in proportion to e−Ve^{-V}. Run backwards, this is an algorithm: to sample from a distribution with density proportional to e−Ve^{-V}, simulate the Langevin equation for a long time (Langevin Monte Carlo, used throughout Bayesian statistics). How fast the law converges to π\pi is governed by the logarithmic Sobolev inequality of 6A.12 Entropy, Information and Diffusion, which holds with constant κ\kappa when D2V≥κID^2V \geq \kappa I (Bakry–Émery).

The Ornstein–Uhlenbeck process

Proposition 3.6 The Ornstein–Uhlenbeck process

For θ>0\theta > 0, σ>0\sigma > 0, the solution of dXt=−θXt dt+σ dBtdX_t = -\theta X_t\,dt + \sigma\,dB_t, X0=xX_0 = x, is

Xt=e−θtx+σ∫0te−θ(t−s) dBs.X_t = e^{-\theta t}x + \sigma\int_0^te^{-\theta(t-s)}\,dB_s.

It is Gaussian with mean e−θtxe^{-\theta t}x and variance σ22θ(1−e−2θt)\frac{\sigma^2}{2\theta}\big(1 - e^{-2\theta t}\big). As t→∞t \to \infty its law converges to N(0,σ22θ)N\big(0, \frac{\sigma^2}{2\theta}\big), the unique stationary distribution.

Proof. By the product rule, d(eθtXt)=θeθtXt dt+eθt dXt=eθtσ dBtd(e^{\theta t}X_t) = \theta e^{\theta t}X_t\,dt + e^{\theta t}\,dX_t = e^{\theta t}\sigma\,dB_t, so eθtXt=x+σ∫0teθs dBse^{\theta t}X_t = x + \sigma\int_0^te^{\theta s}\,dB_s. The stochastic integral of a deterministic function is Gaussian (an L2L^2 limit of Gaussian sums), with mean zero and, by the Itô isometry, variance σ2∫0te−2θ(t−s) ds=σ22θ(1−e−2θt)\sigma^2\int_0^te^{-2\theta(t-s)}\,ds = \frac{\sigma^2}{2\theta}(1 - e^{-2\theta t}). The limit as t→∞t \to \infty is immediate, and stationarity of N(0,σ22θ)N(0, \frac{\sigma^2}{2\theta}) 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 (−θX-\theta X) 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): dr=θ(rˉ−r) dt+σ dBdr = \theta(\bar r - r)\,dt + \sigma\,dB. Its Fokker–Planck equation, ∂tp=θ∂x(xp)+σ22∂xxp\partial_tp = \theta\partial_x(xp) + \frac{\sigma^2}{2}\partial_{xx}p, is the equation whose Gaussian ground state was used in 6A.12 Entropy, Information and Diffusion.

Where this goes Diffusions and the Ricci flow

Perelman's conjugate heat equation ∂τu=Δu−Ru\partial_\tau u = \Delta u - Ru, 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, ∂tdV=−R dV\partial_tdV = -R\,dV. Its fundamental solution is the object whose logarithm defines the ff in Perelman's W\mathcal W-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 RR 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.

Recall Where we stand

SDEs dX=b(X) dt+σ(X) dBdX = b(X)\,dt + \sigma(X)\,dB 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 L=b⋅∇+12aij∂ijL = b\cdot\nabla + \frac12a^{ij}\partial_{ij} with a=σσTa = \sigma\sigma^T, and Dynkin's formula Ef(Xτ)=f(x)+E∫0τLf\mathbb{E}f(X_\tau) = f(x) + \mathbb{E}\int_0^\tau Lf turns exit problems into boundary value problems. Feynman–Kac: a bounded classical solution of ∂tu+Lu−ru=0\partial_tu + Lu - ru = 0, u(T)=gu(T) = g is u(t,x)=E[e−∫tTrg(XT)∣Xt=x]u(t, x) = \mathbb{E}[e^{-\int_t^Tr}g(X_T)\mid X_t = x]; for r=0r = 0 this is the backward Kolmogorov equation. Densities solve the Fokker–Planck equation pt=L∗pp_t = L^*p; the Gibbs measure e−Ve^{-V} is stationary for Langevin dynamics, and the Ornstein–Uhlenbeck process is Gaussian with stationary law N(0,σ22θ)N(0, \frac{\sigma^2}{2\theta}). 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

Exercise 3.7 Gronwall's inequality

Let f≥0f \geq 0 be bounded and measurable on [0,T][0, T] with f(t)≤A+C∫0tf(s) dsf(t) \leq A + C\int_0^tf(s)\,ds. Show f(t)≤AeCtf(t) \leq Ae^{Ct}. (Iterate the inequality, or differentiate e−Ct∫0tfe^{-Ct}\int_0^tf.) In particular A=0A = 0 gives f≡0f \equiv 0.

Solution

Let F(t)=∫0tfF(t) = \int_0^tf. Then F′=f≤A+CFF' = f \leq A + CF almost everywhere, so (e−CtF)′≤Ae−Ct(e^{-Ct}F)' \leq Ae^{-Ct} and e−CtF(t)≤AC(1−e−Ct)e^{-Ct}F(t) \leq \frac AC(1 - e^{-Ct}), i.e. CF(t)≤A(eCt−1)CF(t) \leq A(e^{Ct} - 1). Then f(t)≤A+CF(t)≤AeCtf(t) \leq A + CF(t) \leq Ae^{Ct}.

Exercise 3.8 Non-uniqueness without Lipschitz

Show that Xt=0X_t = 0 and Xt=t3X_t = t^3 both solve dX=3X2/3 dtdX = 3X^{2/3}\,dt, X0=0X_0 = 0. Which hypothesis of Theorem 3.1 fails? Find a one-parameter family of solutions.

Solution

ddtt3=3t2=3(t3)2/3\frac{d}{dt}t^3 = 3t^2 = 3(t^3)^{2/3}. The coefficient 3x2/33x^{2/3} is not Lipschitz at 00. For each c≥0c \geq 0, Xt=0X_t = 0 for t≤ct \leq c and (t−c)3(t - c)^3 for t>ct > c is a solution.

Exercise 3.9 Ruin with drift

For Xt=x+μt+BtX_t = x + \mu t + B_t with μ≠0\mu \neq 0 and a<x<ba < x < b: (a) show that u(x)=Px(exit at b)u(x) = \mathbb{P}_x(\text{exit at } b) solves μu′+12u′′=0\mu u' + \frac12u'' = 0, u(a)=0u(a) = 0, u(b)=1u(b) = 1, and find uu. (b) A gambler with capital 1010 plays a game whose capital follows this process with μ=−0.05\mu = -0.05 (a slight disadvantage) and stops at 00 or 3030. Compare the chance of reaching 3030 with the fair case 13\frac13.

Solution

(a) Dynkin's formula with Lu=0Lu = 0 gives the boundary value problem. Solutions are A+Be−2μxA + Be^{-2\mu x}; the boundary values give u(x)=e−2μa−e−2μxe−2μa−e−2μbu(x) = \frac{e^{-2\mu a} - e^{-2\mu x}}{e^{-2\mu a} - e^{-2\mu b}}. (b) With μ=−0.05\mu = -0.05, −2μ=0.1-2\mu = 0.1: u(10)=1−e11−e3=1.71819.086≈0.090u(10) = \frac{1 - e^{1}}{1 - e^{3}} = \frac{1.718}{19.086} \approx 0.090. A small drift against the gambler cuts the chance from 33%33\% to 9%9\% over this range: in the long run drift beats noise, because drift accumulates like tt and noise like t\sqrt t.

Exercise 3.10 The Ornstein–Uhlenbeck process

(a) Verify that π(x)=θπσ2e−θx2/σ2\pi(x) = \sqrt{\frac{\theta}{\pi\sigma^2}}e^{-\theta x^2/\sigma^2}, the density of N(0,σ22θ)N(0, \frac{\sigma^2}{2\theta}), satisfies L∗π=θ(xπ)′+σ22π′′=0L^*\pi = \theta(x\pi)' + \frac{\sigma^2}{2}\pi'' = 0. (b) Compute Cov⁡(Xs,Xt)\operatorname{Cov}(X_s, X_t) for the stationary process (X0∼πX_0 \sim \pi independent of BB), and show it is σ22θe−θ∣t−s∣\frac{\sigma^2}{2\theta}e^{-\theta|t - s|}.

Solution

(a) π′=−2θxσ2π\pi' = -\frac{2\theta x}{\sigma^2}\pi, so σ22π′=−θxπ\frac{\sigma^2}{2}\pi' = -\theta x\pi, and σ22π′′=−θ(xπ)′\frac{\sigma^2}{2}\pi'' = -\theta(x\pi)'; the sum is zero. (b) For s<ts < t, Xt=e−θ(t−s)Xs+σ∫ste−θ(t−r)dBrX_t = e^{-\theta(t - s)}X_s + \sigma\int_s^te^{-\theta(t - r)}dB_r, and the integral is independent of XsX_s. So Cov⁡(Xs,Xt)=e−θ(t−s)Var⁡Xs=σ22θe−θ(t−s)\operatorname{Cov}(X_s, X_t) = e^{-\theta(t - s)}\operatorname{Var}X_s = \frac{\sigma^2}{2\theta}e^{-\theta(t - s)}.

Exercise 3.11 Discounting

With L=12ΔL = \frac12\Delta and constant rr, show directly that u(t,x)=e−r(T−t)E g(x+BT−t)u(t, x) = e^{-r(T - t)}\mathbb{E}\,g(x + B_{T-t}) solves ∂tu+12Δu−ru=0\partial_tu + \frac12\Delta u - ru = 0, u(T)=gu(T) = g, for bounded continuous gg. What is the financial meaning of e−r(T−t)e^{-r(T - t)}?

Solution

w(s,x)=Eg(x+Bs)w(s, x) = \mathbb{E}g(x + B_s) solves ws=12Δww_s = \frac12\Delta w (6A.3 The Heat Equation on ℝⁿ, with ss in place of 2t2t and the probabilists' normalisation). Then u(t,x)=e−r(T−t)w(T−t,x)u(t, x) = e^{-r(T-t)}w(T - t, x) has ∂tu=ru−e−r(T−t)ws=ru−12Δu\partial_tu = ru - e^{-r(T-t)}w_s = ru - \frac12\Delta u. It is the present value of a payment due at time TT, when money earns interest at rate rr.

Exercise 3.12 The law of geometric Brownian motion

For dS=μS dt+σS dBdS = \mu S\,dt + \sigma S\,dB, S0=sS_0 = s, use 6D.2 Martingales and the Itô Integral to show that log⁡St∼N(log⁡s+(μ−12σ2)t,σ2t)\log S_t \sim N\big(\log s + (\mu - \frac12\sigma^2)t, \sigma^2t\big), and compute ESt\mathbb{E}S_t and the median of StS_t.

Solution

St=sexp⁡(σBt+(μ−12σ2)t)S_t = s\exp(\sigma B_t + (\mu - \frac12\sigma^2)t), so log⁡St\log S_t is as stated. The median of StS_t is emedian of log⁡St=se(μ−σ2/2)te^{\text{median of }\log S_t} = se^{(\mu - \sigma^2/2)t}, and ESt=se(μ−σ2/2)tEeσBt=se(μ−σ2/2)teσ2t/2=seμt\mathbb{E}S_t = se^{(\mu - \sigma^2/2)t}\mathbb{E}e^{\sigma B_t} = se^{(\mu - \sigma^2/2)t}e^{\sigma^2t/2} = se^{\mu t}.

Exercise 3.13 Rehearsal: the conjugate heat equation

Let g(t)g(t) be a Ricci flow on a closed manifold, ∂tg=−2Ric⁡\partial_tg = -2\operatorname{Ric}, so that ∂t dVt=−R dVt\partial_t\,dV_t = -R\,dV_t (11A.2 How Curvature Evolves). (a) If uu solves the heat equation ∂tu=Δg(t)u\partial_tu = \Delta_{g(t)}u and vv solves the conjugate heat equation ∂tv=−Δg(t)v+Rv\partial_tv = -\Delta_{g(t)}v + Rv, show that ∫Muv dVt\int_Muv\,dV_t is constant in tt. (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 RR appear? (c) With τ=T−t\tau = T - t, the conjugate heat equation is ∂τv=Δv−Rv\partial_\tau v = \Delta v - Rv: a heat equation run backwards along the flow with potential RR, which by Feynman–Kac is a path integral with killing (or creation) rate RR. This is the equation Perelman's entropy is built on (12A.3 The 𝓦-Entropy).

Solution

(a) ddt∫uv dV=∫(∂tu v+u ∂tv−Ruv) dV=∫(vΔu−uΔv+Ruv−Ruv) dV=0\frac{d}{dt}\int uv\,dV = \int(\partial_tu\,v + u\,\partial_tv - Ruv)\,dV = \int(v\Delta u - u\Delta v + Ruv - Ruv)\,dV = 0, 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 dVtdV_t; the pairing ∫uv dVt\int uv\,dV_t is conserved, as ∫u p\int u\,p is for the Kolmogorov pair. The term RvRv compensates the shrinking of the volume form, so that v dVtv\,dV_t evolves as a measure. (c) Then v dVv\,dV 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.

© 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.