Legendre transform swaps conjugate variables

A Legendre transform replaces a natural variable by its conjugate variable, with the new potential’s derivatives returning the swapped pair (up to sign).
Legendre transform swaps conjugate variables

Statement

Let X(x,y)X(x,y) be a thermodynamic potential (a state function) with xx one of its natural variables and yy collecting the remaining variables. Assume XX is differentiable and define the conjugate variable p:=(Xx)y p := \left(\frac{\partial X}{\partial x}\right)_y and the (partial) Legendre transform in xx by

Y(p,y):=X(x,y)px, Y(p,y) := X(x,y) - p\,x,

where x=x(p,y)x=x(p,y) is chosen so that p=(Xx)yp = \left(\frac{\partial X}{\partial x}\right)_y.

Then the differential of YY is

dY=xdp+i(Xyi)xdyi, dY = -x\,dp + \sum_i \left(\frac{\partial X}{\partial y_i}\right)_x\,dy_i,

so the variable xx has been replaced by its conjugate pp as an independent variable, and the conjugacy is recovered by

(Yp)y=x. \left(\frac{\partial Y}{\partial p}\right)_y = -x.

In thermodynamics, this “swap” is the mechanism behind passing from the U(S,V,N)U(S,V,N) to standard thermodynamic potentials such as the F(T,V,N)=UTSF(T,V,N)=U-TS, the G(T,P,N)=UTS+PVG(T,P,N)=U-TS+PV, and the Ω(T,V,μ)=UTSμN\Omega(T,V,\mu)=U-TS-\mu N.

Key hypotheses

  • X(x,y)X(x,y) is a well-defined state function (depends only on the ).
  • XX is differentiable in xx and the map xp=(X/x)yx \mapsto p=(\partial X/\partial x)_y can be locally inverted (often ensured by appropriate convexity/concavity assumptions; see ).

Key conclusions

  • The Legendre-transformed potential YY has pp (not xx) as a natural variable.
  • Conjugate variables are recovered by differentiation:
    • p=(X/x)yp = (\partial X/\partial x)_y in the original potential,
    • x=(Y/p)yx = -(\partial Y/\partial p)_y in the transformed potential.
  • In thermodynamic examples, the transform replaces an extensive variable (e.g. SS) by its conjugate intensive variable (e.g. TT), or replaces VV by PP, or NN by μ\mu, with the corresponding sign conventions.

Proof idea / significance

Differentiate Y=XpxY=X-px:

dY=dXpdxxdp. dY = dX - p\,dx - x\,dp.

Using p=(X/x)yp=(\partial X/\partial x)_y gives dX=pdx+i(X/yi)xdyidX = p\,dx + \sum_i (\partial X/\partial y_i)_x\,dy_i, so the pdxp\,dx terms cancel and the claimed form of dYdY follows.

Significance: the Legendre transform produces potentials whose natural variables match common experimental controls (e.g. fixing TT rather than SS), while preserving access to the conjugate extensive quantities through derivatives (e.g. S=F/TS=-\partial F/\partial T at fixed V,NV,N).