A very standard question in introductory statistical mechanics courses is:
Problem: Consider a 3D harmonic oscillator with mass m and sprint constant k in contact with a heat bath at temperature T.
(a) Calculate the partition function Z(β).
(b) Show that the average energy for the oscillator is 3kBT.
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)=2mp2+2kx2.
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)=Z(β)1exp[−βH(x,p)],β≡(kBT)−1
where the normalization factor Z(β) is called the partition function. Explicitly, letting ω2≡k/m be the natural oscillator frequency,
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⟩=−dβdlogZ(β)=−Z(β)Z′(β)
To see why this is true, it is enough to write the expected value as the integral
⟨E⟩≡E[H]=∫R6d3xd3pH(x,p)Z(β)e−βH(x,p)
and realize this is the minus the derivative of the PDF with respect to β up to a constant −1/Z(β). The result easily follows.
Throughout this article, when expressing means of random variables, I will use the mathematicians’ notation E[⋅] and the physicists’ notation ⟨⋅⟩ 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β+ terms that do not depend on β, we find
⟨E⟩=β3=3kBT.
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. Since there are six such degrees of freedom (x2, y2, z2, px2, py2 and pz2) the total energy is 6×1/2=3 times kBT.
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
2mv2∼kBT
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) to a heat reservoir characterized by a temperature T (what we usually call the canonical ensemble) we are formally replacing the degrees of freedom to random variables, namely
x(t),p(t)⟶X,P∼Gibbs(H)
where H=H(x,p) is the Hamiltonian of the system when not coupled to the heat reservoir, and Gibbs(H) is the distribution with probability density
ρ(x,p)dxdp=∫exp{−βH(x′,p′)}dx′dp′exp{−βH(x,p)}dxdp, with β≡kBT1,
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
t→∞lim⟨⋅⟩t⟶EGibbs[⋅]
where
⟨A⟩t≡2t1∫−ttA(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
i.e. it picks up the H=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 T, 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
but rather that we have formally replaced these by random variables X and P. A particle which would otherwise undergo Hamiltonian dynamics, when conditioned to be in equilibrium with a heat bath at temperature T, 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 3kBT, 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=2mp2+U(x)
where U is an arbitrary potential. This describes a single particle system if p,x∈R3, but it can describe a many-body system as well, and can easily be generalized to many different masses under the replacement p2/m→pTM−1p. 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 N oscillators, in the form
Here, qj,pj are the canonical coordinates of oscillator j, whose normal modes are ωj. The constants γj define the coupling strength between the bath and the particle.
With a formal change of variables, by defining a dimensionless scale factor
αj≡mjωj2γj,
and redefining constants as
mj→mj′=mjαj2,qj→qj′=αjqj,pj→pj′=αjpj
the bath Hamiltonian becomes
HB=j=1∑N[2mj′pj′2+21mj′ωj2(qj′−x)2]
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=−∞ to t=0, the particle has followed the dynamics specified by the Hamiltonian HS. At t=0, we couple it to the heat bath such that the Hamiltonian becomes H=HS+HB, ie.
where, again, we use αj=γj/(mjωj2) for convenience.
With this expression, we have fully solved the bath’s dynamics as functions of the particle’s position x(t) and momentum p(t). We can then substitute this back into Eq. (∗) to obtain an equation only relating x and p:
so that our final integro-differential equation is the so-called generalized Langevin equation
dtdp(t)=−U′(x(t))−∫0tKN(t−s)mp(s)ds+FN(t)
with p=mdx/dt the momentum.
Our goal is now to show that our system, built from the Caldeira-Leggett construction, will satisfy two requirements:
It truly behaves like a particle connected to a heat bath
It reaches temperature T as t→∞.
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
dtdx=μ(t,x(t))+σ(t,x(t))η(t)
where μ is the so-called drift, and ση is the noise. Here, η(t) is, for every t, 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′)⟩=δ(t−t′)
with δ 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
mdtdv=−γmv+F(t),F(t)=Γη(t)
where Γ is a constant that we must determine. This particle undergoes drag, represented by the force −γmv, and a random force F which is Gaussian with mean zero and variance Γ2.
Crucially, assume that the gas is at equilibrium at temperature T. 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+m1∫0te−γ(t−s)F(s)ds.
Notice that v0 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,Y it holds
E[X]=E[E[X∣Y]].
In words, it means that the mean of, say, v(t), can be computed by first considering v0 as a constant, and then taking the average of the result across v0.
One can formally see that the integral has zero mean:
where we assumed that E[η(s)∣v0]=E[η(s)], which is valid, for instance, if the noise term is independent of v0 (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.
To compute the iterated expectation E[E[v(t)∣v0]], we use the fact that the tagged particle is from an ideal gas at thermal equilibrium at temperature T. We know from kinetic theory (or, equivalently, from equilibrium statistical mechanics) that the velocity v0 will follow a Maxwell-Boltzmann distribution: in 1D, the probability density function is
f0(v0)dv0=2πkBTme−mv02/2kBTdv0
from which follows that
E[v(t)]=E[E[v(t)∣v0]]=0
since the integrand will be an odd function of v0. 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
The cross terms will vanish since E[∫⋯η(s)ds]=0. For the double integral, we pick up a factor of δ(s−s′) which will restrict the domain to s=s′, only defined for [0,min(t,t′)]. Hence,
which does not depend on v0, and hence is the total expectation:
E[v(t)2]=2γm2Γ2.
On the other hand, we know that, as t→∞, the particle’s velocity just follows the Maxwell-Boltzmann distribution, as it did at t=0. In other words, we expect v(∞), as v0, to follow that distribution, for which
E[v2(∞)]=mkBT
in one dimension. For consistency, it must hold that
2γm2Γ2=mkBT⟹Γ=2mγkBT
We have thus found that the white noise is a force which depends on the dissipation factor γ, the particle’s mass m and the temperature T via
F(t)=2mγkBTη(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, and the force amplitude Γ is not an independent quantity.
We can now tackle the case where t=t′. By substituting this value in the corresponding equation, we find
All terms are deterministic except v02; upon taking the expectation with respect to the Maxwell-Boltzmann distribution, however, it exactly cancels the kBT/m term, and we find the final result
E[v(t)v(t′)]=mkBTe−γ∣t−t′∣
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/γ.
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
dtdx=μ(t,x(t))+σ(t,x(t))η(t)
with η Gaussian, where x and μ are N-dimensional vectors, η is M-dimensional Brownian motion, i.e. whose components satisfy
E[η(t)i]=0,E[η(t)iη(t′)j]=δijδ(t−t′),
and σ is an N×M matrix, then the associated Fokker-Planck equation is a PDE for the phase-space density p(t,x):
where we write ∂x≡∂/∂x and ∂v≡∂/∂v for simplicity.
We can simplify by noticing that, considering v and x as independent variables,
∂x(vp)=v∂xp,∂v(p(∂xU(x)))=U′(x)∂vp
obtaining the Klein-Kramers equation (also known as the Kramers-Chandrasekhar equation):
∂t∂p+v∂xp=m1U′(x)∂vp+mγ∂v[pv+mkBT∂vp]
Notice that this equation is of the form
DtDp−m1U′(x)∂vp=∂vj,j≡mγ[pv+mkBT∂vp]
with D/Dt=∂t+v∂x being the material derivative and j 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 T.
We now show that this is consistent with the asymptotic limit of the Klein-Kramers equation.
Let p∞(x,v)≡limt→∞p(t,x,v). It must hold that ∂p∞/∂t=0, and so we want to solve
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∞=−p∞vkBTm and v∂xp∞=m1U′(x)∂vp∞.
The first equation can be integrated directly:
p∞dp∞=−kBTmvdv⟹p∞(x,v)=f(x)exp(−2kBTmv2)
where f(x) has yet to be determined. The second equation can be rewritten as
∂xp∞=m1∂xU(−p∞kBTm)⟹∂xp∞=−kBTp∞U′(x)
which can be directly integrated as
p∞(x,v)=g(v)exp(−kBTU(x))
The only way these two solutions can be harmonized is if
p∞(x,v)∝exp[−kBT1(2mv2+U(x))]
which is exactly the expression for the Gibbs distribution of a system with Hamiltonian
H∞(x,p)=2mp2+U(x),p≡mv
in equilibrium with a reservoir with temperature T.
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) instead of momentum p(t):
mdtdv(t)=−U′(x(t))−∫0tKN(t−s)v(s)ds+FN(t).
Notice that this formally reduces to the standard Langevin equation
mdtdv(t)=γmv(t)+F(t)
if we:
Set the conservative force to zero: U′(x)=0;
Somehow identify the so-called memory kernel KN with a delta function, via
KN(t−s)=2γmδ(t−s)
noticing that the time integral only reaches the support of δ from the left and using the half-delta convention, so that
∫0t2δ(t−s)v(s)ds=v(t)
Somehow identify the function FN with a random perturbation F.
Finally, if 2-3 hold, then they must satisfy the fluctuation-dissipation relation between them.
Requirement 1 is fair, but how can we relate FN to noise?
Let us start from the memory term. Its definition was
where all quantities γj,mj,ω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.
What we do is to to admit that, for large N, 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 T, right before being coupled to our particle (whose initial position 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)
i.e. the bath, conditioned on x(0), follows a Gibbs distribution for the Hamiltonian HB at temperature T. Explicitly, this means that the phase-space distribution function for the bath at t=0 is
ρ(q,p)dqdp=Z(β)1e−βHB(q,p)dqdp,β≡1/kBT.
Under these conditions, it is a straightforward exercise to prove two things:
FN(t) is Gaussian
Its moments are
E[FN(t)]=0,E[FN(t)FN(t′)]=kBTKN(t−t′)
i.e. the fluctuation-dissipation theorem holds.
To prove that FN(t) is Gaussian, we basically make use of the central limit theorem. FN(t) is a linear combination of many independent random variables, and hence its distribution tends to a Gaussian one for large N. 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
where I have abbreviated pj≡pj(0) etc for simplicity.
Notice that, when computing averages relative to one of the oscillators (say, i), only the ith term survives - the others will cancel out with the corresponding terms in the partition function. For an observable Oi that only depends on qi,pi but not on any other j=i:
For the covariance, the calculation is a bit more cumbersome since it requires us to write FN(t)FN(t′) as a double sum (over i and j), and then apply the averaging operator. The cross terms will contain terms like
A final technical step is to take N→∞ so that we avoid Poincaré recurrence and the system is not periodic. This is often done by defining the spectral density
We can now take a continuum limit if the spacing between two successive frequencies ωi is small. Then, the coupling between the bath and the particle is fully determined by the choice of the spectral density J(ω)≡limN→∞JN(ω), and the memory function becomes
K(t)=π2∫0∞ωmJ(ω)cosωtdω.
The simplest case is that of
J(ω)=γω,γ>0
for which
K(t)=π2∫0∞mγcosωtdω
or, using the identity ∫0∞cosωtdω=πδ(t),
K(t)=2γmδ(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
p∞∝eH′/kBT
for some Hamiltonian H′, 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 K
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(t−t′)=Γ0e−(t−t′)/τ1t≥t′.
so that the generalized Langevin equation takes the form
Initial conditions are x(0)=x0, v(0)=v0 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,v at time t is not Markovian.
We claim that we can make this system Markovian by introducing a new variable u with units of speed such that
This introduces a factor of m 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.
We further add the initial condition u(0)=0, which is consistent with equation (b): at time zero, Newton’s law yields mv˙(0)=U′(x0).
Let us prove that this new system reduces to our original non-Markovian system. By formally integrating equation (c) with u(0)=0, we find
This is almost Equation (∗) above, if we can show that the last term
G(t)≡mτ2kBTΓ0∫0te−(t−s)/τη(s)ds
satisfies the same moment relations as R(t)/m, i.e.
⟨R(t)⟩=0,⟨mR(t)mR(t′)⟩=mkBTΓ0e∣t−t′∣/τ.
It is trivial to see that ⟨G(t)⟩=0 from the fact that η 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′)/τ, we will need to consider t,t≫1/τ.
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!
As a final step, we marginalize over u (since this is just an auxiliary variable). Since u appears quadratically, integrating it out contributes only with a constant, and
which is exactly the Gibbs-Boltzmann equilibrium in (x,v) at the same temperature T!
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 T.
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)
with initial conditions x(0)=0, x˙(0)=v0.
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)
with ui satisfying u¨i+ω2ui=0, and xp satisfying the original equation.
As a linear differential equation with constant coefficients, we can tackle the problem of finding xp 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) and u2(t), we seek a solution to the inhomogeneous equation of the form
xp(t)=A(t)u1(t)+B(t)u2(t)
where A(t) and 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)=0∀t
since it also simplifies a lot the algebraic manipulations. As the Wikipedia page derives, one can then find explicitly the functions A and B as any indeterminate integrals
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) which is a solution to the homogeneous equation, and can be absorbed into the original factor C1u1+C2u2. For now, let us set it to be a number t0 to be determined.
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.