Kramers–Moyal expansion explained
In stochastic processes, Kramers–Moyal expansion refers to a Taylor series expansion of the master equation, named after Hans Kramers and José Enrique Moyal.[1] [2] [3] In many textbooks, the expansion is used only to derive the Fokker–Planck equation, and never used again. In general, continuous stochastic processes are essentially all Markovian, and so Fokker–Planck equations are sufficient for studying them. The higher-order Kramers–Moyal expansion only come into play when the process is jumpy. This usually means it is a Poisson-like process.[4]
For a real stochastic process, one can compute its central moment functions from experimental data on the process, from which one can then compute its Kramers–Moyal coefficients, and thus empirically measure its Kolmogorov forward and backward equations. This is implemented as a python package [5]
Statement
=\intp(x,t|x0,t0)p(x0,t0)dx0
where
is the
transition probability function, and
is the probability density at time
. The Kramers–Moyal expansion transforms the above to an infinite order
partial differential equation[6] [7] [8]
and also
where
are the Kramers–Moyal coefficients, defined by
and
are the
central moment functions, defined by
\mun(t'|x,t)=
(x'-x)np(x',t'\midx,t) dx'.
The Fokker–Planck equation is obtained by keeping only the first two terms of the series in which
is the
drift and
is the diffusion coefficient.
[9] Also, the moments, assuming they exist, evolves as
where angled brackets mean taking the expectation:
\left\langlef\right\rangle=\intf(x)p(x,t)dx
.
n-dimensional version
The above version is the one-dimensional version. It generalizes to n-dimensions. (Section 4.7)
Proof
In usual probability, where the probability density does not change, the moments of a probability density function determines the probability density itself by a Fourier transform (details may be found at the characteristic function page):Similarly, Now we need to integrate away the Dirac delta function. Fixing a small
, we have by the
Chapman-Kolmogorov equation,
The
term is just
, so taking derivative with respect to time,
The same computation with
gives the other equation.
Forward and backward equations
The equation can be recast into a linear operator form, using the idea of infinitesimal generator. Define the linear operator then the equation above states In this form, the equations are precisely in the form of a general Kolmogorov forward equation. The backward equation then states thatwhereis the Hermitian adjoint of
.
Computing the Kramers–Moyal coefficients
By definition,This definition works because
, as those are the central moments of the Dirac delta function. Since the even central moments are nonnegative, we have
for all
. When the stochastic process is the Markov process
, we can directly solve for
as approximated by a normal distribution with mean
and variance
. This then allows us to compute the central moments, and so
This then gives us the 1-dimensional Fokker–Planck equation:
Pawula theorem
Pawula theorem states that either the sequence
becomes zero at the third term, or all its even terms are positive.
[10] [11] Proof
By Cauchy–Schwarz inequality, the central moment functions satisfy
. So, taking the limit, we have
. If some
for some
, then
. In particular,
. So the existence of any nonzero coefficient of order
implies the existence of nonzero coefficients of arbitrarily large order. Also, if
, then
. So the existence of any nonzero coefficient of order
implies all coefficients of order
are positive.
Interpretation
Let the operator
be defined such
. The probability density evolves by
. Different order of
gives different level of approximation.
: the probability density does not evolve
: it evolves by deterministic drift only.
: it evolves by drift and Brownian motion (Fokker-Planck equation)
: the fully exact equation.
Pawula theorem means that if truncating to the second term is not exact, that is,
, then truncating to any term is still not exact. Usually, this means that for any truncation
, there exists a probability density function
that can become negative during its evolution
(and thus fail to be a probability density function). However, this doesn't mean that Kramers-Moyal expansions truncated at other choices of
is useless. Though the solution must have negative values at least for sufficiently small times, the resulting approximation probability density may still be better than the
approximation.
Notes and References
- Kramers . H. A. . 1940 . Brownian motion in a field of force and the diffusion model of chemical reactions . Physica . 7 . 4 . 284–304 . 10.1016/S0031-8914(40)90098-2 . 1940Phy.....7..284K . 33337019 .
- Moyal . J. E. . 1949 . Stochastic processes and statistical physics . . Series B (Methodological) . 11 . 2 . 150–210 . 10.1111/j.2517-6161.1949.tb00030.x . 2984076 .
- Book: Risken . Hannes . The Fokker-Planck Equation: Methods of Solution and Applications . 6 December 2012 . Springer . 9783642968075.
- Book: Spinney . Richard . Ford . Ian . Klages . Rainer . Just . Wolfram . Jarzynski . Christopher . 1201.6381 . Fluctuation relations: a pedagogical overview . 10.1002/9783527658701.ch1 . 978-3-527-41094-1 . Weinheim . 3308060 . 3–56 . Wiley-VCH . Reviews of Nonlinear Dynamics and Complexity . Nonequilibrium Statistical Physics of Small Systems: Fluctuation relations and beyond . 2013.
- Rydin Gorjão . L. . Meirinhos . F. . 2019 . kramersmoyal: Kramers--Moyal coefficients for stochastic processes . . 4 . 44 . 1693 . 1912.09737 . 2019JOSS....4.1693G . 10.21105/joss.01693 . free.
- Book: Gardiner, C. . 2009 . Stochastic Methods . 4th . Berlin . Springer . 978-3-642-08962-6 .
- Book: Van Kampen, N. G. . 1992 . Stochastic Processes in Physics and Chemistry . Elsevier . 0-444-89349-0 .
- Book: Risken, H. . 1996 . The Fokker–Planck Equation . 63–95 . Springer . Berlin, Heidelberg . 3-540-61530-X .
- Book: Wolfgang . Paul . Jörg . Baschnagel . A Brief Survey of the Mathematics of Probability Theory . Stochastic Processes . 17–61 [esp. 33–35] . Springer . 2013 . 978-3-319-00326-9. 10.1007/978-3-319-00327-6_2 .
- Pawula . R. F. . 1967 . Generalizations and extensions of the Fokker–Planck–Kolmogorov equations . IEEE Transactions on Information Theory . 13 . 1 . 33–41 . 10.1109/TIT.1967.1053955.
- Pawula . R. F. . 1967 . Approximation of the linear Boltzmann equation by the Fokker–Planck equation . Physical Review . 162 . 1 . 186–188 . 1967PhRv..162..186P . 10.1103/PhysRev.162.186.