Concept in mathematics
The Onsager–Machlup function is a function that summarizes the dynamics of a continuous stochastic process. It is used to define a probability density for a stochastic process, and it is similar to the Lagrangian of a dynamical system. It is named after Lars Onsager and Stefan Machlup [de] who were the first to consider such probability densities.
The dynamics of a continuous stochastic process X from time t = 0 to t = T in one dimension, satisfying a stochastic differential equation

where W is a Wiener process, can in approximation be described by the probability density function of its value xi at a finite number of points in time ti:

where

and Δti = ti+1 − ti > 0, t1 = 0 and tn = T. A similar approximation is possible for processes in higher dimensions. The approximation is more accurate for smaller time step sizes Δti, but in the limit Δti → 0 the probability density function becomes ill defined, one reason being that the product of terms

diverges to infinity. In order to nevertheless define a density for the continuous stochastic process X, ratios of probabilities of X lying within a small distance ε from smooth curves φ1 and φ2 are considered:
![{\displaystyle {\frac {P\left(\left|X_{t}-\varphi _{1}(t)\right|\leq \varepsilon {\text{ for every }}t\in [0,T]\right)}{P\left(\left|X_{t}-\varphi _{2}(t)\right|\leq \varepsilon {\text{ for every }}t\in [0,T]\right)}}\to \exp \left(-\int _{0}^{T}L\left(\varphi _{1}(t),{\dot {\varphi }}_{1}(t)\right)\,dt+\int _{0}^{T}L\left(\varphi _{2}(t),{\dot {\varphi }}_{2}(t)\right)\,dt\right)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/ac20fddc7b4b35007fd6f1fdad2fa15c7f5a16a7)
as ε → 0, where L is the Onsager–Machlup function.
Definition
Consider a d-dimensional Riemannian manifold M and a diffusion process X = {Xt : 0 ≤ t ≤ T} on M with infinitesimal generator 1/2ΔM + b, where ΔM is the Laplace–Beltrami operator and b is a vector field. For any two smooth curves φ1, φ2 : [0, T] → M,
![{\displaystyle \lim _{\varepsilon \downarrow 0}{\frac {P\left(\rho (X_{t},\varphi _{1}(t))\leq \varepsilon {\text{ for every }}t\in [0,T]\right)}{P\left(\rho (X_{t},\varphi _{2}(t))\leq \varepsilon {\text{ for every }}t\in [0,T]\right)}}=\exp \left(-\int _{0}^{T}L\left(\varphi _{1}(t),{\dot {\varphi }}_{1}(t)\right)\,dt+\int _{0}^{T}L\left(\varphi _{2}(t),{\dot {\varphi }}_{2}(t)\right)\,dt\right)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/7e4eccad0ef1264fab2d06402d8b6401c514fd0b)
where ρ is the Riemannian distance,
denote the first derivatives of φ1, φ2, and L is called the Onsager–Machlup function.
The Onsager–Machlup function is given by

where || ⋅ ||x is the Riemannian norm in the tangent space Tx(M) at x, div b(x) is the divergence of b at x, and R(x) is the scalar curvature at x.
Examples
The following examples give explicit expressions for the Onsager–Machlup function of a continuous stochastic processes.
Wiener process on the real line
The Onsager–Machlup function of a Wiener process on the real line R is given by

Proof: Let X = {Xt : 0 ≤ t ≤ T} be a Wiener process on R and let φ : [0, T] → R be a twice differentiable curve such that φ(0) = X0. Define another process Xφ = {Xtφ : 0 ≤ t ≤ T} by Xtφ = Xt − φ(t) and a measure Pφ by

For every ε > 0, the probability that |Xt − φ(t)| ≤ ε for every t ∈ [0, T] satisfies
![{\displaystyle {\begin{aligned}P\left(\left|X_{t}-\varphi (t)\right|\leq \varepsilon {\text{ for every }}t\in [0,T]\right)&=P\left(\left|X_{t}^{\varphi }\right|\leq \varepsilon {\text{ for every }}t\in [0,T]\right)\\&=\int _{\left\{\left|X_{t}^{\varphi }\right|\leq \varepsilon {\text{ for every }}t\in [0,T]\right\}}\exp \left(-\int _{0}^{T}{\dot {\varphi }}(t)\,dX_{t}^{\varphi }-\int _{0}^{T}{\tfrac {1}{2}}|{\dot {\varphi }}(t)|^{2}\,dt\right)\,dP^{\varphi }.\end{aligned}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/a27a69ad486f04aa6b0ee617cfee2bf70cbb5db3)
By Girsanov's theorem, the distribution of Xφ under Pφ equals the distribution of X under P, hence the latter can be substituted by the former:
![{\displaystyle P(|X_{t}-\varphi (t)|\leq \varepsilon {\text{ for every }}t\in [0,T])=\int _{\left\{\left|X_{t}^{\varphi }\right|\leq \varepsilon {\text{ for every }}t\in [0,T]\right\}}\exp \left(-\int _{0}^{T}{\dot {\varphi }}(t)\,dX_{t}-\int _{0}^{T}{\tfrac {1}{2}}|{\dot {\varphi }}(t)|^{2}\,dt\right)\,dP.}](https://wikimedia.org/api/rest_v1/media/math/render/svg/d1e0e37c0fb20ea063ef490fc234393a1b1edfca)
By Itō's lemma it holds that

where
is the second derivative of φ, and so this term is of order ε on the event where |Xt| ≤ ε for every t ∈ [0, T] and will disappear in the limit ε → 0, hence
![{\displaystyle \lim _{\varepsilon \downarrow 0}{\frac {P(|X_{t}-\varphi (t)|\leq \varepsilon {\text{ for every }}t\in [0,T])}{P(|X_{t}|\leq \varepsilon {\text{ for every }}t\in [0,T])}}=\exp \left(-\int _{0}^{T}{\tfrac {1}{2}}|{\dot {\varphi }}(t)|^{2}\,dt\right).}](https://wikimedia.org/api/rest_v1/media/math/render/svg/e72245036143e5c8d12eaa3a2da1874aa21b15dd)
Diffusion processes with constant diffusion coefficient on Euclidean space
The Onsager–Machlup function in the one-dimensional case with constant diffusion coefficient σ is given by

In the d-dimensional case, with σ equal to the unit matrix, it is given by

where || ⋅ || is the Euclidean norm and

Generalizations
Generalizations have been obtained by weakening the differentiability condition on the curve φ. Rather than taking the maximum distance between the stochastic process and the curve over a time interval, other conditions have been considered such as distances based on completely convex norms and Hölder, Besov and Sobolev type norms.
Applications
The Onsager–Machlup function can be used for purposes of reweighting and sampling trajectories, as well as for determining the most probable trajectory of a diffusion process.
See also
References
Bibliography
External links