Microstates, Phase Space, and Statistical Entropy/Statistical Entropy: Boltzmann and Gibbs

Lesson 2.41,246 words

Statistical Entropy: Boltzmann and Gibbs

Entropy is the logarithm of the number of accessible microstates. This lesson builds the two statistical entropies — Boltzmann's S = k ln Omega for an isolated system and Gibbs's S = -k sum p ln p for any ensemble — proves they agree for a uniform distribution, and connects both to Shannon's measure of missing information.

╌╌╌╌

The equal-probability postulate made the equilibrium of an isolated system the macrostate of largest multiplicity. Turning that counting principle into thermodynamics requires a single quantity whose maximization is equivalent to maximizing the multiplicity and which is additive across independent systems, so that it matches the extensive entropy of the macroscopic theory. The logarithm of the multiplicity is that quantity. This lesson constructs Boltzmann's entropy for an isolated system, generalizes it to Gibbs's entropy for an arbitrary ensemble, shows the two coincide when the distribution is uniform, and reads both as a measure of missing information.1

The Boltzmann entropy

Let be the number of microstates accessible to an isolated system at fixed energy, volume, and particle number — the count of states in the energy shell of the previous lessons. Two demands single out its functional form as the entropy. The entropy must be a monotonic function of , since more accessible states should mean more entropy, and it must be additive for independent systems, to match the extensivity of thermodynamic entropy.

Consider two independent systems with multiplicities and . Because any microstate of the first can be combined with any microstate of the second, the joint system has multiplicity

Additivity demands a function with . The only continuous solution is the logarithm, and the constant of proportionality is fixed by matching to the thermodynamic temperature scale.

The multiplicative-to-additive conversion is the whole content of the logarithm, and it is worth seeing drawn: two boxes whose state-counts multiply have entropies that add.

The multiplicities (the state-counts, written Omega in the text and W here) of independent systems multiply while their entropies add; the logarithm converts the product of counts into a sum of entropies.

The counting is done with Stirling's approximation, which is what makes extensive. For the combinatorial multiplicities of many-body systems involves factorials of numbers of order , and

for large , with the correction terms subextensive and negligible. Every entropy computed in the following modules — the two-state paramagnet, the Einstein solid, the ideal gas — runs through this approximation.

Multiplicity of a two-state system

The paramagnet of a later module is the cleanest illustration and supplies a second figure. Take independent spins, each up or down, with up. The multiplicity is the binomial coefficient

the number of ways to choose which spins point up. Its logarithm, via Stirling with , is

the binary entropy function times . It is maximal at (equal numbers up and down), where takes its largest value , and it falls off as a Gaussian of width about the peak — the sharpness established in the last lesson, here for a concrete count.

The multiplicity of N spins with n pointing up peaks sharply at the equal split n = N/2, with a Gaussian width proportional to the square root of N; the vast majority of arrangements sit near equal populations.

The Gibbs entropy

Boltzmann's formula presumes a uniform distribution over the accessible states — the microcanonical situation. A system in contact with a reservoir is not uniform: its microstates carry unequal probabilities . Gibbs's entropy extends the definition to any probability distribution over microstates.

The Gibbs entropy reduces to the Boltzmann entropy exactly when the distribution is uniform over accessible states. Setting for each of the accessible microstates and zero otherwise,

The two entropies agree on the microcanonical ensemble, and the Gibbs form is the general one, valid for the canonical and grand-canonical ensembles where the probabilities are not uniform. It is additive in the same sense: for two independent systems the joint distribution factorizes, , and

Entropy as missing information

The Gibbs form is identical, up to the constant , to the quantity Shannon introduced as the measure of the information missing from a probability distribution — the average number of yes/no questions needed to determine the microstate. A distribution concentrated on one microstate (, the rest zero) has : the state is known, nothing is missing. A distribution spread evenly over states has the maximum entropy available to that support: the state is maximally uncertain. Between these extremes the entropy measures how spread the distribution is.

The Gibbs entropy measures the spread of a distribution. A broad distribution over many microstates has large entropy; as probability concentrates onto a few states the entropy falls, reaching zero for a distribution supported on a single state.

This reading resolves the apparent subjectivity of the equal-probability postulate. The uniform distribution is the one that assumes the least beyond the constraints — it maximizes the missing information consistent with what is known. Assigning any other distribution would encode information about the microstate that the macroscopic constraints do not supply.

The second law as the drift to maximum multiplicity

Bring two isolated systems into contact so they exchange energy at fixed total . Before contact each was separately in equilibrium; the combined constraint now allows the energy to redistribute. By the equal-probability postulate the joint system explores all microstates compatible with the total energy, and the probability of a split is proportional to the joint multiplicity

Taking the logarithm, the equilibrium split maximizes

that is, it maximizes the total entropy . Setting the derivative with respect to to zero,

which is the equality once temperature is defined by . The systems reach a common temperature, energy flows so as to increase the total number of accessible microstates, and the second law is the statement that this number does not decrease. The next module derives temperature, pressure, and the chemical potential in full from this maximization; the point here is that the second law is a counting statement about multiplicity.

Maximizing the Gibbs entropy under constraints

The same maximization principle, applied to the Gibbs entropy with constraints imposed by Lagrange multipliers, generates the equilibrium distributions of the following modules. Seek the distribution that maximizes subject to normalization and a fixed mean energy,

Introduce multipliers for normalization and for the energy, and extremize

where has been absorbed into the multipliers. Differentiating with respect to ,

Normalization fixes the prefactor and gives the canonical distribution

with the partition function. The multiplier is identified with by matching the resulting entropy to the thermodynamic , recovering the Boltzmann factor of the first lesson from a maximum-entropy principle rather than a reservoir argument. The two derivations meet in the canonical module.

Maximum-entropy inference. With no constraint beyond normalization the flat distribution maximizes the Gibbs entropy; adding a mean-energy constraint tilts it into the exponential Boltzmann form.

The entropies in one view

The three notions of entropy that recur through the course are one quantity seen under different constraints.

EntropyFormApplies toReduces to
Boltzmannisolated system, uniform itself (microcanonical)
Gibbsany ensemble when uniform
Shannonany distribution

The Boltzmann entropy counts states for the isolated system, the Gibbs entropy generalizes to systems in contact, and the Shannon measure supplies the information-theoretic reading that justifies the equal-probability postulate as least-biased inference. All three grow toward the same maximum as a distribution spreads, and the second law is their common increase. The following module puts the Boltzmann form to work, deriving the microcanonical thermodynamics of the ideal gas and the two-state paramagnet.

Footnotes

  1. Reif, Fundamentals of Statistical and Thermal Physics, §3.3–3.5 — the definition of entropy as , its additivity, and the approach to equilibrium as the increase of the total number of accessible states.
  2. Schroeder, An Introduction to Thermal Physics, §2.6 and §3.1 — the multiplicity of combinatorial systems, Stirling's approximation, and the definition with .
  3. Kardar, Statistical Physics of Particles, §4.3, and Pathria & Beale, Statistical Mechanics, §3.3 — the Gibbs entropy , its reduction to for a uniform distribution, and the maximum-entropy derivation of the canonical distribution by Lagrange multipliers.

╌╌ END ╌╌