Skip to content

Menu

WorksPhysics and Astronomy

Work extraction from a single negative-temperature bath: a temperature gradient-driven heat flow

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_8gn5y84w. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

Abstract

Work dissipation into a thermal bath is standard, whereas the reverse process – sole work extraction from a thermal bath without a net state change – contradicts the Kelvin-Planck formulation of the second law of thermodynamics. However, this prohibition is bypassed for baths at negative absolute temperature, sparking ongoing debate regarding their thermodynamic stability. Here, we reconcile the second law with sole work extraction from a negative-temperature bath by considering a large virtual assembly of weakly coupled working systems rather than an isolated machine. By assigning this assembly a canonical temperature derived from its Shannon/information entropy, the framework naturally extends to molecular-scale machines. We demonstrate paradigmatic examples where the assembly's canonical temperature is cooler than the negative-temperature bath. Consequently, sole work extraction represents standard heat flow from a hot system (the negative-temperature bath) to a cooler system (the working assembly), rendering the process fully consistent with the second law. This informational and statistical-mechanical framework also naturally explains the counter-intuitive phenomenon of "donkey behavior", where increasing the workload in a negative-temperature bath leads to enhanced work extraction.

Introduction

In 1842, Julius Mayer formulated his equivalence principle that work can dissipate into heat [1], suggesting that heat is a form of energy that can originate from work. This principle became the foundation of the first law of thermodynamics, i.e., energy conservation, while also pointing to a preferred direction of energy conversion. The reverse process—converting heat into work as a usable form of energy—is conceptually more subtle and motivated the second law of thermodynamics, which introduces entropy and links work extraction to an entropy increase. Among its various formulations, we take the Kelvin–Planck statement as our starting point [2, 3]: it is impossible to extract work from a system operating in a cycle solely by cooling a single heat reservoir. Its connection to entropy follows because cyclic operation means that every macroscopic state variable of the working machine (WM), and in particular its entropy, returns to its initial value after one cycle. Extracting work W>0W > 01 from a single reservoir then implies W+Q=0W + Q = 0 by the first law. For a positive bath temperature Tbath>0T_{\mathrm{bath}} > 0, heat loss from the bath lowers its entropy by ΔSbath=Q/Tbath<0\Delta S_{\mathrm{bath}} = Q/T_{\mathrm{bath}} < 0. Since the entropy of the WM does not change, the total entropy would decrease, which is forbidden. Thus, the Kelvin–Planck statement implies that a single heat bath at positive temperature cannot yield net work without changing the entropy of the WM2.

Motivated by the observation of negative spin temperatures [4], Ramsey reformulated the second law for baths at negative temperature [5]3. In particular, a bath at negative temperature can transfer heat to a WM and thereby enable work production while increasing total entropy; conversely, work cannot simply be dissipated into such a bath without a change of state (entropy) of the WM.

In summary, for a WM in contact with a bath, the two temperature regimes behave oppositely: at positive bath temperatures, work can dissipate into heat in the bath, whereas pure work extraction from the bath is impossible. At negative bath temperatures, work can be extracted from the bath, whereas work cannot simply be converted into heat in the bath (Figure 1).

Figure 1. Schematic of the relation between working machine, symbolized by a pendulum, and temperature of a bath. For positive temperatures (βbath=1/Tbath>0\beta_{\mathrm{bath}} = 1/T_{\mathrm{bath}} > 0) work may dissipate to heat, i.e. the working machine heats up the bath in its vicinity. The reverse process, i.e. pure extraction of work from the bath is impossible. Vice versa a negative temperature bath (βbath=1/Tbath<0\beta_{\mathrm{bath}} = 1/T_{\mathrm{bath}} < 0) allows the latter, but the 2nd law forbids that the dissipation of work into heat.

This reformulation of the 2nd law sounds awkward because it distinguishes between the sign of the bath’s temperature. perature. Instead one would prefer a consistent description of this scenarios in a concise form related to basic thermodynamic quantities. Struchtrup avoided this by denying the “real” existence of negative temperatures [6, 7], and instead he considered them as apparent phenomena and as some kind of non-equilibrium parameter. In contrast, our concept accepts negative temperatures of the bath in the same way as positive ones. The main idea is to consider the interaction of bath and working machine, i.e. work dissipation and work extraction in accordance with Clausius’s formulation of the 2nd law of thermodynamics [8, 9], that direction of heat flow is always from hot to cold. This requires to reformulate dissipation and extraction of work as some heat flow process, i.e. we have to assign a working machine a “temperature”. In this concept negative temperatures are consistently included within the framework of thermodynamics, and it reconciles Ramsey’s attempt to describe work extraction from negative temperature baths with the 2nd law of thermodynamics.

Weakly coupled working machines as a canonical ensemble

In conventional thermodynamics, a heat bath consists of a vast number of particles with many uncontrollable microscopic degrees of freedom, whereas a working machine (WM) is a macroscopic device governed by only a few controllable degrees of freedom. For molecular-scale machines, however, this sharp distinction blurs: their characteristic energies and dynamical timescales approach those of the surrounding bath particles, making it natural to assign a temperature to the machine itself.

We first consider working machines with a single degree of freedom, such as a weight-lifting mechanism or a one-dimensional harmonic oscillator. Because such a machine possesses no internal degeneracy, its intrinsic entropy vanishes, SWM=0S_{\mathrm{WM}} = 0, which simplifies the conceptual setup. Consider a single WM with energy EWME_{\mathrm{WM}}. We mentally replicate this machine NN times (N≫1N \gg1) and allow weak energetic coupling among the copies so that they can exchange energy (Figure 2). By construction, the initial mean energy of this virtual assembly satisfies

Figure 2. Top: Assignment of a canonical temperature to a working machine (WM). A single WM (here a 1D harmonic oscillator) with energy EWME_{\mathrm{WM}} is replicated NN times, and weak thermal coupling (red wavy lines) allows energy exchange among the copies. The most probable energy distribution defines a canonical inverse temperature βWM\beta_{\mathrm{WM}} assigned to the WM. Bottom: Work extraction from a hot bath (βbath<βWM\beta_{\mathrm{bath}} < \beta_{\mathrm{WM}}) interpreted as heat transfer down a temperature gradient. Heat −ΔQbath-\Delta Q_{\mathrm{bath}} absorbed from the bath is converted into work ΔW\Delta W, governed by detailed balance and canonical equilibrium fluctuations in the bath.

Eˉ(0)=EWM.(1)\bar{E}(0) = E_{\mathrm{WM}} . \tag*{(1)}

Any normalized energy distribution p(E)p(E) across the assembly must conserve this mean energy,

∑Ep(E)E=Eˉ(0).(2)\sum_E p(E) E = \bar{E}(0) . \tag*{(2)}

For large NN, the probability ϖ[p]\varpi[p] of observing a given energy distribution p(E)p(E) scales with its Shannon entropy SSh[p]S_{\mathrm{Sh}}[p] as

ϖ[p]∼exp⁡(NSSh[p]),(3)\varpi[p] \sim\exp\left(N S_{\mathrm{Sh}}[p]\right) , \tag*{(3)}

where

SSh[p]=−∑Ep(E)ln⁡p(E).(4)S_{\mathrm{Sh}}[p] = -\sum_E p(E) \ln p(E) . \tag*{(4)}

Maximizing ϖ[p]\varpi[p]—or equivalently SSh[p]S_{\mathrm{Sh}}[p]—with respect to p(E)p(E) under the energy-conservation constraint (2)4 via a Lagrange multiplier β\beta yields the stationarity condition

∇pSSh[pc]−βE=0.(5)\nabla_p S_{\mathrm{Sh}}[p_c] - \beta E = 0 . \tag*{(5)}

This directly leads to the canonical distribution

pc(E)=e−βEZ(β),(6)p_c(E) = \frac{e^{-\beta E}}{Z(\beta)} , \tag*{(6)}

with the partition function Z(β)=∑Ee−βEZ(\beta) = \sum_E e^{-\beta E}. By analogy with standard canonical statistical mechanics, we identify the Lagrange multiplier β\beta with the inverse temperature of the WM assembly (in units where kB=1k_{\mathrm{B}} = 1),

1T=β.(7)\frac{1}{T} = \beta. \tag*{(7)}

Since the mean energy of the canonical distribution is −∂βln⁡Z(β)-\partial_\beta\ln Z(\beta), (1) uniquely relates the energy EWME_{\mathrm{WM}} of the single working machine to its assigned inverse temperature βWM\beta_{\mathrm{WM}} via

EWM(βWM)=−∂βln⁡Z(β)∣β=βWM.(8)E_{\mathrm{WM}}(\beta_{\mathrm{WM}}) = -\partial_\beta\ln Z(\beta)\big|_{\beta=\beta_{\mathrm{WM}}} . \tag*{(8)}

Within this framework, work dissipation and work extraction in a thermal bath are both governed by the temperature gradient between the bath and the WM. If the bath is cooler than the WM (βWM<βbath\beta_{\mathrm{WM}} < \beta_{\mathrm{bath}}), energy flows from the WM into the bath and dissipates as heat. Conversely, if the bath is hotter than the WM (βWM>βbath\beta_{\mathrm{WM}} > \beta_{\mathrm{bath}}), heat flows from the bath to the WM, where it is converted into work (Figure 2).

Work extraction from a bath at negative temperature

The bath with negative temperature

As a bath capable of exhibiting negative temperatures, we consider a paramagnetic spin-1/2 gas in a homogeneous external magnetic field BB aligned along the zz axis. With gyromagnetic ratio γ\gamma, the energy of a single spin is

Espin=−szℏγB.(9)E_{\mathrm{spin}}=-s_z\hbar\gamma B . \tag*{(9)}

The inverse temperature βbath\beta_{\mathrm{bath}} of such a paramagnetic spin gas is positive when more spins align parallel to the external field (⟨Espin⟩<0\langle E_{\mathrm{spin}}\rangle< 0) and negative in the opposite case (⟨Espin⟩>0\langle E_{\mathrm{spin}}\rangle> 0), so that

sign⁡(βbath)=−sign⁡(⟨Espin⟩).(10)\operatorname{sign}(\beta_{\mathrm{bath}})=-\operatorname{sign}(\langle E_{\mathrm{spin}}\rangle) . \tag*{(10)}

Temperature of a working machine with equidistant energy spacing

For the working machine, we assume a bounded energy spectrum consisting of MM non-degenerate levels with equidistant spacing ΔE\Delta E,

Em=(m−1)ΔE,1≤m≤M,(11)E_m=(m-1)\Delta E,\qquad1\le m\le M , \tag*{(11)}

which can be realized, for example, by a bounded harmonic oscillator or a weight lifted in a constant force field. Using Eq. (8), the assigned inverse temperature βWM\beta_{\mathrm{WM}} of the WM is determined by

EWM=Emax⁡2+ΔE2[coth⁡(βWMΔE2)−Mcoth⁡(MβWMΔE2)],(12)E_{\mathrm{WM}}=\frac{E_{\max}}{2}+\frac{\Delta E}{2}\left[\operatorname{coth}\left(\frac{\beta_{\mathrm{WM}}\Delta E}{2}\right)-M\operatorname{coth}\left(\frac{M\beta_{\mathrm{WM}}\Delta E}{2}\right)\right], \tag*{(12)}

with Emax⁡=(M−1)ΔEE_{\max}=(M-1)\Delta E. The sign of βWM\beta_{\mathrm{WM}} is governed by the energy relative to the midpoint of the spectrum,

βWM{>0if EWM<Emax⁡/2,<0if EWM>Emax⁡/2.(13)\beta_{\mathrm{WM}}\begin{cases} >0 & \text{if } E_{\mathrm{WM}}<E_{\max}/2,\\ <0 & \text{if } E_{\mathrm{WM}}>E_{\max}/2. \end{cases} \tag*{(13)}

A bounded energy spectrum allows the WM itself to reach negative temperatures. In terms of heat transfer from a hot bath to a cooler WM, this enables the WM to equilibrate with a negative-temperature bath and reach the same canonical temperature.

Working machine in contact with a bath at negative temperature

Placing this working machine in a bath at negative temperature with weak energetic coupling induces stochastic transitions across its energy levels. We model these transitions as a stationary Markov process restricted to nearest-neighbor hops.

To determine the transition rates, we first consider the long-time limit in which the WM assembly equilibrates with the bath at inverse temperature βbath\beta_{\mathrm{bath}} (Figure 2). Because the energy spectrum is finite and bounded from above, equilibration is guaranteed. In equilibrium, detailed balance (microreversibility) holds, meaning that joint probabilities for forward and reverse transitions over a time interval tt are equal,

pβbath(eq)(m2,m1;t)=pβbath(eq)(m1,m2;t).(14)p_{\beta_{\mathrm{bath}}}^{(\mathrm{eq})}(m_2,m_1;t)=p_{\beta_{\mathrm{bath}}}^{(\mathrm{eq})}(m_1,m_2;t). \tag*{(14)}

Writing the joint probability as pβbath(eq)(m2,m1;t)=pβbath(m2∣m1;t) pβbath(eq)(m1)p_{\beta_{\mathrm{bath}}}^{(\mathrm{eq})}(m_2,m_1;t)=p_{\beta_{\mathrm{bath}}}(m_2\mid m_1;t)\,p_{\beta_{\mathrm{bath}}}^{(\mathrm{eq})}(m_1) and using the canonical equilibrium distribution pβbath(eq)(Em)∝e−βbathEmp_{\beta_{\mathrm{bath}}}^{(\mathrm{eq})}(E_m)\propto e^{-\beta_{\mathrm{bath}}E_m} at negative βbath5\beta_{\mathrm{bath}}^{5}, the nearest-neighbor transition rates

rm±1,m=lim⁡t→dtpβbath(m±1∣m;t)t(15)r_{m\pm1,m}=\lim_{t\to\mathrm{d}t}\frac{p_{\beta_{\mathrm{bath}}}(m\pm1\mid m;t)}{t} \tag*{(15)}

satisfy

rm±1,mrm,m±1=e∓βbathΔE(16)\frac{r_{m\pm1,m}}{r_{m,m\pm1}} = e^{\mp\beta_{\mathrm{bath}}\Delta E} \tag*{(16)}

just as for positive temperatures. We choose the symmetric Glauber-type rates [12]

rm±1,m=τ−1exp⁡(∓βbathΔE2)(17)r_{m\pm1,m} = \tau^{-1}\exp\left(\mp\frac{\beta_{\mathrm{bath}}\Delta E}{2}\right) \tag*{(17)}

with a characteristic rate τ−1\tau^{-1}. For βbath<0\beta_{\mathrm{bath}} < 0, upward transitions in energy are favored over downward ones. In short, the transition dynamics of the WM is fixed by microreversibility and canonical fluctuations in the final equilibrium state (Figure 2).

We analyze this stochastic dynamics both numerically and analytically, measuring time in units of τ\tau. The

transition rates in Eq. (17) describe a biased random walk (discrete diffusion) on a linear potential Em=(m−1)ΔEE_m=(m-1)\Delta E, corresponding to a constant driving force proportional to −ΔE-\Delta E. Numerical simulations follow the standard procedure outlined in Appendix A. Analytically, the rates form the tridiagonal rate matrix R\mathbf{R} (Appendix B), and the master equation yields the propagator (Green’s function)

p(m′∣m;t)=(exp⁡(Rt))m′,m.(18)p(m'|m;t)=\left(\exp(\mathbf{R}t)\right)_{m',m}. \tag*{(18)}

Spectral decomposition of R\mathbf{R} gives

p(m′∣m;t)=p(eq)(m′)+f(m′,m,t),(19)p(m'|m;t)=p^{(\mathrm{eq})}(m')+f(m',m,t), \tag*{(19)}

with the canonical equilibrium distribution

p(eq)(m′)∝e−βbathEm′(20)p^{(\mathrm{eq})}(m')\propto e^{-\beta_{\mathrm{bath}}E_{m'}} \tag*{(20)}

and a multi-exponential relaxation term f(m′,m,t)f(m',m,t) (Appendix B).

As a concrete example with M=50M=50 levels and bath parameter βbathΔE=−0.1\beta_{\mathrm{bath}}\Delta E=-0.1, we consider two initial states: first, the ground state m=1m=1 (EWM=0E_{\mathrm{WM}}=0), which corresponds to βWM=+∞\beta_{\mathrm{WM}=+\infty} (TWM=+0T_{\mathrm{WM}}=+0) and thus a very “cool” initial state; second, the middle level m=25m=25 (EWM=24ΔEE_{\mathrm{WM}}=24\Delta E), where Eq. (12) in linear approximations gives βWMΔE=−6/(1−M2)≈2.4×10−3\beta_{\mathrm{WM}}\Delta E=-6/(1-M^2)\approx2.4\times10^{-3}, i.e., a much higher initial energy yet still βWM>βbath\beta_{\mathrm{WM}}>\beta_{\mathrm{bath}} (cooler than the bath).

The sample trajectories in Figure 3 illustrate the drift toward higher energies as heat is drawn from the bath and converted into work. Figure 4 shows how the distribution p(m′∣m,t)p(m'|m,t) evolves from m=1m=1 and m=25m=25 toward the common equilibrium distribution p(eq)(m′)=lim⁡t→∞p(m′∣m,t)p^{(\mathrm{eq})}(m')=\lim_{t\to\infty}p(m'|m,t) [Eq. (20)]. The absorbed heat converted into work,

Figure 3. Four stochastic trajectories of working machines with M=50M = 50 equidistant energy levels [Eq. (11)] in contact with a negative-temperature bath (βbathΔE=−0.1\beta_{\mathrm{bath}}\Delta E = -0.1). Trajectories start either from the ground state m=1m = 1 (βWM=+∞\beta_{\mathrm{WM}} = +\infty) or from the middle of the spectrum at m=25m = 25 (βWMΔE≈2.4×10−3\beta_{\mathrm{WM}}\Delta E \approx2.4 \times10^{-3}; see text). Transition rates follow Eq. (17).

Time evolution of the energy distribution of working machines

Figure 4. Time evolution of the energy distribution of working machines starting at (a) the ground state m=1m = 1 and (b) m=25m = 25 at t/τ=10t/\tau= 10 (gray), 50 (green), 100 (blue), 500 (magenta), and 1000 (red). Histograms are obtained from 10 000 stochastic trajectories as in Figure 3; solid curves show the analytical Green’s function p(m′∣m;t)=(exp⁡(Rt))m′,mp(m'|m;t) = (\exp(\mathbf{R}t))_{m',m} (Appendix B). The red dotted curve indicates the equilibrium distribution p(eq)(m)p^{(\mathrm{eq})}(m) [Eq. (20)] reached as t→∞t \to\infty.

W(t)=−Q(t)=∑m′(m′−1)ΔE p(m′∣m,t)−EWM,(21)W(t)=-Q(t)=\sum_{m'}(m'-1)\Delta E\,p(m'|m,t)-E_{\mathrm{WM}}, \tag*{(21)}

is plotted in Figure 5. Because βbath<βWM\beta_{\mathrm{bath}}<\beta_{\mathrm{WM}} in both cases, work extraction corresponds to heat flow from the hotter negative-temperature bath to the cooler WM assembly. Owing to the upper energy bound, the assembly eventually equilibrates with the bath as t→∞t\to\infty, approaching the asymptotic work W∞=Eˉ(∞)−EWMW_\infty=\bar{E}(\infty)-E_{\mathrm{WM}} (red dotted line in Figure 5), where Eˉ(∞)\bar{E}(\infty) follows from Eq. (12) with βWM\beta_{\mathrm{WM}} replaced by βbath\beta_{\mathrm{bath}}.

Figure 5. Mean heat −Qbath-Q_{\mathrm{bath}} absorbed from the bath and converted into work WW for WMs starting at m=1m = 1 or m=25m = 25. Blue circles/dots (as plotted) show results from 10 000 stochastic trajectories, overlaid by the analytical Green’s function result [Eq. (19)]. The red dotted line marks the asymptotic work W∞=Eˉ(t→∞)−EWMW_{\infty} = \bar{E}(t \to\infty) - E_{\mathrm{WM}}.

Working machine with internal degrees of freedom

Definition of temperature of the working machine

The previous example of a working machine with a bounded, equidistant energy spectrum had no internal degrees of freedom, i.e., its energy levels were non-degenerate. We now lift this restriction and allow multiple microstates to share the same energy. This degeneracy gives rise to a Boltzmann entropy of a WM at energy EE,

SWM(E)=ln⁡n(E),(22)S_{\mathrm{WM}}(E)=\ln n(E), \tag*{(22)}
n(E)=number of microstates with energy E.n(E)=\text{number of microstates with energy }E.

As in Sects. II and III, we start from a WM with initial energy EWME_{\mathrm{WM}}, replicate it NN times, and introduce weak thermal coupling among the copies. After equilibration, the assembly settles into a canonical energy distribution, whose inverse temperature is assigned to the WM at energy EWME_{\mathrm{WM}}. Unlike in Sect. II, the most probable distribution pc(E)p_c(E) is now obtained by maximizing the negative Kullback–Leibler divergence (Appendix C),

SKL[p]=−∑Ep(E)ln⁡(p(E)e−SWM(E)),(23)S_{\mathrm{KL}}[p]=-\sum_Ep(E)\ln\left(\frac{p(E)}{e^{-S_{\mathrm{WM}}(E)}}\right), \tag*{(23)}

with respect to p(E)p(E) under the mean-energy constraint. This yields the canonical distribution

pc(E)=eSWM(E)−βEZ(β),(24)p_c(E)=\frac{e^{S_{\mathrm{WM}}(E)-\beta E}}{Z(\beta)}, \tag*{(24)}

with inverse temperature β\beta and partition function

Z(β)=∑EeSWM(E)−βE.(25)Z(\beta)=\sum_Ee^{S_{\mathrm{WM}}(E)-\beta E}. \tag*{(25)}

Because the mean energy −∂βln⁡Z(β)-\partial_\beta\ln Z(\beta) of the assembly equals EWME_{\mathrm{WM}} by construction, the assigned inverse temperature βWM\beta_{\mathrm{WM}} of the WM satisfies

EWM(βWM)≔−∂βln⁡Z(β)∣β=βWM.(26)E_{\mathrm{WM}}(\beta_{\mathrm{WM}})\coloneqq-\partial_\beta\ln Z(\beta)\big|_{\beta=\beta_{\mathrm{WM}}}. \tag*{(26)}

The freely jointed chain model

A prototypical working machine with internal degrees of freedom is the freely jointed chain, a standard model for entropic elasticity in polymers. In its simplest one-dimensional version along the xx axis, the chain consists of MM segments of equal length ll, each oriented either parallel (up, +x+x) or antiparallel (down, −x-x) to the axis. One end is fixed at x=0x=0, while the free end experiences a downward force F=−μgF=-\mu g (with g>0g>0), realized in Figure 6 by a mass μ\mu in a homogeneous gravitational field. For uu segments pointing up and d=M−ud=M-u pointing down, the chain length is

Figure 6. Schematic of the freely jointed chain in a bath at positive (left) and negative (right) temperature. One end is fixed at x=0x=0, while the free end carries a mass μ\mu subject to a downward force F=−μgF=-\mu g (g>0g>0). At positive bath temperature the mass settles below x=0x=0; at negative bath temperature it is lifted above x=0x=0.

x=(u−d)l=ml,(27)x=(u-d)l=ml, \tag*{(27)}

where m=u−dm=u-d. The corresponding potential energy is

E=−xF=(u−d)ΔE,(28)E=-xF=(u-d)\Delta E, \tag*{(28)}

with the single-segment energy increment

ΔE=−lF=lμg.(29)\Delta E=-lF=l\mu g. \tag*{(29)}

The number of microstates with fixed uu (and hence energy EE) is (Mu)\binom{M}{u}, giving the WM entropy

SWM(E)=ln⁡(Mu)=ln⁡(MM2−E2ΔE).(30)S_{\mathrm{WM}}(E)=\ln\binom{M}{u}=\ln\binom{M}{\frac{M}{2}-\frac{E}{2\Delta E}}. \tag*{(30)}

Using Eq. (28) and the binomial expansion, the partition function in Eq. (25) evaluates to

Z(β)=∑u=0M(Mu)e−β(2u−M)ΔE=eβEmax⁡(1+e−2βΔE)M,(31)\begin{aligned} Z(\beta)=\sum_{u=0}^{M}\binom{M}{u}e^{-\beta(2u-M)\Delta E} \\ &=e^{\beta E_{\max}}\left(1+e^{-2\beta\Delta E}\right)^M, \tag*{(31)} \end{aligned}

where Emax⁡=MΔE=−LFE_{\max}=M\Delta E=-LF is the energy at full extension L=MlL=Ml along the xx axis. The mean energy is

E‾=−∂βln⁡Z(β)=−Emax⁡tanh⁡(βΔE).(32)\begin{aligned} \overline{E}=-\partial_{\beta}\ln Z(\beta) \\ &=-E_{\max}\tanh(\beta\Delta E). \tag*{(32)} \end{aligned}

From Eq. (26), a WM at initial position xWMx_{\mathrm{WM}} with energy EWM=−xWMFE_{\mathrm{WM}}=-x_{\mathrm{WM}}F is assigned the inverse temperature

βWM=−1ΔEartanh⁡(EWMEmax⁡)=−1ΔEartanh⁡(xWML)≈−1ΔE(xWML)=1lF(xWML),(33)\begin{aligned} \beta_{\mathrm{WM}}=-\frac{1}{\Delta E}\operatorname{artanh}\left(\frac{E_{\mathrm{WM}}}{E_{\max}}\right) \\ &=-\frac{1}{\Delta E}\operatorname{artanh}\left(\frac{x_{\mathrm{WM}}}{L}\right) \\ &\approx-\frac{1}{\Delta E}\left(\frac{x_{\mathrm{WM}}}{L}\right)=\frac{1}{lF}\left(\frac{x_{\mathrm{WM}}}{L}\right), \tag*{(33)} \end{aligned}

where the linear approximation holds for ∣xWM/L∣≲0.5\lvert x_{\mathrm{WM}}/L\rvert\lesssim0.5. Thus, βWM>0\beta_{\mathrm{WM}}>0 when the load hangs below the anchor (xWM<0x_{\mathrm{WM}}<0), and βWM<0\beta_{\mathrm{WM}}<0 when it lies above (xWM>0x_{\mathrm{WM}}>0).

The freely jointed chain in contact with a heat bath at negative temperature

As in Sect. III C, contact with the bath induces Markovian transitions between nearest-neighbor states labeled by m=x/lm=x/l [Eq. (27)]. Flipping a single segment changes mm by ∣Δm∣=2\lvert\Delta m\rvert=2 and the energy by ∣2ΔE∣\lvert2\Delta E\rvert. Detailed balance at inverse bath temperature βbath\beta_{\mathrm{bath}} requires

rm±2,mrm,m±2=pβbath(eq)(m±2)pβbath(eq)(m).(34)\frac{r_{m\pm2,m}}{r_{m,m\pm2}}=\frac{p_{\beta_{\mathrm{bath}}}^{(\mathrm{eq})}(m\pm2)}{p_{\beta_{\mathrm{bath}}}^{(\mathrm{eq})}(m)}. \tag*{(34)}

Substituting the canonical distribution [Eq. (24)] and the entropy [Eq. (30)] gives

rm±2,mrm,m±2=eSWM(m±2)eSWM(m)e∓2βbathΔE=exp⁡(ΔSm±2,m+βbath(∓2ΔE)⏟=ΔSbath)(35)\begin{aligned} \frac{r_{m\pm2,m}}{r_{m,m\pm2}}= \frac{e^{S_{\mathrm{WM}}(m\pm2)}}{e^{S_{\mathrm{WM}}(m)}}e^{\mp2\beta_{\mathrm{bath}}\Delta E} \\ &=\exp\left(\Delta S_{m\pm2,m}+\underbrace{\beta_{\mathrm{bath}}(\mp2\Delta E)}_{=\Delta S_{\mathrm{bath}}}\right) \tag*{(35)} \end{aligned}
=M∓mM±m+2e∓2βbathΔE,(36)=\frac{M\mp m}{M\pm m+2}e^{\mp2\beta_{\mathrm{bath}}\Delta E}, \tag*{(36)}

where ΔSm±2,m\Delta S_{m\pm2,m} is the WM entropy change and ΔJ\Delta J (linked to the free-energy change ΔA\Delta A) is the change in the Massieu potential. Following [12], we choose the transition rates

rm±2,m=τ−1M∓mM±m+2e∓2βbathΔE,(37)r_{m\pm2,m}=\tau^{-1}\sqrt{\frac{M\mp m}{M\pm m+2}}e^{\mp2\beta_{\mathrm{bath}}\Delta E}, \tag*{(37)}

with characteristic timescale τ\tau. These rates define the rate matrix R=(rm2,m1)\mathbf{R}=(r_{m_2,m_1}), with diagonal entries rm,m=−(rm+2,m+rm−2,m)r_{m,m}=-(r_{m+2,m}+r_{m-2,m}) enforcing probability conservation (modified appropriately at the boundaries ±M\pm M). Starting from m1m_1, the conditional probability (Green’s function) to reach m2m_2 after time tt is

(pβbath(m2∣m1;t))=exp⁡(Rt).(38)\left(p_{\beta_{\mathrm{bath}}}(m_2\mid m_1;t)\right)=\exp(\mathbf{R}t). \tag*{(38)}

The drift direction of the free end is governed by ΔJ\Delta J (or ΔA\Delta A), which combines the internal entropic pull toward x=0x=0 (where SWMS_{\mathrm{WM}} is maximal) with the bath-mediated contribution ΔSbath=βbathΔQbath\Delta S_{\mathrm{bath}}=\beta_{\mathrm{bath}}\Delta Q_{\mathrm{bath}}. Movement along the downward force FF transfers heat into the bath (ΔQbath>0\Delta Q_{\mathrm{bath}}>0), whereas upward movement extracts heat (ΔQbath<0\Delta Q_{\mathrm{bath}}<0). For βbath>0\beta_{\mathrm{bath}}>0, ΔSbath>0\Delta S_{\mathrm{bath}}>0 favors downward motion (m→m−2m\to m-2), pulling the weight below x=0x=0; for βbath<0\beta_{\mathrm{bath}}<0, ΔSbath<0\Delta S_{\mathrm{bath}}<0 favors upward motion (m→m+2m\to m+2), lifting the weight above x=0x=0.

In the continuum limit (MM large, ll small, x=mlx=ml), the discrete master equation approaches a Fokker–Planck / Smoluchowski equation for the probability density ρ(x,t)\rho(x,t),

∂tρ(x,t)=(2l)2τ∂x(∂x−(∂xSWM(x)+βbathF))ρ(x,t)=D∂x(∂x+1Ml2(x−βbathFl2M))ρ(x,t),(39)\partial_t\rho(x,t)=\frac{(2l)^2}{\tau}\partial_x\left(\partial_x-\left(\partial_xS_{\mathrm{WM}}(x)+\beta_{\mathrm{bath}}F\right)\right)\rho(x,t)=D\partial_x\left(\partial_x+\frac{1}{Ml^2}(x-\beta_{\mathrm{bath}}Fl^2M)\right)\rho(x,t), \tag*{(39)}

with diffusion coefficient D=(2l)2/τD=(2l)^2/\tau (reflecting step size 2l2l in the continuum limit) and equilibrium center

xbath=βbathFl2M=−βbathΔEL,(40)x_{\mathrm{bath}}=\beta_{\mathrm{bath}}Fl^2M=-\beta_{\mathrm{bath}}\Delta E L, \tag*{(40)}

where SWM(x)S_{\mathrm{WM}}(x) is approximated quadratically around its maximum. The corresponding Green’s function is Gaussian,

ρ(x2∣x1;t)=12πσ(t)exp⁡(−12(x2−(x1+Δx(t))σ(t))2),(41)\rho(x_2|x_1;t)=\frac{1}{\sqrt{2\pi}\sigma(t)}\exp\left(-\frac{1}{2}\left(\frac{x_2-(x_1+\Delta x(t))}{\sigma(t)}\right)^2\right), \tag*{(41)}

with mean displacement and variance

Δx(t)=(xbath−x1)(1−e−αt),(42)\Delta x(t)=(x_{\mathrm{bath}}-x_1)(1-e^{-\alpha t}), \tag*{(42)}
α=DMl2=4τM,(43)\alpha=\frac{D}{Ml^2}=\frac{4}{\tau M}, \tag*{(43)}
σ2(t)=(1−e−2αt)Ml2.(44)\sigma^2(t)=(1-e^{-2\alpha t})Ml^2. \tag*{(44)}

For even MM and even mm, the discrete conditional probability follows by integrating over a cell of width 2l2l around m2l,m_{2}l,

pGauss(m2∣m1,t)=∫(m2−1)l(m2+1)ldx2 ρ(x2∣x1;t)≈2l ρ(m2l∣m1l;t),(45)p^{\mathrm{Gauss}}(m_{2}\mid m_{1},t)=\int_{(m_{2}-1)l}^{(m_{2}+1)l} dx_{2}\,\rho(x_{2}\mid x_{1};t) \approx2l\,\rho(m_{2}l\mid m_{1}l;t), \tag*{(45)}

provided σ(t)/l\sigma(t)/l is sufficiently large (with boundary adjustments near ±M\pm M).

As shown in Figure 7, starting from xWM=x1=−20lx_{\mathrm{WM}}=x_{1}=-20l (βWM>0\beta_{\mathrm{WM}}>0) in a negative-temperature bath drives the mean position to xbath>0x_{\mathrm{bath}}>0, shifting further upward as the bath becomes hotter (βbath\beta_{\mathrm{bath}} more negative). In the long-time limit, the mean lift and extracted work are governed by the inverse-temperature difference Δβ=βWM−βbath\Delta\beta=\beta_{\mathrm{WM}}-\beta_{\mathrm{bath}},

Figure 7. Conditional probability pp [Eq. (38)] of finding the free end of a chain with M=50M=50 segments at position m=x/lm=x/l for times t/τ=1t/\tau=1 (gray), 10 (green), and 300 (red), starting from xWM=−20lx_{\mathrm{WM}}=-20l (βWMΔE=12ln⁡(7/3)>0\beta_{\mathrm{WM}}\Delta E=\frac{1}{2}\ln(7/3)>0) under a load force F<0F<0 and negative bath temperatures βbathΔE=−0.1\beta_{\mathrm{bath}}\Delta E=-0.1 (a) and −0.4-0.4 (b). Histograms show the exact discrete Markov Green’s function [Eqs. (37) and (38)]; solid curves show the Gaussian approximation [Eq. (45)]. By t/τ=300t/\tau=300, the system nearly reaches equilibrium centered at xbath=5lx_{\mathrm{bath}}=5l in (a) and xbath=20lx_{\mathrm{bath}}=20l in (b) [Eq. (40)].

lim⁡t→∞Δx(t)=xbath−xWM=L(βWM−βbath)ΔE,(46)\lim_{t\to\infty}\Delta x(t)=x_{\mathrm{bath}}-x_{\mathrm{WM}}=L(\beta_{\mathrm{WM}}-\beta_{\mathrm{bath}})\Delta E, \tag*{(46)}

and

W=lim⁡t→∞−Δx(t)F=(βWM−βbath⏟=Δβ)ΔEEmax⁡,(47)W=\lim_{t\to\infty}-\Delta x(t)F =(\underbrace{\beta_{\mathrm{WM}}-\beta_{\mathrm{bath}}}_{=\Delta\beta})\Delta E E_{\max}, \tag*{(47)}

scaling quadratically with the load force.

The freely jointed chain as a thermodynamic donkey

The freely jointed chain in a negative-temperature bath exhibits a counterintuitive response to an increased load (Figure 8). Suppose the chain has equilibrated at xbathx_{\mathrm{bath}} in the bath, so that βWM=βbath\beta_{\mathrm{WM}}=\beta_{\mathrm{bath}}, and we take this as the new starting position,

Figure 8. Left: A mass μ\mu attached to the free end is lifted to xbath>0x_{\mathrm{bath}}>0 in a negative-temperature bath, where a second mass μ\mu is added. Right: Although the downward load doubles, the combined mass 2μ2\mu is lifted further to x~bath=2xbath\tilde{x}_{\mathrm{bath}}=2x_{\mathrm{bath}}.

x~WM=xbath.(48)\widetilde{x}_{\mathrm{WM}}=x_{\mathrm{bath}}. \tag*{(48)}

Increasing the magnitude of the downward force from ∣F∣\lvert F\rvert to ∣F~∣>∣F∣\lvert\widetilde{F}\rvert>\lvert F\rvert (for instance, by adding a mass or increasing ∣g~∣>∣g∣\lvert\widetilde{g}\rvert>\lvert g\rvert) increases the segment energy scale,

ΔE~=−lF~>−lF=ΔE.(49)\Delta\widetilde{E}=-l\widetilde{F}>-lF=\Delta E. \tag*{(49)}

Although the stronger force pulls downward in −x-x, the new equilibrium position shifts upward to

x~bath=−LβbathΔE~>−LβbathΔE=x~WM,(50)\widetilde{x}_{\mathrm{bath}}=-L\beta_{\mathrm{bath}}\Delta\widetilde{E}>-L\beta_{\mathrm{bath}}\Delta E=\widetilde{x}_{\mathrm{WM}}, \tag*{(50)}

giving a positive net lift

x~bath−x~WM=Lβbathl(F~−F)>0.(51)\widetilde{x}_{\mathrm{bath}}-\widetilde{x}_{\mathrm{WM}}=L\beta_{\mathrm{bath}}l(\widetilde{F}-F)>0. \tag*{(51)}

This “donkey behavior” follows directly from heat flow along a temperature gradient. Right after the force increase at x~WM=xbath\widetilde{x}_{\mathrm{WM}}=x_{\mathrm{bath}}, the newly assigned inverse temperature of the WM is

β~WM=−1ΔE~(x~WML)=βbathΔEΔE~=βbathFF~>βbath,(52)\widetilde{\beta}_{\mathrm{WM}}=-\frac{1}{\Delta\widetilde{E}}\left(\frac{\widetilde{x}_{\mathrm{WM}}}{L}\right) =\beta_{\mathrm{bath}}\frac{\Delta E}{\Delta\widetilde{E}} =\beta_{\mathrm{bath}}\frac{F}{\widetilde{F}}>\beta_{\mathrm{bath}}, \tag*{(52)}

which is cooler than the bath (βbath<0\beta_{\mathrm{bath}}<0). Consequently, heat flows from the hotter bath into the cooler WM assembly, lifting the heavier load by

x~bath−x~WM=L(β~WM−βbath)ΔE~(53)\widetilde{x}_{\mathrm{bath}}-\widetilde{x}_{\mathrm{WM}}=L(\widetilde{\beta}_{\mathrm{WM}}-\beta_{\mathrm{bath}})\Delta\widetilde{E} \tag*{(53)}

and yielding additional work

W~=−(x~bath−x~WM)F~=(β~WM−βbath)ΔE~E~max⁡.(54)\widetilde{W}=-(\widetilde{x}_{\mathrm{bath}}-\widetilde{x}_{\mathrm{WM}})\widetilde{F} =(\widetilde{\beta}_{\mathrm{WM}}-\beta_{\mathrm{bath}})\Delta\widetilde{E}\widetilde{E}_{\max}. \tag*{(54)}

If an external work Wext=−xbath(F~−F)>0W_{\mathrm{ext}}=-x_{\mathrm{bath}}(\widetilde{F}-F)>0 is expended to place the added mass at xbathx_{\mathrm{bath}}, the net work gain is

W~−Wext=−βbath(F~−F)2lL,(55)\widetilde{W}-W_{\mathrm{ext}}=-\beta_{\mathrm{bath}}(\widetilde{F}-F)^{2}lL, \tag*{(55)}

proportional to the square of the force increment.

The freely jointed chain working as a cyclic machine in a single bath

We can use this mechanism to construct a four-step cycle in a single negative-temperature bath (Figure 9). In state 1, WMs carrying a baseline mass μ0\mu_{0} are at their bath equilibrium position, xWM0(1)=xbath0x_{\mathrm{WM0}}^{(1)}=x_{\mathrm{bath0}}, with βWM0(1)=βbath\beta_{\mathrm{WM0}}^{(1)}=\beta_{\mathrm{bath}}. In state 2, an additional load mass μload\mu_{\mathrm{load}} is attached at xWMload(2)=xWM0(1)x_{\mathrm{WMload}}^{(2)}=x_{\mathrm{WM0}}^{(1)}. Because the total downward force becomes Fload=−(μ0+μload)gF_{\mathrm{load}}=-(\mu_{0}+\mu_{\mathrm{load}})g, the WMs become cooler than the bath,

Figure 9. Four-step cyclic process for extracting work from a single negative-temperature bath. State 1: WMs with baseline mass μ0\mu_0 are at their bath equilibrium position xWM0(1)=xbath0x_{\mathrm{WM0}}^{(1)}=x_{\mathrm{bath0}}. State 2: An additional load mass μload\mu_{\mathrm{load}} is attached at xWMload(2)=xWM0(1)x_{\mathrm{WMload}}^{(2)}=x_{\mathrm{WM0}}^{(1)}. State 3: Absorbing heat Qbath<0Q_{\mathrm{bath}}<0 from the bath lifts the combined mass μ0+μload\mu_0+\mu_{\mathrm{load}} (doing work WW) to the new equilibrium position xbathload(3)x_{\mathrm{bathload}}^{(3)}. State 4: The load mass is removed, making the WMs hotter than the bath (βWM0(4)<βbath\beta_{\mathrm{WM0}}^{(4)}<\beta_{\mathrm{bath}}) so they sink back to xWM0(1)x_{\mathrm{WM0}}^{(1)} while dissipating heat Qdiss>0Q_{\mathrm{diss}}>0 into the bath, returning to state 1.

βWMload(2)=βbathμ0μ0+μload>βbath.(56)\beta_{\mathrm{WMload}}^{(2)}=\beta_{\mathrm{bath}}\frac{\mu_{0}}{\mu_{0}+\mu_{\mathrm{load}}}>\beta_{\mathrm{bath}}. \tag*{(56)}

Heat flows from the bath into the WM assembly (Qbath<0Q_{\mathrm{bath}}<0), lifting the combined mass to the new equilibrium position (state 3),

xbathload(2)=−Lβbathl(μ0+μload)g,(57)x_{\mathrm{bathload}}^{(2)}=-L\beta_{\mathrm{bath}}l(\mu_{0}+\mu_{\mathrm{load}})g, \tag*{(57)}

and performing work

W=−Qbath=(xbathload(2)−xWM0(1))(μ0+μload)g=−Lβbathlμloadg(μ0+μload)g.(58)W=-Q_{\mathrm{bath}} =\left(x_{\mathrm{bathload}}^{(2)}-x_{\mathrm{WM0}}^{(1)}\right)(\mu_{0}+\mu_{\mathrm{load}})g =-L\beta_{\mathrm{bath}}l\mu_{\mathrm{load}}g(\mu_{0}+\mu_{\mathrm{load}})g. \tag*{(58)}

In state 4, the load mass μload\mu_{\mathrm{load}} is removed, making the WMs hotter than the bath,

βWM0(4)=βbathμ0+μloadμ0<βbath.(59)\beta_{\mathrm{WM0}}^{(4)}=\beta_{\mathrm{bath}}\frac{\mu_{0}+\mu_{\mathrm{load}}}{\mu_{0}}<\beta_{\mathrm{bath}}. \tag*{(59)}

Heat now flows from the WMs back into the bath as the baseline mass returns to xWM0(1)x_{\mathrm{WM0}}^{(1)} (state 1), dissipating heat Qdiss=−Wdiss=(xbathload(2)−xWM0(1))μ0g>0Q_{\mathrm{diss}}=-W_{\mathrm{diss}}=(x_{\mathrm{bathload}}^{(2)}-x_{\mathrm{WM0}}^{(1)})\mu_{0}g>0 with ∣Wdiss∣<W\lvert W_{\mathrm{diss}}\rvert<W. Over a full cycle, the net work produced is

Wcycle=W+Wdiss=−Lβbathl(μloadg)2,(60)W_{\mathrm{cycle}}=W+W_{\mathrm{diss}} =-L\beta_{\mathrm{bath}}l(\mu_{\mathrm{load}}g)^{2}, \tag*{(60)}

corresponding to an efficiency with respect to the absorbed heat ∣Qbath∣|Q_{\mathrm{bath}}| of

Wcycle=η∣Qbath∣,η=μloadμ0+μload<1.(61)W_{\mathrm{cycle}}=\eta|Q_{\mathrm{bath}}|,\qquad\eta=\frac{\mu_{\mathrm{load}}}{\mu_0+\mu_{\mathrm{load}}}<1. \tag*{(61)}

Thus, a cyclic engine operating in a single negative-temperature bath cannot convert all absorbed heat into net cycle work, as part of the lifted energy must be redissipated into the bath when resetting the cycle.

Summary and discussion

How work can be extracted from a bath at negative temperature remains a subject of lively debate. Ramsey proposed extending the Kelvin–Planck formulation of the second law of thermodynamics [5], whereas Struchtrup [6] argued that negative temperatures do not represent genuine equilibrium temperatures but rather non-equilibrium parameters. Here, we offer a resolution that neither modifies the second law nor denies negative temperatures. By assigning a canonical temperature to a working machine and comparing it with that of the bath, the temperature gradient dictates the direction of heat flow from hot to cold, and the heat transferred corresponds directly to the work performed. In our examples, a bounded energy spectrum enables the working machine to equilibrate with the bath and adopt its temperature.

Key ingredients of this approach are twofold: first, we consider an assembly of weakly coupled working machines rather than a single machine, defining a canonical temperature for the assembly by maximizing its Shannon entropy, which is also in the spirit of Jaynes’s maximum-entropy approach to statistical mechanics [13]. Second, we assume that a WM placed in a negative-temperature bath approaches a stationary state described by a canonical distribution ∝e−βbathE\propto e^{-\beta_{\mathrm{bath}}E}, as shown for systems at negative temperatures [10, 11]. Building on earlier work by Baldovin et al. [14], a general microscopic Langevin and Fokker–Planck description was derived via timescale separation for a slow heavy particle coupled to a fast bath at negative temperature. The existence of a steady state and detailed balance was demonstrated [15]. Crucially, this stationary state is stable, meaning that an initial energy distribution relaxes toward it with decreasing Boltzmann HH-function (increasing Shannon entropy), as shown recently in an elegant way in a kinetic model with a Stosszahlansatz by Lucente et al. [16]. Additionally it was shown in this model for the stationary state, that detailed balance, i.e. microreversibility, holds, i.e. the stationary state is also an equilibrium state. With these foundations, the dynamics of a WM in a negative-temperature bath is naturally treated within stochastic thermodynamics, obtaining transition rates from the principle of detailed balance and canonical fluctuations around the asymptotic equilibrium distribution.

Several aspects warrant further discussion. Usually, a working machine is viewed as a macroscopic device, making the assignment of a temperature seem counterintuitive. For microscopic machines, however, this picture is much more natural—especially when they operate collectively in assemblies (such as motors in muscle contraction), where assigning a temperature becomes physically transparent. One might also object that heat flow between two systems at different temperatures presupposes that both start in equilibrium with well-defined distributions. In our setup, a single WM starts in a definite state of energy EWME_{\mathrm{WM}}, and replicating it NN times with weak coupling produces an equilibrium assembly with mean energy EWME_{\mathrm{WM}}. Nevertheless, on long timescales the mean heat uptake—and thus the mean work performed—does not depend on the details of the initial distribution p0(Ei)p_0(E_i), but only on its initial mean EWME_{\mathrm{WM}}. For an arbitrary initial distribution p0p_0 with mean EWME_{\mathrm{WM}} in a bath at inverse temperature βbath\beta_{\mathrm{bath}}, the long-time joint probability factorizes,

lim⁡t→∞p(Ef,Ei;t)=(lim⁡t→∞pβbath(Ef∣Ei;t))p0(Ei)=pβbath(eq)(Ef)p0(Ei).(62)\lim_{t\to\infty}p(E_f,E_i;t)=\left(\lim_{t\to\infty}p_{\beta_{\mathrm{bath}}}(E_f|E_i;t)\right)p_0(E_i) =p_{\beta_{\mathrm{bath}}}^{(\mathrm{eq})}(E_f)p_0(E_i). \tag*{(62)}

so the mean work depends solely on the initial mean energy,

W=⟨Ef−Ei⟩=⟨Ef⟩−⟨Ei⟩=⟨E⟩βbath(eq)−EWM.(63)\begin{aligned} W&=\langle E_f-E_i\rangle\\ &=\langle E_f\rangle-\langle E_i\rangle\\ &=\langle E\rangle_{\beta_{\mathrm{bath}}}^{(\mathrm{eq})}-E_{\mathrm{WM}}. \tag*{(63)} \end{aligned}

Finally, consider how the temperature of the WM assembly relates to that of the bath in determining heat flow. For the WM assembly, we obtain the canonical temperature by maximizing its Shannon entropy; for the bath, maximizing its Shannon entropy gives the same temperature as the standard Boltzmann entropy [17]. Because thermal coupling between the WM assembly and the bath is weak, the total Shannon entropy of the combined system is given by the weighted sum of the individual Shannon entropies. Since canonical distributions satisfy ∂ESSh=β\partial_E S_{\mathrm{Sh}}=\beta, heat flow from the hotter system (the bath) to the cooler system (the WM assembly) increases the combined Shannon entropy until both share the same canonical temperature at maximum entropy, i.e. heat flow is related to the canonical temperature difference. In this context it should be noted that the gradient of the canonical temperature as driving force of heat flow holds more generally than that of the Boltzmann temperature [18, 19].

Simulation

Stochastic transitions across the working machine’s energy spectrum were simulated using the nearest-neighbor rates in Eq. (17) and a small time step dtdt (measured in units of τ\tau). For sufficiently small dt/τdt/\tau, the single-step probabilities for a hop up or down (m′=m±1m' = m \pm1) are approximated by (dt/τ)exp⁡(∓βbathΔE/2)(dt/\tau)\exp(\mp\beta_{\mathrm{bath}}\Delta E/2), and the probability to remain in state mm is 1−(dt/τ) 2cosh⁡(βbathΔE/2)1-(dt/\tau)\,2\cosh(\beta_{\mathrm{bath}}\Delta E/2), with reflecting boundary conditions at m=1m=1 and m=Mm=M. Averaging over sample trajectories starting from the same initial state yields the time-dependent energy distribution.

Analytical and numerical stochastic dynamics in the bath

Within the bath, the WM undergoes a stationary Markov process governed by the master equation for the state probabilities pm′(t)p_{m'}(t)

p˙m′=∑m=1Mrm′,mpm(t),(64)\dot{p}_{m'}=\sum_{m=1}^{M}r_{m',m}p_m(t), \tag*{(64)}

with ∑m′rm′,m=0\sum_{m'}r_{m',m}=0 ensuring probability conservation. For nearest-neighbor transitions, Eq. (17) gives upward rate rm+1,m=τ−1exp⁡(−βbathΔE/2)≡cr_{m+1,m}=\tau^{-1}\exp(-\beta_{\mathrm{bath}}\Delta E/2)\equiv c and downward rate rm−1,m=τ−1exp⁡(βbathΔE/2)≡br_{m-1,m}=\tau^{-1}\exp(\beta_{\mathrm{bath}}\Delta E/2)\equiv b. This yields the tridiagonal M×MM\times M rate matrix

R=(−cb0⋯0c−(c+b)b⋯00c−(c+b)⋱0⋮⋮⋱⋱b00⋯c−b),(65)\mathbf{R}= \begin{pmatrix} -c & b & 0 & \cdots& 0\\ c & -(c+b) & b & \cdots& 0\\ 0 & c & -(c+b) & \ddots& 0\\ \vdots& \vdots& \ddots& \ddots& b\\ 0 & 0 & \cdots& c & -b \end{pmatrix}, \tag*{(65)}

describing discrete diffusion in a linear potential Em=(m−1)ΔEE_m=(m-1)\Delta E. Its MM eigenvalues λk\lambda_k, right eigenvectors vk\mathbf{v}_k, and left eigenvectors wk\mathbf{w}_k are, for k=0k=0,

λ0=0,(66)\lambda_0=0, \tag*{(66)}
v0,m=(cb)m−1,(67)v_{0,m}=\left(\frac{c}{b}\right)^{m-1}, \tag*{(67)}
w0,m=1,m=1,2,…,M,(68)w_{0,m}=1,\qquad m=1,2,\ldots,M, \tag*{(68)}

and for k=1,…,M−1k=1,\ldots,M-1,

λk=−(b+c)+2bccos⁡(kπM),(69)\lambda_k=-(b+c)+2\sqrt{bc}\cos\left(\frac{k\pi}{M}\right), \tag*{(69)}
vk,m=(cb)mϕk(m),(70)v_{k,m}=\left(\sqrt{\frac{c}{b}}\right)^m\phi_k(m), \tag*{(70)}
wk,m=(bc)m−2ϕk(m),(71)w_{k,m}=\left(\sqrt{\frac{b}{c}}\right)^{m-2}\phi_k(m), \tag*{(71)}

with

ϕk(x)=sin⁡(kxπM)−bcsin⁡(k(x−1)πM).(72)\phi_k(x)=\sin\left(\frac{kx\pi}{M}\right)-\sqrt{\frac{b}{c}}\sin\left(\frac{k(x-1)\pi}{M}\right). \tag*{(72)}

Spectral decomposition of the propagator exp⁡(Rt)\exp(\mathbf{R}t) gives the Green’s function p(m′∣m;t)p(m'|m;t) for a transition m→m′m \to m' in time tt,

p(m′∣m;t)=exp⁡(Rt)=∑k=0M−1eλktvkwkTwkTvk,(73)p(m'|m;t)=\exp(\mathbf{R}t)=\sum_{k=0}^{M-1}e^{\lambda_k t}\frac{\mathbf{v}_k\mathbf{w}_k^{T}}{\mathbf{w}_k^{T}\mathbf{v}_k}, \tag*{(73)}

whose matrix elements take the form

p(m′∣m;t)=p(eq)(m′)+2M(cb)m′−m∑k=1M−1eλktϕk(m′)ϕk(m)1+bc−2bccos⁡(kπM)=p(eq)(m′)+f(m′,m,t),(74)\begin{aligned} p(m'|m;t)=p^{(\mathrm{eq})}(m')+\frac{2}{M}\left(\sqrt{\frac{c}{b}}\right)^{m'-m}\sum_{k=1}^{M-1}e^{\lambda_k t}\frac{\phi_k(m')\phi_k(m)}{1+\frac{b}{c}-2\sqrt{\frac{b}{c}}\cos\left(\frac{k\pi}{M}\right)} \\ &=p^{(\mathrm{eq})}(m')+f(m',m,t), \tag*{(74)} \end{aligned}

with the equilibrium distribution

p(eq)(m′)=(cb)m′−11−cb1−(cb)M∝e−βbathEm′(75)p^{(\mathrm{eq})}(m')=\left(\frac{c}{b}\right)^{m'-1}\frac{1-\frac{c}{b}}{1-\left(\frac{c}{b}\right)^M}\propto e^{-\beta_{\mathrm{bath}}E_{m'}} \tag*{(75)}

and a multi-exponential relaxation term f(m′,m,t)f(m',m,t).

Most probable distribution for WMs with internal degrees of freedom

Consider an assembly of NN working machines with energy occupation numbers n(E)n(E). The number of ways to distribute the NN machines according to {n(E)}\{n(E)\} is the multinomial coefficient N!/∏En(E)!N!/\prod_E n(E)!. With n(E)n(E) microstates per energy level EE, the total number of compatible microstates is

Ω[p]=N!∏En(E)!∏En(E)n(E)≈exp⁡(NSKL[p]),(76)\Omega[p]=\frac{N!}{\prod_E n(E)!}\prod_E n(E)^{n(E)} \approx\exp\left(N S_{\mathrm{KL}}[p]\right), \tag*{(76)}

using Stirling’s approximation, where

SKL[p]=−∑Ep(E)ln⁡(p(E)n(E))(77)S_{\mathrm{KL}}[p]=-\sum_E p(E)\ln\left(\frac{p(E)}{n(E)}\right) \tag*{(77)}

is the negative Kullback–Leibler divergence with p(E)=n(E)/Np(E)=n(E)/N and n(E)=eSWM(E)n(E)=e^{S_{\mathrm{WM}}(E)} (unnormalized, since any normalization factor only shifts SKLS_{\mathrm{KL}} by a constant that drops out of the maximization). By equal a priori probabilities of a single microstate (principle of equal weight), the probability ϖ[p]\varpi[p] of observing distribution p(E)p(E) satisfies ϖ[p]∼Ω[p]∼exp⁡(NSKL[p])\varpi[p]\sim\Omega[p]\sim\exp\left(N S_{\mathrm{KL}}[p]\right). Maximizing SKL[p]S_{\mathrm{KL}}[p] under the mean-energy constraint

∑Ep(E)E=Eˉ(78)\sum_E p(E)E=\bar{E} \tag*{(78)}

with Lagrange multiplier β\beta via

∇p(SKL[p]−β∑Ep(E)E)∣p=pc=0(79)\left.\nabla_p\left(S_{\mathrm{KL}}[p]-\beta\sum_E p(E)E\right)\right|_{p=p_c}=0 \tag*{(79)}

gives the canonical distribution

pc(E)=1Z(β)eSWM(E)−βE,Z(β)=∑EeSWM(E)−βE.(80)p_c(E)=\frac{1}{Z(\beta)}e^{S_{\mathrm{WM}}(E)-\beta E},\qquad Z(\beta)=\sum_E e^{S_{\mathrm{WM}}(E)-\beta E}. \tag*{(80)}

References

  1. [2]W. Thomson, “XV—on the dynamical theory of heat, with numerical results deduced from Mr Joule’s equivalent of a thermal unit, and M. Regnault’s observations on steam,” Earth and Environmental Science Transactions of The Royal Society of Edinburgh 20, 261–288 (1853).
  2. [3]M. Planck, Vorlesungen über Thermodynamik (Walter de Gruyter, 2011).
  3. [4]E. M. Purcell and R. V. Pound, “A nuclear spin system at negative temperature,” Physical Review 81, 279 (1951).
  4. [5]N. F. Ramsey, “Thermodynamics and statistical mechanics at negative absolute temperatures,” Physical Review 103, 20 (1956).DOI
  5. [6]H. Struchtrup, “Work storage in states of apparent negative thermodynamic temperature,” Physical Review Letters 120, 250602 (2018).DOI
  6. [7]H. Struchtrup, “Efficiencies and work losses for cycles interacting with reservoirs of apparent negative temperatures,” Entropy 21, 749 (2019).DOI
  7. [8]R. Clausius, Ueber die bewegende Kraft der Waerme: und die Gesetze, welche sich daraus für die Waermelehre selbst ableiten lassen, 99 (W. Engelmann, 1898).
  8. [9]R. Clausius, The mechanical theory of heat (Macmillan, 1879).
  9. [10]A. Puglisi, A. Sarracino, and A. Vulpiani, “Temperature in and out of equilibrium: A review of concepts, tools and attempts,” Physics Reports 709, 1–60 (2017).DOI
  10. [11]M. Baldovin, S. Iubini, R. Livi, and A. Vulpiani, “Statistical mechanics of systems with negative temperature,” Physics Reports (2021).
  11. [12]W. Nadler and K. Schulten, “Generalized moment expansion for observables of stochastic processes in dimensions greater than 1- application to mossbauer spectra of proteins,” J Chem Phys 84, 4015–4025 (1986).DOI
  12. [13]E. T. Jaynes, “Information theory and statistical mechanics,” Physical Review 106, 620–630 (1957).DOI
  13. [14]M. Baldovin, A. Puglisi, and A. Vulpiani, “Langevin equation in systems with also negative temperatures,” Journal of Statistical Mechanics: Theory and Experiment 2018, 043207 (2018).DOI
  14. [15]M. Baldovin, A. Vulpiani, A. Puglisi, and A. Prados, “Derivation of a Langevin equation in a system with multiple scales: the case of negative temperatures,” Physical Review E 99, 060101 (2019).DOI
  15. [16]D. Lucente, M. Baldovin, A. Puglisi, and A. Vulpiani, “H-theorem at negative temperature: the random exchange model with bounds,” Journal of Statistical Mechanics: Theory and Experiment 2025, 013210 (2025).DOI
  16. [17]F. Reif, Fundamentals of Statistical and Thermal Physics (McGraw-Hill, New York, 1965).
  17. [18]W. R. Bauer, “How geometrically frustrated systems challenge our notion of thermodynamics,” Journal of Statistical Mechanics: Theory and Experiment 2022, 033208 (2022).DOI
  18. [19]W. R. Bauer, “Geometrically frustrated systems which are as singles hotter than in company,” Journal of Physics A: Mathematical and Theoretical 57, 325005 (2024).DOI

Machine contribution statement

No AI-use declaration is available for this version in Valency.

The available record does not establish whether AI systems or models contributed to this work.

How machine contributions are recorded

Paper details

Citation

Cite
Published
Version
Latest

Data & code

No code, data or supplementary files were declared for this version.

Contents

Pick where to look, or just type