Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    Dynamical KMS and the Second Law

    A diffusion current flows down a chemical-potential gradient and dissipates free energy. Yet a thermally fluctuating density can move uphill. The second law must distinguish the deterministic constitutive equation, an evolving probability distribution, and an individual random history.

    The Brownian KMS example established a thermal response-field transformation with an endpoint weight. Here we derive the corresponding local field symmetry for conserved, interacting diffusion. It fixes the noise strength, yields a positive dissipative entropy-current divergence, and leads to a precise ensemble statement that survives fluctuations.

    Preparation: The diffusion action, integration by parts, and Fokker–Planck evolution. Temperature is fixed; the density is even under time reversal, and there are no magnetic fields or other time-reversal-breaking backgrounds.

    Thermal symmetry in density variables

    Keep a periodic spatial regulator and fixed total charge. The model is

    F[n]=∫ddx(n22χ+g4n4),μ=nχ+gn3,M=−σ∇2,F[n]=\int d^dx\left(\frac{n^2}{2\chi}+\frac g4n^4\right),\qquad \mu=\frac n\chi+gn^3,\qquad \mathsf M=-\sigma\nabla^2, S[n,a]=∫titfdt[−(a,∂tn+Mμ)+iT(a,Ma)].S[n,a]=\int_{t_i}^{t_f}dt\left[-(a,\partial_tn+\mathsf M\mu)+iT(a,\mathsf Ma)\right].

    Here (a,b)=∫ddx ab(a,b)=\int d^dx\,ab, χ>0\chi>0, g≥0g\ge0, σ>0\sigma>0, and the weight is eiSe^{iS}. The real field aa is the density's auxiliary response variable. The spatial cutoff and the normalized Itô prescription described in the preceding article are retained.

    Set u=ti+tf−tu=t_i+t_f-t and β=1/T\beta=1/T. A local thermal transformation in this representation is

    n~(t,x)=n(u,x),a~(t,x)=−a(u,x)−iβμ[n(u,x)].\widetilde n(t,\mathbf x)=n(u,\mathbf x),\qquad \widetilde a(t,\mathbf x)=-a(u,\mathbf x)-i\beta\mu[n(u,\mathbf x)].

    The time derivative of the transformed density is −∂un-\partial_un. Applying the transformation twice restores both fields. The shift is in a complex auxiliary integration variable, not in the measured real density. No inverse Laplacian appears, so the conserved zero mode causes no singular transformation.

    Why does this differ from a response shift by a time derivative in the Brownian article? The density and the phase are different hydrodynamic variables. In the phase representation set ∂tφr=μ\partial_t\varphi_r=\mu and a=φaa=\varphi_a. Time reversal makes φr\varphi_r odd so that its derivative, the chemical potential, is even. The phase thermal shift consequently involves −iβ∂tφr=−iβμ-i\beta\partial_t\varphi_r=-i\beta\mu. This is the density form of the classical diffusion symmetry discussed in Glorioso and Liu, arXiv:1805.09331v1, §V, Eqs. (5.14)–(5.18) (PDF). Boundary terms and the measure must accompany any change of field variables.

    This is a classical local equilibrium symmetry. The exact quantum KMS relation contains finite imaginary-time translations; white noise is its low-frequency limit. The time-reversal part additionally requires an appropriate antiunitary symmetry of the same theory and state. Thermal trace cyclicity alone does not establish time-reversal invariance in a fixed magnetic background.

    The interaction belongs in the transformation

    The check is short enough to do explicitly. At an original time uu, abbreviate v=∂unv=\partial_un and μ=μ[n(u)]\mu=\mu[n(u)]. Substitution gives

    L~=−(−a−iβμ,−v+Mμ)+iT(−a−iβμ,M[−a−iβμ]).\widetilde{\mathcal L}=-(-a-i\beta\mu,-v+\mathsf M\mu)+iT(-a-i\beta\mu,\mathsf M[-a-i\beta\mu]).

    The terms quadratic in μ\mu cancel because Tβ=1T\beta=1. The two mixed noise terms reverse the sign of the dissipative aMμa\mathsf M\mu term. What remains is

    L~−L=−iβ(μ,v)=−iβdFdu,S[n~,a~]−S[n,a]=−iβ(Ff−Fi).\widetilde{\mathcal L}-\mathcal L=-i\beta(\mu,v)=-i\beta\frac{dF}{du},\qquad S[\widetilde n,\widetilde a]-S[n,a]=-i\beta(F_f-F_i).

    The identity uses the full μ=n/χ+gn3\mu=n/\chi+gn^3. Keeping the nonlinear vertex in the action but shifting aa only by −iβn/χ-i\beta n/\chi would leave uncancelled bulk terms. Thermal symmetry constrains interactions as well as two-point functions.

    It also fixes the noise coefficient. Replacing iT(a,Ma)iT(a,\mathsf Ma) by iαT(a,Ma)i\alpha T(a,\mathsf Ma) leaves

    L~−L+iβ(μ,v)=2(1−α)(a,Mμ)+iβ(1−α)(μ,Mμ).\widetilde{\mathcal L}-\mathcal L+i\beta(\mu,v)=2(1-\alpha)(a,\mathsf M\mu)+i\beta(1-\alpha)(\mu,\mathsf M\mu).

    These are bulk terms for a nonuniform density. Equilibrium at the specified temperature requires α=1\alpha=1. Separately, positivity of the imaginary action requires M\mathsf M to be positive: the symmetry alone would not turn a negative conductivity into admissible noise. This is the concrete combination of thermal symmetry and SK positivity behind the second-law argument of Glorioso and Liu, §III.G, Eqs. (3.50)–(3.57).

    Equilibrium includes the endpoints

    The action variation is a boundary term, not zero on a finite interval. Because iΔS=βΔFi\Delta S=\beta\Delta F, the reversed bulk weight acquires eβ(Ff−Fi)e^{\beta(F_f-F_i)}. In a fixed-charge sector the equilibrium initial measure is

    Peq[n∣Q]=ZQ−1e−F[n]/T δ ⁣(∫n−Q).P_{\rm eq}[n\mid Q]=Z_Q^{-1}e^{-F[n]/T}\,\delta\!\left(\int n-Q\right).

    The reversed history starts at nfn_f. The endpoint factors therefore satisfy

    Peq[nf∣Q]eiS[n~,a~]=Peq[ni∣Q]eiS[n,a].P_{\rm eq}[n_f\mid Q]e^{iS[\widetilde n,\widetilde a]}=P_{\rm eq}[n_i\mid Q]e^{iS[n,a]}.

    One must not use a flat initial density and then discard the boundary variation. A nonequilibrium initial law can evolve under the same thermal bulk dynamics without satisfying a stationary KMS identity.

    For nonlinear drift, the smooth-history action calculation alone is not a proof about a measure over nondifferentiable paths. A second derivation supplies that proof. In fixed-charge lattice coordinates nin_i, with constant positive mobility matrix MM, the Fokker–Planck equation is

    ∂tP=∂i[Mij(FjP+T∂jP)],Fj=∂F∂nj.\partial_tP=\partial_i\left[M_{ij}\left(F_jP+T\partial_jP\right)\right],\qquad F_j=\frac{\partial F}{\partial n_j}.

    The probability current vanishes for Peq∝e−F/TP_{\rm eq}\propto e^{-F/T}. More strongly, the backward generator L=−MijFj∂i+TMij∂i∂jL=-M_{ij}F_j\partial_i+TM_{ij}\partial_i\partial_j obeys

    ⟨fLg⟩eq=−T⟨∂if Mij∂jg⟩eq=⟨gLf⟩eq,\langle fLg\rangle_{\rm eq}=-T\langle\partial_i f\,M_{ij}\partial_jg\rangle_{\rm eq}=\langle gLf\rangle_{\rm eq},

    with vanishing boundary flux. Its transition kernel consequently satisfies detailed balance,

    Peq(ni)K(nf,t∣ni)=Peq(nf)K(ni,t∣nf).P_{\rm eq}(n_i)K(n_f,t\mid n_i)=P_{\rm eq}(n_f)K(n_i,t\mid n_f).

    This validates the endpoint sign and equilibrium time reversal for the continuum stochastic process. A finite Euler step need not satisfy this identity exactly. In a midpoint path representation the nonlinear drift's Jacobian must be included; Itô has the causal triangular Jacobian instead. We use the Fokker–Planck generator to avoid mistaking formal manipulations of smooth paths for a discretization-independent measure argument.

    A positive dissipative entropy current

    First consider the deterministic constitutive current jdet=−σ∇μ\mathbf j_{\rm det}=-\sigma\nabla\mu. The local free-energy balance follows directly from conservation:

    ∂tf=μ∂tn=−∇⋅(μjdet)+jdet⋅∇μ.\partial_tf=\mu\partial_tn=-\nabla\cdot(\mu\mathbf j_{\rm det})+\mathbf j_{\rm det}\cdot\nabla\mu.

    At fixed TT, define the excess isothermal entropy density and its flux by

    seff0=−fT,seff=−μjdetT=σμ∇μT.s_{\rm eff}^0=-\frac fT,\qquad \mathbf s_{\rm eff}=-\frac{\mu\mathbf j_{\rm det}}T=\frac{\sigma\mu\nabla\mu}{T}.

    An additive equilibrium background and a term linear in the exactly conserved density do not affect the integrated production. The balance is

    ∂tseff0+∇⋅seff=σT(∇μ)2≥0,−1TdFdt=σT∫ddx (∇μ)2.\partial_ts_{\rm eff}^0+\nabla\cdot\mathbf s_{\rm eff}=\frac\sigma T(\nabla\mu)^2\ge0,\qquad -\frac1T\frac{dF}{dt}=\frac\sigma T\int d^dx\,(\nabla\mu)^2.

    The quartic interaction changes the thermodynamic force but not its sign-definite coefficient. The same positive conductivity that multiplies iT(∇a)2iT(\nabla a)^2 supplies the positive dissipative contribution. This is a complete entropy-current statement for this specified isothermal model. Since energy and the bath have been eliminated, −f/T-f/T is an excess entropy or free-energy availability functional, not the absolute entropy density of an isolated relativistic fluid.

    For g=0g=0, the result agrees with Glorioso and Liu, §V, Eqs. (5.24)–(5.26), after retaining the factor of μ\mu in the flux. In v1, printed Eq. (5.25) omits that factor; their Eq. (5.24) together with Eq. (3.53), and the direct balance above, require seff=σβμ∇μ\mathbf s_{\rm eff}=\sigma\beta\mu\nabla\mu. Without it, the stated divergence does not follow.

    With imposed boundaries, the integrated statement also includes the entropy flux through the boundary. With time-dependent sources, external work changes the balance. Neither case is represented by simply keeping the closed-box inequality and ignoring the extra term.

    Why a random history can go uphill

    On the regulated fixed-charge subspace, write the stochastic equation as

    dn=−M∇F dt+2TM dW.dn=-M\nabla F\,dt+\sqrt{2TM}\,dW.

    Itô's formula gives

    dF=[−(∇F)TM∇F+Ttr⁡(M∇∇F)]dt+2T(∇F)TM dW.dF=\left[-(\nabla F)^{\mathsf T}M\nabla F+T\operatorname{tr}(M\nabla\nabla F)\right]dt+\sqrt{2T}(\nabla F)^{\mathsf T}\sqrt M\,dW.

    The fluctuating term has both signs. Even its absence at a local minimum does not imply monotonicity: the positive Itô term can raise the expected free energy from a sharply prepared minimum. At equilibrium the mean drift terms balance. It would be inconsistent to apply the deterministic inequality to every realization after adding the noise.

    An explicit conserved example uses two unit-volume cells, n1=qn_1=q, n2=−qn_2=-q, and mobility m(1−1−11)m\begin{pmatrix}1&-1\\-1&1\end{pmatrix}. The one independent coordinate obeys

    U(q)=q2χ+g2q4,dq=−mU′(q)dt+2mT dW.U(q)=\frac{q^2}{\chi}+\frac g2q^4,\qquad dq=-mU'(q)dt+\sqrt{2mT}\,dW.

    For an Itô step from q=0q=0, every nonzero random increment increases UU. Its mean increase is

    ⟨ΔU⟩=2mTχΔt+6gm2T2(Δt)2.\langle\Delta U\rangle=\frac{2mT}{\chi}\Delta t+6gm^2T^2(\Delta t)^2.

    This exact finite-step calculation already refutes event-by-event monotonicity of −U/T-U/T. From q=0.7q=0.7, with χ=1.5\chi=1.5, g=0.4g=0.4, m=0.6m=0.6, T=0.8T=0.8 and Δt=0.01\Delta t=0.01, Gaussian integration of the same normalized step gives a probability 0.470520.47052 that UU increases. This probability describes a single Euler time step.

    A stochastic total entropy also includes the probability of the observed state. For undriven reversible dynamics, its finite-interval expression is

    Σ=log⁡Pi(ni)Pf(nf)−Ff−FiT.\Sigma=\log\frac{P_i(n_i)}{P_f(n_f)}-\frac{F_f-F_i}{T}.

    For this statement assume positive regular initial densities on the accessible fixed-charge sector, so the forward and reversed path measures are mutually absolutely continuous. The sharply prepared initial point used above does not meet this assumption. The reversed experiment starts from the actual final ensemble PfP_f. Normalization of the two path measures then gives ⟨e−Σ⟩=1\langle e^{-\Sigma}\rangle=1 and hence ⟨Σ⟩≥0\langle\Sigma\rangle\ge0, not Σ≥0\Sigma\ge0 for each path. See Seifert, arXiv:cond-mat/0503686v1, Eqs. (5), (11), and (14)–(18) (PDF). In equilibrium, the endpoint contribution cancels ΔF/T\Delta F/T path by path in this undriven reversible model; the bath and system contributions separately fluctuate.

    The ensemble quantity that decreases

    At fixed temperature and without driving, define the relative entropy

    D[P∥Peq]=∫dn Plog⁡PPeq.\mathcal D[P\Vert P_{\rm eq}]=\int dn\,P\log\frac{P}{P_{\rm eq}}.

    All integrals are over the conserved sector. Writing the probability current as −TPM∇log⁡(P/Peq)-TPM\nabla\log(P/P_{\rm eq}) and integrating by parts yields

    dDdt=−T∫dn P[∇log⁡PPeq]TM[∇log⁡PPeq]≤0.\frac{d\mathcal D}{dt}=-T\int dn\,P\left[\nabla\log\frac{P}{P_{\rm eq}}\right]^{\mathsf T}M\left[\nabla\log\frac{P}{P_{\rm eq}}\right]\le0.

    The corresponding nonequilibrium free energy is A[P]=⟨F⟩P+T∫Plog⁡P=Feq+TD\mathcal A[P]=\langle F\rangle_P+T\int P\log P=F_{\rm eq}+T\mathcal D. Its decrease includes the changing entropy of the distribution. It does not imply that either ⟨F⟩\langle F\rangle or the Shannon entropy separately varies monotonically. Integrating this equation gives ⟨Σ⟩=D[Pi∥Peq]−D[Pf∥Peq]\langle\Sigma\rangle=\mathcal D[P_i\Vert P_{\rm eq}]-\mathcal D[P_f\Vert P_{\rm eq}].

    The companion evolves the full probability law of the interacting two-cell example. On a state-space grid qjq_j with spacing bb, it uses nearest-neighbor rates

    rj→j+1=mTb2exp⁡ ⁣[−U(qj+1)−U(qj)2T],r_{j\to j+1}=\frac{mT}{b^2}\exp\!\left[-\frac{U(q_{j+1})-U(q_j)}{2T}\right],

    with the reverse rate obtained by reversing the energy difference. These rates obey exact discrete detailed balance and converge to the displayed Fokker–Planck operator as b→0b\to0. Reflecting boundaries are placed at q=±3q=\pm3. The calculation below evolves the probability distribution with this discrete generator.

    Starting from Pi∝Peqe1.2q/TP_i\propto P_{\rm eq}e^{1.2q/T} and then evolving with the source removed, the 401-point calculation gives

    ttD[Pt∥Peq]\mathcal D[P_t\Vert P_{\rm eq}]−dD/dt-d\mathcal D/dt
    000.391154810.391154811.079916741.07991674
    0.50.50.107350010.107350010.270094360.27009436
    110.030727490.030727490.076620200.07662020
    220.002554990.002554990.006344660.00634466
    440.000017860.000017860.000044310.00004431

    The discrete dissipation identity agrees with the independently applied generator to below 4×10−164\times10^{-16}. For the dynamical equilibrium correlation C(1)=⟨q(1)q(0)⟩C(1)=\langle q(1)q(0)\rangle, grids of 101, 201, 401 and 801 points give 0.109320270.10932027, 0.109191490.10919149, 0.109159310.10915931 and 0.109151260.10915126, showing second-order state-space convergence. Enlarging the domain to ±3.6\pm3.6 at the same spacing changes the 401-point result by less than 10−1210^{-12}.

    The action identity is separately tested on smooth nonuniform interacting field histories: its boundary residual is below 3×10−163\times10^{-16}, whereas halving the noise strength gives a residual 0.302870.30287. A source-response test evolves the biased probability generator and compares with [C(0)−C(t)]/T[C(0)-C(t)]/T; its error decreases quadratically with the source amplitude. Together these checks test the local action, the endpoint equilibrium law, and a non-Gaussian fluctuation–response consequence. They do not establish a continuum renormalized fluid theory beyond the specified regulator and model.

    Summary

    For conserved diffusion, thermal symmetry can be written locally as a time reversal and chemical-potential shift of the response field. Its boundary term is cancelled by the conditional Gibbs preparation. Positive noise then gives positive deterministic entropy production. With fluctuations retained, the monotone object is a functional of the evolving ensemble; individual field histories and individual entropy changes need not be monotone.

    Exercises

    1. Can dynamics select grand-canonical charge weights?

    Suppose the initial state is a mixture P[n]=w(Q)Peq[n∣Q]P[n]=w(Q)P_{\rm eq}[n\mid Q] with arbitrary normalized nonnegative weights w(Q)w(Q). Is it stationary? Does detailed balance force w(Q)w(Q) to have the grand-canonical form? What response does a spatially uniform chemical-potential source produce in this closed model?

    Solution

    Each transition stays within its initial charge sector, and the conditional Gibbs law is stationary there. Therefore every such mixture is stationary. In the forward-to-reversed ratio the factor w(Q)w(Q) is the same at both endpoints and cancels, so detailed balance places no constraint on relative sector weights.

    A reservoir that exchanges charge would add transitions between sectors and could select grand-canonical weights. It is absent here. A uniform source changes μ\mu by a spatial constant, annihilated by M\mathsf M, so the time-dependent density response vanishes. Initial fluctuations of the total charge persist unchanged; they are preparation data, not noise generated by the closed dynamics.

    2. Positive mean entropy with negative individual values

    Consider the Gaussian two-cell limit, written as dq=−γq dt+2γv dWdq=-\gamma q\,dt+\sqrt{2\gamma v}\,dW, with equilibrium variance vv. Prepare a Gaussian of that variance with nonzero mean m0m_0. Derive the distribution of Σ\Sigma at time tt and verify its integral fluctuation relation.

    Solution

    Let r=e−γtr=e^{-\gamma t} and mt=rm0m_t=rm_0. The final variance remains vv, and Cov⁡(qt,q0)=vr\operatorname{Cov}(q_t,q_0)=vr. The potential satisfies U/T=q2/(2v)U/T=q^2/(2v). Substitution of both Gaussian endpoint densities into the entropy expression gives

    Σ=m0q0−mtqtv+mt2−m022v.\Sigma=\frac{m_0q_0-m_tq_t}{v}+\frac{m_t^2-m_0^2}{2v}.

    It is Gaussian because it is linear in the jointly Gaussian endpoints. Its mean and variance are

    A≡⟨Σ⟩=m022v(1−r2),Var⁡Σ=m02v(1−r2)=2A.A\equiv\langle\Sigma\rangle=\frac{m_0^2}{2v}(1-r^2),\qquad \operatorname{Var}\Sigma=\frac{m_0^2}{v}(1-r^2)=2A.

    Thus ⟨e−Σ⟩=e−A+(2A)/2=1\langle e^{-\Sigma}\rangle=e^{-A+(2A)/2}=1. For m0≠0m_0\ne0 and t>0t>0, the probability of a negative value is ΦN(−A/2)>0\Phi_{\rm N}(-\sqrt{A/2})>0, where ΦN\Phi_{\rm N} is the standard normal cumulative distribution. Meanwhile D[Pt∥Peq]=mt2/(2v)\mathcal D[P_t\Vert P_{\rm eq}]=m_t^2/(2v) decreases, and its decrease is exactly AA. This single model distinguishes the ensemble second law from an eventwise inequality without appealing to a rare-event approximation.

    References

    • Glorioso, Paolo, and Hong Liu. Lectures on non-equilibrium effective field theories and fluctuating hydrodynamics, arXiv:1805.09331v1 (PDF), §III.F–G, Eqs. (3.42)–(3.57), and §V, Eqs. (5.14)–(5.26). Here the density transformation retains the finite-interval weight. The missing chemical-potential factor in v1 Eq. (5.25) follows from the preceding equations and continuity.
    • Seifert, Udo. Entropy production along a stochastic trajectory and an integral fluctuation theorem, arXiv:cond-mat/0503686v1 (PDF), Eqs. (3)–(18). Use regulated free energy and mobility, and dimensionless entropy with kB=1k_B=1.

    Scrollable formula. Use Left and Right arrow keys to reveal hidden content.

    Scrollable table. Use Left and Right arrow keys to reveal hidden columns.

    Scrollable figure. Use Left and Right arrow keys to reveal hidden content.