The Generalized Boltzmann Distribution is the Only Distribution in Which the Gibbs-Shannon Entropy Equals the Thermodynamic Entropy
Xiang Gao, Emilio Gallicchio, Adrian E. Roitberg

TL;DR
This paper proves that the generalized Boltzmann distribution uniquely ensures the equality of Gibbs-Shannon entropy and thermodynamic entropy, highlighting that this equality only occurs at thermodynamic equilibrium.
Contribution
It establishes a unique characterization of the generalized Boltzmann distribution based on entropy equality, clarifying the conditions for entropy equivalence.
Findings
Gibbs-Shannon entropy equals thermodynamic entropy only at equilibrium.
The generalized Boltzmann distribution is uniquely characterized by this entropy equality.
Entropy equality does not hold for non-equilibrium distributions.
Abstract
We show that the generalized Boltzmann distribution is the only distribution for which the Gibbs-Shannon entropy equals the thermodynamic entropy. This result means that the thermodynamic entropy and the Gibbs-Shannon entropy are not generally equal, but rather than the equality holds only in the special case where a system is in equilibrium with a reservoir.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
The Generalized Boltzmann Distribution is the Only Distribution in Which the Gibbs-Shannon Entropy Equals the Thermodynamic Entropy
Xiang Gao
Department of Chemistry, University of Florida, Gainesville, Florida 32611
Emilio Gallicchio
Department of Chemistry, Brooklyn College of the City University of New York, and Doctoral Programs in Chemistry and Biochemistry, the Graduate Center of the City University of New York, Brooklyn, New York 11210
Adrian E. Roitberg
Department of Chemistry, University of Florida, Gainesville, Florida 32611
(March 17, 2024)
Abstract
We show that the generalized Boltzmann distribution is the only distribution for which the Gibbs-Shannon entropy equals the thermodynamic entropy. This result means that the thermodynamic entropy and the Gibbs-Shannon entropy are not generally equal, but rather than the equality holds only in the special case where a system is in equilibrium with a reservoir.
I Introduction
There are two well known ways to derive the Boltzmann distribution: the micro-canonical derivation, and the maximum entropy principle derivation. Both are found in textbooks, such as Kardar (2007); Callen (1998); chandler1987introduction; Landau and Lifshitz (2013); Balescu (1991) for the micro-canonical derivation and Chandler (1987); Callen (1998); Tolman (1979) for the maximum entropy principle derivation. These two derivations could be naturally extended to derive the generalized Boltzmann distributions for other ensembles such as grand canonical or isothermal - isobaric ensemble. Beyond these two standard textbook derivations, the Boltzmann distribution can also be derived based on quantum dynamicsTasaki (1998).
Although modern statistical thermodynamics dates back to as early as BoltzmannCercignani (1998) and GibbsGibbs (2014), new insights are still being obtained, such as the Jarzynski equalityJarzynski (1997) and its quantum extensionMukamel (2003), as well as fluctuation theoremsCrooks (1999); Evans et al. (1993); Seifert (2005); Esposito and Van den Broeck (2010). There is also interest in entropy and its relationship with information, such as Cerf and Adami (1997); Lieb and Yngvason (2013); Parrondo et al. (2015). In this paper, we study the basic question of the relationship between the generalized Boltzmann distribution, the thermodynamic entropy, and the Gibbs-Shannon entropy.
For context, we start by revisiting the two textbook derivations of the Boltzmann distribution.
I.1 The micro-canonical derivation
The micro-canonical derivation constructs an ensemble with fixed total energy composed of the system of interest and a reservoir. The fundamental postulate of statistical mechanics states that the probability distribution of allowed micro-states is uniform:
[TABLE]
where is the energy of micro-state and is the number of micro-states with energy . The interaction between the system and reservoir is assumed to be weak, in the sense that for a fixed micro-state of the system with energy , the reservoir is a micro-canonical ensemble with energy . The assumption of weak interaction also implies that is possible to enumerate the states of the system and reservoir independently. The probability of micro-state of the system of interest is therefore obtained by marginalizing over the allowed states of the reservoir
[TABLE]
where is the number of states of the reservoir that satisfy , which can be written as
[TABLE]
using the definition of entropy for the micro-canonical ensemble. Since the energy of the system is a small fraction of the total energy, we can expand around as a power series of the system energy as
[TABLE]
where is the energy of the reservoir and is the temperature of the reservoir. This equation becomes exact in the limit of an infinite reservoir at constant temperature T Callen (1998). Combining (LABEL:micrpi), (LABEL:Omegar-Sr) and (LABEL:Sr-expand), we get , or, equivalently, , which is the Boltzmann distribution.
It is worth mentioning that the assumption of weak interaction between the bath and the system can be relaxed by canonical typicalityGoldstein et al. (2006); Reimann (2007).
I.2 The maximum entropy principle derivation
The maximum entropy principleJaynes (1957a, b) derives the Boltzmann distribution by maximizing the Gibbs-Shannon entropyCover and Thomas (2012) under the constraints of being a constant and of . The derivation is done using the Lagrangian multiplier method which maximizes the target function
[TABLE]
where and are both Lagrangian multipliers. Zeroing the derivative of with respect to gives
[TABLE]
This optimization process has been shown to be equivalent to the micro-canonical derivation as shown in subsection I.1 by applying the maximum entropy principle to the whole isolated system containing the system of interest and reservoir, in a two step fashionLee and Pressé (2012).
I.3 Connecting the canonical ensemble with thermodynamics
After obtaining the probability distribution of the ensemble, we need to establish the connection between thermodynamic variables and ensemble quantities. For the canonical ensemble, the thermodynamic temperature , volume , and particle number are naturally mapped to the parameter of the ensemble. Since the energy of the ensemble is not a parameter but instead a random variable, the mapping of the thermodynamic internal energy is not as obvious as it is for .
One then introduce a new postulate that equates the thermodynamic energy with the ensemble average of the random variable of system energy:
[TABLE]
where is the partition function and . Since , i.e. has natural variables and , and . Comparing this relation with (LABEL:u-is-avg-e) immediately gives the equation for Helmholtz free energy . From the definition of Helmholtz free energy , we immediately obtain that the thermodynamic entropy can then be computed as
[TABLE]
where is the Gibbs-Shannon entropy.
I.4 Our contribution
The above logic shows that
[TABLE]
while we will now prove the opposite direction:
[TABLE]
The contribution of this paper is therefore two fold: (1) shows that the generalized Boltzmann distribution is the only distribution in which the Gibbs-Shannon entropy equals the thermodynamic entropy, and (2) presents a new way of deriving the generalized Boltzmann distribution.
II Main result
We consider a thermodynamic system with generalized forces and coordinatesKubo (1968). The thermodynamic first law can be written as
[TABLE]
We use to denote thermodynamic quantities and to denote random variables. We also intentionally choose different letters for generalized forces ( and ) and displacements ( and ) to emphasize that the ensemble we are going to study is parameterized by , generalized forces , and generalized displacements ; that is, are random variables, while are parameters. In other word, we are studying a ensemble.
The above notation is a general framework for all thermodynamic systems. For example, for an ensemble (one component grand canonical ensemble), we have , , , , .
The main result we present in this paper is the following theorem:
Theorem 1**.**
Consider thermodynamic systems whose first law reads like (LABEL:first-law). Any ensemble that has:
Probability density proportional to some function of the ensemble parameters and random variables . 2. 2.
, for all 3. 3.
The thermodynamic entropy and the Gibbs-Shannon entropy have a relationship
the probability density function of micro-state must have the form
[TABLE]
where are the value of random variables for the state .
Proof.
Let’s begin by assuming the probability density of micro-state is expressed as
[TABLE]
the normalization constant is
[TABLE]
where the sum is over all microscopic states and is short for . In the above formula, the temperature appears as a parameter, and micro-states and its macro-states do not depend on . Note that if , then the thermodynamic entropy
[TABLE]
If we perturb the temperature by and keep the other parameters () fixed, then the change of entropy
[TABLE]
where
[TABLE]
Also
[TABLE]
and therefore
[TABLE]
The same argument applies for all , and we therefore have
[TABLE]
By substituting equations in condition 2 of the theorem into (LABEL:first-law), the first law of thermodynamics can be rewritten as
[TABLE]
substituting (LABEL:dSdT), (LABEL:pSpT), (LABEL:dEdT), (LABEL:dxdT) and 222Because we are perturbing while keeping constant, we have
[TABLE]
Physics laws should be universal, i.e. the above equation must hold for arbitrary system, the only way for this to happen is
[TABLE]
that is
[TABLE]
We therefore obtained the generalized Boltzmann distribution. ∎
III Examples
The formulation of our main result is quite general. In this section, we will show how commonly used ensembles fit into our general framework.
The single component canonical ensemble, i.e. the ensemble, has , , , . There are no , or . The first law reads and the distribution is .
The two component grand canonical ensemble, i.e. the ensemble, has , , , , , , , and . The first law reads and the distribution is .
The single component isothermal–isobaric ensemble, i.e. the ensemble, has , , , , and . The first law reads and the distribution is .
IV Discussion
We showed that the ensemble for a non-isolated thermodynamic system at equilibrium described by temperature, parameters and expectation values , and whose thermodynamic entropy is given by the Gibbs-Shannon formula, is necessarily described by the generalized Boltzmann’s distribution. It follows that the generalized Boltzmann distribution is the only distribution for which the Gibbs-Shannon entropy equals the thermodynamic entropy.
Unlike familiar thermodynamic quantities such as energy, volume, and pressure, the concept of thermodynamic entropy is harder to grasp. The entropy is nevertheless a well-defined state function of systems at equilibrium, stemming from the fact that for any closed thermodynamic path along equilibrium states. Conversely, the thermodynamic entropy is defined only for states at equilibriumLieb and Yngvason (2013). So, while the question of what is the form of the entropy for states out of equilibrium is fundamentally ill-posed, it is tempting to try to extend the concept of thermodynamic entropy to stable non-equilibrium systemsParrondo et al. (2015), such as systems at steady state. Our result implies that the entropy of such systems cannot be described by the Gibbs-Shannon formula unless their distribution of states follows the generalized Boltzmann’s distribution.
Boltzmann famously defined the entropy of an isolated system at energy as Cercignani (1998), is the micro-canonical entropy and where is the probability of occupancy of any of the degenerate micro-states of the system. The identification of the thermodynamic entropy of a system in equilibrium with a reservoir with the ensemble average of the micro-canonical entropy (), as in the Gibbs-Shannon entropy formulaGibbs (2014), while known to be consistent with the Boltzmann’s distribution, appears arbitrary. For example, it is worth considering whether there could be another distribution whose Gibbs-Shannon entropy can be identified with the thermodynamic entropy. Our result shows that within the very general thermodynamic assumptions ((LABEL:first-law,_propto)) this is not possible.
It is also worth mention that, for the special case of ensemble, instead of starting from the thermodynamic first law in (LABEL:first-law), similar results could also be obtainedMa starting from the expression of heat of quantum thermodynamicsMa et al. (2017); Quan et al. (2005); Su et al. (2018); Quan et al. (2007), i.e. : Under the condition :
[TABLE]
which immediately gives .
V Acknowledgement
The authors would like to thank Vinícius Wilian D. Cruzeiro for proofreading of this paper, suggestions on the organization of this paper, and technical discussion on the condition of our main results. Discussions with Daniel Zuckerman, John Chodera, and Mike Gilson, have enriched this manuscript.
The authors would also like to thank Yuhan Ma for the discussion on the relationship of the main result of this paper with thermal equilibrium, as well as the connection of the proof of the main result with respect to quantum thermodynamics.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Kardar [2007] Mehran Kardar. Statistical physics of particles . Cambridge University Press, 2007.
- 2Callen [1998] Herbert B Callen. Thermodynamics and an introduction to thermostatistics, 1998.
- 3Landau and Lifshitz [2013] Lev Davidovich Landau and Evgenii Mikhailovich Lifshitz. Course of theoretical physics: statistical physics . Elsevier, 2013.
- 4Balescu [1991] R. Balescu. Equilibrium and Nonequilibrium Statistical Mechanics . Krieger, 1991. ISBN 9780894645242.
- 5Chandler [1987] David Chandler. Introduction to modern statistical mechanics . Oxford University Press, 1987.
- 6Tolman [1979] Richard Chace Tolman. The principles of statistical mechanics . Courier Corporation, 1979.
- 7Tasaki [1998] Hal Tasaki. From quantum dynamics to the canonical distribution: general picture and a rigorous example. Physical review letters , 80(7):1373, 1998.
- 8Cercignani [1998] Carlo Cercignani. Ludwig Boltzmann: the man who trusted atoms . Oxford University Press, 1998.
