The Microcanonical Ensemble/Thermal, Mechanical, and Diffusive Equilibrium

Lesson 3.21,184 words

Thermal, Mechanical, and Diffusive Equilibrium

Two isolated subsystems that can exchange energy, volume, or particles reach equilibrium at the partition that maximizes their combined entropy. Setting the derivative of the total entropy to zero identifies the statistical definitions 1/T=(S/E)1/T=(\partial S/\partial E), P/T=(S/V)P/T=(\partial S/\partial V), and μ/T=(S/N)-\mu/T=(\partial S/\partial N), shows heat flows from hot to cold as an entropy increase, and recovers the fundamental relation dS=(dE+PdVμdN)/T\d S=(\d E+P\,\d V-\mu\,\d N)/T from pure counting.

╌╌╌╌

The microcanonical entropy is a function of the isolated system's energy, volume, and particle number. Its derivatives with respect to these three variables are not yet identified with any thermodynamic quantity. That identification comes from a single construction: bring two systems into contact so they can exchange one conserved quantity, and ask which partition of that quantity between them is overwhelmingly the most probable. The answer maximizes the total entropy, and the condition for the maximum defines temperature, pressure, and chemical potential as slopes of .

Two systems sharing energy

Let two systems with fixed total energy , each of fixed volume and particle number, be placed in thermal contact through a rigid, impermeable wall that passes energy but not particles or volume. The composite is isolated, so its total energy is conserved while and fluctuate. The number of joint microstates with the first system at energy is the product of the individual counts,

because each of the microstates of system 1 can pair with each of the microstates of system 2. By the fundamental postulate every joint microstate is equally likely, so the probability that system 1 holds energy is proportional to this product,

Each factor is a steeply rising function of its argument — recall — so the product of a sharply rising function and a sharply falling one is sharply peaked. The most probable partition maximizes , equivalently maximizes , and equivalently maximizes the total entropy .

The joint count is the product of a steeply rising and a steeply falling factor, giving a probability sharply peaked at the equilibrium partition .

Thermal equilibrium defines temperature

At the peak the derivative of the total entropy vanishes. Differentiating with respect to at fixed total energy, and using ,

so equilibrium requires the two systems to share a common value of . This slope is the same quantity that thermodynamics calls inverse temperature, since at fixed volume and particle number gives .

Thermal equilibrium is the statement . The definition inverts the usual intuition: temperature is not primary but derived, the reciprocal of the rate at which the log of the microstate count grows with energy. A system whose count rises steeply with energy — many new microstates unlocked per joule added — has a small , meaning a high temperature, and readily surrenders energy. This is exactly the property expected of a hot body.

Two systems sharing energy through a diathermal wall reach the partition where the two entropy–energy slopes and are equal, that is, where .

Heat flows from hot to cold

Suppose the two systems start out of equilibrium, with . The total entropy is not yet at its maximum, so a spontaneous exchange must increase it. For a small transfer of energy into system 1,

With the prefactor is positive, so requires : energy flows into the colder system. The second law, in the microcanonical setting, is the statement that the composite drifts toward the partition of larger multiplicity, and that drift carries energy from the hot body to the cold one until the temperatures match. No new postulate is needed; the direction of heat flow is a corollary of counting microstates.

The sharpness of the peak guarantees that this is not merely the average behavior but the observed behavior. Expanding about , the linear term vanishes at the maximum and the quadratic term sets the width. The relative width of the energy distribution scales as , so departures from the most-probable partition are negligible, which is why the sharpest peak and the thermodynamic equilibrium are the same thing.

Starting from , the total entropy rises along the exchange until its maximum at ; the initial slope fixes the direction of spontaneous heat flow into the colder system.

Mechanical and diffusive equilibrium

Replacing the rigid wall by a movable one, or by a permeable one, extends the construction to volume and particle exchange. A movable wall lets the two systems trade volume at fixed total while total energy and particle number stay fixed. The total entropy is maximized when its partial derivatives with respect to both and vanish. The energy condition again gives ; the volume condition gives

Comparison with the thermodynamic relation at fixed energy and particle number identifies this slope with .

Mechanical equilibrium across a movable diathermal wall is therefore and : temperatures equalize and the wall stops moving when the pressures balance. Were the pressures unequal, entropy would increase by ceding volume to the system with the larger , and the wall would drift until they matched.

A permeable wall lets the two systems exchange particles at fixed total . Maximizing with respect to adds the condition , and the thermodynamic relation identifies this slope with .

Diffusive equilibrium is (with already enforced by energy exchange). Particles flow from high chemical potential to low: if , moving a particle from 1 to 2 raises the total entropy, so the net current runs until the chemical potentials equalize. The minus sign makes the energy cost of adding a particle rather than a gain, so a particle migrates toward the region where it is cheaper to place.

Three walls and three equilibrium conditions: a diathermal wall (energy) equalizes temperature , a movable wall (volume) equalizes pressure , and a permeable wall (particles) equalizes chemical potential , each from maximizing the total entropy over the shared quantity.

The fundamental relation recovered

The three definitions are the three partial derivatives of the entropy in its natural variables. Assembling the total differential of ,

and solving for gives the fundamental thermodynamic relation,

Every term on the right was constructed from a derivative of a microstate count. The first law's , the mechanical work , and the chemical work all emerge from the single requirement that an isolated composite settles into its most probable partition. Thermodynamics is not assumed here; it is the macroscopic shadow of the entropy-maximization principle applied to the exchange of conserved quantities.

The construction also fixes the signs and the physical roles cleanly. Temperature governs energy exchange and is positive whenever adding energy opens up more microstates; pressure governs volume exchange and is positive whenever expansion opens up more microstates; chemical potential governs particle exchange and is typically negative for a dilute classical gas, where adding a particle at fixed energy and volume increases the multiplicity, as the ideal-gas entropy of the next lesson makes explicit.

The three natural-variable derivatives of the entropy give , , and ; assembled, they give the fundamental relation .

Summary

  • Two isolated systems exchanging a conserved quantity reach the partition that maximizes the total entropy ; the joint count is sharply peaked, with relative width , so the most-probable partition is the observed one.
  • Energy exchange fixes ; equilibrium is , and the entropy increase sends heat from hot to cold.
  • Volume exchange fixes and particle exchange fixes ; the corresponding equilibria are and .
  • The three derivatives assemble into , so the fundamental relation of thermodynamics follows from maximizing a microstate count.

╌╌ END ╌╌