The Fokker-Planck Equation
Release a swarm of Brownian particles into a bowl-shaped potential — a colloid in an optical trap, an ion in a molecular cage — and two things happen at once. Each particle jitters unpredictably, its trajectory a different scribble every time you run the experiment. Yet the cloud of particles settles into a perfectly reproducible shape: it slides downhill and, at long times, freezes into the Boltzmann bell , no matter how you started it. The Fokker–Planck equation is the law that governs this reproducible cloud. It is the deterministic partial differential equation for the probability density that a single noisy trajectory would visit, and it converts an intractable stochastic problem into the far better-developed machinery of linear PDEs. Its structure is that of a conservation law. Probability is neither created nor destroyed, so with a current made of two competing pieces: a drift that carries probability bodily downhill along the force, and a diffusion that flattens gradients. The drift sharpens the density into the potential's minima; the diffusion smears it back out. Their balance sets the width of the equilibrium distribution — and when the drift derives from a potential and the diffusion coefficient obeys the Einstein relation , that balance produces exactly the Boltzmann distribution. This is the equation's most important statement: fluctuation and dissipation, tuned to each other, force stochastic dynamics to relax to thermal equilibrium. The Fokker–Planck equation sits at the center of nonequilibrium statistical mechanics. In the force-free limit it collapses to the pure diffusion equation; with a linear restoring drift it becomes the exactly solvable Ornstein–Uhlenbeck process; in the overdamped limit it is the Smoluchowski equation, and in full phase space the Klein–Kramers equation behind Kramers' escape-rate theory. It is the deterministic partner of the Langevin trajectory — the "hydrodynamics" of a single noisy degree of freedom — and its systematic derivation from a Markov process is the Kramers–Moyal expansion, which truncates exactly at second order for Gaussian white noise.
- The Fokker–Planck equation is a deterministic PDE for the probability density of a system driven by Langevin dynamics with Gaussian white noise — the ensemble description behind the stochastic trajectory.
- It is a continuity equation with current : a drift term carrying probability downhill and a diffusion term spreading it (with ).
- Its stationary, zero-current state is the Boltzmann distribution — but only when the drift derives from a potential and the Einstein relation holds.
- Setting the drift to zero recovers the diffusion equation exactly; a linear drift gives the Ornstein–Uhlenbeck process (relaxation to a stationary Gaussian of variance ).
- For multiplicative (state-dependent) noise the drift depends on the Itô-versus-Stratonovich convention, differing by the spurious drift ; you must fix the calculus before writing the equation.
- Key idea: a Langevin trajectory and a Fokker–Planck density are two faces of the same Markov process; the drift and diffusion are the first two jump moments, and the Einstein relation is precisely the condition that makes the Boltzmann distribution the zero-current fixed point.
A Langevin equation with Gaussian white noise and its Fokker–Planck density are two descriptions of one Markov process: the trajectory is random, the density is deterministic. The drift and diffusion are the first two Kramers–Moyal jump moments; the stationary zero-current state is Boltzmann exactly when the Einstein relation holds.
Where this lives today
The Fokker–Planck equation is the workhorse of stochastic modeling far beyond its statistical-mechanics origins. It governs the phase-space distribution of electrons in plasmas and accelerators, the intensity fluctuations of laser light, the allele frequencies of population genetics (the Wright–Fisher diffusion), and the evolution of option prices in mathematical finance (where its adjoint is the backward Kolmogorov equation behind Black–Scholes). Its overdamped Smoluchowski form is the standard description of molecular motors, protein folding on rugged energy landscapes, and ion transport through channels; its Klein–Kramers form underlies modern reaction-rate theory. In statistical physics specifically, the equation is the bridge between the Langevin trajectory picture and the ensemble picture, and its stationary Boltzmann state is the anchor that ties nonequilibrium stochastic dynamics back to equilibrium thermodynamics. It is the parent of the Ornstein–Uhlenbeck process and Kramers' escape problem (both developed downstream), and its systematic derivation from a Markov process — the Kramers–Moyal expansion — connects it to the master equation for discrete-state systems. Numerically, its adjoint delivers mean first-passage times for everything from neuron firing to genetic switches, making it one of the most practically deployed equations in computational biophysics.
The physical picture
Picture as a fluid of probability. The Fokker–Planck equation is the continuity equation for this fluid, and its current has two ingredients. The drift current is advection: it carries the whole distribution bodily in the direction of the force, like a river sweeping a dye downstream. The diffusive current is the same down-gradient flattening as ordinary diffusion. Everything the equation does is the competition between these two — advection concentrating probability where the force points, diffusion spreading it back. Read this way, the deep lesson is that randomness at the trajectory level produces determinism at the distribution level. A single Brownian particle is unpredictable, but the density of infinitely many copies obeys a unique, deterministic evolution — exactly as the chaotic motion of molecules produces smooth, deterministic hydrodynamics. The Fokker–Planck equation is the hydrodynamics of one noisy coordinate.
The balance point is equilibrium. In a confining potential, drift pulls probability into the minimum while diffusion pushes it out; the width where they balance is set by temperature. If — and only if — the diffusion coefficient and the friction obey the Einstein relation , the stationary distribution is the Boltzmann factor , with the current vanishing everywhere. This is the precise sense in which the fluctuation–dissipation tie forces a stochastic system to thermalize. (The general fluctuation–dissipation theorem that this instance anticipates is developed downstream in the fluctuation-dissipation-theorem article.)
The core equations
The Fokker–Planck equation combines a drift and a diffusion into one second-order PDE for the density. Written with a general drift and a general noise amplitude (so that is the diffusion coefficient), it reads:
where: — probability density at position , time ; — drift coefficient, the first Kramers–Moyal jump moment ; — noise variance rate, twice the diffusion coefficient (the second jump moment). Physically the first term advects probability along the drift, the second spreads it by diffusion. Because probability is conserved, equation (1) is exactly a continuity equation, and reading off the current makes the two ingredients explicit.
where: — probability current; it vanishes at the boundaries for any normalizable solution. The drift piece is advective; the term is the Fickian diffusive flow. Stationarity means , i.e. a spatially constant current; in a one-dimensional potential landscape that constant is zero — detailed balance. The trajectory-level partner of equation (1) is the Langevin equation, whose drift and noise amplitude are exactly the same and (the equivalence is owned by the Langevin-equation article; here it is the input).
where: — Gaussian white noise: zero mean, delta-correlated, unit strength (defined in the Wiener-process/white-noise article); — noise amplitude, . Physically each realization of generates one random trajectory; equation (1) is the density obtained by averaging over all realizations. The systematic route from the trajectory to the density is the Kramers–Moyal expansion, an infinite series in the jump moments that truncates exactly at second order for Gaussian white noise. (Its full derivation and Pawula's theorem are developed downstream in the Kramers–Moyal-expansion article; here it is the origin of the drift and diffusion.)
where: — the -th jump moment per unit time; (drift), (diffusion). Physically, for Gaussian white noise the short-time increment is Gaussian, so all moments beyond the second vanish and only drift and diffusion survive. The equation's payoff is its stationary state. When the drift comes from a potential and the diffusion obeys the Einstein relation, the zero-current condition integrates to the Boltzmann distribution.
where: — external potential; — friction coefficient; — thermal energy. The friction cancels between drift and diffusion, so only the ratio survives — equilibrium depends on temperature, not on the dissipation rate.
The single most important property of the Fokker–Planck equation is that it enforces thermal equilibrium: given a potential drift and an Einstein-tuned diffusion, its unique stationary state is the Boltzmann distribution. Establishing this cleanly requires first recognizing the equation as a conservation law with a specific probability current, then demanding that current vanish. The calculation shows that the friction coefficient — the very quantity measuring dissipation — cancels, leaving only the ratio of energy to temperature, which is precisely why the fluctuation and dissipation must be tied by the Einstein relation for the Boltzmann state to emerge.
Step 1. Rewrite equation (1) as a continuity equation. Total probability is conserved, so for some current; matching to (1) gives , an advective drift current plus a diffusive current. Why: a locally conserved density can always be written as minus the divergence of a current that vanishes at infinity.
Step 2. Impose stationarity. Setting forces , so is constant in ; for a normalizable distribution in a potential landscape the current must vanish at the boundaries, hence everywhere. Why: a nonzero constant current would carry probability out to infinity, contradicting normalization — the equilibrium of a closed system carries no net flow.
Step 3. Solve for constant diffusion : , so and . Why: the zero-current condition is a first-order ODE separable in .
Step 4. Insert the potential drift and the Einstein value : the exponent becomes , so . Why: the friction appears in both drift and diffusion and cancels — only the Einstein-tied combination gives the temperature-controlled Boltzmann weight; any other relation between and would give the wrong stationary distribution. *Verified: the Boltzmann state is shown symbolically to give zero current for , that equals with , and that the equation reduces to the diffusion equation when — all in verify_aq-sm-fokker-planck-equation.py.*
Go deeper · Derivation B · 1 minDrift and diffusion from the short-time moments of the Langevin equation
To see that the Fokker–Planck density and the Langevin trajectory describe the same physics, one computes how a sharply localized density evolves over an infinitesimal time step directly from the stochastic equation. The first two moments of the displacement identify the drift and diffusion coefficients, and the Gaussianity of white noise ensures that all higher moments are subleading — the reason the expansion (4) truncates exactly at second order rather than being an uncontrolled approximation. This calculation is the concrete content of the claim that a Langevin equation "is" a Fokker–Planck equation.
Step 1. Integrate the Langevin equation (3) over a short interval , holding at : . Why: over a short enough step the coefficients are approximately constant, so the increment splits into a deterministic and a random part.
Step 2. Take the first moment. The noise averages to zero, so , giving . Why: kills the random part at leading order, leaving only the drift.
Step 3. Take the second moment. Using , the double integral of the noise gives , so . Why: the delta-correlation makes the variance grow linearly in — the diffusive scaling of the increment — while the drift contributes only at .
Step 4. Show higher moments are subleading. Odd moments vanish by symmetry; even moments factor into products of deltas scaling as , which is or smaller for , so . Assembling , with all higher terms absent gives equation (1). Why: Gaussian white noise has no cumulants beyond the second, so the Kramers–Moyal series stops at drift and diffusion — Pawula's theorem forbids stopping at any other finite order. *Verified: the leading jump moments and (so the diffusion coefficient is ) and the continuity identity are checked symbolically in verify_aq-sm-fokker-planck-equation.py.*
Go deeper · Derivation C · 1 minRelaxation to equilibrium: relative entropy as a Lyapunov function
Beyond identifying the stationary state, one wants to prove the density actually reaches it. The tool is the relative entropy (Kullback–Leibler divergence) of from the Boltzmann state, which for the potential Fokker–Planck equation is a free-energy functional. Differentiating it along the flow yields a manifestly non-positive rate, so it decreases monotonically to zero — a rigorous H-theorem for the Fokker–Planck equation, the stochastic-dynamics counterpart of the second law and the mechanism by which the confining drift and diffusion drive any initial cloud to thermal equilibrium.
Step 1. Define , the relative entropy, which vanishes if and only if . For the constant- potential case this equals , a free energy above its minimum. Why: relative entropy is non-negative by Jensen's inequality and is a natural distance to equilibrium.
Step 2. Write the current in the form , valid for the potential Fokker–Planck equation with . Why: factoring out the stationary state exposes the gradient of the ratio , which is the true driving force toward equilibrium.
Step 3. Differentiate along the flow, using and integrating by parts (boundary terms vanish for normalizable ): . Why: the time derivative of the entropy is driven entirely by the probability current times the gradient of the log-ratio.
Step 4. Substitute the current from Step 2 to get , non-positive because , with equality only at . Why: the integrand is a manifestly non-negative squared gradient with a positive prefactor, so can only decrease — the system relaxes irreversibly to Boltzmann. *Verified: the H-theorem integrand prefactor is checked positive symbolically, and the Ornstein–Uhlenbeck moment ODEs with stationary variance are verified in verify_aq-sm-fokker-planck-equation.py.*
Limiting cases
The Fokker–Planck equation is a template that specializes to many familiar equations depending on the drift and diffusion. Several of these limits are owned by their own articles; the equation is the parent.
| Case | Result | Meaning |
|---|---|---|
| No drift, constant | The pure diffusion equation: a Gaussian packet spreading with variance (free Brownian motion). | |
| Linear restoring drift | The Ornstein–Uhlenbeck process: relaxation to a stationary Gaussian of variance (developed downstream). | |
| Overdamped potential | The Smoluchowski equation; stationary state by the Einstein relation. | |
| Full phase space | Klein–Kramers equation | Position and velocity together — the starting point of Kramers' escape-rate theory (developed downstream). |
| Multiplicative noise | drift shifts by | Itô and Stratonovich forms differ; the convention must be fixed (owned by the Itô–Stratonovich article). |
Worked examples
Example 1 — Verifying that the Boltzmann state is the equilibrium, and that fluctuation must match dissipation. Show that (with ) is a zero-current stationary state of the overdamped Fokker–Planck equation, and find the condition on .
Step 1. Write the zero-current condition for constant : . With , , so . For this to vanish for all requires .
Step 2. Compare to the Langevin drift . Matching gives — the Einstein relation. The Boltzmann distribution is the stationary state if and only if the diffusion coefficient is Einstein-tied to the friction; any other gives a different, non-thermal steady state. (This is the fluctuation–dissipation balance the Einstein-relation article owns; the Fokker–Planck equation is where it becomes the equilibrium condition.)
Example 2 — Ornstein–Uhlenbeck relaxation: how fast and how wide. A colloidal particle in a harmonic optical trap has a linear restoring drift and diffusion . Starting from a point at , find the mean and variance at time and the stationary width.
Step 1. Multiply the Fokker–Planck equation by and by and integrate by parts to get closed moment equations: and . Solving, (the mean relaxes exponentially to the trap center) and .
Step 2. Take the stationary limit : and . For a trap with and , the equilibrium variance is , i.e. an RMS excursion of . This Gaussian is exactly the Boltzmann distribution for the harmonic potential with -type stiffness, and it is what optical-tweezer experiments measure. The closed-form OU solution is the exactly solvable window into Fokker–Planck relaxation.
Origins · 1 minAdriaan Fokker and how this was discovered
Going further
References. Pathria & Beale, Statistical Mechanics, 3rd ed., Ch. 15 (Fluctuations and nonequilibrium statistical mechanics) · Kardar, Statistical Physics of Particles, Ch. 9 · Reif, Fundamentals of Statistical and Thermal Physics, Ch. 15 · Sethna, Statistical Mechanics: Entropy, Order Parameters, and Complexity, Ch. 2 & 6 · Risken, The Fokker–Planck Equation: Methods of Solution and Applications, 2nd ed. · Gardiner, Handbook of Stochastic Methods, Ch. 5 · van Kampen, Stochastic Processes in Physics and Chemistry, Ch. VIII.
Provenance. All equations are standard textbook results. A verifier should reproduce the drift/diffusion identification , from the Langevin short-time moments (Risken Ch. 4; Gardiner §5.3); confirm the second-order truncation and Pawula's theorem (Risken §4.3); check the OU moment equations and stationary variance (Risken Ch. 5); verify the Boltzmann stationary state under the Einstein relation (Pathria & Beale Ch. 15); confirm the H-theorem sign-definiteness (Risken §6.1; Sethna Ch. 6); and check the Itô–Stratonovich drift shift (Gardiner §4.3). These are reproduced in verify_aq-sm-fokker-planck-equation.py.
Builds on: The Langevin Equation · Wiener Process and White Noise · Brownian Motion · The Diffusion Equation. Leads to: The Ornstein–Uhlenbeck Process · Kramers' Escape Rate Theory · The Kramers–Moyal Expansion · Itô versus Stratonovich Calculus · The Einstein Relation.
What exactly is the difference between the Fokker–Planck and the diffusion equation?
The diffusion equation is the drift-free special case. The Fokker–Planck equation adds an advective drift current alongside the diffusive current, so it describes probability that is both carried (by a force) and spread (by noise). Set the drift to zero and collapses to , the pure diffusion equation. The crucial new feature the drift brings is a nontrivial stationary state: free diffusion spreads forever, but a confining drift lets probability settle into the Boltzmann distribution, which is why the Fokker–Planck equation, not the diffusion equation, is the bridge to equilibrium.
Why does the Einstein relation appear as the equilibrium condition?
Because equilibrium requires the systematic pull of the force and the random spread of the noise to be tuned to each other. In the zero-current stationary state, the drift pushes probability into the potential minimum at a rate set by friction , while diffusion pushes it back out. The Boltzmann weight emerges only when the exponent reduces to , which forces . Physically the same collisions that damp the particle (dissipation, ) also kick it (fluctuation, ); the Einstein relation is the statement that these two effects of one microscopic mechanism are locked together — the seed of the general fluctuation–dissipation theorem.
Is the Fokker–Planck equation the same as the Langevin equation?
They are two descriptions of the identical Markov process. The Langevin equation follows one random trajectory ; the Fokker–Planck equation follows the probability density obtained by averaging over infinitely many trajectories. The drift and diffusion in the Fokker–Planck equation are exactly the deterministic drift and the noise-variance rate of the Langevin equation — they are the first two Kramers–Moyal jump moments. Which description to use is a matter of convenience: the Langevin form is natural for simulation and intuition, the Fokker–Planck form for exact solutions, spectra, and first-passage times.
What is the stationary state if the drift is not from a potential?
Then there can be a nonzero steady current, and the stationary state is generally not Boltzmann. In one dimension with reflecting boundaries any drift can be written as a gradient, so a potential always exists and the state is Boltzmann-like. But in higher dimensions or with periodic boundaries, a non-conservative (rotational) drift sustains a persistent probability current — a nonequilibrium steady state that breaks detailed balance. Such states carry entropy production and are the subject of stochastic thermodynamics; the Boltzmann state is the special, detailed-balance case where the current vanishes everywhere.
Why is the density deterministic if every trajectory is random?
Because it is an ensemble average. A single realization of the noise gives one unpredictable path, but the probability density is defined over all realizations, and averaging over infinitely many of them yields a unique, smooth, deterministic function of time. This is the same logic by which the random motion of molecules produces the deterministic Navier–Stokes equations: individual microscopic randomness averages into macroscopic determinism. The Fokker–Planck equation is that averaged, deterministic law for a single noisy coordinate.
What does the adjoint (backward) equation compute?
The adjoint operator acts on observables rather than densities and governs quantities like the mean first-passage time to reach a boundary, which solves . Where the forward Fokker–Planck equation evolves "where is the probability now," the backward equation answers "starting here, what is the expected time (or probability) to reach a target." This is how the same operator delivers reaction rates, neuron firing times, and the timing of genetic switches — practical quantities that the forward density does not directly give.
Does the second-order truncation ever fail?
Yes — whenever the noise is not Gaussian and white. Shot noise, jump processes, and heavy-tailed noise have nonzero higher jump moments, so the Kramers–Moyal expansion does not truncate at second order and the dynamics is governed by a full master equation with a jump kernel, not a Fokker–Planck equation. Pawula's theorem is the sharp statement: for a positive transition probability the expansion must either stop at order two or continue to infinity — there is no consistent third-order theory. The Fokker–Planck equation is exact precisely in the Gaussian-white-noise (diffusive) limit and is otherwise a diffusive approximation to the master equation.