Entropy Created 2026-09-24 Updated 2026-10-20
Entropy is an extensive quantity and a state function of an equilibrium system, measured in . Differences between equilibrium states are calculated along a reversible thermodynamic process:
Here heat entering the system is positive and is its absolute thermodynamic temperature. The reversible path used for calculation need not be the path actually taken. Dividing the actual heat by a single temperature generally fails for an irreversible process.
For example, put two rigid bodies, each with constant heat capacity , at and in an otherwise isolated system. Assume each body has a uniform internal temperature, no phase transition occurs, and no work is extracted. Their final thermal equilibrium is at , because the internal energy lost by one equals that gained by the other. Using entropy from heat capacity,
so . One body's entropy decreases while the total increases. [ref]
Figure 1.
Thermal equilibration of two finite bodies conserves energy and increases total entropy
. Details.
In statistical mechanics, Boltzmann's entropy formula counts equally likely microstates compatible with a macrostate; Gibbs entropy handles a specified probability distribution over microstates. If the number of equally likely microstates doubles, entropy increases by . The logarithm makes multiplicative counts additive for independent systems. These are precise statements about states and probabilities, not a universal measure of visible messiness. Calling entropy merely "disorder" obscures the thermal calculation above and hides which microstates are being counted. [ref]
The usefulness of entropy is that measurable heat capacities determine its changes, and the Second law of thermodynamics turns those changes into constraints on processes. It also connects macroscopic measurements to microscopic descriptions without requiring us to track every particle.
Euler theorem for homogeneous functions Created 2026-09-24 Updated 2026-10-05
Let be a differentiable function on an open domain stable under positive rescaling, with for . The chain rule differentiates this homogeneous function identity at to give
If is twice differentiable, differentiating once more gives . In degree one its Hessian matrix therefore annihilates the radial vector . This is the identity used in the no-scale identity from degree-one homogeneity. For an extensive quantity, the degree-one formula also supplies the thermodynamic identity behind the Gibbs-Duhem equation.
Extensive quantity Created 2026-10-05 Updated 2026-10-14
Two related properties of an extensive quantity must be distinguished. Additivity says that a quantity for independent subsystems A and B obeys
The subsystems may be in different states. Extensivity expressed through a homogeneous function says that the equilibrium fundamental relation obeys
with composition held fixed. This is degree-one homogeneity along a replication ray; it does not say that internal energy is a linear function of arbitrary independent changes of entropy, volume and amount of substance.
Additivity gives integer replication by repeated addition. Subdividing a uniform bulk sample into equivalent parts gives rational scaling ; continuity then extends it to positive real factors. This argument requires negligible boundary contributions and a consistently prepared state. Conversely, a degree-one homogeneous function need not be additive between different rays: has , but . Thus a scaling identity alone cannot justify summing arbitrary states.
For finite samples, the surface correction to thermodynamic free energy can matter. Under geometric enlargement with volume multiplied by , surface area grows as , so a surface energy term is not a bulk extensive quantity. Replicating separated droplets retains every original surface, whereas merging them changes the total surface area. Likewise, appreciable mutual gravitational potential energy makes interacting subsystems fail the independent-copy premise. The thermodynamic limit explains when bulk scaling becomes accurate; it does not remove these qualifications for every small or strongly interacting system.
Gibbs-Duhem equation Created 2026-09-24 Updated 2026-10-18
The Euler theorem for homogeneous functions applied to an extensive quantity, together with give
The Gibbs-Duhem equation constrains changes of the intensive quantities describing one uniform thermodynamic phase. For a mixture with independently specified component amounts, its molar form is
Here is entropy, is volume, is temperature, is pressure, is the amount of substance of component , and is its molar chemical potential. This assumes a simple compressible system whose bulk internal energy is an extensive quantity; additional work coordinates require additional terms.[ref]
The proof exposes the source of the constraint. For internal energy , replication of the whole thermodynamic phase by a factor gives . The Euler theorem for homogeneous functions and the fundamental differential of internal energy therefore give
Taking the differential of the first equation produces all the terms in the second, plus . Subtraction proves the Gibbs-Duhem equation. Thus the constraint comes from two descriptions of the same state function, rather than an assumed microscopic interaction model.
At fixed temperature and pressure, divide by and introduce the mole fractions :
The chemical potentials cannot be varied independently. In a two-component mixture, put and . Within a smooth single-thermodynamic phase region with ,
One chemical potential fixes the other's change, but determining its absolute value still requires a reference value. This does not say : equality at phase coexistence concerns the same chemical species in different thermodynamic phases. Nor does the constraint say whenever temperature and pressure are fixed; changing composition still contributes to the Gibbs free energy.
Intensive and extensive thermodynamic quantities Created 2026-09-24 Updated 2026-10-14
An extensive quantity measures how much of a thermodynamic system there is; an intensive quantity describes its state independently of that amount. The clean comparison is replication: take independent identical systems at the same thermodynamic equilibrium, with the same substance, composition and thermodynamic phase. Combining their accounting boundaries multiplies internal energy , entropy , volume , mass and amount of substance , while leaving temperature , pressure and chemical potential unchanged.[ref]
For copies the ledger is
An integer counts actual copies; a positive real describes the corresponding bulk scaling law. Copies can remain separated: replication need not involve removing a partition, changing a container or performing any work. Distinguish , the amount of substance measured in moles, from , the dimensionless count of specified entities, where is the Avogadro constant in . For example, contains specified entities; tripling it gives and entities. This uses the exact Avogadro constant , which does not triple. In the differential , is a molar chemical potential in ; the coefficient of instead has units of energy per entity.
Figure 1.
Replication multiplies the extensive ledger while preserving the equilibrium state
. Details.
As a direct check, the ideal gas law gives
For a monatomic ideal gas with only translational degrees of freedom active, internal energy of an ideal gas gives , so at unchanged temperature. Here is the molar gas constant. The scaling distinction lets a small sample supply an equation of state for a much larger amount: material state and inventory become separate questions.
Replication does not mean multiplying every linear dimension by : a geometrically similar container then has times the volume. Nor does it mean combining samples at different states. Equal temperature establishes thermal equilibrium but does not imply equal pressure, composition or mass density. Density of a composite system makes this distinction concrete.
Intensive quantity 2026-10-14
An intensive quantity is unchanged under replication at the same thermodynamic equilibrium. Temperature, pressure, chemical potential and the mass density of a uniform substance are examples. Independence from sample size does not mean independence from state: a material's mass density can change with temperature or pressure.
The relation to extensive quantities is particularly elegant for a differentiable bulk fundamental relation. Put and write
Taking a partial derivative with respect to and cancelling gives
The equilibrium differential identifies these derivatives with temperature, minus pressure and molar chemical potential. They are degree-zero homogeneous functions. The same degree-one assumption yields the Euler relation in thermodynamics, but a surface energy contribution requires extra care.
An intensive quantity generally has no meaningful sum across samples: two equal temperatures do not add to a doubled temperature. Neither is the final temperature after thermal contact generally an unweighted average; heat capacities and the first law of thermodynamics determine the balance. Ratios of additive inventories lead to the useful weighted rules in normalizing extensive quantities.
Dividing two extensive quantities with the same replication factor produces an intensive quantity:
Division by volume gives a density, such as mass density or energy density . Division by mass gives a specific quantity, such as specific internal energy or specific volume . Division by amount of substance gives a molar quantity, such as molar volume . Their units are respectively , , , and . The denominator must be stated: “per particle”, “per mole” and “per unit mass” are different normalizations.
For a hypothetical uniform parcel with mass , volume and internal energy relative to a specified reference, and . Three independent copies have , and ; both ratios remain unchanged. This permits comparison of materials without confusing the amount tested with the state tested.
If and are additive but the parcels have different , their composite ratio is a weighted arithmetic mean:
The denominator supplies the weights: specific internal energy uses mass weights, while mass density uses volume weights. This identity is accounting for the specified subsystems; predicting a new state after mixing also needs the relevant equation of state.
Figure 1.
Size changes extensive inventory; composite density weights each parcel by its volume
. Details.
Let be the physical volume of a region with fixed comoving coordinates, so , and write . The first law of thermodynamics is . Use extensive quantities: under replication, . The Euler theorem for homogeneous functions gives
Setting yields
This is the entropy form of the Gibbs-Duhem equation; it fixes the normalization by extensivity, rather than adding an arbitrary volume-independent entropy constant.
For equilibrium expansion of the same region, the first law and the cosmological perfect-fluid continuity equation imply
Therefore , establishing cosmological entropy conservation for adiabatic equilibrium evolution. Here “comoving volume” means a patch moving with the cosmological fluid; its physical volume changes. The corresponding coordinate volume is constant. The local TeX's in the continuity-equation hint is a transcription error: the PDF correctly has .
Thermodynamic limit Created 2026-09-28 Updated 2026-10-13
The thermodynamic limit describes a sequence of larger systems, not a single enormous specimen: particle number and volume tend to infinity with number density fixed. Hold the chosen intensive and extensive thermodynamic quantities such as temperature and an applied magnetic field fixed along that sequence. In the canonical ensemble the controls are ; in the grand canonical ensemble one instead fixes and chemical potential, and the limiting number density is a result, possibly with a jump at phase coexistence. These are different specifications of a limiting experiment.
The useful limit is usually an intensive and extensive thermodynamic quantities normalization of the Helmholtz free energy, not a finite limit of the total extensive quantity itself:
Here is the canonical partition function, is the Boltzmann constant, is free-energy density, and is Helmholtz free energy per particle. Thus when the limit exists; finite systems need not be exactly extensive quantities because of the surface correction to thermodynamic free energy.
Specify the interactions and the growing containers too. For a conventional fluid, use a fixed stable pair potential with a tempered pair potential tail, and containers whose boundary layer of any fixed thickness occupies a vanishing fraction of the volume; uniformly enlarged cubes work, a tube of fixed cross-section does not give the same bulk limit. For a finite-range Ising model, keep the lattice spacing and bond coupling fixed while enlarging all intended spatial directions. Ordinary bounded wall interactions or periodic boundary conditions can then give the same bulk free-energy density, although boundary conditions can select different spontaneous symmetry breaking states. This is a set of hypotheses, not a theorem that every interaction has a boundary-independent limit.[ref]
The Curie–Weiss model below deliberately uses a different limiting prescription: its all-to-all coupling is divided by . Without that factor its interaction energy would grow as , rather than as an extensive quantity. The model has no spatial wall or correlation length to compare with a container; it is an exactly summable illustration of finite-size rounding, not a quantitative model of the fluid experiment below.