Statistical Physics 1, supplementary material based on the lecture notes and presentation by Prof. Sunghan Ro (Harvard University)

한국어

Labels, arrangements, and the Gibbs paradox

Mix two samples of the same classical gas and the textbook entropy goes up by \(2Nk_B\ln 2\), even though nothing macroscopic has changed. The usual cure divides by \(N!\) and appeals to quantum indistinguishability. Here is a classical cure instead: keep every labeled microstate, and ask which part of the entropy records particle labels and which part records the arrangement we actually observe.

1 Start2 Hole open3 Closed4 Counted5 Labels read

Changes from stage 1, in units of \(k_B\). The full entropy always equals labeling plus arrangement.

The paradox

Put \(N\) particles in each of two boxes of volume \(V\). With a fixed reference volume \(v_0\) and \(\tilde V = V/v_0\), the position entropy of an ideal gas whose particles are known to be in their boxes is \(S_{\rm i} = 2Nk_B\ln\tilde V\). Open a hole: every particle may now be anywhere in \(2V\), so

\[ S_{\rm m} = 2Nk_B\ln(2\tilde V) = S_{\rm i} + 2Nk_B\ln 2. \]
Initial stateMixingFinal state
Mixing of different gases
Entropy\(S_{\rm i} = 2Nk_B\ln\tilde V\)\(S_{\rm m} = 2Nk_B\ln 2\tilde V > S_{\rm i}\)\(S_{\rm f} = S_{\rm m}\) (second law)
Mixing of identical gases
Entropy\(S_{\rm i} = 2Nk_B\ln\tilde V\)\(S_{\rm m} = 2Nk_B\ln 2\tilde V > S_{\rm i}\)\(S_{\rm f} = S_{\rm m}\,\)? It looks just like the initial state.

Closing the hole tells us nothing about where the particles are, so the entropy stays at \(S_{\rm m}\). For red and blue gases this is the familiar mixing entropy. But if the two samples are the same gas, closing the hole seems to restore the original macroscopic state. Has the entropy really gone up? Could we lower it just by inserting a partition into a uniform gas?

The quantum-mechanical prescription divides the count by \(N!\), because exchanging identical particles does not create a new quantum state. That removes the leading increase for the same gas. But it cannot be the whole story. A molecular-dynamics simulation keeps an index on every classical particle, and colloidal particles (fat globules in milk, pigment grains in paint) really are distinguishable, yet statistical mechanics works for both.

The classical resolution for identical particles is not new. It is well documented in the published literature, and Swendsen's papers give a particularly clear account. What follows is the information-entropy version of that resolution, as presented in Prof. Ro's lecture notes and talk.

“Mixing entropy” is not due to mixing

The mixing entropy does not need two gases, or even two particles. Follow a single particle through the same three stages. Start with the particle in the left box of two equal boxes, open the hole, then close it without looking. With \(b \in \{{\rm l}, {\rm r}\}\) the occupied box and \(\mathbf r\) the position inside it (volumes in units of \(v_0\)):

Initial stateMixingFinal state
Expansion of one gas particle
PDF\(\rho_{\rm i}(\mathbf r) = 1/V\)\(\rho_{\rm m}(\mathbf r) = 1/(2V)\)\(\rho_{\rm f}(b,\mathbf r) = \dfrac12\,\dfrac1V\)
Entropy\(\begin{aligned} S_{\rm i} &= -k_B\!\int\! d\mathbf r\,\rho_{\rm i}\ln\rho_{\rm i} \\ &= k_B\ln\tilde V \end{aligned}\)\(S_{\rm m} = k_B\ln 2\tilde V\)\(\begin{aligned} S_{\rm f} &= -k_B\!\sum_{b={\rm l,r}}\int_{\mathbf r\in b}\! d\mathbf r\,\rho_{\rm f}\ln\rho_{\rm f} \\ &= k_B\ln 2\tilde V \end{aligned}\)
Entropy (\(N\) particles)\(Nk_B\ln\tilde V\)\(Nk_B\ln 2\tilde V\)\(Nk_B\ln 2\tilde V\)

The final entropy splits into two pieces,

\[ S_{\rm f} = \underbrace{k_B\ln 2}_{\text{which box?}} + \underbrace{k_B\ln\tilde V}_{\text{where inside it?}} = S_{\rm m}. \]

The extra \(k_B\ln 2\) is uncertainty about the box, not an effect of mixing; no second gas exists here. If we look and find the particle, the entropy returns to \(k_B\ln\tilde V\): the reduction comes from the information acquired, not from the mechanical act of inserting a wall. With \(2N\) particles each losing one bit of box information, the full entropy rises by exactly \(2Nk_B\ln 2\).

Labeling entropy and arrangement entropy

The key tool is the chain rule for entropy. For random variables \(X\) and \(Y\), \(p(x,y) = p(x|y)\,p(y)\) gives

\[ S(X,Y) = S(X|Y) + S(Y), \]

where \(S(X|Y)\) is the uncertainty left in \(X\) once \(Y\) is known. Now take \(N\) distinguishable particles in regions of volume \(V_1\) and \(V_2\), and suppose we know only the numbers \(N_1\) and \(N_2 = N - N_1\), not which particles they are. There are \(\binom{N}{N_1}\) possible sets of labels \(L\) in the first region, each allowing the same position volume \(V_1^{N_1}V_2^{N_2}\). With nothing to favor any of them, MaxEnt gives each probability \(\binom{N}{N_1}^{-1}\), and the full position entropy is

\[ S_{\rm full} = k_B\ln\binom{N}{N_1} + N_1k_B\ln\tilde V_1 + N_2k_B\ln\tilde V_2 = \underbrace{k_B\ln N!}_{S_{\rm label}} + \underbrace{k_B\ln\!\left[\frac{\tilde V_1^{N_1}}{N_1!}\,\frac{\tilde V_2^{N_2}}{N_2!}\right]}_{S_{\rm arr}}. \]

No microstate has been discarded: each labeled configuration belongs to exactly one assignment \(L\). The labeling entropy \(k_B\ln N!\) counts the ways to put identities on an unlabeled arrangement. Because the total \(N\) is fixed, it does not change as particles move between regions. The arrangement entropy is what remains, and it already carries the famous \(1/N!\), not as an instruction to identify classical microstates, but as the price of not recording labels.

Back in the mixing experiment, the start specifies which \(N\) labels sit in each box, which permits \((N!)^2\) label assignments. After mixing, all \((2N)!\) are possible:

\[ \Delta S_{\rm label} = k_B\ln\frac{(2N)!}{(N!)^2} = 2Nk_B\ln 2 - \tfrac12 k_B\ln(\pi N) + \cdots, \qquad \Delta S_{\rm arr} = 2Nk_B\ln 2 - \Delta S_{\rm label} \approx \tfrac12 k_B\ln(\pi N). \]

The leading increase is lost label information. The arrangement entropy changes only by a term of order \(\ln N\), which comes from comparing exactly known initial counts with fluctuating final counts. Press Read every label in the demo above to see the full entropy return to zero once the lost information is recovered.

\(\Delta S_{\rm label}/(2Nk_B\ln 2)\)\(\Delta S_{\rm arr}/(2Nk_B\ln 2)\)The \(N\) in the demo

As \(N\) grows, essentially all of the mixing entropy is labeling entropy. For a liter of milk, with about \(10^{12}\) fat globules, \(\Delta S_{\rm arr}\) would be about \(14\,k_B\) out of \(2Nk_B\ln 2 \approx 1.4\times10^{12}\,k_B\).

When colors are physical

Switch the demo to Two species. Now red and blue are distinct, and the arrangement records where each color is. Only identities within each color go unrecorded, so \(S_{\rm label} = k_B\ln(N_{\rm r}!\,N_{\rm b}!)\) stays constant, and the whole \(2Nk_B\ln 2\) appears in the arrangement entropy: genuine mixing. Notice that the full entropy is the same in both modes. Imagine the red tint fading continuously to blue: the full entropy never jumps. What jumps is our choice of what the arrangement records, from two colors to one. The "discontinuity" of the Gibbs paradox lives in that change of description, not in the physics.

Exchanging particles: why the gas spreads evenly

If we let \(N\) labeled particles move between regions \(V_1\) and \(V_2\) and maximize only the entropy that assumes we know which particles are where,

\[ S_{\rm specified} = N_1k_B\ln\tilde V_1 + N_2k_B\ln\tilde V_2, \qquad \frac{dS_{\rm specified}}{dN_1} = k_B\ln\frac{V_1}{V_2}, \]

the derivative never vanishes when \(V_1 \ne V_2\): all particles would pile into the larger region. That answers a more detailed question than the one asked. Counting the unknown label assignments adds \(k_B\ln\binom{N}{N_1}\), and the probability of a split becomes binomial,

\[ P(N_1) = \binom{N}{N_1}\left(\frac{V_1}{V_1+V_2}\right)^{N_1}\left(\frac{V_2}{V_1+V_2}\right)^{N_2}, \qquad S_{\rm arr}(N_1) = k_B\ln P(N_1) + k_B\ln\frac{\tilde V^N}{N!}, \]

which peaks at \(N_1/V_1 = N_2/V_2\). The second relation is Swendsen's reading of Boltzmann: entropy as the logarithm of the probability of a macrostate of the composite system, up to a constant. The simulation below keeps an index on every particle and draws an imaginary line through the box. The particles do not collect in the larger part.

Simulation (0 samples)Binomial \(P(N_1)\)
\(S_{\rm specified}\) (labels assumed known)\(S_{\rm arr}\) (labels unrecorded)
Most probable \(N_1\), from \(S_{\rm arr}\)
Maximum of \(S_{\rm specified}\)
Simulation average of \(N_1\)

Colloids: where the traditional entropy fails

Swendsen pointed out that colloids make the problem concrete. Homogenized milk contains roughly \(10^{12}\) fat globules per liter. They are large enough to be classical and different enough from one another to be distinguishable, so a "traditional" entropy without \(1/N!\), \(S_{\rm trad} = Nk_B[\ln V + \tfrac32\ln(E/N) + X]\), seems natural. It makes wrong predictions.

Removing a wall in uniform milk. With equal densities on both sides, \(\Delta S_{\rm trad} = N_1k_B\ln(V/V_1)\) \(+\, N_2k_B\ln(V/V_2) > 0\), about \(7\times10^{11}\,k_B\) for equal halves. Reinserting the wall restores the same macrostate, so the traditional entropy would have to decrease. The arrangement entropy changes only by \(-k_B\ln P(N_1) \approx 14\,k_B\), the subleading cost of no longer knowing the exact counts.

Partially mixing whole milk with skim milk. Put whole milk in the larger volume \(V_1\) and skim milk in \(V_2\), open a hole briefly, and close it before mixing is complete. If \(N_2\) globules have crossed, the traditional entropy changes by \(-N_2k_B\ln(V_1/V_2) < 0\) for an obviously irreversible process. With \(x = N_2/N\), the arrangement entropy changes by

\[ \frac{\Delta S_{\rm arr}}{Nk_B} = -x\ln x - (1-x)\ln(1-x) - x\ln\frac{V_1}{V_2} > 0, \]

which grows until equilibrium, \(x = V_2/V\), as the second law requires.

Traditional \(\Delta S_{\rm trad}/(Nk_B)\)Arrangement \(\Delta S_{\rm arr}/(Nk_B)\)
\(\Delta S_{\rm trad}/(Nk_B)\)
\(\Delta S_{\rm arr}/(Nk_B)\)
Equilibrium at \(x = V_2/V\)

The slider stops at equilibrium. The traditional entropy decreases along the whole irreversible process; the arrangement entropy increases and peaks exactly at equilibrium.

Summary

When the mechanics and the constraints treat all labels symmetrically, the full information entropy splits as

\[ S_{\rm full} = S_{\rm arr} + k_B\ln N!. \]

The full entropy keeps every labeled classical microstate and is superextensive. The arrangement entropy is extensive to leading order, and for the ideal gas it is the Sackur–Tetrode equation,

\[ S_{\rm arr}(E,V,N) = Nk_B\left\{\ln\!\left[\frac{V}{N}\left(\frac{4\pi mE}{3Nh^2}\right)^{3/2}\right] + \frac52\right\} + O(k_B\ln N). \]

The two entropies are not rivals; they answer questions that retain different information. The arrangement entropy is the right one whenever the labels are irrelevant to the constraints and the observables, and the label information must be restored whenever particle identities matter. Information entropy is subjective in this limited sense, since it depends on what we know, but it is not arbitrary: once the retained information is specified, MaxEnt fixes the assignment.