Thermodynamic Potentials
Thermodynamic potentials are different coordinate descriptions of the same equilibrium thermodynamics. Each potential replaces one or more extensive variables by the intensive variables imposed by a reservoir. The replacement is a Legendre transform, and it determines both the differential identities and the equilibrium principle appropriate to the experimental controls.
For a simple one-component system, the central relations are
Their natural variables differ:
The subscript on distinguishes the grand potential from symbols sometimes used for microcanonical state counts. All four quantities have units of energy.
This page is the canonical home for the thermodynamic-potential network, its Legendre transforms, natural variables, response derivatives, and stability conditions. The ensemble pages own the construction of the corresponding quantum states, while Partition Functions owns the trace and generating-function machinery. Landau Theory owns constrained or off-shell uniform order-parameter potentials and their polynomial minima.
Microscopic and Thermodynamic Quantities
Section titled “Microscopic and Thermodynamic Quantities”Let be the quantum Hamiltonian and a normalized density operator. The microscopic expectation value of energy is
The von Neumann entropy, with thermodynamic units, is
These formulas apply to finite quantum systems. Thermodynamic potentials become thermodynamic state functions when equilibrium macrostates can be parameterized by variables such as and . The Thermodynamic Limit page explains the scaling assumptions behind that macroscopic description.
The scaling assumptions behind “extensive” and “intensive,” including boundary corrections and failures of additivity, are developed in Extensive and Intensive Quantities.
Two distinctions matter from the beginning:
- is an operator; is an expectation value or thermodynamic state function.
- is defined for any density operator; thermodynamic entropy is its equilibrium use together with specified macroscopic constraints.
The thermodynamic relations below therefore require more than a formal density matrix. They assume an equilibrium family, specified controls, and enough regularity to define the stated derivatives.
Fundamental Thermodynamic Relation
Section titled “Fundamental Thermodynamic Relation”For a simple compressible, one-component system,
This differential defines the intensive variables in the internal-energy representation:
The minus sign in the pressure term follows the convention that positive pressure does positive work when the system expands. If additional work coordinates are present, the fundamental relation acquires terms of the form
with signs fixed by the work convention and by how the Hamiltonian depends on the external controls.
The entropy representation follows by solving locally for :
Thus entropy and internal energy contain the same equilibrium equation of state when the transformation is regular. The choice between them is a choice of natural variables and equilibrium principle, not a choice of different physics.
Why Change Potentials?
Section titled “Why Change Potentials?”An isolated composite system approaches equilibrium by maximizing its total entropy at fixed total energy, volume, and particle number. A subsystem coupled to a large reservoir is controlled by different variables. The reservoir fixes an intensive parameter while the conjugate extensive quantity fluctuates in the subsystem.
For a reservoir,
Conservation across the system–reservoir boundary gives, for each exchanged extensive variable,
To first order in the subsystem exchanges,
Maximizing is therefore equivalent to minimizing the appropriate part of
Which terms appear depends on which exchanges are permitted:
| Environment and fixed controls | Fluctuating subsystem quantity | Equilibrium potential |
|---|---|---|
| isolated: fixed | internal redistribution | maximize |
| thermal: fixed | minimize | |
| thermal and mechanical: fixed | minimize | |
| thermal and particle: fixed | minimize |
The word “minimize” means minimize over states or macrostates compatible with the stated controls. It does not mean that the potential decreases under every arbitrary driven or nonequilibrium protocol.
Legendre Transforms
Section titled “Legendre Transforms”Suppose is differentiable. Replacing by its conjugate gives
evaluated where
The subtraction removes the old differential term and introduces the new term . A pressure transform has a plus sign because the variable conjugate to is :
Here denotes enthalpy. The notation prevents confusion with the Hamiltonian operator .
Each arrow replaces an extensive natural variable by its conjugate intensive variable. The sign of the added term follows the fundamental differential .
For stable equilibrium, it is often safer to formulate the transform variationally:
Likewise,
These are Legendre–Fenchel transforms. When the relevant function is differentiable and has the required convexity, the infimum occurs at the familiar stationary condition and the construction reduces to the ordinary Legendre transform. At a first-order transition, a range of coexisting states can share the same supporting tangent, so derivatives may be discontinuous or set-valued.
The Potential Family
Section titled “The Potential Family”Internal energy
Section titled “Internal energy”The internal energy has natural variables :
with
At fixed , stable equilibrium minimizes against allowed internal variations. The equivalent entropy principle maximizes at fixed .
Enthalpy
Section titled “Enthalpy”Enthalpy is
Its differential is
Its natural variables are . Enthalpy is useful for mechanically open processes at fixed pressure, even though it is less often the primary potential in quantum statistical calculations.
Helmholtz free energy
Section titled “Helmholtz free energy”The Helmholtz free energy is
Its differential is
Its natural variables are . It is the equilibrium potential of the canonical ensemble:
At fixed , the equilibrium canonical state minimizes the Helmholtz free-energy functional.
Gibbs free energy
Section titled “Gibbs free energy”The Gibbs free energy is
Its differential is
Its natural variables are . At fixed temperature, pressure, and particle number, stable equilibrium minimizes .
The Gibbs free energy is not generally . That expression is the Helmholtz free energy because is defined at fixed volume. A fixed-pressure ensemble requires an additional sum or integral over volumes.
Grand potential
Section titled “Grand potential”The grand potential is
Its differential is
Its natural variables are . It is the equilibrium potential of the grand-canonical ensemble:
At fixed , the equilibrium grand-canonical state minimizes the grand-potential functional.
Natural Variables and Equations of State
Section titled “Natural Variables and Equations of State”Once a potential is known as a function of its natural variables, its first derivatives recover the conjugate observables.
For ,
For ,
For ,
Every derivative must state what is held fixed. For example, differentiating with respect to at fixed is not the same operation as differentiating at fixed fugacity .
Quantum Statistical Formulas
Section titled “Quantum Statistical Formulas”Canonical partition function
Section titled “Canonical partition function”For a fixed- Hilbert space ,
The canonical state is
and
For a temperature-independent Hamiltonian,
Using gives
The Canonical Ensemble page develops the state, energy fluctuations, and fixed- examples in detail.
Grand partition function
Section titled “Grand partition function”For a number-conserving Hamiltonian on Fock space,
Then
and
The derivative produces , so the term is required to recover the internal energy. The Grand-Canonical Ensemble page owns the Fock-space construction, fugacity, and number fluctuations.
Fixed-pressure partition function
Section titled “Fixed-pressure partition function”A formal isothermal–isobaric partition function for fixed is
where is a reference volume required to make the integral dimensionless. With this convention,
and
Changing changes by a finite additive convention. For a macroscopic system, the convention is subextensive and the saddle point yields the thermodynamic Gibbs free energy. For confined quantum systems, changing also changes the Hilbert space or boundary conditions, so the family must be specified.
Massieu functions
Section titled “Massieu functions”Logarithms of partition functions are dimensionless thermodynamic potentials:
These are often called Massieu functions or Massieu–Planck potentials. They are especially convenient because derivatives with respect to dimensionless sources generate cumulants directly. Their generating role is developed on Partition Functions.
Free-Energy Variational Principles
Section titled “Free-Energy Variational Principles”Define the quantum relative entropy
For the canonical Gibbs state ,
satisfies
Thus the Gibbs state is the unique minimizer when the relative entropy is finite and the equilibrium state has full support on the relevant space.
In the grand-canonical setting, define
Then
This identity is the microscopic quantum form of the thermodynamic minimum principle. Relative Entropy owns the mathematical properties of .
Pressure
Section titled “Pressure”Pressure is the generalized force conjugate to volume. In the canonical representation,
If the Hamiltonian depends smoothly on a geometric parameter , the parameter-derivative identity gives
so
This compact formula hides geometric choices. One must specify how the boundary, metric, couplings, and ultraviolet regulator change with . In a lattice system, for example, changing the number of sites is not an infinitesimal deformation of a fixed Hilbert space.
In the grand-canonical representation,
For a homogeneous extensive phase in the thermodynamic limit,
Surface terms, traps, interfaces, long-range interactions, and finite-size corrections can invalidate the simple identity even though the derivative definition remains meaningful.
Chemical Potential
Section titled “Chemical Potential”The chemical potential is conjugate to particle number:
In a finite quantum system, is integer-valued. Addition and removal chemical potentials are then finite differences:
They can differ across a finite-size or many-body gap. A smooth derivative emerges after an interpolation or in an appropriate thermodynamic limit.
In the grand-canonical ensemble, is a reservoir parameter and Lagrange multiplier. It controls the probability distribution over exact number sectors; it is not generally equal to a one-particle energy. Chemical Potential owns its finite-system, fermionic, bosonic, electrochemical, and sign-convention subtleties.
Entropy from Potentials
Section titled “Entropy from Potentials”For canonical equilibrium,
For grand-canonical equilibrium,
For a microcanonical equilibrium family, entropy is primary and determines the intensive variables through
The Microcanonical Ensemble owns energy-shell definitions and finite-system entropy conventions. Entropy Overview distinguishes von Neumann entropy from purity and classical uncertainty. Entropy in Quantum Statistical Mechanics owns the systematic comparison among thermal, microcanonical, entanglement, and coarse-grained entropies.
Extensivity and Euler Relation
Section titled “Extensivity and Euler Relation”Suppose the internal energy is first-order homogeneous in its extensive variables:
Euler’s theorem then gives
Consequently,
These are Euler relations for a homogeneous, one-component, extensive phase. They are not definitions valid for every finite or inhomogeneous system.
For several conserved species,
and extensivity gives
Therefore
Gibbs–Duhem Relation
Section titled “Gibbs–Duhem Relation”Differentiate the Euler relation:
Subtracting the fundamental relation leaves
This is the Gibbs–Duhem relation. It shows that and are not independent for a homogeneous one-component equilibrium phase.
Writing entropy and volume per particle as
gives
For multiple species,
Maxwell Relations
Section titled “Maxwell Relations”Mixed partial derivatives of a smooth thermodynamic potential commute. From
one obtains
and
From ,
From ,
and
Maxwell relations are consistency conditions and computational tools. They are valid only where the potential is differentiable and the same variables are held fixed on both sides.
Curvature and Stability
Section titled “Curvature and Stability”Thermodynamic stability constrains second derivatives. At fixed ,
where
Thus is concave in temperature for a stable canonical system.
The isothermal compressibility is
Mechanical stability requires , so
Particle-number stability similarly requires
in a stable single phase.
Grand-canonically,
The final equality assumes . It links thermodynamic concavity to a nonnegative quantum fluctuation. More general sources require the Kubo–Mori treatment developed in Fluctuations and Susceptibilities.
A potential can be concave in some natural variables and convex in others. Saying simply that “free energy is convex” is incomplete unless the variables are named.
Phase Coexistence
Section titled “Phase Coexistence”For a homogeneous one-component phase,
Two phases and coexist when their chemical potentials are equal at the same and :
For each phase,
Differentiating the coexistence condition along the coexistence curve gives the Clapeyron equation:
where is the latent heat per particle. The relation fails at points where the simple two-phase description or the required derivatives cease to apply.
At finite size, partition functions are typically analytic and the transition is rounded. Nondifferentiable thermodynamic potentials emerge only after an appropriate large-system limit. Finite-Temperature Phase Transitions develops this nonanalytic limit, the distinction between first-order and continuous transitions, and the finite-size evidence for each.
Example: A Spin in a Magnetic Field
Section titled “Example: A Spin in a Magnetic Field”Consider a two-level magnetic moment with
The energies are and , so
The Helmholtz free energy is
The magnetic moment conjugate to is
The internal energy is
and the entropy is
At , both levels are equally populated and . At fixed nonzero , the limit selects the lower level and .
The isothermal susceptibility is a curvature of the free energy:
This is the generalized-coordinate version of the relations between compressibility, number susceptibility, and potential curvature.
Finite Systems and Exact Transforms
Section titled “Finite Systems and Exact Transforms”Thermodynamic Legendre transforms often arise as large-system limits of exact Laplace transforms.
The grand partition function is exactly
Therefore
For a macroscopic system, the logarithm is often dominated by a narrow range of , giving
up to subextensive corrections. At finite size, the log-sum-exp is smooth and need not equal the minimum.
Similarly, using a density of states ,
becomes, when has exponential thermodynamic scaling,
The saddle point then gives
If the entropy is not concave, the canonical transform can recover only its concave envelope. This is one route to ensemble nonequivalence in systems with long-range interactions or other failures of ordinary additivity. Such statements concern thermodynamic limits; they should not be inferred from a finite analytic partition function alone. Ensemble Equivalence owns the supporting-line and large-deviation criteria.
Generalized Work Coordinates
Section titled “Generalized Work Coordinates”Let the Hamiltonian depend on a control parameter :
For a canonical Gibbs state,
If the generalized force is defined by
then
Examples include magnetization conjugate to magnetic field, polarization conjugate to electric field, and stress conjugate to strain. Electromagnetic and elastic work conventions differ across subfields, so the Hamiltonian coupling should determine the sign.
Practical Workflow
Section titled “Practical Workflow”For a new equilibrium problem:
- List the exchanges. Decide whether energy, volume, particles, or another extensive quantity crosses the system boundary.
- Identify the controls. Record which of and external fields are fixed.
- Choose the natural potential. Match the controls to or .
- Specify the trace space. Use a fixed- Hilbert space for and Fock space for .
- Write the potential from the partition function. Keep distinct from .
- Differentiate at fixed natural variables. State every held-fixed condition.
- Check stability. Test heat capacity, compressibility, number susceptibility, or the appropriate Hessian.
- Check scaling. Use Euler relations such as only after verifying extensivity and homogeneity.
- Check finite-size conventions. Replace smooth derivatives by finite differences when necessary, and retain surface terms when they matter.
Canonical Boundaries
Section titled “Canonical Boundaries”This page owns:
- the systematic relation among and ;
- natural variables and Legendre transforms;
- the reservoir logic selecting a potential;
- Euler, Gibbs–Duhem, Maxwell, and curvature identities;
- the distinction between exact finite-system sums and thermodynamic Legendre transforms.
Other pages own:
- quantum state construction and ensemble choice: Statistical Ensembles Overview;
- entropy maximization and the dual multiplier construction: Maximum Entropy Principle;
- fixed- Gibbs states and energy fluctuations: Canonical Ensemble;
- particle exchange and number fluctuations: Grand-Canonical Ensemble;
- static response matrices and their fluctuation representation: Fluctuations and Susceptibilities;
- trace formulas, factorization, and cumulant generation: Partition Functions;
- energy shells and microcanonical entropy conventions: Microcanonical Ensemble;
- operational heat, work, and entropy production: Energy, Heat, and Work.
Common Mistakes
Section titled “Common Mistakes”Using the wrong natural variables
Section titled “Using the wrong natural variables”is natural at fixed ; is natural at fixed ; is natural at fixed . A derivative taken while holding the wrong variables fixed computes a different response.
Calling every free energy the Gibbs free energy
Section titled “Calling every free energy the Gibbs free energy”is the Helmholtz free energy. Gibbs free energy requires fixed pressure and includes .
Forgetting the pressure sign
Section titled “Forgetting the pressure sign”The fundamental relation contains , so . Enthalpy and Gibbs free energy contain .
Confusing the Hamiltonian with enthalpy
Section titled “Confusing the Hamiltonian with enthalpy”Both are often denoted . Here is the quantum Hamiltonian and is enthalpy.
Applying Ω = −PV to every system
Section titled “Applying Ω = −PV to every system”The identity requires a homogeneous extensive phase in the thermodynamic limit. Traps, surfaces, interfaces, and long-range interactions can add corrections.
Treating finite particle number as continuous
Section titled “Treating finite particle number as continuous”For finite , chemical potentials are naturally addition and removal differences. A smooth derivative is a macroscopic approximation or interpolation.
Replacing a finite log-sum-exp by a minimum
Section titled “Replacing a finite log-sum-exp by a minimum”The grand potential is exactly a logarithm of a sum over sectors. The Legendre minimum is a dominant-sector approximation in an appropriate large-system limit.
Assuming all curvatures have the same sign
Section titled “Assuming all curvatures have the same sign”is concave in but convex in stable mechanical extensive variables such as . Curvature statements must name the variable.
Imposing equilibrium monotonicity on a driven process
Section titled “Imposing equilibrium monotonicity on a driven process”Minimum principles compare equilibrium candidates under fixed reservoir controls. Nonequilibrium work protocols require additional definitions and inequalities.
Exercises
Section titled “Exercises”Reconstruct the potential differentials
Section titled “Reconstruct the potential differentials”Starting from
derive the differentials of , , , and . Identify the natural variables of each potential.
Solution
For enthalpy,
so
Its natural variables are .
For Helmholtz free energy,
and therefore
Its natural variables are .
For Gibbs free energy,
which gives
Its natural variables are .
Finally,
so
Its natural variables are .
Prove the canonical variational identity
Section titled “Prove the canonical variational identity”Let
Show that
Solution
The Gibbs state satisfies
Hence
Multiply by and use
and
This gives
Since relative entropy is nonnegative, minimizes the free-energy functional.
Magnetic two-level system
Section titled “Magnetic two-level system”For
derive , , and . Check the limits and .
Solution
The two energies are , so
Therefore
The conjugate magnetic moment is
Differentiating again,
For weak field,
which is the Curie-law response of one independent moment. At fixed nonzero and ,
while away from because the ground state is saturated.
Maxwell relation and thermal expansion
Section titled “Maxwell relation and thermal expansion”Use to prove
Express the right-hand side using the thermal expansion coefficient
Solution
From
we have
Commuting the mixed derivatives gives
Therefore
A material that expands on heating at fixed pressure has entropy that decreases with increasing pressure at fixed temperature.
Gibbs–Duhem and Clapeyron
Section titled “Gibbs–Duhem and Clapeyron”Assume is first-order homogeneous. Derive the Gibbs–Duhem relation and then derive the Clapeyron equation for coexistence between phases and .
Solution
Euler’s theorem gives
Differentiating,
Comparison with the fundamental relation leaves
Dividing by gives
Along coexistence,
Their differentials must also agree:
Rearranging gives
Since the latent heat per particle is
the result is
Finite-sector transform
Section titled “Finite-sector transform”Suppose only the sectors and are available, with
Compute , , and . Compare the exact grand potential with the Legendre minimum of .
Solution
The sector sum is
Therefore
The mean occupation is
The two values of are
Their minimum is
At finite temperature, the exact is a smooth log-sum-exp and lies below or equal to this minimum. In the limit ,
while approaches a step function, with a degeneracy at .
Cross-Links
Section titled “Cross-Links”- Statistical Ensembles Overview
- Microcanonical Ensemble
- Thermal Density Operators
- Canonical Ensemble
- Grand-Canonical Ensemble
- Partition Functions
- Entropy in Quantum Statistical Mechanics
- Maximum Entropy Principle
- Chemical Potential
- Ensemble Equivalence
- Thermodynamic Limit
- Ensemble Formula Sheet
- Relative Entropy
- Entropy Overview
- Energy, Heat, and Work
References
Section titled “References”- H. B. Callen, Thermodynamics and an Introduction to Thermostatistics, 2nd ed., Wiley (1985), chapters 1–8.
- R. K. Pathria and P. D. Beale, Statistical Mechanics, 4th ed., Elsevier (2021), chapters 2–5.
- M. Kardar, Statistical Physics of Particles, Cambridge University Press (2007), chapters 1, 4, and 6.
- L. D. Landau and E. M. Lifshitz, Statistical Physics, Part 1, 3rd ed., Butterworth–Heinemann (1980), sections 13–24 and 31–36.
- T. L. Hill, Thermodynamics of Small Systems, Dover (1994), parts I and II.
- H. Touchette, “The Large Deviation Approach to Statistical Mechanics”, Physics Reports 478, 1–69 (2009).
- R. Balian, From Microphysics to Macrophysics, Volume I, Springer (1991), chapters 4–7.