This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Stochastic thermodynamics of Brownian motion in a flowing fluid

Jun Wu1    Mingnan Ding1    Xiangjun Xing1,2,3 xxing@sjtu.edu.cn 1Wilczek Quantum Center, School of Physics and Astronomy, Shanghai Jiao Tong University, Shanghai, 200240 China
2T.D. Lee Institute, Shanghai Jiao Tong University, Shanghai, 200240 China
3Shanghai Research Center for Quantum Sciences, Shanghai 201315, China
Abstract

We study stochastic thermodynamics of over-damped Brownian motion in a flowing fluid. Unlike some previous works, we treat the effects of the flow field as a non-conservational driving force acting on the Brownian particle. This allows us to apply the theoretical formalism developed in a recent work for general non-conservative Langevin dynamics. We define heat and work both at the trajectory level and at the ensemble level, and prove the second law of thermodynamics explicitly. The entropy production (EP) is decomposed into a housekeeping part and an excess part, both of which are non-negative at the ensemble level. Fluctuation theorems are derived for the housekeeping work, the excess work, and the total work, which are further verified using numerical simulations. A comparison between our theory and an earlier theory by Speck et. al. is also carried out.

I Introduction

The theory of Brownian motion [1, 2] is not Galilean invariant, even though the underlying microscopic Newtonian dynamics does have this symmetry. The reason for the lack of Galilean symmetry is obvious: the ambient fluid is macroscopically at rest only in one particular inertial frame. It is only in this frame that the effects of fluid can be modeled as friction and random force as in the classical theory of Brownian dynamics. If the fluid is in global motion with a uniform velocity 𝒗\bm{v}, one can transform to the co-moving frame (where the fluid is at rest) and apply the usual theory of Brownian motion. Translating back into the lab frame, the friction force becomes γ(𝒙˙𝒗)-\gamma(\dot{\bm{x}}-\bm{v}), which is proportional to the velocity relative to the fluid, whereas the random force remains the same. Now consider a fluid that is shearing or compressing, with a position (and possibly time) dependent velocity 𝒗(𝒙,t)\bm{v}({\bm{x}},t). The above chain of argument is not as compelling, since the co-moving frame is constantly deforming and therefore is not an inertial frame. Nonetheless, as long as the flow field is small, it is reasonable to assume that the friction force is approximately γ(𝒙˙𝒗(𝒙,t))-\gamma(\dot{\bm{x}}-\bm{v}({\bm{x}},t)).

Stochastic thermodynamics [3, 4, 5, 6, 7, 8, 9] fuses stochastic dynamics with thermodynamics to form a unified framework for non-equilibrium statistical mechanics. In the standard theory of stochastic dynamics, the environment is usually assumed to be an equilibrium fluid at rest. In a pioneering work [10], Speck et. al. applied the above idea of Galilean transform to study stochastic thermodynamics of over-damped Brownian motion in a moving fluid. In the co-moving frame, the heat is defined as the work done by the friction and the random force, as in the standard theory of stochastic thermodynamics. Further defining the external potential as the fluctuating internal energy of the Brownian particle, they sketched a framework of stochastic thermodynamics for over-damped Brownian motion in moving fluid. This work was followed by several later works [11, 12, 13, 14, 15, 16], which carried out more detailed analyses and simulations of fluctuation theorems in shearing fluid. Three peculiar features are coming out of this theory. (For details, see Sec. IV of the present work.) Firstly it leads to fluctuation theorems for the integrated work only if the non-equilibrium processes start from equilibrium states where the flow field is completely turned off. The theory is therefore inapplicable to processes happening in steady flow. Secondly, the entropy production (EP) is positive only for incompressible flow. Finally, the EP in this theory cannot be decomposed into two positive parts. Hence no separate fluctuation theorem can be established for the housekeeping part and the excess part of the total EP. This is at odds with the basic structure of stochastic thermodynamics for systems lacking instantaneous detailed balance, as established by Jarzynski and Esposito, van den Brock et. al. [17, 18, 19, 20, 21].

It is well known that heat in stochastic thermodynamics is related to the time reversal of non-equilibrium processes through the condition of local detailed balance. It turns out that in the theory of Ref. [10], time reversal means reversal of both the time axis and the flow field. Since the environment, i.e. the shearing fluid has a well-defined temperature, the heat is further related to the environmental entropy change via ΔSenv=βQ\Delta S^{\rm env}=-\beta Q. It is important to note, however, that the entropy change calculated this way is a microscopic quantity, whereas the true entropy change of the environment is extensive in the size of the shear fluid. Hence the EP calculated in the theory of Ref. [10] can only be a tiny part of the physical EP in the joint system of Brownian particle and shearing fluid. This subtlety is shared by all models of stochastic thermodynamics embedded in dissipative backgrounds, such as Brownian motion in temperature gradients [22]. With this subtlety carefully remembered, the fluctuation theorems, when formulated in terms of integrated work, are nonetheless valuable tools for understanding of the statistical properties of non-equilibrium processes.

In this work, we shall try an alternative approach to the problem. Instead of transforming to the co-moving, we shall stay in the lab frame and treat the effects of the flow field as a non-conservative force acting on the Brownian particle. This allows us to apply the general framework of stochastic thermodynamics developed in Ref. [21] for non-conservative Langevin systems. In our theory, the time reversal of process means the reversal of only the time-axis, but not of the flow field. Consequently, the heat defined in our theory is inequivalent to that defined in Ref. [10]. As discussed in great detail in Ref. [21], in the absence of instantaneous detailed balance, there are also ambiguities in the definition of system energy. Different definitions of energy lead to different (but equivalent) formulations of stochastic thermodynamics. The situation is not unlike the gauge redundancy in electromagnetism. We shall adopt the so-called Gibbs gauge where the instantaneous non-equilibrium steady state (NESS) has the form of Gibbs-Boltzmann distribution, which leads to great simplification of the theoretical formalism.

The key results of the present work can be summarized as follows: (i) The EP at the ensemble level that emerges from our theory is positive definite for arbitrary flow field. (ii) The EP can be decomposed into a housekeeping part and an excess part, both of which are positive. (iii) At the trajectory level, both the housekeeping work and the excess work obey a fluctuation theorem. (iv) These fluctuation theorems are applicable for arbitrary processes starting from arbitrary non-equilibrium NESSs, including equilibrium states as special cases. Overall, therefore, the present theory has a wider range of applicability than that of Ref. [10].

The remaining of this work is organized as follows. In Sec. II we formulate the Langevin equation for Brownian motion in a following fluid. In particular, in Sec. II.2 we discuss the adjoint Brownian dynamics, in Sec. II.3 we perturbatively calculate the Gibbs gauge representation. In Sec. III we develop the theory of stochastic thermodynamics and derive fluctuation theorems for the housekeeping EP, the excess EP, and the total EP. In Sec. IV, we discuss the differences between our theory and the theory of Ref. [10]. In Sec. V we present numerical verifications of all fluctuation theorems. Finally in Sec. VI we draw concluding remarks and project future research directions.

II Brownian dynamics in a flow

II.1 Langevin equation

For simplicity, we examine two-dimensional Brownian dynamics in a fluid with time-independent flow. Generalization to three-dimensional time-dependent flow is straightforward. The velocity field of the fluid is

𝒗(𝒙)=vx(𝒙)𝒆^x+vy(𝒙)𝒆^y,{\bm{v}}({\bm{x}})=v_{x}(\bm{x})\,\hat{\bm{e}}_{x}+v_{y}(\bm{x})\,\hat{\bm{e}}_{y}, (1)

where 𝒆^x,𝒆^y\hat{\bm{e}}_{x},\hat{\bm{e}}_{y} are respectively the unit vectors along xx and yy directions, and 𝒙=x𝒆^x+y𝒆^y\bm{x}=x\,\hat{\bm{e}}_{x}+y\,\hat{\bm{e}}_{y}. Assuming that the Brownian particle is further confined by an external potential V(𝒙)V(\bm{x}), its motion can be described by the following over-damped Ito-Langevin equations:

γ(dxvxdt)xVdt+2γTdWx=0,γ(dyvydt)yVdt+2γTdWy=0,\begin{split}-\gamma(dx-v_{x}dt)-\partial_{x}Vdt+\sqrt{2\gamma T}\,dW_{x}&=0,\\ -\gamma(dy-v_{y}dt)-\partial_{y}Vdt+\sqrt{2\gamma T}\,dW_{y}&=0,\end{split} (2)

where γ\gamma is the friction constant, TT is the temperature, and dWx,dWydW_{x},dW_{y} are the standard Wiener noises, which have the following basic properties:

dWi\displaystyle\langle dW_{i}\rangle =\displaystyle= 0,\displaystyle 0, (3a)
dWidWj\displaystyle\langle dW_{i}dW_{j}\rangle =\displaystyle= dtδij.\displaystyle dt\,\delta^{ij}. (3b)

Note that the first term in each of Eqs. (2) is the friction force multiplied by dtdt.

Equations (2) can be rewritten into:

dxi+Tγ(iU0φi0)dt=2TγdWi,\displaystyle dx^{i}+\frac{T}{\gamma}(\partial_{i}U^{0}-\varphi_{i}^{0})dt=\sqrt{\frac{2T}{\gamma}}dW_{i}, (4)

where U0,𝝋0U^{0},{\bm{\varphi}}^{0} are given respectively by

U0(𝒙)\displaystyle U^{0}(\bm{x}) =\displaystyle= βV(𝒙)+C0,\displaystyle\beta\,V(\bm{x})+C^{0}, (5a)
𝝋0(𝒙)\displaystyle{\bm{\varphi}}^{0}(\bm{x}) =\displaystyle= βγ𝒗(𝒙)=φi0(𝒙)𝒆^i,\displaystyle\beta\gamma\,{\bm{v}}(\bm{x})=\varphi^{0}_{i}(\bm{x})\hat{\bm{e}}_{i},\quad (5b)

where C0C^{0} is an irrelevant normalization constant. We do not need to distinguish superscripts from subscripts because we will only use Cartesian coordinate systems. Equation (4) is a special case of the following covariant nonlinear Ito-Langevin equation with non-conservative forces [21] (with all repeated indices summed over):

dxi+Lij(jU0φj0)dtjLijdt=biαdWα(t),dx^{i}+L^{ij}(\partial_{j}U^{0}-\varphi_{j}^{0})dt-\partial_{j}L^{ij}dt=b^{i\alpha}dW_{\alpha}(t), (6)

where all variables are even under time reversal, and the 2×22\!\times\!2 matrices LijL^{ij} and biαb^{i\alpha} are given respectively by

𝒃\displaystyle{\bm{b}} =\displaystyle= 2Tγ(1001),\displaystyle\sqrt{\frac{2T}{\gamma}}\begin{pmatrix}1&0\\ 0&1\end{pmatrix}, (7)
𝑳\displaystyle{\bm{L}} =\displaystyle= 𝑳T=Tγ(1001)=12𝒃𝒃T.\displaystyle{\bm{L}}^{T}=\frac{T}{\gamma}\begin{pmatrix}1&0\\ 0&1\end{pmatrix}=\frac{1}{2}{\bm{b}}{\bm{b}}^{T}. (8)

Since both TT and γ\gamma are constants, jLij\partial_{j}L^{ij} in Eq. (6) vanishes identically. We shall call U0U^{0} and φi0\varphi_{i}^{0} respectively the generalized potential and the non-conservative force 111Strictly speaking, the non-conservative force is defined as T𝝋T\bm{\varphi} in Ref. [21]..

The Langevin equation (4) is equivalent to the following covariant Fokker-Planck equation (FPE):

tpiTγ(i+iU0φi0)p=0,\displaystyle\partial_{t}p-\partial_{i}\frac{T}{\gamma}(\partial_{i}+\partial_{i}U^{0}-\varphi_{i}^{0})p=0, (9)

which can also be written in the form of:

tp+kjk=0,\displaystyle\partial_{t}p+\partial_{k}j_{k}=0, (10)

where jkj_{k} is the probability current:

ji=Tγ(i+(iU0)φi0)p.\displaystyle j_{i}=-\frac{T}{\gamma}(\partial_{i}+(\partial_{i}U^{0})-\varphi_{i}^{0})p. (11)

It is easy to see that the following transformation:

U0\displaystyle U^{0} \displaystyle\rightarrow U=U0+ψ,\displaystyle U=U^{0}+\psi, (12a)
φi0\displaystyle\varphi_{i}^{0} \displaystyle\rightarrow φi=φi0+iψ,\displaystyle\varphi_{i}=\varphi_{i}^{0}+\partial_{i}\psi, (12b)

leaves the combination iU0φi0\partial_{i}U^{0}-\varphi_{i}^{0} invariant, and hence also leaves the Langevin equation (6) and the Fokker-Planck equation (9) as well as the probability current (11) invariant. Inspecting Eqs. (5a) and (5b), we see that the transform (12) may be understood as a simultaneous change of the external potential and the flow field that preserves the Brownian motion. We shall call it a gauge transformation. A particular decomposition of the combination iUφi\partial_{i}U-\varphi_{i} into iU\partial_{i}U and φi\varphi_{i} shall then be called a gauge.

The most convenient gauge is the Gibbs gauge [21], where UU is related to the NESS via

pss(𝒙)=eU(𝒙).\displaystyle p^{\rm ss}(\bm{x})=e^{-U(\bm{x})}. (13)

Substituting this back into Eq. (11), we find the NESS probability current is then given by

jiss(𝒙)=TγeU(𝒙)φi(𝒙).\displaystyle j_{i}^{\rm ss}(\bm{x})=\frac{T}{\gamma}e^{-U(\bm{x})}\varphi_{i}(\bm{x}). (14)

which is proportional to φi\varphi_{i}. The fact that φi\varphi_{i} is non-vanishing characterizes the non-equilibrium nature of the NESS. Substituting Eq. (14) into the steady state FPE 𝒋ss=0\nabla\cdot{\bm{j}}^{\rm ss}=0, we obtain the Gibbs gauge condition:

iφi(iU)φi=0,\displaystyle\partial_{i}\varphi_{i}-(\partial_{i}U)\varphi_{i}=0, (15)

which, using Eq. (12), can be further rewritten into:

i(φi0+iψ)(φi0+iψ)i(U0+ψ)=0.\displaystyle\partial_{i}(\varphi_{i}^{0}+\partial_{i}\psi)-(\varphi_{i}^{0}+\partial_{i}\psi)\partial_{i}(U^{0}+\psi)=0. (16)

In Sec. II.3, we solve this nonlinear differential equation for the case of simple shear flow and harmonic confining potential, and use Eqs. (12) to determine U,φiU,\varphi_{i} for the Gibbs gauge.

In the Gibbs gauge, the Langevin equation and the FPE are given by

dxi+Tγ(iUφi)dt\displaystyle dx^{i}+\frac{T}{\gamma}(\partial_{i}U-\varphi_{i})\,dt =\displaystyle= 2TγdWi,\displaystyle\sqrt{\frac{2T}{\gamma}}dW_{i},\quad\quad (17a)
tpTγi(i+iUφi)p\displaystyle\partial_{t}p-\frac{T}{\gamma}\partial_{i}(\partial_{i}+\partial_{i}U-\varphi_{i})\,p =\displaystyle= 0.\displaystyle 0. (17b)

Equation (17a) will be called the Gibbs representation of the Langevin dynamics, whereas Eqs. (2) and (4) will be called the natural representation of the Langevin dynamics.

II.2 Adjoint Langevin dynamics

We now define the adjoint Langevin dynamics, which is related to the original dynamics (17) via the following transform in the Gibbs gauge:

UAd=U,φiAd=φi.\displaystyle U^{\rm Ad}=U,\quad\varphi_{i}^{\rm Ad}=-\varphi_{i}. (18)

Using Eqs. (13) and (14), we see that the adjoint process has the same NESS pdf and opposite NESS probability current as the original process:

pAd,ss(𝒙)\displaystyle p^{\rm Ad,ss}(\bm{x}) =\displaystyle= eU(𝒙)=pss(𝒙).\displaystyle e^{-U(\bm{x})}=p^{\rm ss}(\bm{x}). (19)
jiAd,ss(𝒙)\displaystyle j_{i}^{\rm Ad,ss}(\bm{x}) =\displaystyle= TγeU(𝒙)φi(𝒙)=jiss(𝒙).\displaystyle-\frac{T}{\gamma}e^{-U(\bm{x})}\varphi_{i}(\bm{x})=-j_{i}^{\rm ss}(\bm{x}). (20)

Just as the original dynamics, the adjoint dynamics can also be realized by many different combinations of flow field and confining potential, each characterized by a pair {U0,Ad,φi0,Ad}\{U^{0,\rm Ad},\varphi_{i}^{0,\rm Ad}\} that is related to {UAd,𝝋Ad}\{U^{\rm Ad},\bm{\varphi}^{\rm Ad}\} via a gauge transformation:

U0,Ad\displaystyle U^{\rm 0,Ad} \displaystyle\rightarrow UAd=U0,Ad+ψAd,\displaystyle U^{\rm Ad}=U^{\rm 0,Ad}+\psi^{\rm Ad}, (21a)
φi0,Ad\displaystyle\varphi_{i}^{\rm 0,Ad} \displaystyle\rightarrow φiAd=φi0,Ad+iψAd,\displaystyle\varphi_{i}^{\rm Ad}=\varphi_{i}^{\rm 0,Ad}+\partial_{i}\psi^{\rm Ad}, (21b)

which is the counterpart of Eqs. (12). The gauge function ψAd\psi^{\rm Ad} is arbitrary. The most convenient choice is:

ψAd\displaystyle\psi^{\rm Ad} =\displaystyle= ψ.\displaystyle-\psi. (22)

Substituting this back into Eqs. (21), we may express {U0,Ad,φi0,Ad}\{U^{0,\rm Ad},\varphi_{i}^{0,\rm Ad}\} in terms of {UAd,𝝋Ad,ψ}\{U^{\rm Ad},\bm{\varphi}^{\rm Ad},\psi\}. Combining these results with Eqs. (18), we obtain:

U0,Ad\displaystyle U^{0,\rm Ad} =\displaystyle= U0+2ψ;\displaystyle U^{0}+2\psi; (23a)
φi0,Ad\displaystyle\varphi_{i}^{0,\rm Ad} =\displaystyle= φi0.\displaystyle-\varphi_{i}^{0}. (23b)

Substituting these into Eqs. (5), we find the confining potential and the flow field for the adjoint process:

VAd(𝒙)\displaystyle V^{\rm Ad}({\bm{x}}) =\displaystyle= T(U0+2ψC0)\displaystyle T\,(U^{0}+2\,\psi-C^{0}) (24a)
=\displaystyle= V(𝒙)+2Tψ(𝒙),\displaystyle V({\bm{x}})+2\,T\,\psi({\bm{x}}),
𝒗Ad(𝒙)\displaystyle\bm{v}^{\rm Ad}({\bm{x}}) =\displaystyle= Tγ𝝋=𝒗(𝒙).\displaystyle-\frac{T}{\gamma}\bm{\varphi}=-\bm{v}({\bm{x}}). (24b)

Hence the flow field of the adjoint dynamics is the opposite of that of the original process.

The Gibbs representation of the adjoint Langevin dynamics can be obtained by using Eq. (18) in Eq. (17a), whereas the natural representation of the adjoint Langevin dynamics can be obtained by using Eqs. (23) in Eq. (4), or, equivalently, by using Eqs. (24) in Eqs. (2).

II.3 Harmonic potential and simple shear flow

For numerical simulations (to be detailed in Sec. V), we shall only consider a harmonic confining potential and a simple shear flow:

V(𝒙)\displaystyle V(\bm{x}) =\displaystyle= K2(𝒙𝒙0)2,\displaystyle\frac{K}{2}(\bm{x}-\bm{x}_{0})^{2}, (25a)
𝒗(𝒙)\displaystyle{\bm{v}}(\bm{x}) =\displaystyle= yζ𝒆^x.\displaystyle{y\,\zeta}\,\hat{\bm{e}}_{x}. (25b)

Using Eqs. (5) we find

U0\displaystyle U^{0} =\displaystyle= βK2(𝒙𝒙0)2+C0,\displaystyle\frac{\beta K}{2}(\bm{x}-\bm{x}_{0})^{2}+C^{0}, (26a)
𝝋0(𝒙)\displaystyle{\bm{\varphi}}^{0}(\bm{x}) =\displaystyle= βγζy𝒆^x,\displaystyle{\beta\gamma}\zeta\,y\,\hat{\bm{e}}_{x}, (26b)

Note that ζ\zeta has the dimension of inverse time, and γζ\gamma\,\zeta is even under time reversal. The dimension of 𝝋\bm{\varphi} is inverse of length, and hence also even under time reversal. The shear flow and the confining potential are illustrated in Fig. 1, together with a contour line of the NESS pdf.

Refer to caption
Figure 1: Schematics: red disk is the Brownian particle, blue arrows represent the simple shear flow, whereas the red wiggly line represents the harmonic potential. The orange ellipse is a contour line of the NESS pdf. θ\theta is the angle between the major axis and the yy axis, or equivalently the angle between the minor axis and the xx axis.

We define a dimensionless parameter ϵγζ/K\epsilon\equiv{\gamma\,\zeta}/{K}, which characterizes the relative importance of the flow field compared with the confining potential. For colloidal particles in shearing fluid under typical experimental conditions, this parameter is expected to be much less than the unity, hence we expect that the flow field only leads to a small perturbation of the equilibrium distribution of the Brownian particle. Therefore we may solve Eq. (16) by expanding ψ\psi in terms of ϵ\epsilon, and subsequently use Eqs. (12) to find UU and 𝝋\bm{\varphi}. Since the calculation is rather straightforward, we skip all details and directly present the second order results:

ψ\displaystyle\psi =\displaystyle= βKϵ2(xyxy0+x0y)\displaystyle\frac{\beta K\epsilon}{2}(-xy-xy_{0}+x_{0}y) (27a)
+\displaystyle+ βKϵ28(x2+y2+2x0x+2y0y),\displaystyle\frac{\beta K\epsilon^{2}}{8}(-x^{2}+y^{2}+2x_{0}x+2y_{0}y),
U\displaystyle U =\displaystyle= C+U0+ψ,\displaystyle C+U^{0}+\psi, (27b)
𝝋\displaystyle\bm{\varphi} =\displaystyle= βKϵ2[(yy0)𝒆^x+(x+x0)𝒆^y]\displaystyle\frac{\beta K\epsilon}{2}\left[(y-y_{0})\hat{\bm{e}}_{x}+(-x+x_{0})\,\hat{\bm{e}}_{y}\right] (27c)
+\displaystyle+ βKϵ24[(x+x0)𝒆^x+(y+y0)𝒆^y],\displaystyle\frac{\beta K\epsilon^{2}}{4}\left[(-x+x_{0})\hat{\bm{e}}_{x}+(y+y_{0})\,\hat{\bm{e}}_{y}\right],\quad

where the constant CC is such that Eq. (13) is normalized. We shall not need the concrete expression for CC. The reader may verify directly that Eqs. (27a) does satisfy the Gibbs gauge condition (15) up to o(ϵ2)o(\epsilon^{2}).

If ϵ\epsilon is not small, Eqs. (27) are not good approximations. Nonetheless, it is easy to see from Eq. (16) that, due to the quadratic nature of U0U^{0} and the linear nature of φi0\varphi^{0}_{i}, ψ\psi is quadratic in 𝒙{\bm{x}}. Consequently, UU is also quadratic in 𝒙{\bm{x}}, and 𝝋\bm{\varphi} is linear in 𝒙{\bm{x}}. Contour lines of UU are therefore all ellipses, one of them being illustrated in Fig. 1. We can therefore set

U=Ax2+Bxy+Cy2+Dx+Ey+F,\displaystyle U=Ax^{2}+Bxy+Cy^{2}+Dx+Ey+F, (28)

and numerically find all coefficients A,B,C,D,EA,B,C,D,E. FF is determined by the condition of normalization. The numerical method is explained in App. A.1.

III Stochastic thermodynamics

In Ref. [21], we developed a unified theory of stochastic thermodynamics for Langevin systems driven by non-conservative forces and coupled to a single heat bath with temperature TT. The Langevin dynamics Eq. (6) is a special case of this unified theory, with all variables and control parameters being even under time reversal, and the kinetic matrix 𝑳\bm{L} being symmetric and constant. We shall therefore follow the procedure developed in Ref. [21] (especially Sec. VI, which treats symmetric models) to develop the theory of stochastic thermodynamics.

It is important to emphasize that by formulating the Langevin equation into Eq. (17), we are taking the viewpoint that the effects of the flow field is treated as a non-conservative force field. The dissipation caused by the shearing fluid, which is extensive in the size of the fluid, is not a concern to us, since we are only interested in the dynamics of the Brownian particle.

In this work, we shall assume that the flow field is fixed and consider non-equilibrium processes where the force constant KK and the equilibrium position 𝒙0{\bm{x}}_{0} of the confining potential (25a) are systematically varied. For simplicity, we introduce the notations λ={K,𝒙0}\lambda=\{K,{\bm{x}}_{0}\}, and λt={K(t),𝒙0(t)}\lambda_{t}=\{K(t),{\bm{x}}_{0}(t)\}. It then follows that V,U0V,U^{0} as well as U,𝝋,ψU,\bm{\varphi},\psi all depend parametrically on λt\lambda_{t}. We will therefore use the notations V(𝒙;λt),U0(𝒙;λt)V({\bm{x}};\lambda_{t}),U^{0}({\bm{x}};\lambda_{t}) etc.. In principle, the theory we develop is also applicable to processes where the flow field is also systematically varied. Experimentally, however, it is much more difficult to vary the flow field in a precisely controlled way.

III.1 Work, heat and EP

We define the fluctuating internal energy as

H(𝒙;λ)TU(𝒙;λ)=T(U0+ψ),\displaystyle H(\bm{x};\lambda)\equiv TU({\bm{x}};\lambda)=T(U^{0}+\psi), (29)

where U(𝒙;λ)U({\bm{x}};\lambda) is the generalized potential in Gibbs gauge, to be found by solving Eq. (15). The NESS distribution Eq. (13) can then be rewritten as

pss(𝒙;λ)=eβH(𝒙;λ)=eU(𝒙;λ).\displaystyle p^{\rm ss}(\bm{x};\lambda)=e^{-\beta H(\bm{x};\lambda)}=e^{-U(\bm{x};\lambda)}. (30)

To realize such a NESS, one only needs to hold the shear flow and the control parameter λ\lambda fixed for a sufficiently long period of time. The equilibrium free energy F(λ)F(\lambda) is defined as

F(λ)Tlog𝒙eβH=Tlog1=0,\displaystyle F(\lambda)\equiv-T\,\log\int_{\bm{x}}e^{-\beta H}=-T\,\log 1=0, (31)

where in the second step we used the fact that pss(𝒙)p^{\rm ss}(\bm{x}) is properly normalized. Hence our definition (29) of energy guarantees that the equilibrium free energy vanishes identically. This leads to certain simplification of the fluctuation theorems, as we shall see below.

We define differential heat at the trajectory level as

d¯𝒬\displaystyle d\bar{}\hskip 1.00006pt{\mathscr{Q}} \displaystyle\equiv d𝒙HT𝝋d𝒙\displaystyle d_{\bm{x}}H-T\,\bm{\varphi}\circ d{\bm{x}} (32)
=\displaystyle= T(d𝒙U𝝋d𝒙),\displaystyle T\,(d_{\bm{x}}U-\bm{\varphi}\circ d{\bm{x}}),

where d𝒙Hd_{\bm{x}}H means differential of HH due to variation of 𝒙\bm{x}, and \circ is the stochastic product in Stratonovich’s sense:

𝝋d𝒙φi(𝒙+d𝒙/2)dxi.\displaystyle\bm{\varphi}\circ d{\bm{x}}\equiv\varphi_{i}({\bm{x}}+d{\bm{x}}/2)\,dx^{i}. (33)

The differential work at the trajectory level is defined as

d¯𝒲\displaystyle d\bar{}\hskip 1.00006pt{\mathscr{W}} \displaystyle\equiv dλH+T𝝋d𝒙.\displaystyle d_{\lambda}H+T\,\bm{\varphi}\circ d{\bm{x}}. (34)
=\displaystyle= T(dλU+𝝋d𝒙),\displaystyle T\,(d_{\lambda}U+\bm{\varphi}\circ d{\bm{x}}),

where dλHd_{\lambda}H is the differential of HH due to variation of λ\lambda.

The above defined heat and work can be decomposed into a housekeeping part and an excess part:

d¯𝒬\displaystyle d\bar{}\hskip 1.00006pt{\mathscr{Q}} =\displaystyle= d¯𝒬hk+d¯𝒬ex,\displaystyle d\bar{}\hskip 1.00006pt{\mathscr{Q}}^{\rm hk}+d\bar{}\hskip 1.00006pt{\mathscr{Q}}^{\rm ex}, (35)
d¯𝒲\displaystyle d\bar{}\hskip 1.00006pt{\mathscr{W}} =\displaystyle= d¯𝒲hk+d¯𝒲ex,\displaystyle d\bar{}\hskip 1.00006pt{\mathscr{W}}^{\rm hk}+d\bar{}\hskip 1.00006pt{\mathscr{W}}^{\rm ex}, (36)

where d¯𝒬hk,d¯𝒲hkd\bar{}\hskip 1.00006pt{\mathscr{Q}}^{\rm hk},d\bar{}\hskip 1.00006pt{\mathscr{W}}^{\rm hk} are respectively housekeeping heat and housekeeping work, whereas d¯𝒬ex,d¯𝒲exd\bar{}\hskip 1.00006pt{\mathscr{Q}}^{\rm ex},d\bar{}\hskip 1.00006pt{\mathscr{W}}^{\rm ex} are respectively excess heat and excess work, defined as

d¯𝒬hk\displaystyle d\bar{}\hskip 1.00006pt{\mathscr{Q}}^{\rm hk} \displaystyle\equiv T𝝋d𝒙,\displaystyle-T\,\bm{\varphi}\circ d{\bm{x}}, (37a)
d¯𝒬ex\displaystyle d\bar{}\hskip 1.00006pt{\mathscr{Q}}^{\rm ex} \displaystyle\equiv Td𝒙U,\displaystyle T\,d_{\bm{x}}U, (37b)
d¯𝒲hk\displaystyle d\bar{}\hskip 1.00006pt{\mathscr{W}}^{\rm hk} \displaystyle\equiv T𝝋d𝒙=d¯𝒬ex,\displaystyle T\,\bm{\varphi}\circ d{\bm{x}}=-d\bar{}\hskip 1.00006pt{\mathscr{Q}}^{\rm ex}, (37c)
d¯𝒲ex\displaystyle d\bar{}\hskip 1.00006pt{\mathscr{W}}^{\rm ex} \displaystyle\equiv TdλU.\displaystyle T\,d_{\lambda}U. (37d)

The first law of thermodynamics at the trajectory level is given by either of the following two forms:

dH=d¯𝒬+d¯𝒲=d¯𝒬ex+d¯𝒲ex.\displaystyle\begin{split}dH&=d\bar{}\hskip 1.00006pt{\mathscr{Q}}+d\bar{}\hskip 1.00006pt{\mathscr{W}}=d\bar{}\hskip 1.00006pt{\mathscr{Q}}^{\rm ex}+d\bar{}\hskip 1.00006pt{\mathscr{W}}^{\rm ex}.\end{split} (38)

Note that the housekeeping heat and housekeeping work exactly cancel each other.

Heat and work at the ensemble level can be obtained by averaging the corresponding quantities at the trajectory level over both noises and the pdf of 𝒙{\bm{x}}. To obtain a well-defined continuum limit, these differential quantities at the ensemble level must be computed up to the first order in dtdt. It is important to remember that the Wiener noises are square root of dtdt, and hence according to Eq. (17a), d𝒙d{\bm{x}} contains parts scaling with dt\sqrt{dt}. Consequently, we need to expand these differential quantities up to the second order of d𝒙d{\bm{x}}, to keep all terms linear in dtdt.

As an example, let us compute the excess heat at the ensemble level:

d¯Qex\displaystyle d\bar{}\hskip 1.00006ptQ^{\rm ex} =\displaystyle= d¯𝒬ex,\displaystyle\langle\!\langle d\bar{}\hskip 1.00006pt{\mathscr{Q}}^{\rm ex}\rangle\!\rangle, (39)

where \langle\!\langle\,\cdot\,\rangle\!\rangle means double average over Wiener noises and over probability distribution of 𝒙\bm{x}. First we use Eq. (37b) to expand d¯𝒬exd\bar{}\hskip 1.00006pt{\mathscr{Q}}^{\rm ex} up to the second order in d𝒙d{\bm{x}}:

d¯𝒬ex=TiUdxi+T2ijUdxidxj,\displaystyle d\bar{}\hskip 1.00006pt{\mathscr{Q}}^{\rm ex}=T\partial_{i}Udx^{i}+\frac{T}{2}\partial_{i}\partial_{j}Udx^{i}dx^{j}, (40)

where all products are in Ito’s sense. We now use the Langevin equation (17a) to express d𝒙d{\bm{x}} in terms of dtdt and d𝑾d\bm{W}. All terms in the form of dt2dt^{2} and dtdWidtdW_{i} can be neglected, since they are higher order than dtdt. Then we average over the Wiener noises d𝑾d\bm{W}. Finally we multiply the result by the pdf p(𝒙;t)p({\bm{x}};t) and integrate over 𝒙{\bm{x}}, and obtain the differential excess heat at the ensemble level:

d¯Qex=T2dtγiU(iUφi)iiU,\displaystyle d\bar{}\hskip 1.00006ptQ^{\rm ex}=-\frac{T^{2}\,dt}{\gamma}\left\langle\partial_{i}U(\partial_{i}U-\varphi_{i})-\partial_{i}\partial_{i}U\right\rangle, (41)

where \langle\,\cdot\,\rangle means average over the pdf p(𝒙,t)p({\bm{x}},t) of 𝒙{\bm{x}}:

=𝒙p(𝒙,t).\displaystyle\langle\,\cdot\,\rangle=\int_{\bm{x}}\cdot\,p({\bm{x}},t). (42)

Similarly, the differential housekeeping heat at the ensemble level is given by

d¯Qhk=T2dtγφi(iUφi)iφi.\displaystyle d\bar{}\hskip 1.00006ptQ^{\rm hk}=-\frac{T^{2}\,dt}{\gamma}\left\langle\varphi_{i}(\partial_{i}U-\varphi_{i})-\partial_{i}\varphi_{i}\right\rangle. (43)

Further using the Gibbs gauge condition (15) we may rewrite the above result as

d¯Qhk=T2dtγ𝒙p(φi)20,\displaystyle d\bar{}\hskip 1.00006ptQ^{\rm hk}=-\frac{T^{2}\,dt}{\gamma}\int_{\bm{x}}p(\varphi_{i})^{2}\leq 0, (44)

which is non-positive definite.

The differential housekeeping and excess work at the trajectory level can be similarly computed:

d¯Whk\displaystyle d\bar{}\hskip 1.00006ptW^{\rm hk} =\displaystyle= d¯Qhk=T2dtγ𝒙p(φi)20,\displaystyle-d\bar{}\hskip 1.00006ptQ^{\rm hk}=\frac{T^{2}\,dt}{\gamma}\int_{\bm{x}}p(\varphi_{i})^{2}\geq 0, (45)
d¯Whk\displaystyle d\bar{}\hskip 1.00006ptW^{\rm hk} =\displaystyle= T𝒙pdλU\displaystyle T\int_{\bm{x}}p\,d_{\lambda}U (46)

The total heat and work at the ensemble level are then the sum of the corresponding housekeeping parts and excess parts:

d¯Q\displaystyle d\bar{}\hskip 1.00006pt{Q} =\displaystyle= d¯𝒬=d¯Qhk+d¯Qex,\displaystyle\langle\!\langle d\bar{}\hskip 1.00006pt{\mathscr{Q}}\rangle\!\rangle=d\bar{}\hskip 1.00006pt{Q}^{\rm hk}+d\bar{}\hskip 1.00006pt{Q}^{\rm ex}, (47)
d¯W\displaystyle d\bar{}\hskip 1.00006pt{W} =\displaystyle= d¯𝒲=d¯Whk+d¯Wex.\displaystyle\langle\!\langle d\bar{}\hskip 1.00006pt{\mathscr{W}}\rangle\!\rangle=d\bar{}\hskip 1.00006pt{W}^{\rm hk}+d\bar{}\hskip 1.00006pt{W}^{\rm ex}. (48)

The system entropy is:

S[p]=𝒙plogp,\displaystyle S[p]=-\int_{\bm{x}}p\,\log p, (49)

whose differential can be calculated using the Fokker-Planck equation:

dS\displaystyle dS =\displaystyle= dt𝒙logpp\displaystyle-dt\int_{\bm{x}}\log p\,\mathscr{L}p (50)
=\displaystyle= dt𝒙logpiTγ(i+iUφi)p\displaystyle-dt\int_{\bm{x}}\log p\,\partial_{i}\frac{T}{\gamma}(\partial_{i}+\partial_{i}U-\varphi_{i})p
=\displaystyle= dtTγ𝒙1p(ip)(i+iUφi)p,\displaystyle\frac{dt\,T}{\gamma}\int_{\bm{x}}\frac{1}{p}(\partial_{i}p)(\partial_{i}+\partial_{i}U-\varphi_{i})p,

where in the last step we have integrated by parts.

The EP is defined as

dStot\displaystyle dS^{\rm tot} \displaystyle\equiv dS+dSenv=dSβd¯Q,\displaystyle dS+dS^{\rm env}=dS-\beta\,d\bar{}\hskip 1.00006ptQ, (51)

where dSenvβd¯QdS^{\rm env}\equiv-\beta\,d\bar{}\hskip 1.00006ptQ is defined as the environmental entropy change. As explained previously, dSenvdS^{\rm env} is only the part of environmental entropy change that can be captured by our theory of stochastic thermodynamics. This can be further decomposed into a housekeeping EP and an excess EP :

dStot\displaystyle dS^{\rm tot} =\displaystyle= dShk+dSex,\displaystyle dS^{\rm hk}+dS^{\rm ex}, (52)
dShk\displaystyle dS^{\rm hk} =\displaystyle= βd¯Qhk=Tdtγ𝒙p(φi)20,\displaystyle-\beta d\bar{}\hskip 1.00006ptQ^{\rm hk}=\frac{T\,dt}{\gamma}\int_{\bm{x}}p(\varphi_{i})^{2}\geq 0, (53)
dSex\displaystyle dS^{\rm ex} =\displaystyle= dSβd¯Qex.\displaystyle dS-\beta\,d\bar{}\hskip 1.00006ptQ^{\rm ex}. (54)

In particular, in the NESS, the excess EP vanishes identically, whereas the housekeeping EP reduces to

dShkdt=Tdtγ𝒙eU(φi)2=γT𝒙eU(jiss)2,\displaystyle\frac{dS^{\rm hk}}{dt}=\frac{T\,dt}{\gamma}\int_{\bm{x}}e^{-U}(\varphi_{i})^{2}=\frac{\gamma}{T}\int_{\bm{x}}e^{U}\left(j_{i}^{\rm ss}\right)^{2}, (55)

where jissj_{i}^{\rm ss} is the NESS current given in Eq. (14).

Further using Eqs. (50) and (41), as well as the Gibbs gauge condition (15), we may rewrite the excess EP in the following apparently positive form:

dSex=Tdtγ𝒙1p[(i+iU)p]20.\displaystyle dS^{\rm ex}=\frac{T\,dt}{\gamma}\int_{\bm{x}}\frac{1}{p}\left[(\partial_{i}+\partial_{i}U)p\right]^{2}\geq 0. (56)

Hence EP is the sum of a positive housekeeping part and a positive excess part, a general feature of Markov systems with even variables and parameters that lack instantaneous detailed balance [17, 18, 19, 20].

Finally we may also define non-equilibrium free energy:

F[p]𝒙p(H+Tlogp).\displaystyle F[p]\equiv\int_{\bm{x}}p(H+T\,\log p). (57)

It is then easy to verify the following differential forms:

dF[p]=d¯Wex+d¯QexTdS,\displaystyle dF[p]=d\bar{}\hskip 1.00006ptW^{\rm ex}+d\bar{}\hskip 1.00006ptQ^{\rm ex}-T\,dS, (58)

which may be further rewritten as

dSex=dSβd¯Qex=β(d¯WexdF[p])0.\displaystyle dS^{\rm ex}=dS-\beta\,d\bar{}\hskip 1.00006ptQ^{\rm ex}=\beta(d\bar{}\hskip 1.00006ptW^{\rm ex}-dF[p])\geq 0. (59)

III.2 Transition probability

To study fluctuation theorems, it is necessary to know the short-time transition probability of the Langevin process defined by Eq. (17a). Let 𝒙,𝒙1=𝒙+d𝒙{\bm{x}},{\bm{x}}_{1}={\bm{x}}+d{\bm{x}} be respectively the initial position and the final position of an infinitesimal transition taking place during dtdt, and let 𝒙1/2=𝒙+d𝒙/2{\bm{x}}_{1/2}={\bm{x}}+d{\bm{x}}/2 be the mid-point. A general expression for the short-time transition probability p𝝋(𝒙1|𝒙;dt)p_{\bm{\varphi}}({\bm{x}}_{1}|{\bm{x}};dt) of the Langevin equation (6) was derived in Eqs. (A4) of Ref. [21], using the general result of time-slicing path integral in Ref. [23]. Specializing to the Langevin dynamics Eq. (17a), we find 222The notation may be unfortunately confusing since we need to integrate over d𝒙d{\bm{x}} to verify the normalization of this transition probability density function. To avoid this confusion, we may replace d𝒙,dtd{\bm{x}},dt by Δ𝒙,Δt\Delta{\bm{x}},\Delta t and remember that they are infinitesimal quantities. (Note that the notations are slightly different here)

p𝝋(𝒙1|𝒙;dt)=γ4πTdte𝒜𝝋(d𝒙;𝒙1/2,dt),\displaystyle p_{\bm{\varphi}}({\bm{x}}_{1}|{\bm{x}};dt)=\frac{\gamma}{4\pi T\,dt}e^{-{\mathcal{A}}_{\bm{\varphi}}(d{\bm{x}};{\bm{x}}_{1/2},dt)}, (60a)
where the action 𝒜𝝋(d𝒙;𝒙1/2,dt){\mathcal{A}}_{\bm{\varphi}}(d{\bm{x}};{\bm{x}}_{1/2},dt) is given by
𝒜𝝋(d𝒙;𝒙1/2,dt)\displaystyle{\mathcal{A}}_{\bm{\varphi}}(d{\bm{x}};{\bm{x}}_{1/2},dt) =\displaystyle= γ4Tdt(dxi+Tγ(iUφi)dt)1/22\displaystyle\frac{\gamma}{4T\,dt}(dx^{i}+\frac{T}{\gamma}(\partial_{i}U-\varphi_{i})dt)^{2}_{1/2}
\displaystyle- Tdt2γ(i2Uiφi)1/2+o(dt),\displaystyle\frac{T\,dt}{2\gamma}(\partial_{i}^{2}U-\partial_{i}\varphi_{i})_{1/2}+o(dt),
(60b)

where the subscript 1/21/2 in Eq. (60b) means that all functions inside the bracket are evaluated at 𝒙1/2{\bm{x}}_{1/2}. The action is expanded up to the first order in dtdt, which is sufficient to guarantees a correct continuum limit. In fact it is ok to evaluate the second term in the r.h.s. of Eq. (60b) at any point, the resulting error is of higher order than dtdt, and hence is negligible in the continuum limit. Note that we show explicitly the dependence of the action on the non-conservative force 𝝋\bm{\varphi}.

Let us supply a heuristic explanation for Eqs. (60). First we note that the Wiener noises are infinitesimal Gaussian with basic properties (3). Using these we can readily construct their pdf:

p(d𝑾)=12πdtexp(dWx2+dWy22dt).\displaystyle p(d\bm{W})=\frac{1}{{2\pi dt}}\exp\left(-\frac{dW_{x}^{2}+dW_{y}^{2}}{2dt}\right). (61)

Now given 𝒙{\bm{x}}, the Langevin equation (17a) may be understood as a linear relation between d𝑾d\bm{W} and the infinitesimal displacement d𝒙d{\bm{x}}. Hence we may obtain the pdf for d𝒙d{\bm{x}} directly from Eq. (61):

p(d𝒙)=γ4πTdteγ4πTdt(dxi+Tγ(iUφi)dt)2.\displaystyle p(d{\bm{x}})=\frac{\gamma}{4\pi T\,dt}\,e^{-\frac{\gamma}{4\pi T\,dt}(dx^{i}+\frac{T}{\gamma}(\partial_{i}U-\varphi_{i})dt)^{2}}. (62)

Note that the action appearing in the exponent above is formally identical to the first term in the action (60b). It is important to note however as a basic property of Ito-Langevin equation, the function (iUφi)(\partial_{i}U-\varphi_{i}) in (17a), which also appears in Eq. (62) is evaluated at the initial point 𝒙{\bm{x}}. This should be contrasted with Eqs. (60), where the same function is evaluated at the mid-point 𝒙1/2{\bm{x}}_{1/2}. Because of the dtdt appearing in the denominator of the actions, however, this difference is qualitatively important and is compensated by the second term in the action (60b).

Using Eq. (60a), we can also compute the backward transition probability from 𝒙1{\bm{x}}_{1} to 𝒙{\bm{x}}. All we need is to swap 𝒙1{\bm{x}}_{1} and 𝒙{\bm{x}} in Eq. (60a). Note that 𝒙{\bm{x}} and 𝒙1{\bm{x}}_{1} appear in Eq. (60a) only in the combinations d𝒙d{\bm{x}} and 𝒙1/2{\bm{x}}_{1/2}, which are respectively odd and even under the swap. Hence to obtain p(𝒙|𝒙1;dt)p({\bm{x}}|{\bm{x}}_{1};dt) we only need to flip the sign of d𝒙d{\bm{x}}. This leads to

p𝝋(𝒙|𝒙1;dt)\displaystyle p_{\bm{\varphi}}({\bm{x}}|{\bm{x}}_{1};dt) =\displaystyle= γ4πTdte𝒜𝝋(d𝒙;𝒙1/2,dt),\displaystyle\frac{\gamma}{4\pi T\,dt}e^{-{\mathcal{A}}_{\bm{\varphi}}(-d{\bm{x}};{\bm{x}}_{1/2},dt)}, (63a)
𝒜𝝋(d𝒙;𝒙1/2,dt)\displaystyle{\mathcal{A}}_{\bm{\varphi}}(-d{\bm{x}};{\bm{x}}_{1/2},dt) =\displaystyle= γ4Tdt(dxi+Tγ(iUφi)dt)1/22\displaystyle\frac{\gamma}{4T\,dt}(-dx^{i}+\frac{T}{\gamma}(\partial_{i}U-\varphi_{i})dt)^{2}_{1/2}
\displaystyle- Tdt2γ(i2Uiφi)1/2+o(dt).\displaystyle\frac{T\,dt}{2\gamma}(\partial_{i}^{2}U-\partial_{i}\varphi_{i})_{1/2}+o(dt).
(63b)

Recall the adjoint process defined in Sec. II.2 is related to the original process by changing the sign of 𝝋\bm{\varphi}. We can construct the corresponding transition probability for the adjoint process from Eqs. (60):

p𝝋(𝒙1|𝒙;dt)\displaystyle p_{-\bm{\varphi}}({\bm{x}}_{1}|{\bm{x}};dt) =\displaystyle= γ4πTdte𝒜𝝋(d𝒙;𝒙1/2,dt),\displaystyle\frac{\gamma}{4\pi T\,dt}e^{-{\mathcal{A}}_{-\bm{\varphi}}(d{\bm{x}};{\bm{x}}_{1/2},dt)}, (64a)
𝒜𝝋(d𝒙;𝒙1/2,dt)\displaystyle{\mathcal{A}}_{-\bm{\varphi}}(d{\bm{x}};{\bm{x}}_{1/2},dt) =\displaystyle= γ4Tdt(dxi+Tγ(iU+φi)dt)1/22\displaystyle\frac{\gamma}{4T\,dt}(dx^{i}+\frac{T}{\gamma}(\partial_{i}U+\varphi_{i})dt)^{2}_{1/2}
\displaystyle- Tdt2γ(i2U+iφi)1/2+o(dt),\displaystyle\frac{T\,dt}{2\gamma}(\partial_{i}^{2}U+\partial_{i}\varphi_{i})_{1/2}+o(dt),
(64b)

The backward transition probability of the adjoint process can be similarly obtained from Eqs. (63):

p𝝋(𝒙|𝒙1;dt)\displaystyle p_{-\bm{\varphi}}({\bm{x}}|{\bm{x}}_{1};dt) =\displaystyle= γ4πTdte𝒜𝝋(d𝒙;𝒙1/2,dt),\displaystyle\frac{\gamma}{4\pi T\,dt}e^{-{\mathcal{A}}_{-\bm{\varphi}}(-d{\bm{x}};{\bm{x}}_{1/2},dt)}, (65a)
𝒜𝝋(d𝒙;𝒙1/2,dt)\displaystyle{\mathcal{A}}_{-\bm{\varphi}}(-d{\bm{x}};{\bm{x}}_{1/2},dt) =\displaystyle= γ4Tdt(dxi+Tγ(iU+φi)dt)1/22\displaystyle\frac{\gamma}{4T\,dt}(-dx^{i}+\frac{T}{\gamma}(\partial_{i}U+\varphi_{i})dt)^{2}_{1/2}
\displaystyle- Tdt2γ(i2U+iφi)1/2+o(dt).\displaystyle\frac{T\,dt}{2\gamma}(\partial_{i}^{2}U+\partial_{i}\varphi_{i})_{1/2}+o(dt).
(65b)

Using Eqs. (60) and Eqs. (63)-(65), we readily obtain the following ratios:

p𝝋(𝒙1|𝒙;dt)p𝝋(𝒙|𝒙1;dt)\displaystyle\frac{p_{\bm{\varphi}}({\bm{x}}_{1}|{\bm{x}};dt)}{p_{\bm{\varphi}}({\bm{x}}|{\bm{x}}_{1};dt)} =\displaystyle= e(iUφi)dxi.\displaystyle e^{-(\partial_{i}U-\varphi_{i})\circ dx^{i}}. (66a)
Similarly, with the aid of Gibbs gauge condition Eq. (15), we may also prove
p𝝋(𝒙1|𝒙;dt)p𝝋(𝒙1|𝒙;dt)\displaystyle\frac{p_{\bm{\varphi}}({\bm{x}}_{1}|{\bm{x}};dt)}{p_{-\bm{\varphi}}({\bm{x}}_{1}|{\bm{x}};dt)} =\displaystyle= p𝝋(𝒙|𝒙1;dt)p𝝋(𝒙|𝒙1;dt)=e𝝋d𝒙,\displaystyle\frac{p_{-\bm{\varphi}}({\bm{x}}|{\bm{x}}_{1};dt)}{p_{\bm{\varphi}}({\bm{x}}|{\bm{x}}_{1};dt)}=e^{\bm{\varphi}\circ d{\bm{x}}}, (66b)
p𝝋(𝒙1|𝒙;dt)p𝝋(𝒙|𝒙1;dt)\displaystyle\frac{p_{\bm{\varphi}}({\bm{x}}_{1}|{\bm{x}};dt)}{p_{-\bm{\varphi}}({\bm{x}}|{\bm{x}}_{1};dt)} =\displaystyle= p𝝋(𝒙1|𝒙;dt)p𝝋(𝒙|𝒙1;dt)=ed𝒙U.\displaystyle\frac{p_{-\bm{\varphi}}({\bm{x}}_{1}|{\bm{x}};dt)}{p_{\bm{\varphi}}({\bm{x}}|{\bm{x}}_{1};dt)}=e^{-d_{\bm{x}}U}.\quad\quad (66c)

Equations (66) may be called the conditions of local detailed balance.

III.3 Four processes

Process:
Generalized
potential
Non-conservative
force
Confining potential Velocity field
Forward U(𝒙,λt)U({\bm{x}},\lambda_{t}) 𝝋(𝒙,λt)\bm{\varphi}({\bm{x}},\lambda_{t}) V(𝒙;λt)V({\bm{x}};\lambda_{t}) 𝒗(𝒙)\bm{v}({\bm{x}})
Backward U(𝒙,λτt)U({\bm{x}},\lambda_{\tau-t}) 𝝋(𝒙,λτt)\bm{\varphi}({\bm{x}},\lambda_{\tau-t}) V(𝒙;λτt)V({\bm{x}};\lambda_{\tau-t}) 𝒗(𝒙)\bm{v}({\bm{x}})
Adjoint Forward U(𝒙,λt)U({\bm{x}},\lambda_{t}) 𝝋(𝒙,λt)-\bm{\varphi}({\bm{x}},\lambda_{t}) V(𝒙;λt)+2Tψ(𝒙;λt)V({\bm{x}};\lambda_{t})+2\,T\,\psi({\bm{x}};\lambda_{t}) 𝒗(𝒙)-\bm{v}({\bm{x}})
Adjoint Backward U(𝒙,λτt)U({\bm{x}},\lambda_{\tau-t}) 𝝋(𝒙,λτt)-\bm{\varphi}({\bm{x}},\lambda_{\tau-t}) V(𝒙;λτt)+2Tψ(𝒙;λτt)V({\bm{x}};\lambda_{\tau-t})+2\,T\,\psi({\bm{x}};\lambda_{\tau-t}) 𝒗(𝒙)-\bm{v}({\bm{x}})
Table 1: Dynamic protocols of all four processes. Column 2 and 3 show the protocols in the Gibbs gauge, whereas Column 4 and 5 show the protocols in the natural gauge.

We keep the flow field fixed, and vary parameters λt={K(t),𝒙0(t)}\lambda_{t}=\{K(t),{\bm{x}}_{0}(t)\} systematically, which fully determines the Langevin dynamics. We call {U(𝒙;λt),𝝋(𝒙;λt)}\{U({\bm{x}};\lambda_{t}),\bm{\varphi}({\bm{x}};\lambda_{t})\} the dynamic protocol in the Gibbs gauge, and {V(𝒙;λt),𝒗(𝒙)}\{V({\bm{x}};\lambda_{t}),\bm{v}({\bm{x}})\} the dynamic protocol in the natural gauge. A dynamic process is determined by the initial pdf of p(𝒙,t=0)p({\bm{x}},t=0) together with the dynamic protocol either in the Gibbs gauge or in the natural gauge. Transformation between two dynamic protocols are given by Eqs. (12) and (5).

We define four processes as below, all of which start from t=0t=0 and end at t=τt=\tau:

  1. 1.

    Forward process:   The dynamic protocol is

    UF\displaystyle U^{\rm F} =\displaystyle= U(𝒙,λt),\displaystyle U({\bm{x}},\lambda_{t}),\quad (67a)
    𝝋F\displaystyle\bm{\varphi}^{\rm F} =\displaystyle= 𝝋(𝒙,λt).\displaystyle\bm{\varphi}({\bm{x}},\lambda_{t}). (67b)

    The initial pdf is pss(𝒙;λ0)p^{\rm ss}({\bm{x}};\lambda_{0}), defined in Eq. (30).

  2. 2.

    Backward process:   The dynamic protocol is

    UB\displaystyle U^{\rm B} =\displaystyle= U(𝒙,λτt),\displaystyle U({\bm{x}},\lambda_{\tau-t}),\quad (68a)
    𝝋B\displaystyle\bm{\varphi}^{\rm B} =\displaystyle= 𝝋(𝒙,λτt).\displaystyle\bm{\varphi}({\bm{x}},\lambda_{\tau-t}). (68b)

    The initial pdf is pss(𝒙;λτ)p^{\rm ss}({\bm{x}};\lambda_{\tau}).

  3. 3.

    Adjoint process:   The dynamic protocol is

    UAd\displaystyle U^{\rm Ad} =\displaystyle= U(𝒙,λt),\displaystyle U({\bm{x}},\lambda_{t}),\quad (69a)
    𝝋Ad\displaystyle\bm{\varphi}^{\rm Ad} =\displaystyle= 𝝋(𝒙,λt).\displaystyle-\bm{\varphi}({\bm{x}},\lambda_{t}). (69b)

    The initial pdf is pss(𝒙;λ0)p^{\rm ss}({\bm{x}};\lambda_{0}).

  4. 4.

    Adjoint backward process:   The protocol is

    UAdB\displaystyle U^{\rm AdB} =\displaystyle= U(𝒙,λτt),\displaystyle U({\bm{x}},\lambda_{\tau-t}),\quad (70a)
    𝝋AdB\displaystyle\bm{\varphi}^{\rm AdB} =\displaystyle= 𝝋(𝒙,λτt).\displaystyle-\bm{\varphi}({\bm{x}},\lambda_{\tau-t}). (70b)

    The initial pdf is pss(𝒙;λτ)p^{\rm ss}({\bm{x}};\lambda_{\tau}).

Note that each of these processes starts from the NESS corresponding to the initial control parameter of the dynamic protocol. Such an initial state can be realized easily in experiments. Note also that in general, the system is not in a NESS at the end of any of these processes.

The protocols of all these processes are displayed in the second and third columns of Table 1. We may also express these protocols in the natural gauge, in terms of the confining potential and the flow field. The results are displayed in fourth and fifth columns of Table 1.

A pivotal property of these processes is that the backward process, the adjoint process, and the adjoint backward process are all uniquely determined by the forward process. Furthermore, the backward of the backward process is the forward process. Likewise, the adjoint of the adjoint process is the forward process; the adjust backward of the adjoint backward process is also the forward process. Additionally, the adjoint of the backward process is the same as the backward of the adjoint process, which is also the same as the adjoint backward process etc. The mappings from any process to its backward process, and that to its adjoint process, as well as that to its adjoint backward process, are all involutions.

Consider a trajectory and its backward trajectory:

𝜸\displaystyle\bm{\gamma} =\displaystyle= {𝒙(t),t[0,τ]},\displaystyle\{{\bm{x}}(t),t\in[0,\tau]\}, (71)
𝜸^\displaystyle\hat{\bm{\gamma}} =\displaystyle= {𝒙(τt),t[0,τ]}.\displaystyle\{{\bm{x}}(\tau-t),t\in[0,\tau]\}. (72)

The notation 𝜸\bm{\gamma} (boldface) for trajectory should be carefully distinguished from γ\gamma for the friction coefficient. We introduce the notations 𝜸0=𝒙(0){\bm{\gamma}}_{0}={\bm{x}}(0) and 𝜸^0=𝒙(τ)\hat{\bm{\gamma}}_{0}={\bm{x}}(\tau) to denote the initial state of 𝜸,𝜸^\bm{\gamma},\hat{\bm{\gamma}}, respectively. For each of the four processes defined above, we can construct its pdf of trajectory as the product of conditional pdf given the initial state and the pdf of the initial state. For example, for the forward process, we have

pF[𝜸]=pF[𝜸|𝜸0]pss(𝒙(0);λ0).\displaystyle p_{\rm F}[\bm{\gamma}]=p_{\rm F}[\bm{\gamma}|{\bm{\gamma}}_{0}]\,p^{\rm ss}({\bm{x}}(0);\lambda_{0}). (73a)
Similarly, we also have for the other three processes:
pB[𝜸^]\displaystyle p_{\rm B}[\hat{\bm{\gamma}}] =\displaystyle= pB[𝜸^|𝜸^0]pss(𝒙(τ);λτ),\displaystyle p_{\rm B}[\hat{\bm{\gamma}}|\hat{\bm{\gamma}}_{0}]\,p^{\rm ss}({\bm{x}}(\tau);\lambda_{\tau}), (73b)
pAd[𝜸]\displaystyle p_{\rm Ad}[\bm{\gamma}] =\displaystyle= pAd[𝜸|𝜸0]pss(𝒙(0);λ0),\displaystyle p_{\rm Ad}[\bm{\gamma}|{\bm{\gamma}}_{0}]\,p^{\rm ss}({\bm{x}}(0);\lambda_{0}), (73c)
pAdB[𝜸^]\displaystyle p_{\rm AdB}[\hat{\bm{\gamma}}] =\displaystyle= pAdB[𝜸^|𝜸^0]pss(𝒙(τ);λτ).\displaystyle p_{\rm AdB}[\hat{\bm{\gamma}}|\hat{\bm{\gamma}}_{0}]\,p^{\rm ss}({\bm{x}}(\tau);\lambda_{\tau}). (73d)

Let 𝒲F[𝜸],𝒬F[𝜸]\mathscr{W}_{\rm F}[\bm{\gamma}],\mathscr{Q}_{\rm F}[\bm{\gamma}] (𝒲B[𝜸^],𝒬B[𝜸^]\mathscr{W}_{\rm B}[\hat{\bm{\gamma}}],\mathscr{Q}_{\rm B}[\hat{\bm{\gamma}}]) be the integrated work and heat along 𝜸\bm{\gamma} (𝜸^\hat{\bm{\gamma}}) in the forward (backward) process. They can be obtained by integrating Eqs. (34) and (32) along the forward (backward) trajetory:

𝒲F[𝜸]=𝒲B[𝜸^]=Tγ(dλU+𝝋d𝒙),\displaystyle\mathscr{W}_{\rm F}[\bm{\gamma}]=-\mathscr{W}_{\rm B}[\hat{\bm{\gamma}}]=T\int_{\gamma}(d_{\lambda}U+\bm{\varphi}\circ d{\bm{x}}), (74a)
𝒬F[𝜸]=𝒬B[𝜸^]=Tγ(d𝒙U𝝋d𝒙).\displaystyle\mathscr{Q}_{\rm F}[\bm{\gamma}]=-\mathscr{Q}_{\rm B}[\hat{\bm{\gamma}}]=T\int_{\gamma}(d_{\bm{x}}U-\bm{\varphi}\circ d{\bm{x}}). (74b)
We can similarly construct the same quantities for the adjoint process and the adjoint backward process:
𝒲Ad[𝜸]=𝒲AdB[𝜸^]\displaystyle\mathscr{W}_{\rm Ad}[\bm{\gamma}]=-\mathscr{W}_{\rm AdB}[\hat{\bm{\gamma}}] =\displaystyle= Tγ(dλU𝝋d𝒙),\displaystyle T\int_{\gamma}(d_{\lambda}U-\bm{\varphi}\circ d{\bm{x}}), (74c)
𝒬Ad[𝜸]=𝒬AdB[𝜸^]\displaystyle\mathscr{Q}_{\rm Ad}[\bm{\gamma}]=-\mathscr{Q}_{\rm AdB}[\hat{\bm{\gamma}}] =\displaystyle= Tγ(d𝒙U+𝝋d𝒙).\displaystyle T\int_{\gamma}(d_{\bm{x}}U+\bm{\varphi}\circ d{\bm{x}}).\quad\quad\quad (74d)

The integrated work and heat may be decomposed into a housekeeping part and an excess part. For the work of the forward process, we have:

𝒲F[𝜸]\displaystyle\mathscr{W}_{\rm F}[\bm{\gamma}] =\displaystyle= 𝒲Fhk[𝜸]+𝒲Fex[𝜸],\displaystyle\mathscr{W}_{\rm F}^{\rm hk}[\bm{\gamma}]+\mathscr{W}_{\rm F}^{\rm ex}[\bm{\gamma}], (75a)
𝒲Fhk[𝜸]\displaystyle\mathscr{W}_{\rm F}^{\rm hk}[\bm{\gamma}] =\displaystyle= T𝜸𝝋𝑑𝒙,\displaystyle T\int_{\bm{\gamma}}\bm{\varphi}\circ d{\bm{x}}, (75b)
𝒲Fex[𝜸]\displaystyle\mathscr{W}_{\rm F}^{\rm ex}[\bm{\gamma}] =\displaystyle= T𝜸dλU.\displaystyle T\int_{\bm{\gamma}}d_{\lambda}U. (75c)

The heat of the forward process can be decomposed in a similar way. Same decompositions can also be obtained for work and heat of the backward process, the adjoint process, and the adjoint backward process.

Combining, we obtain

𝒲Fhk[𝜸]\displaystyle\mathscr{W}^{\rm hk}_{\rm F}[\bm{\gamma}] =\displaystyle= 𝒲Bhk[𝜸^]=𝒲Adhk[𝜸]=𝒲AdBhk[𝜸^]\displaystyle-\mathscr{W}^{\rm hk}_{\rm B}[\hat{\bm{\gamma}}]=-\mathscr{W}^{\rm hk}_{\rm Ad}[\bm{\gamma}]=\mathscr{W}^{\rm hk}_{\rm AdB}[\hat{\bm{\gamma}}] (76)
=\displaystyle= T𝜸𝝋𝑑𝒙,\displaystyle T\int_{\bm{\gamma}}\bm{\varphi}\circ d{\bm{x}},
𝒲Fex[𝜸]\displaystyle\mathscr{W}^{\rm ex}_{\rm F}[\bm{\gamma}] =\displaystyle= 𝒲Bex[𝜸^]=𝒲Adex[𝜸]=𝒲AdBex[𝜸^]\displaystyle-\mathscr{W}^{\rm ex}_{\rm B}[\hat{\bm{\gamma}}]=\mathscr{W}^{\rm ex}_{\rm Ad}[\bm{\gamma}]=-\mathscr{W}^{\rm ex}_{\rm AdB}[\hat{\bm{\gamma}}] (77)
=\displaystyle= T𝜸dλU.\displaystyle T\int_{\bm{\gamma}}d_{\lambda}U.

Finally, adding up Eqs. (74a) and (74b), we obtain the first law along 𝜸\bm{\gamma}:

U(𝒙(τ);λτ)U(𝒙(0);λ0)=𝒲F[𝜸]+𝒬F[𝜸].\displaystyle U({\bm{x}}(\tau);\lambda_{\tau})-U({\bm{x}}(0);\lambda_{0})=\mathscr{W}_{\rm F}[\bm{\gamma}]+\mathscr{Q}_{\rm F}[\bm{\gamma}]. (78)

III.4 Fluctuation theorems

Because of the Markov property, pF[𝜸|𝜸0]p_{\rm F}[\bm{\gamma}|{\bm{\gamma}}_{0}] and pB[𝜸^|𝜸^0]p_{\rm B}[\hat{\bm{\gamma}}|\hat{\bm{\gamma}}_{0}] can be calculated using the time-slicing method. Further using Eq. (66a) for each pair of time-slices, we have

logpF[𝜸|𝜸0]pB[𝜸^|𝜸^0]=γ(d𝒙U𝝋d𝒙)=β𝒬F[𝜸],\displaystyle\log\frac{p_{\rm F}[\bm{\gamma}|{\bm{\gamma}}_{0}]}{p_{\rm B}[\hat{\bm{\gamma}}|\hat{\bm{\gamma}}_{0}]}=-\int_{\gamma}(d_{\bm{x}}U-\bm{\varphi}\circ d{\bm{x}})={-\beta\mathscr{Q}_{\rm F}[\bm{\gamma}]},\quad (79)

where in the second equality we have used Eq. (74b).

Let us define the following functional:

ΣF[𝜸]logpF[𝜸]pB[𝜸^].\displaystyle\Sigma_{\rm F}[\bm{\gamma}]\equiv\log\frac{p_{\rm F}[\bm{\gamma}]}{p_{\rm B}[\hat{\bm{\gamma}}]}. (80)

Using Eqs. (73a), (73b), and (79), we obtain:

ΣF[𝜸]=logpeq(𝒙(0);λ0)peq(𝒙(τ);λτ)β𝒬F[𝜸].\displaystyle\Sigma_{\rm F}[\bm{\gamma}]=\log\frac{p^{\rm eq}({\bm{x}}(0);\lambda_{0})}{p^{\rm eq}({\bm{x}}(\tau);\lambda_{\tau})}-\beta\mathscr{Q}_{\rm F}[\bm{\gamma}].\quad (81)

If the final state pdf p(𝒙(τ),τ)p({\bm{x}}(\tau),\tau) of the forward process is the NESS corresponding to λτ\lambda_{\tau}, we may also write Eq. (81) into

ΣF[𝜸]=logp(𝒙(τ),τ)p(𝒙(0),0)β𝒬F[𝜸],\displaystyle\Sigma_{\rm F}[\bm{\gamma}]=-\log\frac{p({\bm{x}}(\tau),\tau)}{p({\bm{x}}(0),0)}-\beta\mathscr{Q}_{\rm F}[\bm{\gamma}], (82)

which is the stochastic entropy production along the trajectory 𝜸\bm{\gamma} in the forward process. If the system is not in the NESS at the end of the forward process, however, the physical meaning of ΣF[𝜸]\Sigma_{\rm F}[\bm{\gamma}] is more subtle.

Further taking advantage of Eq. (30) as well as Eqs. (78) and (74a), we may rewrite Eq. (81) into:

ΣF[𝜸]=logpF[𝜸]pB[𝜸^]=β𝒲F[𝜸]=β𝒲B[𝜸^].\displaystyle\Sigma_{\rm F}[\bm{\gamma}]=\log\frac{p_{\rm F}[\bm{\gamma}]}{p_{\rm B}[\hat{\bm{\gamma}}]}=\beta\mathscr{W}_{\rm F}[\bm{\gamma}]=-\beta\mathscr{W}_{\rm B}[\hat{\bm{\gamma}}]. (83)

Taking the log ratio of Eqs. (73a) and (73c) we find

logpF[𝜸]pAd[𝜸]=logpF[𝜸|𝜸0]pAd[𝜸|𝜸0].\displaystyle\log\frac{p_{\rm F}[\bm{\gamma}]}{p_{\rm Ad}[{\bm{\gamma}}]}=\log\frac{p_{\rm F}[\bm{\gamma}|{\bm{\gamma}}_{0}]}{p_{\rm Ad}[\bm{\gamma}|{\bm{\gamma}}_{0}]}. (84)

The r.h.s. can be calculated using the time-slicing method and Eq. (66b). The result is

logpF[𝜸]pAd[𝜸]=𝜸𝝋𝑑𝒙.\displaystyle\log\frac{p_{\rm F}[\bm{\gamma}]}{p_{\rm Ad}[{\bm{\gamma}}]}=\int_{\bm{\gamma}}\bm{\varphi}\circ d{\bm{x}}. (85)

Similarly we may also obtain:

logpAdB[𝜸^]pB[𝜸^]=logpAdB[𝜸^|𝜸0^]pB[𝜸^|𝜸0^]=𝜸𝝋𝑑𝒙.\displaystyle\log\frac{p_{\rm AdB}[\hat{\bm{\gamma}}]}{p_{\rm B}[\hat{\bm{\gamma}}]}=\log\frac{p_{\rm AdB}[\hat{\bm{\gamma}}|\hat{\bm{\gamma}_{0}}]}{p_{\rm B}[\hat{\bm{\gamma}}|\hat{\bm{\gamma}_{0}}]}=\int_{\bm{\gamma}}\bm{\varphi}\circ d{\bm{x}}. (86)

Combining the preceding two equations, and further using Eq. (76), we obtain

logpF[𝜸]pAd[𝜸]\displaystyle\log\frac{p_{\rm F}[\bm{\gamma}]}{p_{\rm Ad}[{\bm{\gamma}}]} =\displaystyle= logpAdB[𝜸^]pB[𝜸^]=β𝒲Fhk[𝜸]=β𝒲Adhk[𝜸];\displaystyle\log\frac{p_{\rm AdB}[\hat{\bm{\gamma}}]}{p_{\rm B}[\hat{\bm{\gamma}}]}=\beta\mathscr{W}^{\rm hk}_{\rm F}[\bm{\gamma}]=-\beta\mathscr{W}^{\rm hk}_{\rm Ad}[\bm{\gamma}];
Finally using similar methods, we may also prove
logpF[𝜸]pAdB[𝜸^]\displaystyle\log\frac{p_{\rm F}[\bm{\gamma}]}{p_{\rm AdB}[{\hat{\bm{\gamma}}}]} =\displaystyle= logpAd[𝜸]pB[𝜸^]=β𝒲Fex[𝜸]=β𝒲AdBex[𝜸].\displaystyle\log\frac{p_{\rm Ad}[{\bm{\gamma}}]}{p_{\rm B}[\hat{\bm{\gamma}}]}=\beta\mathscr{W}^{\rm ex}_{\rm F}[\bm{\gamma}]=-\beta\mathscr{W}^{\rm ex}_{\rm AdB}[\bm{\gamma}].

Let us now define the pdf of 𝒲F[𝜸],𝒲Fhk[𝜸],𝒲Fex[𝜸]\mathscr{W}_{\rm F}[\bm{\gamma}],\mathscr{W}_{\rm F}^{\rm hk}[\bm{\gamma}],\mathscr{W}_{\rm F}^{\rm ex}[\bm{\gamma}] for the forward process as:

pF(𝒲)\displaystyle p_{\rm F}(\mathscr{W}) \displaystyle\equiv D𝜸δ(𝒲𝒲F[𝜸])pF[𝜸],\displaystyle\int D{\bm{\gamma}}\,\delta\left(\mathscr{W}-\mathscr{W}_{\rm F}[\bm{\gamma}]\right)\,p_{\rm F}[\bm{\gamma}], (89a)
pF(𝒲hk)\displaystyle p_{\rm F}(\mathscr{W}^{\rm hk}) \displaystyle\equiv D𝜸δ(𝒲hk𝒲Fhk[𝜸])pF[𝜸],\displaystyle\int D{\bm{\gamma}}\,\delta\left(\mathscr{W}^{\rm hk}-\mathscr{W}_{\rm F}^{\rm hk}[\bm{\gamma}]\right)\,p_{\rm F}[\bm{\gamma}],\quad\quad (89b)
pF(𝒲ex)\displaystyle p_{\rm F}(\mathscr{W}^{\rm ex}) \displaystyle\equiv D𝜸δ(𝒲ex𝒲Fex[𝜸])pF[𝜸],\displaystyle\int D{\bm{\gamma}}\,\delta\left(\mathscr{W}^{\rm ex}-\mathscr{W}_{\rm F}^{\rm ex}[\bm{\gamma}]\right)\,p_{\rm F}[\bm{\gamma}], (89c)

where Dγ\int D\gamma means functional integration in the space of dynamic trajectories. This functional integral should be computed using time-slicing, similar to the path integral in quantum mechanics. Similar pdfs can also be defined for the work, the housekeeping work, and the excess work in the backward process, the adjoin process, and the adjoint backward process.

Taking advantage of the symmetries (83), (LABEL:DFT-W-W-hk), and (LABEL:DFT-W-W_ex), and using standard methods of stochastic thermodynamics, we can prove the following fluctuation theorems for the work, the housekeeping work, and the excess work:

pF(𝒲)\displaystyle p_{\rm F}(\mathscr{W}) =\displaystyle= eβ𝒲pB(𝒲),\displaystyle e^{\beta\mathscr{W}}p_{\rm B}(-\mathscr{W}), (90a)
pF(𝒲hk)\displaystyle p_{\rm F}(\mathscr{W}^{\rm hk}) =\displaystyle= eβ𝒲hkpAd(𝒲hk),\displaystyle e^{\beta\mathscr{W}^{\rm hk}}p_{\rm Ad}(-\mathscr{W}^{\rm hk}), (90b)
pF(𝒲ex)\displaystyle p_{\rm F}(\mathscr{W}^{\rm ex}) =\displaystyle= eβ𝒲expAdB(𝒲ex).\displaystyle e^{\beta\mathscr{W}^{\rm ex}}p_{\rm AdB}(-\mathscr{W}^{\rm ex}). (90c)

IV Alternative theory

Here we briefly review the theory of Speck e. al. [10], which was established on the same Langevin dynamics (2). We shall compare two theories and highlight their differences.

Noticing that the concepts of heat in stochastic thermodynamics is not Galilean invariant, the authors of Ref. [10] argue that one should transform to the co-moving frame and implement the usual formalism of stochastic thermodynamics. For obvious reasons, let us call this theory the theory of co-moving frames. The heat is therefore defined as negative the work done by the friction and random forces in the co-moving frame. Using the Langevin equation (2), we find:

d¯𝒬cm\displaystyle d\bar{}\hskip 1.00006pt\mathscr{Q}^{\rm cm} [γ(d𝒙dt𝒗)2γTd𝑾](d𝒙𝒗dt)\displaystyle\equiv-\left[\gamma\left(\frac{d{\bm{x}}}{dt}-{\bm{v}}\right)-\sqrt{2\gamma T}d\bm{W}\right]\circ\left(d{\bm{x}}-{\bm{v}}dt\right)
=V(d𝒙𝒗dt)\displaystyle=\bm{\nabla}V\circ\left(d{\bm{x}}-{\bm{v}}dt\right) (91)
d𝒙V𝒗Vdt,\displaystyle\equiv d_{\bm{x}}V-\bm{v}\circ\bm{\nabla}Vdt,

where the superscript cm denotes co-moving. Note however, for a shear flow, the co-moving frame is not an inertial frame.

The heat at the ensemble level can be computed using the same method as we used in Sec. III.1. The result is

d¯Qcm\displaystyle d\bar{}\hskip 1.00006ptQ^{\rm cm} =d¯𝒬cm\displaystyle=\langle\!\langle d\bar{}\hskip 1.00006pt\mathscr{Q}^{\rm cm}\rangle\!\rangle
=dt𝒙(iV)Tγ(i+βiV)p.\displaystyle=-dt\int_{{\bm{x}}}(\partial_{i}V)\frac{T}{\gamma}(\partial_{i}+\beta\partial_{i}V)p. (92)

The EP in the co-moving theory is:

dScm,tot\displaystyle dS^{\rm cm,tot} =dSsysβd¯Qcm\displaystyle=dS^{\rm sys}-\beta d\bar{}\hskip 1.00006ptQ^{\rm cm} (93)
=Tdtγ𝒙1p(ip+βpiV)2+dt𝒙(𝒗)p,\displaystyle=\frac{Tdt}{\gamma}\int_{{\bm{x}}}\frac{1}{p}(\partial_{i}p+\beta p\,\partial_{i}V)^{2}+dt\int_{\bm{x}}(\bm{\nabla}\cdot\bm{v})p,

where we have used Eq.(50). Whereas the first term in the r.h.s. of Eq. (93) is non-negative, the second term does not have a definite sign, and vanishes only if the fluid is incompressible. Hence if the fluid is compressible, the EP in the co-moving theory is not necessarily positive.

Assuming that the fluid is incompressible, Eq. (93) becomes

dScm,tot\displaystyle dS^{\rm cm,tot} =Tdtγ𝒙1p(ip+βpiV)20.\displaystyle=\frac{Tdt}{\gamma}\int_{{\bm{x}}}\frac{1}{p}(\partial_{i}p+\beta p\,\partial_{i}V)^{2}\geq 0. (94)

Note that this EP vanishes identically if the pdf is Gibbs-Boltzmann with respect to the external potential: peβVp\sim e^{-\beta V}. Such a state, however, is not the NESS of the Langevin dynamics.

The fluctuating internal energy is defined as the external potential VV. By imposing the first law of thermodynamics:

dV=d¯𝒲cm+d¯𝒬cm,\displaystyle dV=d\bar{}\hskip 1.00006pt\mathscr{W}^{\rm cm}+d\bar{}\hskip 1.00006pt\mathscr{Q}^{\rm cm}, (95)

one finds that the work at the trajectory level is

d¯𝒲cm\displaystyle d\bar{}\hskip 1.00006pt\mathscr{W}^{\rm cm} =dVd¯𝒬cm\displaystyle=dV-d\bar{}\hskip 1.00006pt\mathscr{Q}^{\rm cm}
=dλV+𝒗Vdt,\displaystyle=d_{\lambda}V+\bm{v}\circ\bm{\nabla}Vdt, (96)

The conditions of local detailed balance (66), which relate the transition probabilities of the forward and backward processes to the heat exchange between the system and the environment, play an essential role in the theory of stochastic thermodynamics. It turns out that the heat defined by Eq. (91) is also related to a similar condition concerning a different definition of backward process. This backward process is characterized by the reversal of both the time-variable and the flow field. In other words, the backward process in the co-moving theory is defined such that the dynamic protocol is λτt\lambda_{\tau-t}, whereas the flow field is 𝒗(𝒙;λτt)-\bm{v}({\bm{x}};\lambda_{\tau-t}). The probability of the backward transition in the backward process, denoted using the superscript *, is then

p(𝒙0|𝒙1,dt)\displaystyle p^{*}({\bm{x}}_{0}|{\bm{x}}_{1},dt) =eA(𝒙1|𝒙0,dt),\displaystyle=e^{-A^{*}({\bm{x}}_{1}|{\bm{x}}_{0},dt)}, (97)
A(𝒙0|𝒙1,dt)\displaystyle A^{*}({\bm{x}}_{0}|{\bm{x}}_{1},dt) =14Tγdt(γdxi+γvidt+iVdt)2\displaystyle=\frac{1}{4T\gamma dt}(-\gamma dx^{i}+\gamma v_{i}dt+\partial_{i}Vdt)^{2}
12γ(i2Viγvi)dt.\displaystyle-\frac{1}{2\gamma}(\partial_{i}^{2}V-\partial_{i}\gamma v_{i})\,dt. (98)

If we take the ratio of the transition probabilities of the forward and backward processes, we obtain

logp(𝒙1|𝒙0,dt)p(𝒙0|𝒙1,dt)=βd¯𝒬cm,\displaystyle\log\frac{p({\bm{x}}_{1}|{\bm{x}}_{0},dt)}{p^{*}({\bm{x}}_{0}|{\bm{x}}_{1},dt)}=-\beta d\bar{}\hskip 1.00006pt\mathscr{Q}^{\rm cm}, (99)

where d¯𝒬cmd\bar{}\hskip 1.00006pt\mathscr{Q}^{\rm cm} is defined by Eq. (91). This is the condition of local detailed balance for the theory of co-moving frame.

If we choose the initial states of the forward process and the backward process to be equilibrium states (with the flow field completely turned off):

p(𝒙,0)\displaystyle p(\bm{x},0) =eβV(𝒙,λ0)+βF(λ0),\displaystyle=e^{-\beta V(\bm{x},\lambda_{0})+\beta F(\lambda_{0})}, (100a)
p(𝒙,0)\displaystyle p^{*}(\bm{x},0) =eβV(𝒙,λ(τ))+βF(λτ),\displaystyle=e^{-\beta V(\bm{x},\lambda(\tau))+\beta F(\lambda_{\tau})}, (100b)

where F(λ)=Tlog𝒙eβV(𝒙,λ)F(\lambda)=-T\log\int_{\bm{x}}e^{-\beta V({\bm{x}},\lambda)} is the equilibrium free energy, a fluctuation theorem can be derived for

Σcm[𝜸]logp(𝒙(τ),0)p(𝒙(0),0)β𝒬cm[𝜸],\displaystyle\Sigma^{\rm cm}[\bm{\gamma}]\equiv-\log\frac{p^{*}({\bm{x}}(\tau),0)}{p({\bm{x}}(0),0)}-\beta\mathscr{Q}^{\rm cm}[\bm{\gamma}], (101)

using the standard method of stochastic thermodynamics. Taking advantage of the first law

𝒲cm[𝜸]+𝒬cm[𝜸]=ΔV[𝜸],\displaystyle\mathscr{W}^{\rm cm}[\bm{\gamma}]+\mathscr{Q}^{\rm cm}[\bm{\gamma}]=\Delta V[\bm{\gamma}], (102)

one can then prove the following identities:

logp[𝜸]p[𝜸^]=Σcm[𝜸]=β𝒲cm[𝜸]βΔF,\displaystyle\log\frac{p[\bm{\gamma}]}{p^{*}\left[\hat{\bm{\gamma}}\right]}=\Sigma^{\rm cm}[\bm{\gamma}]=\beta\mathscr{W}^{\rm cm}[\bm{\gamma}]-\beta\Delta F, (103)

where ΔF=F(λτ)F(λ0)\Delta F=F(\lambda_{\tau})-F(\lambda_{0}) is the equilibrium free energy difference between the final state and the initial state. This allows us to express the fluctuation theorem solely in terms of integrated work:

p(𝒲cm)=eβ(𝒲cmΔF)p(𝒲cm).\displaystyle{p(\mathscr{W}^{\rm cm})}=e^{\beta(\mathscr{W}^{\rm cm}-\Delta F)}{p^{*}(-\mathscr{W}^{\rm cm})}. (104)

Let us now comment on the differences between our theory and the theory of co-moving frame. Firstly, the entropy production in the theory of co-moving frame is positive definition only for incompressible fluids, whereas that in our theory is positive definite for arbitrary fluids. Also, unlike the EP in our theory, the EP (94) in the theory of co-moving frame cannot be decomposed into a positive housekeeping part and a positive excess part. This also implies that, with heat defined as Eq. (91), there can be no separate fluctuation theorems for housekeeping EP and for excess EP in the theory of co-moving frame. Secondly, the fluctuation theorem (104) derived in the theory of co-moving frame applies only to processes starting from equilibrium states, whereas the fluctuation theorems in our theory apply to all processes starting from non-equilibrium states, which include equilibrium states as a special case. Thirdly, the flow field of the fluid plays a very different role in the two theories. Whereas in our theory, the term γ𝒗dt\gamma\bm{v}dt is treated as a non-conservative driving force, treated separately from friction and external confining potential, in the theory of co-moving frame, this term is treated as an inseparable part of friction force. For uniform flow with a constant velocity field, it is clearly more natural to describe the physics in the co-moving frame. For flow fields with shear, however, the co-moving frame is not a Galilean frame, and it is not obvious which theory is conceptually more appealing. Finally, by comparing Eqs. (99) with (66a), we see that the difference between the two theories may be understood as the difference in the definition of time reversal of non-equilibrium processes. The system we study in the present work is an example of systems embedded in dissipative backgrounds. For these systems, there is no unique way of defining the time reversal of dynamic processes. This results in an ambiguity in the definition of heat, and hence also in the definition of EP. Different definitions yield different theories of stochastic thermodynamics.

V Numerical Simulations

In this section, we simulate all four processes as defined in Sec. III.3, and and verify all fluctuation theorems (90). To the best of our knowledge, except for a few partial results [24, 25], there has been no systematic verification of fluctuation theorems for housekeeping work and excess work in systems without instantaneous detailed balance.

V.1 Computing UU and φ\varphi

To construct various processes defined in Sec. III.3, we need U,𝝋U,\bm{\varphi}. If ϵ1\epsilon\ll 1, they are approximately given by Eqs. (27). If ϵ\epsilon is not small, we need to solve the Gibbs gauge condition Eq. (16) numerically to find ψ\psi and use it in Eqs. (12) to find U,𝝋U,\bm{\varphi}. The numerical method is explained in App. A.1.

Refer to caption
Figure 2: (a) The eccentricity ee and (b) the inclination angle θ\theta of the contour ellipse of the generalized potential UU. The red dots are obtained by simulating Langevin Dynamics. Dashed lines are the analytical result Eqs. (27). Solid lines are obtained by numerically solving the Gibbs gauge condition Eq. (16).

To test the accuracy of this method, we calculate a contour line (an ellipse) of thus computed UU, and plot its eccentricity ee and inclination angle θ\theta, i.e., the angle between the major axis and the y-axis. The results are shown in Fig. 2 as the solid lines (Numeric). Also shown there are the corresponding results computed using direct simulation of the Langevin dynamics Eq. (2) (red dots, Langevin), as well as the analytical results given by Eqs. (27) (dashed lines, Theory). As one can see there, the numeric results agree with the Langevin results for all values of ϵ\epsilon, which establishes the accuracy of the methods presented in App. A.1 for computation of UU and 𝝋\bm{\varphi}. By contrast, the analytical results are accurate only for small value of ϵ\epsilon.

More numerical testings of our computation methods are supplied in App. A.1.

V.2 Verification of FTs

To verify FTs (90), we numerically simulate each of the four processes defined in Sec. III.3. We generate a large number of trajectories for each process, using the recipe discussed in App. A.3, compute the total work, the housekeeping work, and the excess work for each trajectory in each process, and thereby obtain the distributions of these works. The numerical method for computation of work at the trajectory level is explained in Appendix. A.4. In all simulations discussed here, ϵ=1\epsilon=1. More simulations with different values of ϵ\epsilon are presented in App. B.

We first verify Eq. (90a), which may be rewritten as

logpF(𝒲)pB(𝒲)=β𝒲.\displaystyle\log\frac{p_{\rm F}(\mathscr{W})}{p_{\rm B}(-\mathscr{W})}=\beta\mathscr{W}. (105)
process control parameters duration τ\tau
KK x0,y0x_{0},y_{0}
(a) 0.010.01 10+20tτ-10+20\frac{t}{\tau} 200,  100,  10,  1
(b) 0.01+0.02tτ0.01+0.02\frac{t}{\tau} 0 200,  100,  10,  1
(c) 0.030.02|2tττ|0.03-0.02|\frac{2t-\tau}{\tau}| 0 200,  100,  10,  1
Table 2: Protocols simulated for verifications of FTs for 𝒲\mathscr{W} and 𝒲ex\mathscr{W}^{\rm ex}. T=1,γ=1,ζ=0.01T=1,\gamma=1,{\zeta}=0.01.
Refer to caption
Figure 3: Verification of FT (105). (a), (b), (c): Histograms of the total work 𝒲\mathscr{W}, where all processes are defined in Table 2. In all legends F, B mean forward and backward respectively. Numbers are durations τ\tau. (d): Verification of Eq. (105), where the vertical axis is logpF(𝒲)/pB(𝒲)\log p_{\rm F}(\mathscr{W})/p_{\rm B}(-\mathscr{W}). The black straight-line is Eq. (105). Circles, triangles, and squares are respectively data from panels (a), (b), (c), whereas numbers are durations of processes. Inset: The fitting slopes and error bars for each process.

We simulate three processes that are shown in Table 2. The duration τ\tau of each process is varied systematically, as shown in the last column of the table. For each protocol, we sample 10510^{5} trajectories and compute the distribution of work. We then simulate the backward process, and compute the corresponding distribution of work. These work distributions are displayed in Fig. 3 (a), (b), and (c). Finally we use these distributions to verify the FT (105). As shown in Fig. 3 (d), all data collapse to the black straight-line as predicted by our theory.

Now we verify Eq. (90b), which may be rewritten as

logpF(𝒲hk)pAd(𝒲hk)=β𝒲hk.\displaystyle\log\frac{p_{\rm F}(\mathscr{W}^{\rm hk})}{p_{\rm Ad}(-\mathscr{W}^{\rm hk})}=\beta\mathscr{W}^{\rm hk}. (106)
Refer to caption
Figure 4: Verification of FT (106). (a), (b), (c): Histograms of the housekeeping work 𝒲hk\mathscr{W}^{\rm hk}, where all processes are defined in Table 3. In all legends F, Ad mean forward and backward respectively. Numbers are durations τ\tau. (d): Verification of FT, where the vertical axis is logpF(𝒲hk)/pAd(𝒲hk)\log p_{\rm F}(\mathscr{W}^{\rm hk})/p_{\rm Ad}(-\mathscr{W}^{\rm hk}). The black straight-line is the FT (106). Circles, triangles, and squares are respectively data from panels (a), (b), (c), whereas numbers are durations of processes. Inset: The fitting slopes and error bars for each process.

We simulate three types of forward processes that are shown in Table 3. The duration τ\tau of each process is varied systematically, as shown in the last column of the table. For each protocol, we sample 10510^{5} trajectories and compute the distribution of work. We then do the same for the adjoint processes. All work distributions are displayed in Fig. 4 (a), (b), and (c). Finally, we use these distributions to verify the FT (106). As shown in Fig. 4 (d), all data collapse to the black straight-line as predicted by our theory.

process control parameters duration τ\tau
KK x0,y0x_{0},y_{0}
(a) 0.01 2025|2tττ|20-25|\frac{2t-\tau}{\tau}| 200,  100,  10,  1
(b) 0.030.02|2tττ|0.03-0.02|\frac{2t-\tau}{\tau}| 0 200,  100,  10,  1
(c) 0.010.01 0 200,  100,  10,  1
Table 3: All protocols for verifications of FTs for the housekeeping work. The other parameters are all fixed T=1,γ=1,ζ=0.01T=1,\gamma=1,{\zeta}=0.01.
Refer to caption
Figure 5: Verification of FT (107) for the excess work. (a), (b), (c): Histograms of the excess work 𝒲ex\mathscr{W}^{\rm ex}, where all processes are defined in Table 2. In all legends F, AdB mean forward and backward respectively and numbers are durations τ\tau. (d): Verification of FT, where the vertical axis is logpF(𝒲ex)/pAdB(𝒲ex)\log p_{\rm F}(\mathscr{W}^{\rm ex})/p_{\rm AdB}(-\mathscr{W}^{\rm ex}). The black straight-line is the FT (107). Circles, triangles, and squares are respectively data from panels (a), (b), (c), whereas numbers are durations of processes. Inset: The fitting slopes and error bars for each process.

Now we verify Eq. (90c), which may be rewritten as

logpF(𝒲ex)pAdB(𝒲ex)=β𝒲ex.\displaystyle\log\frac{p_{\rm F}(\mathscr{W}^{\rm ex})}{p_{\rm AdB}(-\mathscr{W}^{\rm ex})}=\beta\mathscr{W}^{\rm ex}. (107)

We simulate the same processes as shown in Table 2, and compute the distributions of excess work. We then do the same for the adjoint backward processes. All work distributions are displayed in Fig. 5 (a), (b), and (c). Finally, we use these distributions to verify the FT (107). As shown in Fig. 5 (d), all data collapse to the black straight-line as predicted by our theory.

VI Conclusion

In this work, we have developed a theory of stochastic thermodynamics for over-damped Brownian motion in a flowing fluid. To the best of our knowledge, this is the first concrete example of non-equilibrium small systems for which fluctuation theorems of the total work, the housekeeping work, and the excess work are explicitly established and verified. The analytic and numerical methods we employed here should be valuable for study of other non-equilibrium systems.

The authors acknowledge support from NSFC via grant #12375035, as well as Shanghai Municipal Science and Technology Major Project (Grant No.2019SHZDZX01).

References

  • [1] Albert Einstein et al. On the motion of small particles suspended in liquids at rest required by the molecular-kinetic theory of heat. Annalen der physik, 17(549-560):208, 1905.
  • [2] Robert Zwanzig. Nonequilibrium statistical mechanics. Oxford university press, 2001.
  • [3] G. Gallavotti and E. G. D. Cohen. Dynamical Ensembles in Nonequilibrium Statistical Mechanics. Physical Review Letters, 74(14):2694–2697, April 1995.
  • [4] Debra J. Searles and Denis J. Evans. Fluctuation theorem for stochastic systems. Physical Review E, 60(1):159–164, July 1999.
  • [5] Udo Seifert. Stochastic thermodynamics, fluctuation theorems and molecular machines. Reports on Progress in Physics, 75(12):126001, December 2012.
  • [6] Luca Peliti and Simone Pigolotti. Stochastic Thermodynamics: An Introduction. Princeton University Press, 2021.
  • [7] Christian Van den Broeck et al. Stochastic thermodynamics: A brief introduction. Phys. Complex Colloids, 184:155–193, 2013.
  • [8] Christopher Jarzynski. Equalities and Inequalities: Irreversibility and the Second Law of Thermodynamics at the Nanoscale. Annual Review of Condensed Matter Physics, 2(1):329–351, 2011.
  • [9] Gavin E. Crooks. Entropy production fluctuation theorem and the nonequilibrium work relation for free energy differences. Physical Review E, 60(3):2721–2726, September 1999.
  • [10] Thomas Speck, Jakob Mehl, and Udo Seifert. Role of External Flow and Frame Invariance in Stochastic Thermodynamics. Physical Review Letters, 100(17):178302, April 2008.
  • [11] Minghao Li, Oussama Sentissi, Stefano Azzini, and Cyriaque Genet. Galilean relativity for Brownian dynamics and energetics. New Journal of Physics, 23(8):083012, August 2021.
  • [12] Andrea Cairoli, Rainer Klages, and Adrian Baule. Weak Galilean invariance as a selection principle for coarse-grained diffusive models. Proceedings of the National Academy of Sciences, 115(22):5714–5719, May 2018.
  • [13] Sascha Gerloff and Sabine H. L. Klapp. Stochastic thermodynamics of a confined colloidal suspension under shear flow. Physical Review E, 98(6):062619, December 2018.
  • [14] Aishani Ghosal and Binny J. Cherayil. Polymer extension under flow: A path integral evaluation of the free energy change using the Jarzynski relation. The Journal of Chemical Physics, 144(21):214902, June 2016.
  • [15] Asawari Pagare and Binny J. Cherayil. Stochastic thermodynamics of a harmonically trapped colloid in linear mixed flow. Physical Review E, 100(5):052124, November 2019.
  • [16] Aishani Ghosal and Binny J Cherayil. Fluctuation relations for flow-driven trapped colloids and implications for related polymeric systems. THE EUROPEAN PHYSICAL JOURNAL B, 92:243, 2019.
  • [17] Vladimir Y. Chernyak, Michael Chertkov, and Christopher Jarzynski. Path-integral analysis of fluctuation theorems for general Langevin processes. Journal of Statistical Mechanics: Theory and Experiment, 2006(08):P08001, August 2006.
  • [18] Massimiliano Esposito and Christian Van den Broeck. Three Detailed Fluctuation Theorems. Physical Review Letters, 104(9):090601, March 2010.
  • [19] Massimiliano Esposito and Christian Van den Broeck. Three faces of the second law. I. Master equation formulation. Physical Review E, 82(1):011143, July 2010.
  • [20] Christian Van den Broeck and Massimiliano Esposito. Three faces of the second law. II. Fokker-Planck formulation. Physical Review E, 82(1):011144, July 2010.
  • [21] Mingnan Ding, Fei Liu, and Xiangjun Xing. Unified theory of thermodynamics and stochastic thermodynamics for nonlinear Langevin systems driven by non-conservative forces. Physical Review Research, 4(4):043125, November 2022.
  • [22] Mingnan Ding, Jun Wu, and Xiangjun Xing. Stochastic thermodynamics of Brownian motion in temperature gradient. Journal of Statistical Mechanics: Theory and Experiment, 2024(3):033203, March 2024.
  • [23] Mingnan Ding and Xiangjun Xing. Time-Slicing Path-integral in Curved Space. Quantum, 6:694, April 2022.
  • [24] E. H. Trepagnier, C. Jarzynski, F. Ritort, G. E. Crooks, C. J. Bustamante, and J. Liphardt. Experimental test of Hatano and Sasa’s nonequilibrium steady-state equality. Proceedings of the National Academy of Sciences, 101(42):15038–15041, October 2004.
  • [25] Donghwan Yoo, Youngkyun Jung, and Chulan Kwon. Molecular dynamics on nonequilibrium motion of a colloidal particle driven by an external torque. Journal of Physics A: Mathematical and Theoretical, 50(10):105002, March 2017.
  • [26] Peter E. Kloeden and Eckhard Platen. Stochastic Differential Equations, pages 103–160. Springer Berlin Heidelberg, Berlin, Heidelberg, 1992.

Appendix A The Numerical Methods

A.1 Computation of UU and φ\varphi

Here we explain how to compute the coefficients A,B,C,D,EA,B,C,D,E in the expansion Eq. (28). We consider slightly more general forms of quadratic confining potential and linear incompressible velocity field:

U0\displaystyle U^{0} =\displaystyle= βV=a0x2+b0xy+c0y2+d0x+e0y+f0,\displaystyle\beta V=a_{0}x^{2}+b_{0}xy+c_{0}y^{2}+d_{0}x+e_{0}y+f_{0}, (108)
𝝋0\displaystyle\bm{\varphi}^{0} =\displaystyle= βγ𝒗=βγ(yζx𝒆^x+xζy𝒆^y).\displaystyle\beta\gamma\,\bm{v}=\beta\gamma\,({y\zeta_{x}}\,\hat{\bm{e}}_{x}+{x\zeta_{y}}\,\hat{\bm{e}}_{y}). (109)

Using Eq. (12), we may rewrite the Gibbs gauge condition (16) as

i(φi0+i(UU0))(φi0+i(UU0))iU=0.\displaystyle\partial_{i}(\varphi_{i}^{0}+\partial_{i}(U-U^{0}))-(\varphi_{i}^{0}+\partial_{i}(U-U^{0}))\partial_{i}U=0. (110)

Note that the l.h.s. is also a quadratic form of 𝒙{\bm{x}}.

We insert Eqs. (108), (109), and (28) into Eq. (110) and compare all coefficients of the quadratic form, we find following set of nonlinear equations:

x2:\displaystyle x^{2}:\quad 4A(a0A)+B(b0Bβγζy)=0,\displaystyle 4A(a_{0}-A)+B(b_{0}-B-{\beta\gamma\zeta_{y}})=0, (111a)
y2:\displaystyle y^{2}:\quad 4C(c0C)+B(b0Bβγζx)=0,\displaystyle 4C(c_{0}-C)+B(b_{0}-B-{\beta\gamma\zeta_{x}})=0, (111b)
xy:\displaystyle xy:\quad B(a0A)+A(b0Bβγζx)+B(c0C)+C(b0Bβγζy)=0,\displaystyle B(a_{0}-A)+A(b_{0}-B-{\beta\gamma\zeta_{x}})+B(c_{0}-C)+C(b_{0}-B-{\beta\gamma\zeta_{y}})=0, (111c)
x:\displaystyle x:\quad 2D(a0A)+2A(d0D)+E(b0Bβγζy)+B(e0E)=0,\displaystyle 2D(a_{0}-A)+2A(d_{0}-D)+E(b_{0}-B-{\beta\gamma\zeta_{y}})+B(e_{0}-E)=0, (111d)
y:\displaystyle y:\quad D(b0Bβγζx)+B(d0D)+2E(c0C)+2C(e0E)=0,\displaystyle D(b_{0}-B-{\beta\gamma\zeta_{x}})+B(d_{0}-D)+2E(c_{0}-C)+2C(e_{0}-E)=0, (111e)
o(1):\displaystyle o(1):\quad 2(a0A)+2(c0C)D(d0D)E(e0E)=0.\displaystyle 2(a_{0}-A)+2(c_{0}-C)-D(d_{0}-D)-E(e_{0}-E)=0. (111f)

Notice that only five of these equations are independent, since there are only five unknowns A,B,C,D,EA,B,C,D,E appearing in these equations.

A.2 Testing of numerical methods

Refer to caption
Figure 6: (a): Contour plots of NESS probability density function (PDF). (b): NESS probability currents. Relevant parameters: ζ=0.01{\zeta}=0.01, K=0.01K=0.01, x0=y0=0x_{0}=y_{0}=0, T=1T=1, γ=0.3\gamma=0.3, and ϵ=0.3\epsilon=0.3.

Here we supply more testing of the analytic results (27) as well as the numerical results for U,𝝋U,\bm{\varphi}, obtained using the method discussed in Eq. (A.1).

We simulate the Langevin dynamics (2) with the confine potential and flow field given by Eqs. (25), and compute the NESS pdf and probability current. We do the same thing for the adjoint dynamics, where the confining potential and the flow field are given by Eqs. (24).

Firstly we let ϵ=0.3\epsilon=0.3, so that the analytical results (27) are expected to be good.

In Fig. 6(a) we plot the contour lines of the NESS pdfs both for the original dynamics and the adjoint dynamics, computed using simulation data. In the same figure we also show the contour lines of the NESS pdf given by analytic results, i.e., Eqs. (13) and (27). As one can see there, all results agree with each other up to high precision.

In Fig. 6(b), we plot the NESS probability currents of both the original dynamics and the adjoint dynamics. As one can see, the probability current of the forward process is the opposite of that of the adjoint process. Additionally, theoretical results agree with numerical results.

Now we let ϵ=1\epsilon=1, so that the analytical results (27) are not expected to be good. We will then use the numerical method discussed in App. A.1 to compute U,𝝋U,\bm{\varphi}.

In Fig. 7(a) we plot the contour lines of the NESS pdfs both for the original dynamics and the adjoint dynamics, computed using simulation data. In the same figure we also show the contour lines of the NESS pdf computed using the method discussed in App. A.1. As one can see there, all results agree with each other up to high precision.

In Fig. 7(b), we plot the NESS probability currents of both the original dynamics and the adjoint dynamics, computed both using direction simulation of the Langevin dynamics, and using the method discussed in App. A.1. As one can see, the probability current of the forward process is the opposite of that of the adjoint process. Additionally, simulation results agree with numerical results.

Refer to caption
Figure 7: (a): Contour plots of NESS probability density function (PDF). (b): NESS probability currents. Relevant parameters: ζ=0.01{\zeta}=0.01, K=0.01K=0.01, x0=y0=0x_{0}=y_{0}=0, T=1T=1, γ=0.3\gamma=0.3, and ϵ=1\epsilon=1.

A.3 Numerical integration of Langevin dynamics

To numerically solve Langevin equation(2), we use the first-order Euler-Maruyama scheme [26].

First we discretize tt with step size =0.001=0.001:

Δt\displaystyle\Delta t =\displaystyle= tn+1tn,\displaystyle t_{n+1}-t_{n}, (112)
λn\displaystyle\lambda_{n} \displaystyle\equiv λ(tn),\displaystyle\lambda(t_{n}), (113)
Δ𝒙n+1\displaystyle\Delta\bm{x}_{n+1} \displaystyle\equiv 𝒙(tn+1)𝒙(tn),\displaystyle\bm{x}(t_{n+1})-\bm{x}(t_{n}), (114)

so that Eq. (2) is discretized as follows:

Δ𝒙n+1\displaystyle\Delta\bm{x}_{n+1} =[𝒗(tn)+𝑭(tn)γ]Δt+2TΔtγ𝝃(tn),\displaystyle=\left[\bm{v}(t_{n})+\frac{\bm{F}(t_{n})}{\gamma}\right]\Delta t+\sqrt{\frac{2T\Delta t}{\gamma}}\bm{\xi}(t_{n}), (115)

where 𝝃=(ξ1,ξ2)\bm{\xi}=(\xi_{1},\xi_{2}) is a 2d vector of normalized Gaussian random variables, and 𝑭(tn)\bm{F}(t_{n}) and 𝒗(tn)\bm{v}(t_{n}) are respectively the discretized force and fluid velocity:

𝑭(tn)\displaystyle\bm{F}(t_{n}) =xV(𝒙(tn),λn)𝒆^xyV(𝒙(tn),λn)𝒆^y,\displaystyle=-\partial_{x}V({\bm{x}}(t_{n}),\lambda_{n})\,\hat{\bm{e}}_{x}-\partial_{y}V({\bm{x}}(t_{n}),\lambda_{n})\,\hat{\bm{e}}_{y}, (116)
𝒗(tn)\displaystyle\bm{v}(t_{n}) =ζy(tn)𝒆^x.\displaystyle=\zeta\,y(t_{n})\,\hat{\bm{e}}_{x}. (117)

Note that the potential V(𝒙,λ)V({\bm{x}},\lambda) and the flow field 𝒗(𝒙)\bm{v}({\bm{x}}) are given in Eqs. (25).

We then numerically solve the discretized equations (115).

A.4 Calculation of Work

The total work d𝒲d\mathscr{W} along a trajectory 𝜸\bm{\gamma} is given in Eq. (74a). It can be discretized as

𝒲[𝜸]\displaystyle\mathscr{W}[\bm{\gamma}] =n=0n=NT(λn+1λn)λU(𝒙n,λn)+n=0n=NT𝝋(𝒙n+1/2,λn)Δ𝒙n+1.\displaystyle=\sum_{n=0}^{n=N}T(\lambda_{n+1}-\lambda_{n})\,\partial_{\lambda}U({\bm{x}}_{n},\lambda_{n})+\sum_{n=0}^{n=N}T\bm{\varphi}({\bm{x}}_{n+1/2},\lambda_{n})\cdot\Delta{\bm{x}}_{n+1}. (118)

where Δ𝒙n+1\Delta{\bm{x}}_{n+1} is defined in Eq. (114), and UU is given in Eq.(28), whereas 𝒙n+1/2{\bm{x}}_{n+1/2} is defined as

𝒙n+1/2=𝒙(tn)+𝒙(tn+1)2.\displaystyle{\bm{x}}_{n+{1}/{2}}=\frac{{\bm{x}}(t_{n})+{\bm{x}}(t_{n+1})}{2}. (119)

It is important to evaluate 𝝋\bm{\varphi} at 𝒙n+1/2{\bm{x}}_{n+{1}/{2}} rather than any other place, in order to correctly compute the Stratonovich product in Eq. (74a).

The housekeeping work and excess work, defined in Eqs.(75a) can be similarly discretized:

𝒲hk[𝜸]\displaystyle\mathscr{W}^{\rm hk}[\bm{\gamma}] =n=0n=NT𝝋(𝒙n+1/2,λn)Δ𝒙n+1.\displaystyle=\sum_{n=0}^{n=N}T\bm{\varphi}({\bm{x}}_{n+1/2},\lambda_{n})\cdot\Delta{\bm{x}}_{n+1}. (120)
𝒲ex[𝜸]\displaystyle\mathscr{W}^{\rm ex}[\bm{\gamma}] =n=0n=NT(λn+1λn)λU(𝒙n,λn).\displaystyle=\sum_{n=0}^{n=N}T(\lambda_{n+1}-\lambda_{n})\,\partial_{\lambda}U({\bm{x}}_{n},\lambda_{n}). (121)

Appendix B FT with Other parameter

B.1 Small Shear Rate

In this part, we also verify FTs (90). In all simulations discussed here, we set parameter T=1,γ=0.3,ζ=0.01T=1,\gamma=0.3,{\zeta}=0.01, and ϵ=0.3\epsilon=0.3.

We first verify Eq. (90a), which may be rewritten as in Eq. (105). We simulate three processes that are shown in Table 2. The duration τ\tau of each process is varied systematically, as shown in the last column of the table. For each protocol, we sample 10510^{5} trajectories and compute the distribution of work. We then simulate the backward process, and compute the corresponding distribution of work. These work distributions are displayed in Fig. 8 (a), (b), and (c). Finally we use these distributions to verify the FT (105). As shown in Fig. 8 (d), all data collapse to the black straight-line as predicted by our theory.

Refer to caption
Figure 8: Verification of FT (105). (a), (b), (c): Histograms of the total work 𝒲\mathscr{W}, where all processes are defined in Table 2. In all legends F, B mean forward and backward respectively. Numbers are durations τ\tau. (d): Verification of Eq. (105), where the vertical axis is logpF(𝒲)/pB(𝒲)\log p_{\rm F}(\mathscr{W})/p_{\rm B}(-\mathscr{W}). The black straight-line is Eq. (105). Circles, triangles, and squares are respectively data from panels (a), (b), (c), whereas numbers are durations of processes. Inset: The fitting slopes and error bars for each process.

Then we verify Eq. (90b), which may be rewritten as in Eq. (106). We simulate three types of forward processes that are shown in Table 3. The duration τ\tau of each process is varied systematically, as shown in the last column of the table. For each protocol, we sample 10510^{5} trajectories and compute the distribution of work. We then do the same for the adjoint processes. All work distributions are displayed in Fig. 9 (a), (b), and (c). Finally, we use these distributions to verify the FT (106). As shown in Fig. 9 (d), all data collapse to the black straight-line as predicted by our theory.

Refer to caption
Figure 9: Verification of FT (106). (a), (b), (c): Histograms of the housekeeping work 𝒲hk\mathscr{W}^{\rm hk}, where all processes are defined in Table 3. In all legends F, Ad mean forward and backward respectively. Numbers are durations τ\tau. (d): Verification of FT, where the vertical axis is logpF(𝒲hk)/pAd(𝒲hk)\log p_{\rm F}(\mathscr{W}^{\rm hk})/p_{\rm Ad}(-\mathscr{W}^{\rm hk}). The black straight-line is the FT (106). Circles, triangles, and squares are respectively data from panels (a), (b), (c), whereas numbers are durations of processes. Inset: The fitting slopes and error bars for each process.

Finally we verify Eq. (90c), which may be rewritten as in Eq. (107). We simulate the same processes as shown in Table 2, and compute the distributions of excess work. We then do the same for the adjoint backward processes. All work distributions are displayed in Fig. 10 (a), (b), and (c). Finally, we use these distributions to verify the FT (107). As shown in Fig. 10 (d), all data collapse to the black straight-line as predicted by our theory.

Refer to caption
Figure 10: Verification of FT (107) for the excess work. (a), (b), (c): Histograms of the excess work 𝒲ex\mathscr{W}^{\rm ex}, where all processes are defined in Table 2. In all legends F, AdB mean forward and backward respectively and numbers are durations τ\tau. (d): Verification of FT, where the vertical axis is logpF(𝒲ex)/pAdB(𝒲ex)\log p_{\rm F}(\mathscr{W}^{\rm ex})/p_{\rm AdB}(-\mathscr{W}^{\rm ex}). The black straight-line is the FT (107). Circles, triangles, and squares are respectively data from panels (a), (b), (c), whereas numbers are durations of processes. Inset: The fitting slopes and error bars for each process.

B.2 Larger Shear Rate

In this part, we also verify FTs (90). In all simulations discussed here, we set parameter T=1,γ=1,ζ=0.03T=1,\gamma=1,{\zeta}=0.03, and ϵ=3\epsilon=3.

We first verify Eq. (90a), which may be rewritten as in Eq. (105). We simulate three processes that are shown in Table 2. The duration τ\tau of each process is varied systematically, as shown in the last column of the table. For each protocol, we sample 10510^{5} trajectories and compute the distribution of work. We then simulate the backward process, and compute the corresponding distribution of work. These work distributions are displayed in Fig. 11 (a), (b), and (c). Finally we use these distributions to verify the FT (105). As shown in Fig. 11 (d), all data collapse to the black straight-line as predicted by our theory.

Refer to caption
Figure 11: Verification of FT (105). (a), (b), (c): Histograms of the total work 𝒲\mathscr{W}, where all processes are defined in Table 2. In all legends F, B mean forward and backward respectively. Numbers are durations τ\tau. (d): Verification of Eq. (105), where the vertical axis is logpF(𝒲)/pB(𝒲)\log p_{\rm F}(\mathscr{W})/p_{\rm B}(-\mathscr{W}). The black straight-line is Eq. (105). Circles, triangles, and squares are respectively data from panels (a), (b), (c), whereas numbers are durations of processes. Inset: The fitting slopes and error bars for each process.

Then we verify Eq. (90b), which may be rewritten as in Eq. (106). We simulate three types of forward processes that are shown in Table 3. The duration τ\tau of each process is varied systematically, as shown in the last column of the table. For each protocol, we sample 10510^{5} trajectories and compute the distribution of work. We then do the same for the adjoint processes. All work distributions are displayed in Fig. 12 (a), (b), and (c). Finally, we use these distributions to verify the FT (106). As shown in Fig. 12 (d), all data collapse to the black straight-line as predicted by our theory.

Refer to caption
Figure 12: Verification of FT (106). (a), (b), (c): Histograms of the housekeeping work 𝒲hk\mathscr{W}^{\rm hk}, where all processes are defined in Table 3. In all legends F, Ad mean forward and backward respectively. Numbers are durations τ\tau. (d): Verification of FT, where the vertical axis is logpF(𝒲hk)/pAd(𝒲hk)\log p_{\rm F}(\mathscr{W}^{\rm hk})/p_{\rm Ad}(-\mathscr{W}^{\rm hk}). The black straight-line is the FT (106). Circles, triangles, and squares are respectively data from panels (a), (b), (c), whereas numbers are durations of processes. Inset: The fitting slopes and error bars for each process.

Finally we verify Eq. (90c), which may be rewritten as in Eq. (107). We simulate the same processes as shown in Table 2, and compute the distributions of excess work. We then do the same for the adjoint backward processes. All work distributions are displayed in Fig. 13 (a), (b), and (c). Finally, we use these distributions to verify the FT (107). As shown in Fig. 13 (d), all data collapse to the black straight-line as predicted by our theory.

Refer to caption
Figure 13: Verification of FT (107) for the excess work. (a), (b), (c): Histograms of the excess work 𝒲ex\mathscr{W}^{\rm ex}, where all processes are defined in Table 2. In all legends F, AdB mean forward and backward respectively and numbers are durations τ\tau. (d): Verification of FT, where the vertical axis is logpF(𝒲ex)/pAdB(𝒲ex)\log p_{\rm F}(\mathscr{W}^{\rm ex})/p_{\rm AdB}(-\mathscr{W}^{\rm ex}). The black straight-line is the FT (107). Circles, triangles, and squares are respectively data from panels (a), (b), (c), whereas numbers are durations of processes. Inset: The fitting slopes and error bars for each process.