Entropy maximization under thermal contact Created 2026-09-29 Updated 2026-10-18
At fixed volumes and material inventories, two internally equilibrated bodies that exchange only heat within an isolated system have fixed total internal energy . Their total entropy isUsing , an interior stationary point obeysThus entropy stationarity requires matching thermodynamic temperatures. Positive values of heat capacity at constant volume make this a strict local maximum becauseFor bodies with positive heat capacities throughout the accessible range, this concavity gives at most one interior maximum. This is the stability check behind the equal-temperature condition; see entropy concavity and positive heat capacity. [ref]
1 The Fundamentals of Statistical Mechanics. David Tong, Statistical Physics, sections 1.2.1–1.2.2: entropy maximization, temperature and heat capacity
For thermal equilibration of two finite bodies, entropy from heat capacity givesBody 1 gains about of entropy, while body 2 loses about . Total energy is conserved even though total entropy increases. The entropy calculation uses reversible comparison paths between the endpoint states; actual exchange across a finite temperature difference is irreversible.
To construct the plot, vary while enforcing the energy constraint, rather than holding fixed. In numerical units of kelvin, , and the plotted function isHere means , so its zero is a reference choice. The chain rule yieldsThe unique maximum is at . The physical trajectory starts at and moves toward that maximum; the rest of the curve compares other possible energy partitions, not later times in the trajectory.
The contact model also proves the direction of change directly:For and positive temperatures, equality holds exactly at thermal equilibrium. The appealing link is that a dynamical heat transfer law moves the system uphill on the constrained entropy curve, while conservation of energy keeps it on that curve. This predicts both why the endpoint is stable and why the reverse separation into hot and cold bodies cannot happen spontaneously in the isolated system.
Finite heat bath 2026-10-18
A finite heat bath has a finite whole-body heat capacity and therefore changes temperature when it absorbs heat . For a rigid closed system with no work, fixed composition and no phase transition, the first law of thermodynamics givesIf the heat capacity at constant volume is constant throughout this temperature interval, the integral becomes . This statement concerns an internal energy difference; need not be the body's absolute internal energy.
For an original example, put a rigid body 1 and a finite bath 2 into thermal contact inside an isolated system. Stipulate constant whole-body heat capacities and , with initial temperatures and . Each body remains internally uniform; the connection stores negligible energy; no external work, matter exchange or phase transition occurs. These are constructed model values. The argument in thermal equilibration of two finite bodies applies directly: equal final temperatures and conserved total internal energy giveThus the heat transferred from body 1 to bath 2 isBody 1 loses of internal energy and bath 2 gains exactly that amount. Body 1 cools by , while bath 2 warms by . Equal heat transfers produce unequal temperature changes because the heat capacities differ.
Finite bath temperature changes and the integrated heat ledger
. Original constant-heat capacity model, not measured data. Left: accumulated heat leaving body 1 lowers its temperature and raises bath 2's temperature; the lines meet at and . Right: the shaded integrals have equal area , although their widths are and . The outgoing heat magnitude is shown positive; body 1's signed internal energy change is negative. Details.The heat bath approximation can now be assessed against a chosen allowed temperature change . Constant requires , rather than merely calling the bath large. For this example, an allowed change of would fail because the computed change is . The exact bath shift and its ideal-reservoir limit areHold and both initial temperatures fixed in this limit. The transferred heat then approaches . The finite bath receives less heat because its warming reduces the available temperature difference. For heat capacities that vary, use the two integrals in the energy balance instead of this weighted average.
Conservation of energy also permits imagining the reverse transfer, so it cannot explain the direction of equilibration by itself. Entropy from heat capacity gives the additional test, using reversible comparison paths between equilibrium endpoints:All ratios inside the natural logarithms use absolute temperatures. The actual exchange across unequal temperatures is irreversible, even though reversible paths calculate the endpoint entropy differences.
There is a short general proof of positivity. Put for positive constant heat capacities and positive initial temperatures. The strict concavity of the natural logarithm giveswith equality only for equal initial temperatures. In this proof all temperatures inside the logarithms mean their numerical values in one common absolute unit. This is Jensen's inequality applied to the same weighted average that conservation of energy selected. The direction of heat transfer and the stability of its endpoint also follow from entropy maximization under thermal contact.

