Skip to content

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

F=U−TS,G=U−TS+PV,ΩG=U−TS−μN.\begin{aligned} F &= U-TS, \\ G &= U-TS+PV, \\ \Omega_{\mathrm G} &= U-TS-\mu N. \end{aligned}

Their natural variables differ:

U=U(S,V,N),F=F(T,V,N),G=G(T,P,N),ΩG=ΩG(T,V,μ).\begin{aligned} U &= U(S,V,N), \\ F &= F(T,V,N), \\ G &= G(T,P,N), \\ \Omega_{\mathrm G} &= \Omega_{\mathrm G}(T,V,\mu). \end{aligned}

The subscript on ΩG\Omega_{\mathrm G} distinguishes the grand potential from symbols sometimes used for microcanonical state counts. All four quantities have units of energy.

Assume positive temperature and equilibrium throughout the minimum and curvature statements below. The algebraic thermodynamic relations use a smooth macroscopic equation of state; exact finite-system partition sums require the qualifications given below. In the grand-canonical expressions, NN denotes the mean number. For a potential constrained by an order parameter, see Landau theory.

Helpful background. The canonical and grand-canonical ensembles supply the states whose energy, entropy, and number appear here.

Energy and entropy in an equilibrium family

Section titled “Energy and entropy in an equilibrium family”

Let H^\hat H be the quantum Hamiltonian and ρ\rho a normalized density operator. The microscopic expectation value of energy is

U=Tr⁡(ρH^).U = \operatorname{Tr}(\rho\hat H).

The von Neumann entropy, with thermodynamic units, is

S(ρ)=−kBTr⁡(ρln⁡ρ).S(\rho) = -k_{\mathrm B} \operatorname{Tr} \left( \rho\ln\rho \right).

These formulas apply to finite quantum systems. Thermodynamic potentials become thermodynamic state functions when equilibrium macrostates can be parameterized by variables such as S,V,N,T,P,S,V,N,T,P, and μ\mu. 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:

  • H^\hat H is an operator; UU is an expectation value or thermodynamic state function.
  • S(ρ)S(\rho) 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.

For a simple compressible, one-component system,

dU=T dS−P dV+μ dN.dU = T\,dS - P\,dV + \mu\,dN.

This differential defines the intensive variables in the internal-energy representation:

T=(∂U∂S)V,N,P=−(∂U∂V)S,N,μ=(∂U∂N)S,V.\begin{aligned} T &= \left( \frac{\partial U}{\partial S} \right)_{V,N}, \\ P &= - \left( \frac{\partial U}{\partial V} \right)_{S,N}, \\ \mu &= \left( \frac{\partial U}{\partial N} \right)_{S,V}. \end{aligned}

The minus sign in the pressure term follows the convention that positive pressure does positive work when the system expands. If additional work coordinates XaX_a are present, the fundamental relation acquires terms of the form

∑aYa dXa,\sum_a Y_a\,dX_a,

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 S=S(U,V,N)S=S(U,V,N):

dS=1T dU+PT dV−μT dN.dS = \frac{1}{T}\,dU + \frac{P}{T}\,dV - \frac{\mu}{T}\,dN.

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.

The equilibrium entropy principle compares macrostates at fixed total energy, volume, and particle number. It does not itself prove that an isolated system dynamically approaches the maximizing state. 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,

dSR=1TR dUR+PRTR dVR−μRTR dNR.dS_{\mathrm R} = \frac{1}{T_{\mathrm R}}\,dU_{\mathrm R} + \frac{P_{\mathrm R}}{T_{\mathrm R}}\,dV_{\mathrm R} - \frac{\mu_{\mathrm R}}{T_{\mathrm R}}\,dN_{\mathrm R}.

Conservation across the system–reservoir boundary gives, for each exchanged extensive variable,

dUR=−dU,dVR=−dV,dNR=−dN.dU_{\mathrm R}=-dU, \qquad dV_{\mathrm R}=-dV, \qquad dN_{\mathrm R}=-dN.

To first order in the subsystem exchanges,

Stot=constant+S−UTR−PRVTR+μRNTR.S_{\mathrm{tot}} = \text{constant} + S - \frac{U}{T_{\mathrm R}} - \frac{P_{\mathrm R}V}{T_{\mathrm R}} + \frac{\mu_{\mathrm R}N}{T_{\mathrm R}}.

Maximizing StotS_{\mathrm{tot}} is therefore equivalent to minimizing the appropriate part of

U−TRS+PRV−μRN.U - T_{\mathrm R}S + P_{\mathrm R}V - \mu_{\mathrm R}N.

Which terms appear depends on which exchanges are permitted:

Environment and fixed controls Fluctuating subsystem quantity Equilibrium potential
isolated: U,V,NU,V,N fixed internal redistribution maximize SS
thermal: T,V,NT,V,N fixed UU minimize F=U−TSF=U-TS
thermal and mechanical: T,P,NT,P,N fixed U,VU,V minimize G=U−TS+PVG=U-TS+PV
thermal and particle: T,V,μT,V,\mu fixed U,NU,N minimize ΩG=U−TS−μN\Omega_{\mathrm G}=U-TS-\mu N

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.

Suppose U=U(S,V,N)U=U(S,V,N) is differentiable. Replacing SS by its conjugate TT gives

F(T,V,N)=U−TS,F(T,V,N) = U-TS,

evaluated where

T=(∂U∂S)V,N.T = \left( \frac{\partial U}{\partial S} \right)_{V,N}.

The subtraction removes the old differential term T dST\,dS and introduces the new term −S dT-S\,dT. A pressure transform has a plus sign because the variable conjugate to VV is −P-P:

Hth=U+PV.H_{\mathrm{th}} = U+PV.

Here HthH_{\mathrm{th}} denotes enthalpy. The notation prevents confusion with the Hamiltonian operator H^\hat H.

Legendre-transform map connecting internal energy, enthalpy, Helmholtz and Gibbs free energies, and the grand potential

Each arrow replaces an extensive natural variable by its conjugate intensive variable. The sign of the added term follows the fundamental differential dU=T dS−P dV+μ dNdU=T\,dS-P\,dV+\mu\,dN.

For the macroscopic equilibrium equation of state, it is often safer to formulate the transform variationally:

F(T,V,N)=inf⁡S[U(S,V,N)−TS].F(T,V,N) = \inf_S \left[ U(S,V,N)-TS \right].

Likewise,

G(T,P,N)=inf⁡V[F(T,V,N)+PV],ΩG(T,V,μ)=inf⁡N[F(T,V,N)−μN].\begin{aligned} G(T,P,N) &= \inf_V \left[ F(T,V,N)+PV \right], \\ \Omega_{\mathrm G}(T,V,\mu) &= \inf_N \left[ F(T,V,N)-\mu N \right]. \end{aligned}

These are Legendre–Fenchel transforms of the thermodynamic functions. In particular, the transform over particle number is not an exact replacement for a finite grand-canonical sector sum; the section on exact transforms below makes the distinction explicit. 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.

Each differential can be checked by differentiating the definition and substituting dU=T dS−P dV+μ dNdU=T\,dS-P\,dV+\mu\,dN. For example, d(U−TS)=dU−T dS−S dTd(U-TS)=dU-T\,dS-S\,dT cancels the dSdS term and makes TT a natural variable.

Potential Definition Differential
Internal energy UU T dS−P dV+μ dNT\,dS-P\,dV+\mu\,dN
Enthalpy Hth=U+PVH_{\mathrm{th}}=U+PV T dS+V dP+μ dNT\,dS+V\,dP+\mu\,dN
Helmholtz free energy F=U−TSF=U-TS −S dT−P dV+μ dN-S\,dT-P\,dV+\mu\,dN
Gibbs free energy G=F+PVG=F+PV −S dT+V dP+μ dN-S\,dT+V\,dP+\mu\,dN
Grand potential ΩG=U−TS−μN\Omega_{\mathrm G}=U-TS-\mu N −S dT−P dV−N dμ-S\,dT-P\,dV-N\,d\mu

The variables being differentiated in the last column are the natural variables. Thus GG is a function of T,P,NT,P,N, while FF is a function of T,V,NT,V,N. Although both are called free energies, −kBTln⁡ZN-k_{\mathrm B}T\ln Z_N at fixed volume gives FF. A pressure-controlled ensemble also sums over volumes.

Once a potential is known as a function of its natural variables, its first derivatives recover the conjugate observables.

For F(T,V,N)F(T,V,N),

S=−(∂F∂T)V,N,P=−(∂F∂V)T,N,μ=(∂F∂N)T,V.\begin{aligned} S &= - \left( \frac{\partial F}{\partial T} \right)_{V,N}, \\ P &= - \left( \frac{\partial F}{\partial V} \right)_{T,N}, \\ \mu &= \left( \frac{\partial F}{\partial N} \right)_{T,V}. \end{aligned}

For G(T,P,N)G(T,P,N),

S=−(∂G∂T)P,N,V=(∂G∂P)T,N,μ=(∂G∂N)T,P.\begin{aligned} S &= - \left( \frac{\partial G}{\partial T} \right)_{P,N}, \\ V &= \left( \frac{\partial G}{\partial P} \right)_{T,N}, \\ \mu &= \left( \frac{\partial G}{\partial N} \right)_{T,P}. \end{aligned}

For ΩG(T,V,μ)\Omega_{\mathrm G}(T,V,\mu),

S=−(∂ΩG∂T)V,μ,P=−(∂ΩG∂V)T,μ,N=−(∂ΩG∂μ)T,V.\begin{aligned} S &= - \left( \frac{\partial\Omega_{\mathrm G}}{\partial T} \right)_{V,\mu}, \\ P &= - \left( \frac{\partial\Omega_{\mathrm G}}{\partial V} \right)_{T,\mu}, \\ N &= - \left( \frac{\partial\Omega_{\mathrm G}}{\partial\mu} \right)_{T,V}. \end{aligned}

Every derivative must state what is held fixed. For example, differentiating with respect to TT at fixed μ\mu is not the same operation as differentiating at fixed fugacity z=eβμz=e^{\beta\mu}.

The canonical ensemble gives F=−kBTln⁡ZNF=-k_{\mathrm B}T\ln Z_N with a trace over the fixed-number space. The grand-canonical ensemble gives ΩG=−kBTln⁡Ξ\Omega_{\mathrm G}=-k_{\mathrm B}T\ln\Xi with a sum over number sectors. Their logarithms are dimensionless Massieu functions; partition functions develops their cumulants.

A formal isothermal–isobaric partition function for fixed NN is

ΔN(β,P)=1V0∫0∞dV e−βPVZN(β,V),\Delta_N(\beta,P) = \frac{1}{V_0} \int_0^\infty dV\, e^{-\beta PV} Z_N(\beta,V),

where V0V_0 is a reference volume required to make the integral dimensionless. With this convention,

GΔ=−kBTln⁡ΔN,G_\Delta = -k_{\mathrm B}T \ln\Delta_N,

and

(∂GΔ∂P)T,N=⟨V⟩.\left( \frac{\partial G_\Delta}{\partial P} \right)_{T,N} = \langle V\rangle.

Changing V0V_0 to cV0cV_0 adds kBTln⁡ck_{\mathrm B}T\ln c to GΔG_\Delta and shifts its temperature-derived entropy by −kBln⁡c-k_{\mathrm B}\ln c. It leaves pressure-derived ⟨V⟩\langle V\rangle unchanged when cc is constant. For a macroscopic system, the convention is subextensive and the saddle point yields the thermodynamic Gibbs free energy. For confined quantum systems, changing VV also changes the Hilbert space or boundary conditions, so the family H^(V)\hat H(V) must be specified.

The state variational principles are exact even for a finite system. If ρN,β\rho_{N,\beta} is the Gibbs state on the fixed-number space, then

FT[ρ]−F=kBTD(ρ∥ρN,β)≥0,FT[ρ]=Tr⁡(ρH^N)−TS(ρ).\mathcal F_T[\rho]-F =k_{\mathrm B}T D(\rho\Vert\rho_{N,\beta})\geq0, \qquad \mathcal F_T[\rho]=\operatorname{Tr}(\rho\hat H_N)-TS(\rho).

In the grand-canonical space the same identity reads

WT,μ[ρ]−ΩG=kBTD(ρ∥ρβ,μ)≥0,\mathcal W_{T,\mu}[\rho]-\Omega_{\mathrm G} =k_{\mathrm B}T D(\rho\Vert\rho_{\beta,\mu})\geq0,

where WT,μ=Tr⁡[ρ(H^−μN^)]−TS(ρ)\mathcal W_{T,\mu}=\operatorname{Tr}[\rho(\hat H-\mu\hat N)]-TS(\rho). Nonnegativity of relative entropy makes the Gibbs state the unique minimizer when these quantities are finite. The first identity is proved in an exercise below. At a normalizable negative temperature the identities remain true, but the inequalities reverse.

The grand-state expression U−TSU-TS uses the entropy of its mixture over number sectors. It is generally not the canonical FNF_N evaluated at the possibly noninteger mean NN. This distinction explains why the exact state minimum and the approximate macroscopic sector minimum are compatible.

Pressure is the generalized force conjugate to volume. In the canonical representation,

P=−(∂F∂V)T,N.P = - \left( \frac{\partial F}{\partial V} \right)_{T,N}.

If the Hamiltonian depends smoothly on a geometric parameter VV, the parameter-derivative identity gives

(∂F∂V)T,N=⟨∂H^∂V⟩,\left( \frac{\partial F}{\partial V} \right)_{T,N} = \left\langle \frac{\partial\hat H}{\partial V} \right\rangle,

so

P=−⟨∂H^∂V⟩.P = - \left\langle \frac{\partial\hat H}{\partial V} \right\rangle.

This compact formula hides geometric choices. One must specify how the boundary, metric, couplings, and ultraviolet regulator change with VV. 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,

P=−(∂ΩG∂V)T,μ.P = - \left( \frac{\partial\Omega_{\mathrm G}}{\partial V} \right)_{T,\mu}.

For a homogeneous extensive phase in the thermodynamic limit,

ΩG=−PV.\Omega_{\mathrm G} = -PV.

Surface terms, traps, interfaces, long-range interactions, and finite-size corrections can invalidate the simple identity even though the derivative definition remains meaningful.

In macroscopic thermodynamics μ=(∂F/∂N)T,V\mu=(\partial F/\partial N)_{T,V}. In a finite system, compare exact sectors through μ+=FN+1−FN\mu_+=F_{N+1}-F_N and μ−=FN−FN−1\mu_-=F_N-F_{N-1}. These can differ. The interval between them tests stability against neighboring sectors; global stability additionally requires comparison with every allowed sector, or discrete convexity. See chemical potential for the full condition and a counterexample.

Suppose the internal energy is first-order homogeneous in its extensive variables:

U(λS,λV,λN)=λU(S,V,N).U(\lambda S,\lambda V,\lambda N) = \lambda U(S,V,N).

Euler’s theorem then gives

U=TS−PV+μN.U = TS - PV + \mu N.

Consequently,

F=−PV+μN,G=μN,ΩG=−PV.\begin{aligned} F &= -PV+\mu N, \\ G &= \mu N, \\ \Omega_{\mathrm G} &= -PV. \end{aligned}

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,

dU=T dS−P dV+∑aμa dNa,dU = T\,dS - P\,dV + \sum_a \mu_a\,dN_a,

and extensivity gives

U=TS−PV+∑aμaNa.U = TS-PV + \sum_a \mu_a N_a.

Therefore

G=∑aμaNa.G = \sum_a \mu_aN_a.

Differentiate the Euler relation:

dU=T dS+S dT−P dV−V dP+μ dN+N dμ.dU = T\,dS + S\,dT - P\,dV - V\,dP + \mu\,dN + N\,d\mu.

Subtracting the fundamental relation leaves

S dT−V dP+N dμ=0.S\,dT - V\,dP + N\,d\mu = 0.

This is the Gibbs–Duhem relation. It shows that T,P,T,P, and μ\mu are not independent for a homogeneous one-component equilibrium phase.

Writing entropy and volume per particle as

s=SN,v=VN,s=\frac{S}{N}, \qquad v=\frac{V}{N},

gives

dμ=−s dT+v dP.d\mu = -s\,dT + v\,dP.

For multiple species,

S dT−V dP+∑aNa dμa=0.S\,dT - V\,dP + \sum_a N_a\,d\mu_a = 0.

Mixed partial derivatives of a smooth thermodynamic potential commute. From

dF=−S dT−P dV+μ dN,dF = -S\,dT-P\,dV+\mu\,dN,

one obtains

(∂S∂V)T,N=(∂P∂T)V,N,\left( \frac{\partial S}{\partial V} \right)_{T,N} = \left( \frac{\partial P}{\partial T} \right)_{V,N}, (∂S∂N)T,V=−(∂μ∂T)V,N,\left( \frac{\partial S}{\partial N} \right)_{T,V} = - \left( \frac{\partial\mu}{\partial T} \right)_{V,N},

and

(∂P∂N)T,V=−(∂μ∂V)T,N.\left( \frac{\partial P}{\partial N} \right)_{T,V} = - \left( \frac{\partial\mu}{\partial V} \right)_{T,N}.

From G(T,P,N)G(T,P,N),

(∂S∂P)T,N=−(∂V∂T)P,N.\left( \frac{\partial S}{\partial P} \right)_{T,N} = - \left( \frac{\partial V}{\partial T} \right)_{P,N}.

From ΩG(T,V,μ)\Omega_{\mathrm G}(T,V,\mu),

(∂S∂μ)T,V=(∂N∂T)V,μ,\left( \frac{\partial S}{\partial\mu} \right)_{T,V} = \left( \frac{\partial N}{\partial T} \right)_{V,\mu},

and

(∂P∂μ)T,V=(∂N∂V)T,μ.\left( \frac{\partial P}{\partial\mu} \right)_{T,V} = \left( \frac{\partial N}{\partial V} \right)_{T,\mu}.

Maxwell relations are consistency conditions and computational tools. They are valid only where the potential is differentiable and the appropriate remaining natural variables are held fixed on each side. The differentiation variable itself changes sides; for example, (∂S/∂V)T,N=(∂P/∂T)V,N(\partial S/\partial V)_{T,N}=(\partial P/\partial T)_{V,N}.

Thermodynamic stability constrains second derivatives. At fixed V,NV,N,

(∂2F∂T2)V,N=−CV,NT≤0,\left( \frac{\partial^2F}{\partial T^2} \right)_{V,N} = - \frac{C_{V,N}}{T} \leq 0,

where

CV,N=T(∂S∂T)V,N.C_{V,N} = T \left( \frac{\partial S}{\partial T} \right)_{V,N}.

Thus FF is concave in temperature for a stable canonical system.

The isothermal compressibility is

κT=−1V(∂V∂P)T,N.\kappa_T = - \frac{1}{V} \left( \frac{\partial V}{\partial P} \right)_{T,N}.

For a smooth mechanically stable branch with 0<κT<∞0<\kappa_T<\infty,

(∂2F∂V2)T,N=−(∂P∂V)T,N=1VκT≥0.\left( \frac{\partial^2F}{\partial V^2} \right)_{T,N} = - \left( \frac{\partial P}{\partial V} \right)_{T,N} = \frac{1}{V\kappa_T} \geq 0.

Particle-number stability similarly requires

(∂μ∂N)T,V≥0\left( \frac{\partial\mu}{\partial N} \right)_{T,V} \geq 0

in a stable single phase.

Grand-canonically,

(∂2ΩG∂μ2)T,V=−(∂N∂μ)T,V=−βVar⁡(N^)≤0.\left( \frac{\partial^2\Omega_{\mathrm G}} {\partial\mu^2} \right)_{T,V} = - \left( \frac{\partial N}{\partial\mu} \right)_{T,V} = -\beta \operatorname{Var}(\hat N) \leq 0.

The final equality assumes [H^,N^]=0[\hat H,\hat N]=0. It links thermodynamic concavity to a nonnegative quantum fluctuation. More general sources require the Kubo–Mori treatment developed in Fluctuations and Susceptibilities.

Divergent compressibility or constrained zero response needs a limiting treatment rather than literal division by κT\kappa_T. With several coupled extensive variables, nonnegative diagonal curvatures alone are not sufficient: the full stability Hessian must be positive semidefinite. 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.

For a homogeneous one-component phase,

G=μN.G=\mu N.

Two phases aa and bb coexist when their chemical potentials are equal at the same TT and PP:

μa(T,P)=μb(T,P).\mu_a(T,P) = \mu_b(T,P).

For each phase,

dμ=−s dT+v dP.d\mu = -s\,dT + v\,dP.

Differentiating the coexistence condition along the coexistence curve gives the Clapeyron equation:

dPdT=sb−savb−va=LT(vb−va),\frac{dP}{dT} = \frac{s_b-s_a}{v_b-v_a} = \frac{L}{T(v_b-v_a)},

where L=T(sb−sa)L=T(s_b-s_a) 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 signatures of each.

Consider a two-level magnetic moment with

H^(B)=−mB σz.\hat H(B) = -mB\,\sigma_z.

The energies are −mB-mB and +mB+mB, so

Z=2cosh⁡(βmB).Z = 2\cosh(\beta mB).

The Helmholtz free energy is

F(T,B)=−kBTln⁡[2cosh⁡(βmB)].F(T,B) = -k_{\mathrm B}T \ln \left[ 2\cosh(\beta mB) \right].

The magnetic moment conjugate to BB is

M=−(∂F∂B)T=mtanh⁡(βmB).M = - \left( \frac{\partial F}{\partial B} \right)_T = m\tanh(\beta mB).

The internal energy is

U=−mBtanh⁡(βmB),U = -mB \tanh(\beta mB),

and the entropy is

S=kB[ln⁡(2cosh⁡x)−xtanh⁡x],x=βmB.S = k_{\mathrm B} \left[ \ln \left( 2\cosh x \right) - x\tanh x \right], \qquad x=\beta mB.

At B=0B=0, both levels are equally populated and S=kBln⁡2S=k_{\mathrm B}\ln2. At fixed nonzero BB, the limit T→0+T\to0^+ selects the lower level and S→0S\to0.

The isothermal susceptibility is a curvature of the free energy:

χT=(∂M∂B)T=βm2sech⁡2(βmB)≥0.\chi_T = \left( \frac{\partial M}{\partial B} \right)_T = \beta m^2 \operatorname{sech}^2(\beta mB) \geq 0.

This is the generalized-coordinate version of the relations between compressibility, number susceptibility, and potential curvature.

Thermodynamic Legendre transforms often arise as large-system limits of exact Laplace transforms.

The grand partition function is exactly

Ξ(β,μ)=∑N=0∞exp⁡[−β(FN−μN)].\Xi(\beta,\mu) = \sum_{N=0}^{\infty} \exp \left[ -\beta \left( F_N-\mu N \right) \right].

Therefore

ΩG=−kBTln⁡∑Ne−β(FN−μN).\Omega_{\mathrm G} = -k_{\mathrm B}T \ln \sum_N e^{-\beta(F_N-\mu N)}.

For a macroscopic system, the logarithm is often dominated by a narrow range of NN, giving

ΩG≃inf⁡N(FN−μN)\Omega_{\mathrm G} \simeq \inf_N \left( F_N-\mu N \right)

up to subextensive corrections. At finite size, the log-sum-exp need not equal the minimum. If there are MM allowed sectors and ϕmin⁡=min⁡N(FN−μN)\phi_{\min}=\min_N(F_N-\mu N), then

ϕmin⁡−kBTln⁡M≤ΩG≤ϕmin⁡.\phi_{\min}-k_{\mathrm B}T\ln M \leq\Omega_{\mathrm G}\leq\phi_{\min}.

Thus a subexponential number of sectors contributes at most a subextensive correction. For infinitely many sectors a separate bound on their convergent weight sum is needed. Analyticity requires a finite-dimensional trace or adequate uniform convergence, not merely the label “finite system.”

Similarly, using a density of states g(E)g(E),

Z(β)=∫dE g(E)e−βEZ(\beta) = \int dE\, g(E)e^{-\beta E}

becomes, when g(E)g(E) has exponential thermodynamic scaling,

Z(β)∼∫dE exp⁡[S(E)kB−βE].Z(\beta) \sim \int dE\, \exp \left[ \frac{S(E)}{k_{\mathrm B}} - \beta E \right].

The saddle point then gives

F(T)≃inf⁡E[E−TS(E)].F(T) \simeq \inf_E \left[ E-TS(E) \right].

Here g(E)g(E) has units of inverse energy; the schematic exponential omits a fixed reference-energy factor, as explained in the canonical density-of-states calculation. If the entropy is not concave, transforming to the canonical potential and back recovers 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. See ensemble equivalence for supporting-line and large-deviation criteria.

Let the Hamiltonian depend on a control parameter λ\lambda:

H^=H^(λ).\hat H=\hat H(\lambda).

For a canonical Gibbs state,

(∂F∂λ)T=⟨∂H^∂λ⟩.\left( \frac{\partial F}{\partial\lambda} \right)_T = \left\langle \frac{\partial\hat H}{\partial\lambda} \right\rangle.

If the generalized force is defined by

Xλ=−∂H^∂λ,X_\lambda = - \frac{\partial\hat H}{\partial\lambda},

then

⟨Xλ⟩=−(∂F∂λ)T.\langle X_\lambda\rangle = - \left( \frac{\partial F}{\partial\lambda} \right)_T.

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.

Starting from

dU=T dS−P dV+μ dN,dU = T\,dS-P\,dV+\mu\,dN,

derive the differentials of HthH_{\mathrm{th}}, FF, GG, and ΩG\Omega_{\mathrm G}. Identify the natural variables of each potential.

Solution

For enthalpy,

Hth=U+PV,H_{\mathrm{th}} = U+PV,

so

dHth=dU+P dV+V dP=T dS+V dP+μ dN.\begin{aligned} dH_{\mathrm{th}} &= dU+P\,dV+V\,dP \\ &= T\,dS+V\,dP+\mu\,dN. \end{aligned}

Its natural variables are S,P,NS,P,N.

For Helmholtz free energy,

F=U−TS,F=U-TS,

and therefore

dF=−S dT−P dV+μ dN.dF = -S\,dT-P\,dV+\mu\,dN.

Its natural variables are T,V,NT,V,N.

For Gibbs free energy,

G=U−TS+PV,G=U-TS+PV,

which gives

dG=−S dT+V dP+μ dN.dG = -S\,dT+V\,dP+\mu\,dN.

Its natural variables are T,P,NT,P,N.

Finally,

ΩG=U−TS−μN,\Omega_{\mathrm G} = U-TS-\mu N,

so

dΩG=−S dT−P dV−N dμ.d\Omega_{\mathrm G} = -S\,dT-P\,dV-N\,d\mu.

Its natural variables are T,V,μT,V,\mu.

Let

ρβ=e−βH^Z.\rho_\beta = \frac{e^{-\beta\hat H}}{Z}.

Show that

Tr⁡(ρH^)−TS(ρ)−F=kBTD(ρ∥ρβ).\operatorname{Tr}(\rho\hat H) - TS(\rho) - F = k_{\mathrm B}T D(\rho\Vert\rho_\beta).
Solution

The Gibbs state satisfies

ln⁡ρβ=−βH^−ln⁡Z.\ln\rho_\beta = -\beta\hat H- \ln Z.

Hence

D(ρ∥ρβ)=Tr⁡(ρln⁡ρ)−Tr⁡(ρln⁡ρβ)=Tr⁡(ρln⁡ρ)+βTr⁡(ρH^)+ln⁡Z.\begin{aligned} D(\rho\Vert\rho_\beta) &= \operatorname{Tr}(\rho\ln\rho) - \operatorname{Tr}(\rho\ln\rho_\beta) \\ &= \operatorname{Tr}(\rho\ln\rho) + \beta\operatorname{Tr}(\rho\hat H) + \ln Z. \end{aligned}

Multiply by kBT=1/βk_{\mathrm B}T=1/\beta and use

S(ρ)=−kBTr⁡(ρln⁡ρ)S(\rho) = -k_{\mathrm B} \operatorname{Tr}(\rho\ln\rho)

and

F=−kBTln⁡Z.F = -k_{\mathrm B}T\ln Z.

This gives

kBTD(ρ∥ρβ)=Tr⁡(ρH^)−TS(ρ)−F.k_{\mathrm B}T D(\rho\Vert\rho_\beta) = \operatorname{Tr}(\rho\hat H) - TS(\rho) - F.

Since relative entropy is nonnegative, ρβ\rho_\beta minimizes the free-energy functional.

Use G(T,P,N)G(T,P,N) to prove

(∂S∂P)T,N=−(∂V∂T)P,N.\left( \frac{\partial S}{\partial P} \right)_{T,N} = - \left( \frac{\partial V}{\partial T} \right)_{P,N}.

Express the right-hand side using the thermal expansion coefficient

αP=1V(∂V∂T)P,N.\alpha_P = \frac{1}{V} \left( \frac{\partial V}{\partial T} \right)_{P,N}.
Solution

From

dG=−S dT+V dP+μ dN,dG = -S\,dT+V\,dP+\mu\,dN,

we have

S=−(∂G∂T)P,N,V=(∂G∂P)T,N.S = - \left( \frac{\partial G}{\partial T} \right)_{P,N}, \qquad V = \left( \frac{\partial G}{\partial P} \right)_{T,N}.

Commuting the mixed derivatives gives

(∂S∂P)T,N=−∂2G∂P ∂T=−(∂V∂T)P,N.\begin{aligned} \left( \frac{\partial S}{\partial P} \right)_{T,N} &= - \frac{\partial^2G} {\partial P\,\partial T} \\ &= - \left( \frac{\partial V}{\partial T} \right)_{P,N}. \end{aligned}

Therefore

(∂S∂P)T,N=−VαP.\left( \frac{\partial S}{\partial P} \right)_{T,N} = -V\alpha_P.

A material that expands on heating at fixed pressure has entropy that decreases with increasing pressure at fixed temperature.

Suppose only the sectors N=0N=0 and N=1N=1 are available, with

F0=0,F1=ϵ.F_0=0, \qquad F_1=\epsilon.

Compute Ξ\Xi, ΩG\Omega_{\mathrm G}, and ⟨N⟩\langle N\rangle. Compare the exact grand potential with the Legendre minimum of FN−μNF_N-\mu N.

Solution

The sector sum is

Ξ=1+e−β(ϵ−μ).\Xi = 1 + e^{-\beta(\epsilon-\mu)}.

Therefore

ΩG=−kBTln⁡[1+e−β(ϵ−μ)].\Omega_{\mathrm G} = -k_{\mathrm B}T \ln \left[ 1+e^{-\beta(\epsilon-\mu)} \right].

The mean occupation is

⟨N⟩=1β∂ln⁡Ξ∂μ=1eβ(ϵ−μ)+1.\langle N\rangle = \frac{1}{\beta} \frac{\partial\ln\Xi}{\partial\mu} = \frac{1}{e^{\beta(\epsilon-\mu)}+1}.

The two values of FN−μNF_N-\mu N are

0andϵ−μ.0 \qquad\text{and}\qquad \epsilon-\mu.

Their minimum is

min⁡(0,ϵ−μ).\min \left( 0, \epsilon-\mu \right).

At finite positive temperature, both weights are positive, so the exact ΩG\Omega_{\mathrm G} lies strictly below this minimum. At the crossing it differs by −kBTln⁡2-k_{\mathrm B}T\ln2, the mixing-entropy contribution. In the limit T→0+T\to0^+,

ΩG→min⁡(0,ϵ−μ),\Omega_{\mathrm G} \to \min \left( 0, \epsilon-\mu \right),

while ⟨N⟩\langle N\rangle approaches a step function, with a degeneracy at μ=ϵ\mu=\epsilon.