Hexa Scholar

The Fokker–Planck equation

A cluster of gold beads suspended over a level wooden track.
A cluster of beads above a track stands in for a cloud of particles about to start moving.

The question

Particles start in a cloud and move with a drift and some noise. What will their next density snapshot look like?

  1. 1 SeeSketch the density before checking.
  2. 2 TryCompare two pulls and tune the noise.
  3. 3 ProveBuild the zero-current argument.
  4. 4 ApplyCalculate means, spreads, and currents.
Before you start · 3 quick checks on areas, variance, and partial derivatives

Two ideas before you start

2 ideas

Probability is an area

A bell curve with a shaded interval underneath.

The shaded area is the chance of finding a particle in that interval. Equal-width intervals can hold different amounts of probability.

Exact definition

Write \(X_t\) for the position of one particle at time \(t\). A density \(p(t,x)\) is a nonnegative function of position \(x\) with total area one. The chance of \(X_t\) lying between positions \(x_1\) and \(x_2\) is

\[\Pr(x_1\le X_t\le x_2)=\int_{x_1}^{x_2} p(t,x)\,dx.\]

The mean is the average position in the probability law. The variance is the average squared distance from that mean. Its square root, the standard deviation, has the same units as position. The bell in the figure is a normal density.

Drift is a local rule

A graph of drift versus position for a constant push or a pull toward the origin.

The vertical value is the drift at that position. Positive drift points right. Negative drift points left.

Exact definition

The motion of one particle on the real line is described by an Itô stochastic differential equation (SDE):

\[dX_t=b(X_t)\,dt+\sigma(X_t)\,dW_t.\]

Here \(W_t\) is standard Brownian motion. It starts at zero, and its increments over disjoint time intervals are independent. Over an interval of length \(h\) an increment is normal with mean zero and variance \(h\). Over a short interval starting at \(x\), freezing the coefficients gives approximate mean displacement \(b(x)h\) and approximate displacement variance \(\sigma(x)^2 h\). This describes the leading terms for the smooth models here. We write \(D(x)=\sigma(x)^2/2\) for the diffusivity.

With the noise switched off, \(b(x)\) is the ordinary differential equation's slope in the sense of slope fields. The plot above shows \(b\) as a function of position. A single noisy path can move against the local drift.

Refresher on partial derivatives and diffusion

For a profile \(p(t,x)\), \(p_t\) holds position fixed and measures change in time. The derivative \(p_x\) holds time fixed and measures the slope of a snapshot. The derivative \(p_{xx}\) is the spatial derivative of that slope.

The heat equation describes how a profile changes when its rate of change in time is proportional to its second derivative in space, which measures how the snapshot bends. Its simplest form is \(p_t=Dp_{xx}\), where \(D\gt0\) is constant. In this lesson the profile is probability density and the domain is the whole line.

1 See

Sketch a later density

Particles move independently on the whole line. Their starting positions are independent of their Brownian noise.

2 Try

Change the pull and the noise

3 Prove

Find the stationary density from the current

The Fokker–Planck equation

For a smooth density of the Itô diffusion on the line, with smooth coefficients and the conditions stated in the derivation below, the forward equation and its probability current \(J\) are

\[\begin{aligned} p_t &= -\partial_x J,\\ J &= bp-\partial_x(Dp). \end{aligned}\]

Positive current crosses a point to the right. The fundamental theorem of calculus gives the rate of change of the probability in \([x_1,x_2]\) as \(J(t,x_1)-J(t,x_2)\). If the current vanishes at both infinities, the total probability is conserved. When the noise varies with position, the spatial derivative acts on the product \(Dp\).

Derive the forward equation from Itô's lemma

Assume a nonexplosive diffusion on \(\mathbb R\), with smooth \(b,\sigma\), a density \(p\) continuously differentiable in time and twice continuously differentiable in space for \(t\gt0\). For a smooth function \(f\) vanishing outside a bounded interval, Itô's lemma gives a time term \(Lf=bf'+Df''\) and a noise term \(\sigma f'\,dW_t\). This noise integral has mean zero because \(\sigma f'\) is bounded. Write the expectation as a density integral and differentiate in time.

\[\int f p_t\,dx=\int (Lf)p\,dx.\]

All integrals here are over the line. The test function and its derivatives vanish outside a bounded interval. Substitute the formula for \(Lf\). Integrate the drift term once by parts and the diffusion term twice. The endpoint terms vanish. The right-hand side becomes \(\int fK\,dx\), where

\[K=-(bp)_x+(Dp)_{xx}.\]

The identity \(\int f(p_t-K)\,dx=0\) holds for every smooth compactly supported \(f\). If the continuous difference \(p_t-K\) were nonzero at a point, it would have one strict sign on a small interval. A nonnegative test function supported there would give a nonzero integral. Thus \(p_t=K\) pointwise, giving the forward equation.

The same operator \(L\) acts on a different function in the backward equation. Fix a terminal time \(T\) and a bounded smooth payoff \(g\). Let \(u(s,x)\) be the expected value of \(g(X_T)\) for a particle started at position \(x\) at time \(s\). For a Markov diffusion and a smooth \(u\) in the generator's domain, conditioning a short time after \(s\) gives \(u_s+Lu=0\), with \(u(T,x)=g(x)\). The forward equation moves an initial density in time. The backward equation moves a terminal observable back to an earlier starting time.

Theorem

Take the whole line with drift \(b(x)=-\theta x\), \(\theta\gt0\), and constant \(D=\sigma^2/2\gt0\). Among positive, smooth normalized densities with current vanishing at infinity, the only stationary density is normal with mean zero and variance \(D/\theta\).

Call the stationary density \(q(x)\). At stationarity \(J_x=0\), so \(J\) is constant in space. The condition at infinity fixes that constant to zero. Build the proof from there. Where a line asks about a positive \(x\), use \(x\gt0\).

4 Apply

Work with a density or a current

Check units first. Variance has squared position units. Current has units of probability per time.

Key point Use the mean and variance when the model gives a Gaussian snapshot. To track probability inside an interval, take the current at the left edge minus the current at the right edge, with both currents measured positive to the right.
Level Undergraduate Prerequisites Itô's lemma, slope fields, and the diffusion refresher above Time About 40 min

Further reading