Chemical potential Created 2026-09-24 Updated 2026-10-18
The chemical potential measures how a thermodynamic potential changes when matter is added under specified constraints. It plays for matter exchange the role that temperature plays for heat exchange: a difference supplies a direction, and equality characterizes thermodynamic equilibrium when the corresponding exchange is allowed. This connects diffusion, phase coexistence and chemical equilibrium through one quantity.
For a single component, the particle convention is
where is internal energy, counts particles, is entropy and is volume. This partial derivative holds entropy and volume fixed; it measures an incremental change rather than the average energy per particle. See David Tong, Statistical Physics, section 1.4.
In chemistry the molar convention instead uses amount of substance , measured in moles:
Here is Gibbs free energy, is temperature, is pressure and is the Avogadro constant. The units are per particle versus . For several chemical species, define each chemical potential by varying only its own particle count or amount of substance, with all other components' counts or amounts fixed. Many texts use for either convention, so the units and the variable being differentiated must identify it.
For a simple compressible system with variable component inventories, the fundamental differentials are
They describe changes between states in thermodynamic equilibrium with only pressure-volume work. If every component inventory is fixed, the sums vanish. The Gibbs free energy form follows by differentiating and using ; this is why the two definitions describe the same chemical potential in different units.
A chemical potential can be negative. Holding entropy fixed while adding matter need not increase internal energy; Tong explains this explicitly for a classical ideal gas in Statistical Physics, section 2.2.4. Its absolute sign also depends on the reference energy: replacing by shifts by . A common reference shift cancels from differences for the same chemical species, which are what determine exchange. Thus “energy cost” means a signed increment, not an always positive amount that must be supplied.
Chemical potential and Helmholtz free energy Created 2026-10-14 Updated 2026-10-20
Rigid compartments impose a different constraint: fixed volume rather than fixed pressure. With Helmholtz free energy ,
This follows immediately by differentiating in the chemical potential differential above. It expresses the same chemical potential through the thermodynamic potential appropriate to fixed temperature and volume.
Consider a closed system consisting of two rigid compartments of equal volume , maintained at a common fixed temperature . A valve permits exchange of the same ideal gas; the partition stays in place. Initially and , with conserved total amount of substance . These are macroscopic moles, modeled continuously, not twelve individual particles. By the ideal gas law, , so initially
At with the stipulated , this is approximately , favoring transfer from A to B.
At fixed and equal , integrating the ideal-gas chemical potential gives the total Helmholtz free energy, up to a term independent of the allocation,
Here is a positive reference amount of substance; any omitted common term linear in is constant along this exchange. Let be the dimensionless fraction in A. The relative Helmholtz free energy then takes the particularly simple form
Its derivative along the allowed transfer and its second derivative are
Thus the Helmholtz free energy is a strictly convex function of the allocation for positive amounts. Its unique minimum has , or , and equal chemical potentials. Initially its excess above this minimum is at . Relaxation decreases the total Helmholtz free energy by this amount in the model; the final pressures are also equal because both compartments have the same volume.
Figure 1. . Two equal rigid compartments at fixed temperature start with and of the same ideal gas, and reach each after exchange. Lower left: the dimensionless excess Helmholtz free energy. Lower right: its derivative with respect to the allocation, divided by , equals the chemical potential difference divided by . The horizontal variable is . Details.
The beautiful connection is that the direction of matter exchange and the slope of a free energy curve are the same calculation. The entropy gained by redistributing the ideal gas makes equal allocation favorable here. As with chemical equilibrium, a free energy minimum identifies the favored state, while transport properties determine how quickly it is reached. The fixed-temperature, fixed-pressure Gibbs free energy criterion is summarized in 16.4 Free Energy; the rigid experiment instead uses Helmholtz free energy.
For a pure ideal gas at temperature and pressure ,
where is the molar gas constant and specifies the reference pressure of the standard state. The ratio inside the natural logarithm is dimensionless. The chemical potential difference therefore depends on a ratio of pressures, not an absolute difference. See MIT 5.60, Lecture 14, page 4.
For a chemical species in an ideal gas mixture, replace by its partial pressure. More generally write using its thermodynamic activity and a consistent standard state. For an ideal dilute chemical solution, with reference concentration ; the thermodynamic activity section describes departures from this idealization.
As a computed comparison, take identical chemical species at , with and . Stipulate . Then
Halving the pressure gives the same decrement whether starting from or , provided the ideal gas approximation remains valid. This comparison uses different pressures; it is not the common-pressure reservoir setup of chemical potential equality for particle exchange. The fixed-volume example in chemical potential and Helmholtz free energy supplies an exchange experiment with unequal initial pressures.
Figure 1. . At a common temperature, the chemical potential difference is . The arrows give the initial transfer direction through an open route between rigid compartments; the decreasing thermodynamic potential there is Helmholtz free energy. The marked comparison uses and the stipulated molar gas constant. Details.
Enthalpy Created 2026-09-24 Updated 2026-10-18
Enthalpy is the state function obtained by adding pressure times volume to internal energy:
Here denotes internal energy, also written in some references. Like internal energy, enthalpy is measured in joules and is an extensive variable. Its definition packages the internal energy change and expansion work into one useful quantity for fixed-pressure calculations. It does not define a body's stored heat. [ref]
For a fixed amount and composition of a simple compressible system, the relation between neighboring equilibrium states is
Here is absolute temperature and is entropy. Thus entropy and pressure are the natural variables of this thermodynamic potential, with partial derivatives and . Fixed composition matters: changing composition adds further terms. The formula follows in one line from the equilibrium first law of thermodynamics identity:
The cancellation of is the reason enthalpy replaces volume with pressure as a natural variable. This identity concerns equilibrium states; it does not identify with actual irreversible heat transfer. [ref]
For a closed system undergoing a quasistatic process at constant pressure, require fixed amount and composition, only pressure-volume work, no friction, and unchanged bulk kinetic energy and potential energy. Then the actual first law of thermodynamics balance gives
The symbol means transferred heat for this fixed-pressure process. If the piston example in heat additionally meets these conditions, its of incoming heat equals , while and . The example shows exactly what enthalpy adds to internal energy: the expansion work required at the imposed pressure.
Within a single thermodynamic phase, heat capacity at constant pressure gives
with the amount and composition fixed. Constant gives ; dividing by mass gives specific heat capacity at constant pressure. At equilibrium melting, enthalpy can instead change through latent heat while temperature stays fixed. The sensible heat example therefore adds two single-thermodynamic phase enthalpy changes and one latent heat contribution.
The usefulness of enthalpy lies in matching the imposed constraint: a fixed-pressure experiment naturally reports , while fixed-volume heating with no other work reports . Neither equality is universal. Additional work or changing pressure alters the relation between supplied heat and ; irreversible entropy production also prevents identifying actual with . The separate Joule-Thomson coefficient branch uses enthalpy to describe throttling under its own assumptions.
Maxwell relations 2026-10-14
Maxwell relations turn pressure, volume and temperature measurements into information about entropy. For example, the pressure rise when heating a rigid sealed vessel determines the entropy change when expanding the same sample isothermally:
The quantities on the two sides describe different experiments, yet both are mixed partial derivatives of one Helmholtz free energy. This is the useful surprise: a mechanical measurement can reveal a thermal property. Similarly, the coefficient of thermal expansion gives . [ref]
For a simple compressible system, hold particle number and composition fixed, and allow only pressure-volume work. Write for internal energy, for enthalpy, for Helmholtz free energy, and for Gibbs free energy. Their natural-variable differentials are
Thus the first partial derivatives, with the subscript recording the variables kept fixed, are
The symmetry of second derivatives produces all four standard Maxwell relations, including their signs:
For a brief derivation of the relation, differentiate with respect to and with respect to : . Each other row follows in the same way. Assume continuous second partial derivatives of the relevant thermodynamic potential in the region considered. At a phase transition, the equilibrium potential may lose this smoothness; apply the identities within each smooth thermodynamic phase, and handle latent heat and phase coexistence separately. If particle numbers vary, the potential differentials acquire chemical potential terms, so the fixed- constraints must remain explicit. [ref]
For an ideal gas with fixed , the ideal gas law gives . At fixed volume, heating changes the pressure at rate . Consequently an isothermal expansion at positive temperature has
For one mole with and , this is . At , a reversible isothermal expansion absorbs and performs equal work, since its internal energy is unchanged. The entropy difference is a state function difference: the same equilibrium endpoints give the same in an insulated free expansion, although there and the process is irreversible.
Figure 1.
Ideal gas entropy slopes equal measured pressure responses to heating
. Left: entropy relative to one common reference state for a classical monatomic gas, , with . Each fixed-temperature curve gains on doubling the volume. Right: both partial derivatives, multiplied by , equal ; circles are independent finite differences of entropy, while the line is the pressure response. Details.
The same Maxwell relations let thermal measurements determine the difference between constant-pressure and constant-volume heat capacities. In a smooth single thermodynamic phase,
using heat capacity at constant volume, heat capacity at constant pressure, coefficient of thermal expansion and isothermal compressibility. Along fixed pressure, , so
Thus measured expansion and compression responses determine a heat capacity difference without measuring both heat capacities separately. They do not determine the absolute heat capacities or absolute entropy by themselves; an independent thermal measurement supplies that missing information. For an ideal gas, and reduce the result to , which is Mayer's relation.
When the necessary higher partial derivatives exist and commute, differentiating the Maxwell relations once more also gives
Integrating these slopes determines how a heat capacity changes with volume or pressure at fixed temperature. For an ideal gas, both right-hand sides vanish because the ideal gas law is linear in temperature at either fixed volume or fixed pressure. Consequently and depend only on temperature at fixed , although they need not be constant in temperature. [ref]
Historically, James Clerk Maxwell's Theory of Heat, first published in 1871, presents these connections using the geometry of isothermal processes and reversible adiabatic processes. His fourth edition, page 167, explicitly relates expansion on heating at fixed pressure to heat emitted during an isothermal compression: the modern relation gives . This explains why a substance with positive coefficient of thermal expansion emits heat when compressed isothermally, whereas one with negative coefficient absorbs it. [ref] [ref]
Mechanical stability 2026-10-18
For a mechanical coordinate at fixed temperature, total volume and particle numbers, the relevant thermodynamic potential is the Helmholtz free energy . Its generalized force is . At mechanical equilibrium, , and a linearly restoring force has , equivalently . A Taylor expansion then proves a strict local free-energy minimum. If is a strictly convex function throughout the accessible domain, the stationary state is the unique global minimum.
For a simple compressible one-component equilibrium system, the fundamental thermodynamic relation is
The internal energy has natural variables : its derivatives give , and chemical potential . The natural variables of a thermodynamic potential identify the independent arguments whose conjugates appear directly in a potential's differential. A Legendre transform exchanges a variable for its conjugate, giving potentials suited to different controlled conditions:
potentialdefinitionnatural variablesdifferential
internal energy
enthalpy
Helmholtz free energy
Gibbs free energy
For fixed composition and the appropriate closed-system constraints, equilibrium minimizes at fixed , at fixed , at fixed , or at fixed , with other allowable internal variations understood. Enthalpy is useful for constant-pressure heat exchange with only pressure–volume work. Helmholtz free energy is suited to fixed-temperature, fixed-volume systems, and Gibbs free energy to fixed-temperature, fixed-pressure phase or chemical equilibrium. Coexisting phases of one substance have equal chemical potentials.
Where a potential is twice continuously differentiable, equality of mixed derivatives gives Maxwell relations. At fixed , the four usual forms are
The fixed subscripts and signs follow from the chosen natural variables. Derivatives through a nonsmooth phase boundary require separate phase descriptions rather than automatic use of the smooth single-phase formulas.
As an application, the Helmholtz relation turns pressure data into an isothermal entropy change. For an ideal gas, , giving
Combining the same relation with yields , which vanishes for an ideal gas and reveals attractive-energy effects for a van der Waals gas. Thermodynamic potentials organize equilibrium constraints, while Maxwell relations convert difficult entropy derivatives into measurable response derivatives.
A thermodynamic potential packages the equilibrium state in variables suited to the imposed constraints. For a simple fluid, has differential . Legendre transforms give , and , with natural variables of a thermodynamic potential , and respectively. At fixed particle number, Helmholtz free energy is minimized at fixed ; Gibbs free energy at fixed .
A flow vessel is an open control volume, even if its walls are enclosed. For each inlet, pressure forces carry flow work in addition to internal energy. The steady first-law balance is
With no heat exchange, shaft work, or significant kinetic and gravitational energy differences, the enthalpy fluxes are equal. Mass flow must also balance. This equality concerns mass-flow-weighted specific enthalpies, not an unweighted sum over pipes.
Use the liquefaction yield with separate warm-gas and liquid outlets. The wording specifies that the outgoing gas is at 14 K; it does not require the outgoing liquid to have that temperature. The two outlet streams need not be in mutual thermal equilibrium. Taking as the printed specific enthalpy, the steady-flow energy balance gives
For fixed outlet enthalpies the greatest yield occurs at the smallest inlet enthalpy. Among the tabulated pressures this is 30 atm. Approximating the atmospheric-pressure gas enthalpy by the tabulated zero-pressure limiting value gives
This uses a low-pressure approximation: atm is not literally the zero-pressure table entry. Linear interpolation to 1 atm would instead give and . The sparse table does not determine an exact continuous optimum between entries.
Atmospheric-pressure liquid helium must be much colder than the 14 K gas outlet: its normal boiling point is about 4.224 K.[ref] A counterflow heat exchanger can return cold gas through the incoming stream before that gas leaves the overall control volume, while the collected liquid leaves separately at the cold end. This is a possible interpretation of the whole apparatus, rather than an extra diagram specified by the question. The enthalpy calculation needs only the stated inlet and outlet properties; it does not assume one equilibrium vessel containing both phases at 14 K. In particular, is an outlet-stream enthalpy difference, not the latent heat of vaporization at one common temperature.
For a fixed amount of a simple compressible system, write the internal energy as . Its exact differential is
Assuming the thermodynamic potential has continuous second partial derivatives, equality of its mixed partial derivatives yields the first Maxwell relation:
For the second Maxwell relation, use the Legendre transform , the enthalpy. Its natural variables are since
Thus and . Equality of the mixed partial derivatives now gives
An statistical ensemble specifies probabilities of microstates under particular macroscopic constraints. It represents statistical information about a system; the reservoir constraints of equilibrium ensembles specify what it can exchange with its surroundings.
The thermodynamic potentials generate mean quantities and response functions. For example, canonical energy variance is . With short-range interactions and stable bulk phases, relative fluctuations usually vanish for large systems and these ensembles give equivalent bulk predictions after matching their mean variables. Finite systems, constraints and long-range interactions require greater care; the ensembles retain different fluctuating variables.[ref]
The fixed common temperature, rigid external container and fixed particle numbers on either side make the total Helmholtz free energy the appropriate thermodynamic potential. Let the barrier have cross-sectional area , and let increasing expand the left compartment. Then and . At fixed temperature and particle number, , so
Thus mechanical equilibrium, , makes stationary. The physical force on the barrier towards increasing is . If the barrier is displaced slightly from , strict mechanical stability requires a restoring force:
Consequently
The Taylor expansion proves that thermodynamic equilibrium is a strict local minimum of the Helmholtz free energy, rather than merely a stationary point.
For individually stable gases, the positive isothermal compressibilities make the sign especially transparent:
If these inequalities hold throughout the accessible interval, is a strictly convex function and an interior stationary point is the unique global minimum of the Helmholtz free energy. Stability at one point alone proves only the local statement. A vanishing restoring derivative describes marginal stability and requires examining higher-order terms.
A phase transition is a qualitative change of thermodynamic phase as control parameters such as temperature, pressure or chemical potential are varied. A genuine equilibrium singularity is a nonanalyticity of the appropriate thermodynamic potential in the thermodynamic limit; finite systems generally show rounded crossovers instead.
An order parameter is a macroscopic quantity that distinguishes the phases. It often vanishes in a symmetric disordered phase and becomes nonzero after spontaneous symmetry breaking, although density-driven transitions need not have that simple symmetry interpretation. It can be a scalar, vector or tensor. At a first-order phase transition an appropriate first derivative of the free energy is discontinuous, and the order parameter commonly jumps; at a continuous phase transition the order parameter can approach zero continuously while a susceptibility or a higher derivative becomes singular.
Three examples are:
These examples also illustrate why an order parameter must reflect the physical distinction between phases rather than merely be any quantity that changes with temperature.
An isolated energy shell gives the microcanonical ensemble; a heat bath fixes for the canonical ensemble; a heat and particle reservoir fixes for the grand canonical ensemble. Constraints determine the allowed fluctuations and which thermodynamic potential is useful.
Thermodynamic free energy Created 2026-10-14 Updated 2026-10-18
A free energy is a thermodynamic potential that compares possible states under specified environmental constraints. For a closed system of fixed composition, treated as a simple compressible system with only pressure-volume work, stable thermodynamic equilibrium minimizes Helmholtz free energy at fixed temperature and volume, or Gibbs free energy at fixed temperature and pressure. The choice follows the experiment: a rigid sealed vessel and a sealed cylinder with a freely moving loaded piston impose different constraints. Both may exchange heat with a thermal reservoir. See W. C. Carter, MIT thermodynamics notes, sections 2-1.14 and 2-1.19.
Figure 1. . Original schematic of two closed vessels in contact with a thermal reservoir. Composition is fixed, and only pressure-volume work is allowed. The right piston permits the volume to change. Details.
The useful insight is that internal energy alone cannot rank these alternatives: exchanging heat also changes the surroundings' entropy. Subtracting packages that accounting into a property of the chosen system. Adding additionally accounts for displacing the surroundings at fixed pressure. A free energy is a state function; supplied heat describes a transfer during a process. Under the stated constraints, supplied heat is at fixed volume or at fixed pressure, whereas neither nor generally equals .
A lower free energy identifies a thermodynamic preference, without specifying a timescale. A barrier can trap a system in a local minimum, producing metastability although a lower global minimum exists. The enzyme example illustrates the corresponding distinction for chemical reactions: changing the route can change the reaction rate while preserving the endpoint Gibbs free energy difference and chemical equilibrium.