Alessandro Morita Enjoying the thermodynamic limit

Can a pendulum have temperature?

Can a pendulum have temperature?

Phase space image from https://tikz.net/dynamics_phaseportrait/.

Shut up and calculate?

A very standard question in introductory statistical mechanics courses is:

Problem: Consider a 3D harmonic oscillator with mass mm and sprint constant kk in contact with a heat bath at temperature TT.

(a) Calculate the partition function Z(β)Z(\beta).

(b) Show that the average energy for the oscillator is 3kBT3k_BT.

The solution can be obtained almost mindlessly, by using the appropriate formulas. It goes something like this: the system’s Hamiltonian is

H(x,p)=p22m+kx22.H( x, p)=\frac{ p^2}{2m} + \frac{k x^2}{2}.

When in the canonical ensemble, i.e. in contact with a heat bath such that the system’s temperature, volume and particle number are fixed, the phase-space probability density function is given by the Gibbs distribution

ρ(x,p)=1Z(β)exp[βH(x,p)],β(kBT)1\rho({x,p})=\frac{1}{Z(\beta)} \exp\left[-\beta H(x,p) \right],\quad \beta\equiv(k_B T)^{-1}

where the normalization factor Z(β)Z(\beta) is called the partition function. Explicitly, letting ω2k/m\omega^2 \equiv k/m be the natural oscillator frequency,

Z(β)=R3R3d3xd3pexp[β(p22m+mω2x22)]=R3d3xexp[βmω2x22]  R3d3pexp[βp22m]=(2πβmω2)3/2(2πmβ)3/2=(2πβω)3.\begin{align*} Z(\beta) &= \int_{\mathbb R^3} \int_{\mathbb R^3} d^3x\, d^3p \, \exp \left[-\beta \left(\frac{p^2}{2m} + \frac{m\omega^2x^2}{2} \right) \right]\\ &=\int_{\mathbb R^3} d^3x \, \exp \left[-\beta \frac{m\omega^2x^2}{2} \right] \;\int_{\mathbb R^3} d^3p \, \exp \left[-\beta \frac{p^2}{2m} \right]\\ &= \left(\frac{2\pi}{\beta m\omega^2} \right)^{3/2} \left(\frac{2\pi m}{\beta} \right)^{3/2}\\ &= \left(\frac{2\pi}{\beta \omega} \right)^3. \end{align*}

This is the partition function for item (a).

For item (b), we recall the following formula: in the canonical ensemble, the mean energy of the system can be expressed simply from the partition function as

E=ddβlogZ(β)=Z(β)Z(β)\langle E \rangle=-\frac{d}{d\beta} \log Z(\beta) = -\frac{Z'(\beta)}{Z(\beta)}

To see why this is true, it is enough to write the expected value as the integral

EE[H]=R6d3xd3pH(x,p)eβH(x,p)Z(β)\langle E\rangle \equiv \mathbb E[H] = \int _{\mathbb R^6} d^3x d^3p\, H(x,p) \frac{e^{-\beta H(x,p)}}{Z(\beta)}

and realize this is the minus the derivative of the PDF with respect to β\beta up to a constant 1/Z(β)-1/Z(\beta). The result easily follows.

Throughout this article, when expressing means of random variables, I will use the mathematicians’ notation E[  ]\mathbb E[\ \cdot\ ] and the physicists’ notation   \langle \ \cdot \ \rangle interchangibly. The former is clearer when dealing with iterated expectation or conditional expectations, whereas the latter leads to slightly less clutter, at least for me.

Then, it is straightforward to compute the mean energy. Since logZ(β)=3logβ+-\log Z(\beta) = 3 \log \beta + terms that do not depend on β\beta, we find

E=3β=3kBT.\langle E\rangle =\frac{3}{\beta} = 3 k_BT.

This result is in line with the equipartition theorem: for every quadratic degree of freedom in the Hamiltonian, the particle gains a mean energy of (1/2)kBT(1/2) k_BT. Since there are six such degrees of freedom (x2x^2, y2y^2, z2z^2, px2p_x^2, py2p_y^2 and pz2p_z^2) the total energy is 6×1/2=36 \times 1/2 = 3 times kBTk_BT.

This was a relatively easy calculation. When taking this class, about 10 years ago, I remember really enjoying seeing how the equipartition theorem derived from Gaussian integrals of each degree of freedom. I was able to connect the calculation to previous knowledge in my mind, so everything was good.

Or, almost good. I didn’t feel comfortable with having a harmonic oscillator (which I visualized as a microscopic pendulum) have a temperature. It didn’t match my mental image, namely, that of a gas: a system with many degrees of freedom, with each particle carrying an energy

mv22kBT\frac{mv^2}{2} \sim k_BT

so that temperature served as a macroscopic ruler for total energy and represented the “jiggling motion” of the particles. How about a system with few degrees of freedom, like the harmonic oscillator? Would this still apply?

My goal in this article

First, I want to review the basic idea in equilibrium statistical mechanics of a statistical ensemble, and what it means in terms of observations.

Then, we will seek a first-principles toy model which couples a finite system to a heat bath. In fact, we will basically construct a heat bath from the ground up, by starting with a fully deterministic system and then “admitting” our ignorance about the bath’s degrees of freedom.

This will require us to take a detour and study the Langevin equation and its generalizations, which are the prototypical mixture of deterministic dynamics + random terms. We will see how if we pick out a particle from a gas at equilibrium, we can see how its observable moments become indistinguishable from the other particles’ as we let time evolve.

Going back to our toy model, we will show that, although a general solution is unknown, we can show that the system will asymptotically behave like a thermal system in equilibrium.

Therefore, we will have built and proven how any mechanical system can be “coupled” to a heat bath, and eventually thermalize. In this way, we can be content with using equilibrium statistical mechanics for these systems as well.

Ignorance and equilibrium ensembles

When we consider a system in a statistical ensemble, this means we admit our lack of knowledge about the environment’s degrees of freedom and promote the observables to random variables, assuming that the time-averaged behavior of the system can be equivalently described by a probability space with time no longer considered.

For example, by coupling a system with degrees of freedom x(t),p(t)x(t), p(t) to a heat reservoir characterized by a temperature TT (what we usually call the canonical ensemble) we are formally replacing the degrees of freedom to random variables, namely

x(t),p(t)X,PGibbs(H)\boxed{x(t), p(t) \longrightarrow X, P \sim \mathrm{Gibbs}(H)}

where H=H(x,p)H = H(x,p) is the Hamiltonian of the system when not coupled to the heat reservoir, and Gibbs(H)\mathrm{Gibbs}(H) is the distribution with probability density

ρ(x,p)dxdp=exp{βH(x,p)}dxdpexp{βH(x,p)}dxdp, with β1kBT,\rho(x,p) d x\, d p = \frac{\exp{\displaystyle\{-\beta H( x,p)}\} d x d p}{\displaystyle\int \exp{\{-\beta H( x', p')}\} d x' \, d p'},\quad\text{ with } \beta \equiv \frac{1}{k_B T},

where the integral is taken over phase space. As said above, the key assumption is that time averages reduce to ensemble expectations, in the sense that

limttEGibbs[]\lim_{t\to\infty}\langle \cdot \rangle_t \longrightarrow \mathbb E_\mathrm{Gibbs}[\cdot ]

where

At12tttA(s)ds.\langle A \rangle_t \equiv \frac{1}{2t}\int_{-t}^t A(s) ds.

Standard equilibrium statistical mechanics is all about picking the right “statistical ensemble” (= probability space) to make expectations match experimentally-measurable time averages.

For example, for a system which is isolated and does not undergo external influences, we know that energy is conserved. Furthermore - and this is a hypothesis, not a proof - we expect that all microstates which share this energy are equally probable, and hence the correct long-term behavior is that where each microstate is visited an equal amount of time. The probability distribution is therefore

ρ(x,p)dxdp=δ(H(x,p)E)dxdp\rho( {x}, {p}) \,d {x} \, d {p} =\delta(H( {x,p})-E) \,d {x}\, d {p}

i.e. it picks up the H=EH=E hypersurface. This is the so-called microcanonical ensemble. There is no unique, a priori notion of temperature (cf here) for this ensemble.

Now, we can further choose to mentally divide the system into two subparts, namely, the subsystem we care about with relatively few degrees of freedom, and an environment, which we assume to have many degrees of freedom so that the concept of temperature makes sense for it. By waiting long enough, we may assume that the subsystem and the environment are in equilibrium.

For the environment - which we can think of being, for example, the air in a room - we can picture equilibrium intuitively. If we fix the room’s pressure, volume and temperature, these will not change with time and represent a certain equilibrium macrostate of the gas, which, in turn, encompasses numerous different microstates, i.e. combinations of position and momenta of each of its component particles.

But, if the air is at temperature TT, and our subsystem of interest — a pendulum — is in equilibrium with it, what does it mean to consider that the pendulum is also in equilibrium?

Mathematically, it means that we no longer consider the pendulum’s dynamics to be solutions to Hamilton’s equations

x(t)=x(0)cosωt+p(0)mωsinωtp(t)=p(0)cosωtmωx(0)sinωt,x(0),p(0) constant,\begin{align*} x(t) &= x(0) \cos \omega t + \frac{p(0)}{m \omega } \sin \omega t \\ p(t) & = p(0) \cos \omega t - m \omega x(0) \sin \omega t,\qquad x(0),p(0)\text{ constant}, \end{align*}

but rather that we have formally replaced these by random variables XX and PP. A particle which would otherwise undergo Hamiltonian dynamics, when conditioned to be in equilibrium with a heat bath at temperature TT, no longer has well-defined position and momentum; instead, observables can be computed by statistical moments in a line of thought very similar to quantum mechanics.

Importantly, notice that the mechanism by which our system is kept in equilibrium with the environment is assumed irrelevant. Whatever it is, its role is to keep the average energy at 3kBT3 k_B T, and analogously for higher moments.

This is the first part of the answer to our question: I can properly define temperature for a finite system like a harmonic oscillator by assuming ignorance about the interaction between the system and the heat bath, and just letting it inherit the bath’s temperature. Then, my system itself becomes random, and I can only content myself with what I can obtain from observables; its intrinsic dynamics are no longer observable.

Constructing the system-bath interaction

But how? By what mechanism can I visualize the system coupling to the bath and thermalizing?

“It doesn’t matter”, says thermodynamics. As long as you are in equilibrium with the bath (whatever this means) then how that equilibrium is achieved does not matter. This is why thermodynamics can be applied from anything, from an engine, to an oven, to a whole star.

But let us push this line of thought further. Ideally, we would be able to construct, mathematically, a deterministic coupling between the two systems which would converge to a thermal system as time evolves.

The Caldeira-Leggett model [Caldeira, Leggett (1981)] was introduced in 1981 as a simple model connecting a deterministic system to a heat bath. We will follow the derivation in Zwanzig’s book [Zwanzig (2001)], focusing on the classical (non-quantum) case.

We consider a 1D system described by the Hamiltonian

HS=p22m+U(x)H_S = \frac{p^2}{2m}+U(x)

where UU is an arbitrary potential. This describes a single particle system if p,xR3p, x \in \mathbb R^3, but it can describe a many-body system as well, and can easily be generalized to many different masses under the replacement p2/mpTM1pp^2/m \to p^T M^{-1} p. For the sake of simplicity, we will call this the “particle Hamiltonian”.

We now consider a coupling between this system and a “heat bath” consisting of NN oscillators, in the form

HB=j=1N[pj22mj+12mjωj2(qjγjmjωj2x)2]H_B=\sum_{j=1}^N \left[\frac{p_j^2}{2 m_j} + \frac 12 m_j\omega_j^2 \left(q_j-\frac{\gamma_j}{m_j\omega_j^2 } x \right)^2 \right]

Here, qj,pjq_j, p_j are the canonical coordinates of oscillator jj, whose normal modes are ωj\omega_j. The constants γj\gamma_j define the coupling strength between the bath and the particle.

With a formal change of variables, by defining a dimensionless scale factor

αjγjmjωj2,\alpha_j \equiv \frac{\gamma_j}{m_j \omega_j^2},

and redefining constants as

mjmj=mjαj2,qjqj=qjαj,pjpj=αjpjm_j \to m_j'= {m_j}\alpha_j^2,\quad q_j\to q_j'= \frac{q_j}{\alpha_j},\quad p_j\to p_j'=\alpha_j {p_j}

the bath Hamiltonian becomes

HB=j=1N[pj22mj+12mjωj2(qjx)2]H_B=\sum_{j=1}^N \left[\frac{p_j'^2}{2 m_j'} + \frac 12 m_j'\omega_j^2 \left(q_j'- x \right)^2 \right]

and we see that it is a sum of independent harmonic oscillators, each having an interaction term with the particle that depends on their relative displacements.

Let us assume that, from t=t = -\infty to t=0t=0, the particle has followed the dynamics specified by the Hamiltonian HSH_S. At t=0t=0, we couple it to the heat bath such that the Hamiltonian becomes H=HS+HBH = H_S + H_B, ie.

H=p22m+U(x)+HB=j=1N[pj22mj+12mjωj2(qjγjmjωj2x)2]\boxed{H= \frac{p^2}{2m}+U(x)+H_B=\sum_{j=1}^N \left[\frac{p_j^2}{2 m_j} + \frac 12 m_j\omega_j^2 \left(q_j-\frac{\gamma_j}{m_j\omega_j^2 } x \right)^2 \right]}

for t0t \geq 0.

Hamilton’s equations yield

dxdt=pm,dpdt=U(x)+j=1Nγj(qjγjmjωj2x)()\frac{dx}{dt}=\frac{p}{m},\qquad\frac{dp}{dt}=-U'(x)+\sum_{j=1}^N \gamma_j\left(q_j-\frac{\gamma_j}{m_j\omega_j^2} x\right)\tag{$*$} dqjdt=pjmj,dpjdt=mωj2qj+γjx.\frac{dq_j}{dt}=\frac{p_j}{m_j},\qquad \frac{dp_j}{dt}=-m\omega_j^2q_j+\gamma_jx.

We start with the second equation, which can be recast into a second order ODE as

q¨j+ωj2qj=γjmjx(t).\ddot q_j +\omega_j^2 q_j=\frac{\gamma_j}{m_j} x(t).

This is, for each jj, a driven harmonic oscillator. This equation can be solved via variation of parameters (see Appendix 1). The solution is

qj(t)=qj(0)cosωjt+pj(0)mjωjsinωjt+γjmjωj0tsinωj(tt)x(t)dt.q_j(t) = q_j(0) \cos \omega_j t + \frac{p_j(0)}{m_j\omega_j}\sin \omega_j t + \frac {\gamma_j}{m_j\omega_j} \int_0^t \sin\omega_j(t-t')\,x(t') dt'.

By integrating by parts, it can be cast as

qj(t)αjx(t)=(qj(0)αjx(0))cosωjt+  pj(0)mjωjsinωjtαj0tp(t)mcosωj(tt)dt\begin{align*} q_j(t)-\alpha_jx(t)=\left(q_j(0)-\alpha_j x(0) \right)\cos \omega_j t + \; \frac{p_j(0)}{m_j \omega_j} \sin \omega_j t\\ -\alpha_j \int_0^t\frac{p(t')}{m} \cos \omega_j(t-t') dt' \end{align*}

where, again, we use αj=γj/(mjωj2)\alpha_j = \gamma_j/(m_j \omega_j^2) for convenience.

With this expression, we have fully solved the bath’s dynamics as functions of the particle’s position x(t)x(t) and momentum p(t)p(t). We can then substitute this back into Eq. ()(*) to obtain an equation only relating xx and pp:

dpdt=U(x)+j=1Nγj(qjγjmjωj2x)=U(x)+j=1Nγj(qj(t)αjx(t))=U(x)+j=1N[γj(qj(0)αjx(0))cosωjt+γjpj(0)mjωjsinωjt]j=1Nγjαj0tp(t)mcosωj(tt)dt\begin{align*} \frac{dp}{dt} &= -U'(x)+\sum_{j=1}^N \gamma_j\left(q_j-\frac{\gamma_j}{m_j\omega_j^2} x\right)\\ &= - U'(x)+\sum_{j=1}^N \gamma_j(q_j(t) - \alpha_j x(t))\\ &=- U'(x)+\sum_{j=1}^N \left[\gamma_j(q_j(0)-\alpha_j x(0)) \cos\omega_j t+ \frac{\gamma_j p_j(0)}{m_j\omega_j} \sin\omega_j t\right]\\ &\qquad\qquad- \sum_{j=1}^N \gamma_j\alpha_j \int_0^t\frac{p(t')}{m} \cos \omega_j(t-t') dt' \end{align*}

We will now define two terms, and explain the reason behind their names later. First, we define the memory function

KN(t)=j=1Nγjαjcosωjt=j=1Nγj2mjωj2cosωjtK_N(t)=\sum_{j=1}^N \gamma_j\alpha_j \cos \omega_j t = \sum_{j=1}^N\frac{\gamma_j^2}{m_j \omega_j^2} \cos\omega_j t

and the noise function

FN(t)=j=1N[γj(qj(0)γjmjωj2x(0))cosωjt+γjpj(0)mjωjsinωjt]F_N(t)=\sum_{j=1}^N \left[\gamma_j \left(q_j(0)-\frac{\gamma_j}{m_j \omega_j^2} x(0)\right) \cos\omega_j t+ \frac{\gamma_j p_j(0)}{m_j\omega_j} \sin\omega_j t\right]

so that our final integro-differential equation is the so-called generalized Langevin equation

dp(t)dt=U(x(t))0tKN(ts)p(s)mds+FN(t)\boxed{\frac{dp(t)}{dt}=-U'(x(t))-\int_0^t K_N(t-s)\frac{p(s)}{m}ds+F_N(t)}

with p=mdx/dtp = m \, dx/dt the momentum.

Our goal is now to show that our system, built from the Caldeira-Leggett construction, will satisfy two requirements:

  1. It truly behaves like a particle connected to a heat bath
  2. It reaches temperature TT as tt\to\infty.

Detour: the Langevin equation

Before we dive into the solution to the generalized Langevin equation, written above, it is necessary to study the standard Langevin equation.

This equation, also known as a stochastic differential equation (SDE), is a means of considering how random noise affects otherwise deterministic processes. It can be written, generally, as

dxdt=μ(t,x(t))+σ(t,x(t))η(t)\frac{dx}{dt}=\mu(t,x(t))+\sigma(t,x(t)) \eta(t)

where μ\mu is the so-called drift, and ση\sigma \eta is the noise. Here, η(t)\eta(t) is, for every tt, a random variable modelling the non-deterministic behavior of the system. It is chosen as a Gaussian random variable (hence, fully determined by its first two moments) satisfying

η(t)=0,η(t)η(t)=δ(tt)\boxed{\langle \eta(t) \rangle = 0,\qquad \langle \eta(t) \eta(t')\rangle = \delta(t-t')}

with δ\delta being the Dirac delta distribution.

There is so much we can discuss on the Langevin equation, the first point being notation: I originally studied this equation from finance books [Shreve (2004)], with both different notations and emphases.

Let us consider the Langevin equation for a particle in a gas, being constantly bombarded by other randomly moving particles: the classic case of Brownian motion. Newton’s second law reads

mdvdt=γmv+F(t),F(t)=Γη(t)m \frac{dv}{dt}=-\gamma m v + F(t),\quad F(t) = \Gamma \eta(t)

where Γ\Gamma is a constant that we must determine. This particle undergoes drag, represented by the force γmv-\gamma m v, and a random force FF which is Gaussian with mean zero and variance Γ2\Gamma^2.

Crucially, assume that the gas is at equilibrium at temperature TT. What we are doing is to basically fix our attention to a single particle out of the many identical particles in the gas, and studying its behavior (hence the naming “tagged particle” usual in this field — we are picking one particle out of all the others to analyze).

This first-order equation can be solved via an integrating factor, and has formal solution

v(t)=v0eγt+1m0teγ(ts)F(s)ds.v(t)=v_0 e^{-\gamma t} + \frac 1m \int_0^t e^{-\gamma(t-s)} F(s) ds.

Notice that v0v_0 is, in principle, a random variable as well. For us to compute averages, variances etc, it is useful to remember the law of total expectation: for two random variables X,YX, Y it holds

E[X]=E[E[XY]].\mathbb E[X] = \mathbb E\big[ \mathbb E[X \, \vert \, Y]\big].

In words, it means that the mean of, say, v(t)v(t), can be computed by first considering v0v_0 as a constant, and then taking the average of the result across v0v_0.

One can formally see that the integral has zero mean:

E[1m0teγ(ts)F(s)dsv0]=1m0teγ(ts)ΓE[η(s)v0]ds=1m0teγ(ts)ΓE[η(s)]ds=0\begin{align*} \mathbb E\left[\frac 1m \int_0^t e^{-\gamma(t-s)} F(s) ds \, \Bigg \vert \,v_0\right] &= \frac 1m \int_0^t e^{-\gamma(t-s)} \Gamma\, \mathbb E[\eta(s) \, \vert \, v_0 ] ds\\ &= \frac 1m \int_0^t e^{-\gamma(t-s)} \Gamma\, \mathbb E[\eta(s)]ds\\ &=0 \end{align*}

where we assumed that E[η(s)v0]=E[η(s)]\mathbb E[\eta(s) \, \vert \, v_0 ] = \mathbb E[\eta(s)], which is valid, for instance, if the noise term is independent of v0v_0 (which we will assume it is). The rigorous proof of why this formal operation works requires an understanding of the Ito integral — see [Shreve 2004].

Hence, we have found that

E[v(t)v0]=eγtv0.\mathbb E[v(t) \, \vert \, v_0] = e^{-\gamma t} v_0.

To compute the iterated expectation E[E[v(t)v0]]\mathbb E\big[ \mathbb E[ v(t) \, \vert \, v_0]\big], we use the fact that the tagged particle is from an ideal gas at thermal equilibrium at temperature TT. We know from kinetic theory (or, equivalently, from equilibrium statistical mechanics) that the velocity v0v_0 will follow a Maxwell-Boltzmann distribution: in 1D, the probability density function is

f0(v0)dv0=m2πkBTemv02/2kBTdv0f_0(v_0)dv_0=\sqrt{\frac{m}{2\pi k_BT}} e^{-mv_0^2/2k_BT} dv_0

from which follows that

E[v(t)]=E[E[v(t)v0]]=0\mathbb E[ v(t)] = \mathbb E\big[ \mathbb E[ v(t) \, \vert \, v_0]\big]=0

since the integrand will be an odd function of v0v_0. In other words, we expect a particle under the specified Langevin dynamics to have zero mean velocity.

This, however, says nothing about the fluctuations on the particle’s velocity. We are interested in computing the velocity autocorrelation

Cov[v(t),v(t)]=E[(v(t)Ev(t))(v(t)Ev(t))]=E[v(t)v(t)]\mathrm{Cov}[v(t), v(t')] = \mathbb E \Big[(v(t)- \mathbb Ev(t))(v(t')- \mathbb Ev(t')) \Big]=\mathbb E[v(t)v(t')]

Again, it is easier to write E[v(t)v(t)]=E[E[v(t)v(t)v0]]\mathbb E[v(t)v(t')] = \mathbb E[\mathbb E[v(t)v(t')\,\vert\, v_0]] and start from the conditional average:

E[v(t)v(t)v0]=E[(v0eγt+1m0teγ(ts)F(s)ds)×(v0eγt+1m0teγ(ts)F(s)ds)]=v02eγ(t+t)+cross terms+Γ2m20tds0tdseγ(ts)γ(ts)E[η(s)η(s)]\begin{align*} \mathbb E[v(t)v(t')\,\vert\, v_0] &= \mathbb E \Bigg[ \Big( v_0 e^{-\gamma t} + \frac 1m \int_0^t e^{-\gamma(t-s)} F(s) ds \Big) \times \\ &\qquad \qquad \Big( v_0 e^{-\gamma t'} + \frac 1m \int_0^{t'} e^{-\gamma(t'-s')} F(s') ds' \Big) \Bigg]\\ &=v_0^2 e^{-\gamma(t+t')} + \text{cross terms} \\ &\qquad +\frac{\Gamma^2}{m^2} \int_0^t ds\int_0^{t'}ds'\, e^{-\gamma(t-s) -\gamma(t'-s')} \mathbb E[\eta(s)\eta(s')] \end{align*}

The cross terms will vanish since E[η(s)ds]=0\mathbb E[\int \cdots \eta(s) ds] = 0. For the double integral, we pick up a factor of δ(ss)\delta(s-s') which will restrict the domain to s=ss=s', only defined for [0,min(t,t)][0, \min(t,t')]. Hence,

E[v(t)v(t)v0]=v02eγ(t+t)+Γ2m2eγ(t+t)0min(t,t)e2γsds=v02eγ(t+t)+Γ22γm2eγ(t+t)[e2γs]s=0s=min(t,t)\begin{align*} \mathbb E[v(t)v(t')\,\vert\, v_0] &= v_0^2 e^{-\gamma(t+t')} +\frac{\Gamma^2}{m^2} e^{-\gamma(t+t')} \int_0^{\min(t,t')} e^{2\gamma s} ds\\ &=v_0^2 e^{-\gamma(t+t')} +\frac{\Gamma^2}{2\gamma m^2} e^{-\gamma(t+t')} \big[e^{2\gamma s}\big]_{s=0}^{s=\min(t,t')} \end{align*}

Using the following identity to symmetrize the minimum

min(t,t)=12(t+t)12tt,\min(t,t') = \frac 12 (t+t') - \frac 12 \vert t-t'\vert,

we get

E[v(t)v(t)v0]=(v02Γ22γm2)eγ(t+t)+Γ22γm2eγtt.\mathbb E[v(t)v(t')\,\vert\, v_0] = \left(v_0^2 - \frac{\Gamma^2}{2\gamma m^2} \right) e^{-\gamma(t+t')} + \frac{\Gamma^2}{2\gamma m^2} e^{-\gamma\vert t-t'\vert}.

This expression will help us find a critical relation between Γ\Gamma, which characterizes the noise, and the dissipation factor γ\gamma.

We first study a limiting case. Assume t=tt=t' (i.e. we study the variance of v(t)v(t)) and let tt tend to infinity. Rearranging, we see that

E[v2(t)v0]=v02e2γt+Γ22γm2(1e2γt)  t  Γ22γm2\mathbb E[v^2(t) \vert v_0]=v_0^2e^{-2\gamma t} + \frac{\Gamma^2}{2\gamma m^2} (1-e^{-2\gamma t}) \; \overset {t\to\infty} \longrightarrow \; \frac{\Gamma^2}{2\gamma m^2}

which does not depend on v0v_0, and hence is the total expectation:

E[v(t)2]=Γ22γm2.\mathbb E[v(t)^2] = \frac{\Gamma^2}{2\gamma m^2}.

On the other hand, we know that, as tt \to \infty, the particle’s velocity just follows the Maxwell-Boltzmann distribution, as it did at t=0t=0. In other words, we expect v()v(\infty), as v0v_0, to follow that distribution, for which

E[v2()]=kBTm\mathbb E[v^2(\infty)] = \frac{k_BT}{m}

in one dimension. For consistency, it must hold that

Γ22γm2=kBTm    Γ=2mγkBT\frac{\Gamma^2}{2\gamma m^2} = \frac{k_BT}{m} \implies \boxed{\Gamma= \sqrt{2m \gamma k_BT}}

We have thus found that the white noise is a force which depends on the dissipation factor γ\gamma, the particle’s mass mm and the temperature TT via

F(t)=2mγkBTη(t)\boxed{F(t) = \sqrt{2m \gamma k_BT}\, \eta(t)}

This is an instance of the fluctuation-dissipation theorem: both the drag force (which removes energy from the system, trying to push it to rest) and the thermal noise (which adds energy to it) have the same source; neither exists if γ=0\gamma = 0, and the force amplitude Γ\Gamma is not an independent quantity.

We can now tackle the case where ttt \neq t'. By substituting this value in the corresponding equation, we find

E[v(t)v(t)v0]=(v02kBTm)eγ(t+t)+kBTmeγtt.\mathbb E[v(t)v(t')\,\vert \, v_0]=\left(v_0^2 - \frac{k_BT}{m} \right)e^{-\gamma(t+t')} + \frac{k_BT}{m} e^{-\gamma\vert t-t'\vert}.

All terms are deterministic except v02v_0^2; upon taking the expectation with respect to the Maxwell-Boltzmann distribution, however, it exactly cancels the kBT/mk_BT/m term, and we find the final result

E[v(t)v(t)]=kBTmeγtt\boxed{\mathbb E[v(t)v(t')]=\frac{k_BT}{m} e^{-\gamma\vert t-t'\vert}}

Hence, the velocity autocorrelation decays exponentially when the dissipation force is white noise. Intuitively, it means that the particle’s velocity loses all correlation with its initial one after an interval of the order 1/γ\sim 1/\gamma.

The Fokker-Planck equation

For white noise, the classic theory for stochastic differential equations applies. In particular, there is the very powerful tool known as the Fokker-Planck equation or the Kolmogorov forward equation, which allows us to convert a stochastic differential equation into a partial differential equation for the phase-space probability density of the system. This will be a very important tool in the discussion of the Caldeira-Leggett model, so we briefly present it here.

Consider an SDE described by

dxdt=μ(t,x(t))+σ(t,x(t))η(t)\frac{dx}{dt}=\mu(t,x(t)) + \sigma(t,x(t)) \eta(t)

with η\eta Gaussian, where xx and μ\mu are NN-dimensional vectors, η\eta is MM-dimensional Brownian motion, i.e. whose components satisfy

E[η(t)i]=0,E[η(t)iη(t)j]=δijδ(tt),\mathbb E[\eta(t)_i] = 0,\quad \mathbb E[\eta(t)_i\eta(t')_j] = \delta_{ij}\delta(t-t'),

and σ\sigma is an N×MN\times M matrix, then the associated Fokker-Planck equation is a PDE for the phase-space density p(t,x)p(t,x):

pt=i=1Nxi[μip]+12i=1Nj=1N2xixj[Dijp]\boxed{\frac{\partial p}{\partial t} = -\sum_{i=1}^N\frac{\partial}{\partial x_i}[\mu_i p]+ \frac 12 \sum_{i=1}^N \sum_{j=1}^N \frac{\partial^2}{\partial x_i \partial x_j}[D_{ij} p]}

where D=σσTD=\sigma \sigma^T, or

Dij(t,x)=k=1Mσik(t,x)σjk(t,x)D_{ij}(t,x)=\sum_{k=1}^M\sigma_{ik}(t,x) \sigma_{jk}(t,x)

is the diffusion matrix.

Let us convert the Langevin equation, which is a 2nd order scalar system for position, into a first-order vector system as

dxdt=v,dvdt=1mU(x)γmv+1mF\frac{dx}{dt}= v,\quad \frac{dv}{dt}=- \frac{1}{m}U'(x)-\frac{\gamma}{m} v+ \frac{1}{m}F

we can identify N=2,M=1N=2, M=1 and

X=[xv],μ=[v(1/m)Uγv/m],σ=[02γkBT/m2]X = \begin{bmatrix} x\\ v \end{bmatrix}, \quad \mu= \begin{bmatrix} v \\ - (1/m)U' - \gamma v/m \end{bmatrix},\quad \sigma = \begin{bmatrix} 0 \\ \sqrt{2\gamma k_B T/m^2} \end{bmatrix}

From this, we find

D=σσT=[0002γkBT/m2]D= \sigma \sigma^T=\begin{bmatrix}0 & 0 \\ 0 & 2\gamma k_B T /m^2\end{bmatrix}

and the Fokker-Planck equation becomes

p(t,x,v)t=x(vp)v([1mU(x)γvm]p)+122γkBTm2v2p\frac{\partial p(t,x,v)}{\partial t}=-\partial_x (vp)-\partial_v \left(\left[-\frac{1}{m}U'(x)- \frac{\gamma v}{m} \right]p \right)+ \frac 12 \frac{2 \gamma k_B T}{m^2} \partial^2_v p

where we write x/x\partial_x \equiv \partial/\partial x and v/v\partial_v \equiv \partial/\partial v for simplicity.

We can simplify by noticing that, considering vv and xx as independent variables,

x(vp)=vxp,v(p(xU(x)))=U(x)vp\partial_x (vp) = v \partial_xp,\quad \partial_v (p(\partial _xU(x)))=U'(x) \, \partial_vp

obtaining the Klein-Kramers equation (also known as the Kramers-Chandrasekhar equation):

pt+vxp=1mU(x)vp+γmv[pv+kBTmvp]\boxed{\frac{\partial p}{\partial t}+v \partial_x p=\frac 1m U'(x) \partial_vp+\frac{\gamma}{m} \partial_v \left[ pv+\frac{k_B T}{m} \partial_vp\right]}

Notice that this equation is of the form

DpDt1mU(x)vp=vj,jγm[pv+kBTmvp]\frac{Dp}{Dt} -\frac 1mU'(x) \, \partial_vp = \partial_v j,\quad j\equiv\frac{\gamma}{m}\left[ pv+\frac{k_B T}{m} \partial_vp\right]

with D/Dt=t+vxD/Dt = \partial_t + v \partial_x being the material derivative and jj is a current. We can interpret this as how the probability density flows over time, spreading around space.

The Fokker-Planck equation was derived from the Langevin equation, which uses that initial/asymptotic conditions are those of the canonical ensemble Gibbs distribution at temperature TT. We now show that this is consistent with the asymptotic limit of the Klein-Kramers equation.

Let p(x,v)limtp(t,x,v)p_\infty(x,v) \equiv \lim_{t\to\infty} p(t,x,v). It must hold that p/t=0\partial p_\infty/\partial t = 0, and so we want to solve

vxp+1mU(x)vp+γmv[pv+kBTmvp]=0.-v \partial_x p_\infty+\frac 1m U'(x)\, \partial_vp_\infty+\frac{\gamma}{m} \partial_v \left[ p_\infty v+\frac{k_B T}{m} \partial_vp_\infty\right]=0.

Let us guess a solution. If we could have the term between square brackets to vanish identically, then for the equation as a hole to hold we will require

vp=pvmkBT and vxp=1mU(x)vp.\partial_v p_\infty=- p_\infty v \frac{m}{k_BT}\quad\text{ and } \quad v \partial_xp_\infty=\frac 1m U'(x)\,\partial_vp_\infty.

The first equation can be integrated directly:

dpp=mkBTvdv    p(x,v)=f(x)exp(mv22kBT)\frac{dp_\infty}{p_\infty}=-\frac{m}{k_BT}v dv \implies p_\infty(x,v) =f(x)\exp \left(-\frac{mv^2}{2k_BT} \right)

where f(x)f(x) has yet to be determined. The second equation can be rewritten as

xp=1mxU(pmkBT)    xp=pkBTU(x)\partial_x p_\infty = \frac 1m \partial_x U\,\left(-p_\infty \frac{m}{k_BT} \right) \implies\partial_x p_\infty=-\frac{p_\infty}{k_BT} U'(x)

which can be directly integrated as

p(x,v)=g(v)exp(U(x)kBT)p_\infty(x,v) = g(v)\exp\left(-\frac{U(x)}{k_BT}\right)

The only way these two solutions can be harmonized is if

p(x,v)exp[1kBT(mv22+U(x))]\boxed{p_\infty(x,v) \propto\exp\left[-\frac{1}{k_BT} \left(\frac{mv^2}{2}+U(x) \right) \right]}

which is exactly the expression for the Gibbs distribution of a system with Hamiltonian

H(x,p)=p22m+U(x),pmvH_\infty(x,p)=\frac{p^2}{2m}+U(x),\quad p\equiv mv

in equilibrium with a reservoir with temperature TT.

Going back to generalized Langevin equation

Having studied properties of the Langevin equation, both from the SDE and PDE sides, we can now tackle the generalized one in the Caldeira-Leggett model. We repeat it here for convenience, using velocity v(t)v(t) instead of momentum p(t)p(t):

mdv(t)dt=U(x(t))0tKN(ts)v(s)ds+FN(t).m \frac{dv(t)}{dt}=-U'(x(t))- \int_0^t K_N(t-s)v(s) ds+ F_N(t).

Notice that this formally reduces to the standard Langevin equation

mdv(t)dt=γmv(t)+F(t)m \frac{dv(t)}{dt}= \gamma m v(t)+ F(t)

if we:

  1. Set the conservative force to zero: U(x)=0U'(x) = 0;
  2. Somehow identify the so-called memory kernel KNK_N with a delta function, via
KN(ts)=2γmδ(ts)K_N(t-s)= 2\gamma m \delta(t-s)

noticing that the time integral only reaches the support of δ\delta from the left and using the half-delta convention, so that

0t2δ(ts)v(s)ds=v(t)\int_0^t 2\delta(t-s) v(s) ds = v(t)
  1. Somehow identify the function FNF_N with a random perturbation FF.

  2. Finally, if 2-3 hold, then they must satisfy the fluctuation-dissipation relation between them.

Requirement 1 is fair, but how can we relate FNF_N to noise?

Let us start from the memory term. Its definition was

KN(t)=j=1Nγjαjcosωjt=j=1Nγj2mjωj2cosωjtK_N(t)=\sum_{j=1}^N \gamma_j\alpha_j \cos \omega_j t = \sum_{j=1}^N\frac{\gamma_j^2}{m_j \omega_j^2} \cos\omega_j t

where all quantities γj,mj,ωj\gamma_j, m_j, \omega_j are free parameters. It is intuitive (and justified via Fourier transform) that we may be able to pick them so that the function is very peaked around 0, replicating a delta function. We will discuss this more formally below, but assume for now that this is possible.

Move on to the noise, defined as

FN(t)=j=1N[γj(qj(0)γjmjωj2x(0))cosωjt+γjpj(0)mjωjsinωjt]F_N(t)=\sum_{j=1}^N \left[\gamma_j \left(q_j(0)-\frac{\gamma_j}{m_j \omega_j^2} x(0)\right) \cos\omega_j t+ \frac{\gamma_j p_j(0)}{m_j\omega_j} \sin\omega_j t\right]

What we do is to to admit that, for large NN, we may not have full grasp of all the initial conditions of our bath. We then abstract away our ignorance by considering that the heat bath was prepared in a thermal state characterized by a temperature TT, right before being coupled to our particle (whose initial position x(0)x(0) we know, since we can measure it directly). In other words, we assume that

qj(0),pj(0)x(0)    Gibbs(HB,T)q_j(0), p_j(0)\, \vert \,x(0)\;\sim\;\mathrm{Gibbs}(H_B, T)

i.e. the bath, conditioned on x(0)x(0), follows a Gibbs distribution for the Hamiltonian HBH_B at temperature TT. Explicitly, this means that the phase-space distribution function for the bath at t=0t=0 is

ρ(q,p)dqdp=1Z(β)eβHB(q,p)dqdp,β1/kBT.\rho(q,p)dqdp=\frac{1}{Z(\beta)}e^{-\beta H_B(q,p)}dqdp,\quad \beta\equiv 1/k_BT.

Under these conditions, it is a straightforward exercise to prove two things:

  1. FN(t)F_N(t) is Gaussian
  2. Its moments are
E[FN(t)]=0,E[FN(t)FN(t)]=kBTKN(tt)\boxed{\mathbb E[F_N(t) ]=0,\quad \mathbb E[F_N(t)F_N(t')]=k_BT K_N(t-t')}

i.e. the fluctuation-dissipation theorem holds.

To prove that FN(t)F_N(t) is Gaussian, we basically make use of the central limit theorem. FN(t)F_N(t) is a linear combination of many independent random variables, and hence its distribution tends to a Gaussian one for large NN. This means, in particular, that we only care about its two first moments — all others are functions of these two via Wick’s theorem.

For the second result, we proceed step by step. First we show a few auxiliary results, namely

E[pj(0)]=0,E[(qj(0)αjx(0))]=0\mathbb E[p_j(0)] = 0,\quad \mathbb E[(q_j(0)-\alpha_jx(0))]=0

and

E[pj(0)2]=mjkBT,E[(qj(0)αjx(0)2)]=kBT/mjωj2.\mathbb E[p_j(0)^2] = m_jk_BT,\qquad \mathbb E[(q_j(0)-\alpha_j x(0)^2)]=k_BT/m_j\omega_j^2.

To start this calculation, notice how the bath Hamiltonian at time zero,

HB=j=1N[pj(0)22mj+12mjωj2(qj(0)αjx(0))2],H_B=\sum_{j=1}^N \left[\frac{p_j(0)^2}{2 m_j} + \frac 12 m_j\omega_j^2 \left(q_j(0)-\alpha_j x(0) \right)^2 \right],

is the sum of NN similar Hamiltonians HjH_j. Upon exponentiating, we will have the product of NN exponentials:

eβHB=j=1NeβHj=j=1nexp(βpj22mj)exp(βmjωj2(qjαjx0)22)e^{-\beta H_B}=\prod_{j=1}^N e^{-\beta H_j}=\prod_{j=1}^n\exp\left(-\frac{\beta p_j^2}{2m_j}\right)\exp\left(- \frac{\beta m_j\omega_j^2(q_j-\alpha_j x_0)^2}{2} \right)

where I have abbreviated pjpj(0)p_j \equiv p_j(0) etc for simplicity.

Notice that, when computing averages relative to one of the oscillators (say, ii), only the iith term survives - the others will cancel out with the corresponding terms in the partition function. For an observable OiO_i that only depends on qi,piq_i, p_i but not on any other jij\neq i:

E[Oi]=OieβHidqidpi[jieβHjdqjdpj]jeβHjdqjdpj=OieβHidqidpieβHidqidpi.\mathbb E[O_i] = \frac{ \displaystyle \int O_i e^{-\beta H_i} dq_i dp_i \left[ \prod_{j\neq i} \int e^{-\beta H_j} dq_j dp_j\right]}{\displaystyle \prod_j\int e^{-\beta H_j}dq_j dp_j}=\frac{\int O_i e^{-\beta H_i} dq_i dp_i }{\int e^{-\beta H_i} dq_i dp_i}.

For example, for the momentum pi(0)p_i(0), we find

E[pi(0)]pieβpi2/2midpi=0\mathbb E[p_i(0)] \propto \int_{-\infty}^\infty p_i e^{-\beta p_i^2/2m_i}dp_i = 0

since the integrand is odd. Similarly,

E[(qi(0)αix(0))](qiαix0)eβmiωi2(qiαix0)2/2dqi=0\mathbb E[(q_i(0)-\alpha_i x(0))] \propto \int_{-\infty}^\infty (q_i-\alpha_i x_0) e^{-\beta m_i \omega_i^2 (q_i-\alpha_i x_0)^2/2} dq_i=0

again from the fact that the integrand is odd. Hence, we have proven the properties of the first moments of momentum and position.

Now on to the identities for second moments:

E[pi(0)2]=pi2eβpi2/2midpieβpi2/2midpi\mathbb E[p_i(0)^2]=\frac{\int_{-\infty}^\infty p_i^2 e^{-\beta p_i^2/2m_i}dp_i}{\int_{-\infty}^\infty e^{-\beta p_i^2/2m_i}dp_i}

Using that, for Gaussian integrals,

eαx2dx=πα,x2eαx2dx=12απα\int_{-\infty}^\infty e^{-\alpha x^2} dx=\sqrt{\frac \pi\alpha},\qquad \int_{-\infty}^\infty x^2e^{-\alpha x^2} dx=\frac{1}{2\alpha} \sqrt{\frac{\pi}{\alpha}}

we find

E[pi(02)]=12×β/2mi=mikBT\mathbb E[p_i(0^2)]=\frac{1}{2 \times \beta/2m_i}=m_i k_BT

Similarly,

E[(qi(0)αix(0))2]=(qiαix0)2eβmiωi2(qiαix0)2/2dqieβmiωi2(qiαix0)2/2dqi=12×βmiωi2/2=kBTmiωi2\begin{align*} \mathbb E[(q_i(0)-\alpha_i x(0))^2] &=\frac{\int_{-\infty}^\infty (q_i - \alpha_i x_0)^2 e^{-\beta m_i \omega_i^2 (q_i-\alpha_i x_0)^2/2}dq_i}{\int_{-\infty}^\infty e^{-\beta m_i \omega_i^2 (q_i-\alpha_i x_0)^2/2}dq_i}\\ &=\frac{1}{2\times \beta m_i \omega_i^2/2}\\ &=\frac{k_B T}{m_i \omega_i^2} \end{align*}

as claimed.

With these intermediate results, it is trivial to compute the mean and covariance of the noise function FN(t)F_N(t). For its mean:

E[FN(t)]=j=1N[γjE[qj(0)αjx(0)]cosωjt+γjE[pj(0)]mjωjsinωjt]=0.\mathbb E[F_N(t)]=\sum_{j=1}^N \left[\gamma_j \mathbb E\left[q_j(0)-\alpha_j x(0)\right] \cos\omega_j t+ \frac{\gamma_j \mathbb E[p_j(0)]}{m_j\omega_j} \sin\omega_j t\right]=0.

For the covariance, the calculation is a bit more cumbersome since it requires us to write FN(t)FN(t)F_N(t) F_N(t') as a double sum (over ii and jj), and then apply the averaging operator. The cross terms will contain terms like

E[(qj(0)αjx(0))pi(0)]=E[(qj(0)αjx(0)]E[pi(0)]=0\mathbb E[(q_j(0)-\alpha_j x(0)) p_i(0)] = \mathbb E[(q_j(0)-\alpha_j x(0)] \mathbb E[ p_i(0)]=0

since the Gibbs distribution is of the form

ρ(q,p)efunction of qefunction of pρq(q)ρp(p),\rho(q,p)\propto e^{\text{function of } q} e^{\text{function of p}}\equiv \rho_q(q) \rho_p(p),

and thus momenta and positions are independent. Only the quadratic terms remain and we have

E[FN(t)FN(t)]=i,j[γjγicosωitcosωjtE[(qj(0)αjx(0))(qi(0)αix(0))]+γjmjωjγimiωisinωitsinωjtE[pi(0)pj(0)]]\begin{align*} \mathbb E[F_N(t) F_N(t')] &= \sum_{i,j} \Big[\gamma_j \gamma_i \cos \omega_i t \cos\omega_j t' \mathbb E[(q_j(0)-\alpha_j x(0))(q_i(0)-\alpha_i x(0))]\\ &\quad + \frac{\gamma_j}{m_j \omega_j}\frac{\gamma_i}{m_i \omega_i} \sin \omega_i t \sin\omega_j t'\mathbb E[p_i(0)p_j(0)]\Big] \end{align*}

The first expectation is δijkBT/mjωj2\delta_{ij} k_BT/m_j\omega_j^2 since positions are independent amongst themselves. Similarly, the second one is mjkBTδijm_j k_BT \delta_{ij}. Hence,

E[FN(t)FN(t)]=kBTi[γi2miωi2cosωitcosωit+γi2mi2ωi2misinωitsinωit]=kBTiγi2miωi2cosωi(tt)=kBTK(tt)\begin{align*} \mathbb E[F_N(t)F_N(t')] &= k_B T\sum_i \Big[\frac{\gamma_i^2}{m_i \omega_i ^2} \cos\omega_it \cos\omega_i t' +\frac{\gamma_i^2}{m_i^2\omega_i^2} m_i \sin\omega_it \sin \omega_i t' \Big]\\ &=k_B T \sum_i\frac{\gamma_i^2}{m_i\omega_i^2} \cos\omega_i(t-t')\\ &=k_BT K(t-t') \end{align*}

as claimed.

A final technical step is to take NN\to\infty so that we avoid Poincaré recurrence and the system is not periodic. This is often done by defining the spectral density

JN(ω)=π2mj=1Nγj2mjωjδ(ωωj)J_N(\omega)=\frac {\pi} {2m}\sum_{j=1}^N \frac{\gamma_j^2}{m_j \omega_j} \delta(\omega-\omega_j)

which helps us re-write the memory function as

KN(t)=j=1Nγj2mjωj2cosωjt=2mπ0JN(w)ωcosωt  dωK_N(t)=\sum_{j=1}^N\frac{\gamma_j^2}{m_j \omega_j^2} \cos\omega_j t=\frac{2m}{\pi} \int_0^\infty \frac{J_N(w)}{\omega} \cos \omega t \;d\omega

We can now take a continuum limit if the spacing between two successive frequencies ωi\omega_i is small. Then, the coupling between the bath and the particle is fully determined by the choice of the spectral density J(ω)limNJN(ω)J(\omega) \equiv \lim_{N\to\infty} J_N(\omega), and the memory function becomes

K(t)=2π0mJ(ω)ωcosωtdω.\boxed{K(t)=\frac 2 \pi\int_0^\infty \frac{m \,J(\omega)}{\omega} \cos \omega t \,d\omega.}

The simplest case is that of

J(ω)=γω,γ>0J(\omega)=\gamma \omega, \qquad \gamma >0

for which

K(t)=2π0mγcosωtdωK(t)=\frac 2\pi \int_0^\infty m\gamma \cos \omega t\,d\omega

or, using the identity 0cosωtdω=πδ(t)\int_0^\infty \cos \omega t \,d\omega = \pi \delta(t),

K(t)=2γmδ(t)K(t)=2 \gamma m\delta(t)

which corresponds to white noise as previously discussed.

Summarizing: this section was fairly technical, but it served to prove our first objective: that the Caldeira-Leggett model indeed describes, in a mechanistic way, how to couple an arbitrary conservative system to an environment that behaves like a heat bath. This is done, mathematically, via a generalized Langevin equation, with specific dissipation and noise terms.

On to colored noise

Above, we showed that the Caldeira-Leggett model satisfies the requirements of creating a subsystem+bath system where the subsystem eventually converges to bath’s temperature, in the special case of white noise, i.e. when there is no memory.

Of course, we would like to show that the solution to the generalized Langevin equation, as time goes to infinity, approaches a thermal system.

Based on the previous sections, one may hope to map the stochastic equation on to a Fokker-Planck equation, and solve it for the probability density. If it is of the form

peH/kBTp_\infty \propto e^{H'}/k_BT

for some Hamiltonian HH', then our job is done.

Unfortunately, for general colored (i.e. non-white) noise, there is no natural mapping between Langevin and Fokker-Planck equations(Hänggi (1997) eq 17). This means that, if we look up results in literature, they will likely:

  • Be valid for specific memory kernels KK
  • Be valid for specific subcases of the generalized Langevin equation

Below, we provide a proof of the claim in Ayaz et al (2022) , Equations (3.1)-(3.4), that we can convert a generalized Langevin equation with an exponential kernel into a standard Langevin equation, for which there is a Fokker-Planck equation!

Why an exponential kernel? This is a very common model, for instance, in materials — an example being the Drude model of how electrons in metals behave.

Consider then a memory function

K(tt)=Γ0e(tt)/τ1tt.K(t-t')=\Gamma_0 e^{-(t-t')/\tau} \boldsymbol{1}_{t\geq t'}.

so that the generalized Langevin equation takes the form

v˙(t)=1mU(x)0tΓ0e(tt)/τv(t)dt+1mR(t)()\dot v(t)=-\frac 1m U'(x) -\int_{0}^t \Gamma_0 e^{-(t-t')/\tau}v(t')dt'+ \frac 1m R(t)\tag{$*$}

with noise satisfying

R(t)=0,R(t)R(t)=mkBTΓ0ett/τ\langle R(t)\rangle = 0,\qquad \langle R(t)R( t')\rangle= mk_BT \Gamma_0 e^{\vert t-t'\vert /\tau}

Initial conditions are x(0)=x0x(0) = x_0, v(0)=v0v(0) = v_0 as usual.

This system has memory, since the memory kernel has a non-trivial support. In the language of stochastic processes, we say that the state space described by x,vx,v at time tt is not Markovian.

We claim that we can make this system Markovian by introducing a new variable uu with units of speed such that

x˙(t)=v(t)(a)v˙(t)=1mU(x)+Γ0u(t)(b)u˙(t)=u(t)τΓ0v(t)+2kBTmτη(t)(c)\boxed{\begin{align*} \dot x(t) &= v(t) & (a)\\ \dot v(t) &= -\frac 1m U'(x) + \sqrt{\Gamma_0} u(t) & (b)\\ \dot u(t) &= -\frac{u(t)} \tau - \sqrt{\Gamma_0} v(t)+\sqrt{\frac{2 k_BT}{m\tau}} \eta(t) & (c) \end{align*}}

where η\eta is white noise as usual:

η(t)=0,η(t)η(s)=δ(ts).\langle \eta(t)\rangle=0,\quad \langle \eta(t) \eta(s) \rangle = \delta(t-s).

This introduces a factor of mm in the denominator of equation (c). We believe Ayaz et al (2022) has a typo in their Equation (3.3c), which can be seen by dimensional analysis of the problem: all terms in the third equation have units of acceleration, but without the mass in the denominator, the last term has units of speed×mass1/2\text{speed}\times \text{mass}^{1/2}.

We further add the initial condition u(0)=0u(0) = 0, which is consistent with equation (b): at time zero, Newton’s law yields mv˙(0)=U(x0)m\dot v(0)=U'(x_0).

Let us prove that this new system reduces to our original non-Markovian system. By formally integrating equation (c) with u(0)=0u(0) = 0, we find

u(t)=0te(ts)/τ[Γ0v(s)+2kBTmτη(s)]dsu(t)=\int_0^t e^{-(t-s)/\tau} \left[-\sqrt{\Gamma_0} v(s) + \sqrt{\frac{2k_B T}{m\tau}} \eta(s) \right]ds

which, plugged back into equation (b) yields

v˙(t)=1mU(x)0tΓ0e(ts)/τv(s)ds+2kBTΓ0mτ0te(ts)/τη(s)ds.\dot v(t) = -\frac 1m U'(x)-\int_0^t\Gamma_0 e^{-(t-s)/\tau} v(s) ds + \sqrt{\frac{2k_BT \Gamma_0}{m\tau}} \int_0^t e^{-(t-s)/\tau} \eta(s)ds.

This is almost Equation ()(*) above, if we can show that the last term

G(t)2kBTΓ0mτ0te(ts)/τη(s)dsG(t) \equiv \sqrt{\frac{2k_BT \Gamma_0}{m\tau}} \int_0^t e^{-(t-s)/\tau} \eta(s)ds

satisfies the same moment relations as R(t)/mR(t)/m, i.e.

R(t)=0,R(t)mR(t)m=kBTΓ0mett/τ.\langle R(t)\rangle = 0,\qquad \left\langle \frac{R(t)}m \frac{R( t')}m\right\rangle= \frac{k_BT \Gamma_0}{m} e^{|t-t'|/\tau}.

It is trivial to see that G(t)=0\langle G(t)\rangle = 0 from the fact that η\eta is white noise. The calculation of the variance is completely analogous to the one we did for the velocity in the white-noise Langevin equation, with the caveat that for a term e(t+t)/τe^{-(t+t')/\tau}, we will need to consider t,t1/τt,t \gg 1/\tau.

Hence, we have that, for large times and for the first two moments, the generalized Langevin equation is equivalent to a white-noise process with 3 degrees of freedom. This is an example of a self-consistent Markovian embedding procedure. This means we can find the Fokker-Planck equation for this extended system!

The Fokker-Planck equation for P(x,v,u,t)P(x,v,u,t) is

tP=x(vP)v ⁣([1mU(x)+Γ0u]P)u ⁣([uτΓ0v]P)+kBTmτuu2P.\begin{align*} &\partial_t P \\ &=-\partial_x(vP) -\partial_v\!\Big( \left[-\frac{1}{m}U'(x)+\sqrt{\Gamma_0}\,u\right]\,P\Big) -\partial_u\!\Big( \left[-\frac{u}{\tau}-\sqrt{\Gamma_0}\,v\right]\,P\Big) +\frac{k_BT}{m\tau}\,\partial^2_{uu}P. \end{align*}

Now we claim that, at stationarity, the solution is

P(x,v,u)exp ⁣[β(U(x)+12mv2+12mu2)],β=(kBT)1.\boxed{P_\infty(x,v,u) \propto\exp\!\Big[-\beta\Big(U(x)+\frac12 m v^2+\frac12 m u^2\Big)\Big],\quad \beta=(k_BT)^{-1}.}

Let’s prove this. For the derivatives of PP_\infty, let ϕ=β(U+12mv2+12mu2)\phi= \beta\left(U+\frac12 m v^2+\frac12 m u^2\right), so P=eϕ/ZP_\infty=e^{-\phi}/Z. Then

xP=βU(x)P,vP=βmvP,uP=βmuP,uu2P=[(βm)2u2βm]P.\begin{aligned} \partial_x P_\infty&=-\beta U'(x)\,P_\infty,\\ \partial_v P_\infty&=-\beta m v\,P_\infty,\\ \partial_u P_\infty&=-\beta m u\,P_\infty,\\ \partial^2_{uu}P_\infty&=\big[(\beta m)^2u^2-\beta m\big]\,P_\infty. \end{aligned}

Term by term:

  • Position term:
x(vP)=vxP=βvU(x)P.-\partial_x(vP_\infty) = -v\,\partial_x P_\infty = \beta v U'(x)\,P_\infty.
  • Velocity term (with Av=1mU(x)+Γ0uA_v=-\tfrac{1}{m}U'(x)+\sqrt{\Gamma_0}\,u):
v(AvP)=AvvP=[βvU(x)+βmΓ0uv]P.-\partial_v(A_v P_\infty)=-A_v\,\partial_v P_\infty =\big[-\beta v U'(x)+\beta m\sqrt{\Gamma_0}\,uv\big]P_\infty.
  • uu-term (with Au=uτΓ0vA_u=-\tfrac{u}{\tau}-\sqrt{\Gamma_0}\,v):
u(AuP)=(uAu)PAuuP=1τP+βmu(uτ+Γ0v)P=[1τ+βmτu2+βmΓ0uv]P.\begin{aligned} -\partial_u(A_u P_\infty) &= -(\partial_u A_u)P_\infty - A_u\,\partial_u P_\infty \\ &= \frac{1}{\tau}P_\infty + \beta m u\Big(\frac{u}{\tau}+\sqrt{\Gamma_0}v\Big)P_\infty \\ &= \Big[\frac{1}{\tau}+\frac{\beta m}{\tau}u^2+\beta m\sqrt{\Gamma_0}\,uv\Big]P_\infty. \end{aligned}
  • Diffusion term:
kBTmτuu2P=[βmτu21τ]P.\frac{k_BT}{m\tau}\,\partial^2_{uu}P_\infty =\Big[\frac{\beta m}{\tau}u^2-\frac{1}{\tau}\Big]P_\infty.

Adding up:

βvUP+(βvU+βmΓ0uv)P=βmΓ0uvP\beta vU'P_\infty + (-\beta vU' + \beta m\sqrt{\Gamma_0}uv)P_\infty = \beta m\sqrt{\Gamma_0}\,uv\,P_\infty

and

[1τ+βmτu2+βmΓ0uv]P+[βmτu21τ]P=βmΓ0uvP\Big[\frac{1}{\tau}+\frac{\beta m}{\tau}u^2+\beta m\sqrt{\Gamma_0}uv\Big]P_\infty +\Big[\frac{\beta m}{\tau}u^2-\frac{1}{\tau}\Big]P_\infty = \beta m\sqrt{\Gamma_0}\,uv\,P_\infty

hence the total sum is

βmΓ0uvPβmΓ0uvP=0.\beta m\sqrt{\Gamma_0}\,uv\,P_\infty - \beta m\sqrt{\Gamma_0}\,uv\,P_\infty=0.

and we have finished the proof.

As a final step, we marginalize over uu (since this is just an auxiliary variable). Since uu appears quadratically, integrating it out contributes only with a constant, and

p(x,v)P(x,v,u)du    exp[1kBT(12mv2+U(x))],\boxed{p_\infty(x,v) \equiv \int P_\infty(x,v,u)\,du \;\propto\; \exp\left[ -\frac{1}{k_BT}\Big(\frac12 m v^2+U(x)\Big)\right],}

which is exactly the Gibbs-Boltzmann equilibrium in (x,v)(x,v) at the same temperature TT!

Conclusion

We started by contemplating how one should picture a system being in in equilibrium with a heat bath. By assuming ignorance about the bath’s degree of freedoms, we understood that we could interpret the system’s degrees of freedom as being promoted to random variables, under a clear probability space.

Furthermore, we showed that, at least for the cases of white noise and exponential memory, the Caldeira-Leggett model does indeed thermalize, and it provides a satisfactory mechanism to couple a Hamiltonian system to a heat bath. Asymptotically, the system behaves as the original Hamiltonian system in equilibrium with a heat bath of temperature TT.

Quite a few topics are missing from this final version of the text, some haphazardly scribbled in my notes, some which are open tabs getting dust in my browser. But this post is getting too long as it is, so I leave them for a future iteration. These are:

  • Kubo’s 1966 text on the generalized Langevin equation and a general fluctuation-dissipation theorem, constructed from the Fourier-Laplace transform
  • The Ornstein-Uhlenbeck process and its formal solution, as well as the Lyapunov matrix equation.
  • Zwanzig-Mori projection operators, fast vs. slow modes.

Appendix

1. Variation of parameters

Consider the second-order differential equation

x¨(t)+ω2x(t)=f(t)\ddot x(t) + \omega^2 x(t)=f(t)

with initial conditions x(0)=0x(0) = 0, x˙(0)=v0\dot x(0) = v_0.

The general solution to this ODE is, as usual, the general solution to the homogeneous equation, plus any particular solution to the non-homogeneous one:

x(t)=C1u1(t)+C2u2(t)+xp(t)x(t) = C_1 u_1(t) + C_2 u_2(t) + x_p(t)

with uiu_i satisfying u¨i+ω2ui=0\ddot u_i + \omega^2 u_i = 0, and xpx_p satisfying the original equation.

As a linear differential equation with constant coefficients, we can tackle the problem of finding xpx_p with standard methods, and particularly with the method of variation of parameters.

Recall the method for a second-order equation: given the two linearly independent fuunctions u1(t)u_1(t) and u2(t)u_2(t), we seek a solution to the inhomogeneous equation of the form

xp(t)=A(t)u1(t)+B(t)u2(t)x_p(t) = A(t) u_1(t)+B(t) u_2(t)

where A(t)A(t) and B(t)B(t) are currently undetermined. Since we have two unknowns, we can add a constraint between them to close the system; a convenient one is

A˙(t)u1(t)+B˙(t)u2(t)=0t\dot A(t) u_1(t) + \dot B(t) u_2(t) = 0 \quad\forall t

since it also simplifies a lot the algebraic manipulations. As the Wikipedia page derives, one can then find explicitly the functions AA and BB as any indeterminate integrals

A(t)=t1W(t)u2(t)f(t)dt,B(t)=+t1W(t)u1(t)f(t)dtA(t) =- \int^t \frac{1}{W(t')} u_2(t') f(t') dt',\quad B(t)=+\int^t\frac{1}{W(t')} u_1(t') f(t') dt'

where

W(t)=det[u1(t)u2(t)u˙1(t)u˙2(t)]W(t) = \det \begin{bmatrix} u_1(t) & u_2(t) \\ \dot u_1(t) & \dot u_2(t) \\ \end{bmatrix}

is the Wronskian determinant. The lower limit of the integrals can be chosen at will - their choice is basically that of two arbitrary constants. These will contribute to the solution a factor of const1u1(t)+const2u2(t)\mathrm{const}_1 u_1(t) + \mathrm{const}_2 u_2(t) which is a solution to the homogeneous equation, and can be absorbed into the original factor C1u1+C2u2C_1 u_1 + C_2 u_2. For now, let us set it to be a number t0t_0 to be determined.

For the harmonic oscillator, one has

u1(t)=cosωt,u2(t)=sinωtu_1(t) = \cos \omega t,\quad u_2(t)=\sin \omega t

from which follows that W=ωW = \omega and thus

A(t)=t0tsinωtωf(t)dt,B(t)=t0tcosωtωf(t)dt.A(t) = -\int_{t_0}^t \frac{\sin \omega t'}{\omega} f(t') dt',\quad B(t)=\int_{t_0}^t \frac{\cos \omega t'}{\omega} f(t') dt'.

Now, we construct the solution xp(t)=A(t)u1(t)+B(t)u2(t)x_p(t) = A(t) u_1(t)+B(t) u_2(t) as

xp(t)=cosωtt0tsinωtωf(t)dt+sinωtt0tcosωtωf(t)dt=1ωt0tdt  f(t)[sinωtcosωtsinωtcosωt]\begin{align*} x_p(t) &= - \cos \omega t\int_{t_0}^t \frac{\sin \omega t'}{\omega} f(t') dt' + \sin \omega t\int_{t_0}^t \frac{\cos \omega t'}{\omega} f(t') dt'\\ &=\frac 1\omega \int_{t_0}^t dt'\;f(t') [\sin \omega t \cos \omega t'-\sin \omega t'\cos \omega t] \end{align*}

or, simplifying,

xp(t)=1ωt0tsinω(tt)f(t)dt.(2.1)\boxed{x_p(t)= \frac 1 \omega \int_{t_0}^t \sin \omega(t-t') f(t') dt'.}\tag{2.1}

Substituting this in Eq. (1.2) yields

x(t)=Csinωt+Dcosωt+1ωt0tsinω(tt)f(t)dtx(t) = C \sin \omega t + D\cos \omega t + \frac 1 \omega \int_{t_0}^t \sin \omega(t-t') f(t') dt'

with three arbitrary constants: C,DC, D and t0t_0.

We now plug in the initial conditions x(0)=x0x(0) = x_0, x˙(0)=v0\dot x(0) = v_0. Using the fundamental theorem of calculus in the form

ddta(t)b(t)g(t,s)ds=g(t,b(t))g(t,a(t))+a(t)b(t)gt(t,s)ds\frac{d}{dt}\int_{a(t)}^{b(t)} g(t,s) ds=g(t,b(t))-g(t,a(t))+\int_{a(t)}^{b(t)} \frac{\partial g}{\partial t}(t,s) ds

we obtain

x0=D1ωt00sinωt  f(t)dtv0=ωC+[0+1ωt00ωcosωt  f(t)dt]\begin{align*} x_0 &=D -\frac 1 \omega \int_{t_0}^0 \sin \omega t' \;f(t')dt'\\ v_0 &= \omega C + \left[0+ \frac 1 \omega\int_{t_0}^0 \omega \cos \omega t'\; f(t') dt'\right] \end{align*}

Notice that, by setting t0=0t_0=0, the integrals vanish and we find a solution D=x0D = x_0, C=v0/ωC = v_0/\omega. Hence, we can write our final solution as

x(t)=x0cosωt+v0ωsinωt+1ω0tsinω(tt)f(t)dt.x(t) = x_0 \cos \omega t + \frac{v_0}{\omega}\sin \omega t + \frac 1\omega \int_0^t \sin\omega(t-t')\,f(t') dt'.

References

Ayaz, C., L. Tepper, and R. R. Netz. 2022. “Self-consistent Markovian embedding of generalized Langevin equations with configuration-dependent mass and a nonlinear friction kernel.” Turkish Journal of Physics 46 (6): 194-205. https://doi.org/10.55730/1300-0101.2726.

Caldeira, A. O., and A. J. Leggett. 1981. “Influence of Dissipation on Quantum Tunneling in Macroscopic Systems.” Physical Review Letters 46 (4): 211-214.

Shreve, Steven E. 2004. Stochastic Calculus for Finance II: Continuous-Time Models. New York: Springer.

Zwanzig, Robert. 2001. Nonequilibrium Statistical Mechanics. New York: Oxford University Press.