Legendre transform from entropy to Helmholtz free energy

Construct the Helmholtz free energy by Legendre transforming the entropy with respect to energy (microcanonical → canonical).
Legendre transform from entropy to Helmholtz free energy

Start from an entropy representation S(U,V,N)S(U,V,N), such as the derived from the . The temperature is obtained by , so the variable conjugate to UU is 1/T1/T (or β=1/(kBT)\beta=1/(k_B T) from ).

Definition (Legendre–Fenchel transform).
The Helmholtz free energy F(T,V,N)F(T,V,N) is constructed by trading UU for TT via a (Fenchel) :

F(T,V,N)=minU{UTS(U,V,N)}. F(T,V,N)=\min_{U}\Bigl\{\,U-T\,S(U,V,N)\Bigr\}.

The minimizing energy U(T,V,N)U^\star(T,V,N) satisfies the stationarity condition

1T=(SU)V,NU=U. \frac{1}{T}=\left(\frac{\partial S}{\partial U}\right)_{V,N}\Bigg|_{U=U^\star}.

A common equivalent dimensionless form is

βF(β,V,N)=supU{S(U,V,N)kBβU}. -\beta\,F(\beta,V,N)=\sup_{U}\left\{\frac{S(U,V,N)}{k_B}-\beta\,U\right\}.

This makes explicit that the transform is “sup” rather than “inf” in the entropy representation because SS is typically concave in UU for stable macroscopic systems.

Physical meaning.
This construction produces the thermodynamic potential appropriate to the : fixing TT means the system explores energies, and FF captures the competition between energetic cost UU and entropic gain TST S. In the , the supremum form aligns with the interpretation of Laplace-type integrals.

Connection to the partition function.
For canonical statistical mechanics, the same object is obtained from the through :

F(T,V,N)=kBTlogZ(β,V,N). F(T,V,N)=-k_B T\log Z(\beta,V,N).

This identification explains why derivatives of FF generate equilibrium response functions (e.g. pressure and chemical potential) and underlies .