Ph · Physics

How to Derive a Thermodynamic Relation from Helmholtz Free Energy

Published By the 9to5Science editorial team

At a glance

  1. 1. Write the differential

    For a fixed-composition, simple compressible system, use dF = −S dT − P dV.

  2. 2. Read off derivatives

    Identify entropy and pressure as derivatives of Helmholtz free energy with respect to temperature and volume.

  3. 3. Differentiate internal energy

    Use U = F + TS, then differentiate with respect to volume at constant temperature.

  4. 4. Apply a Maxwell relation

    Equality of mixed derivatives gives (∂S/∂V)T = (∂P/∂T)V, yielding the desired identity.

The Helmholtz free energy is a useful thermodynamic potential when temperature and volume are the natural variables. Its differential gives direct formulas for entropy and pressure. From those formulas, you can derive a frequently used identity connecting the volume dependence of internal energy to the temperature dependence of pressure:

(∂U∂V)T=T(∂P∂T)V−P.\left(\frac{\partial U}{\partial V}\right)_T = T\left(\frac{\partial P}{\partial T}\right)_V-P.

This relation applies to an equilibrium, simple compressible system with fixed composition. The derivation also shows why it gives zero for an ideal gas and a nonzero result for a van der Waals gas.

Start with the Helmholtz free energy

Define the Helmholtz free energy as

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

where UU is internal energy, TT is absolute temperature, and SS is entropy. For a fixed amount of a simple compressible substance, the first law in differential form is

dU=T dS−P dV.dU=T\,dS-P\,dV.

Differentiate F=U−TSF=U-TS:

dF=dU−T dS−S dT.dF=dU-T\,dS-S\,dT.

Substituting the first-law expression for dUdU cancels the T dST\,dS terms, leaving

dF=−S dT−P dV.dF=-S\,dT-P\,dV.

Thus, when FF is regarded as a function of its natural variables TT and VV,

S=−(∂F∂T)V,P=−(∂F∂V)T.S=-\left(\frac{\partial F}{\partial T}\right)_V, \qquad P=-\left(\frac{\partial F}{\partial V}\right)_T.

These are the entropy and pressure identities for the Helmholtz free energy.

Derive the internal-energy relation

Rearrange the definition of FF to write the internal energy as

U=F+TS.U=F+TS.

At fixed temperature, differentiate with respect to volume:

(∂U∂V)T=(∂F∂V)T+T(∂S∂V)T.\left(\frac{\partial U}{\partial V}\right)_T = \left(\frac{\partial F}{\partial V}\right)_T +T\left(\frac{\partial S}{\partial V}\right)_T.

The first term is −P-P. To rewrite the second term, use the fact that the mixed second derivatives of a well-behaved state function are equal. From the entropy and pressure identities,

(∂S∂V)T=−∂2F∂V ∂T=(∂P∂T)V.\left(\frac{\partial S}{\partial V}\right)_T =-\frac{\partial^2 F}{\partial V\,\partial T} =\left(\frac{\partial P}{\partial T}\right)_V.

This is a Maxwell relation. Substituting it gives

(∂U∂V)T=T(∂P∂T)V−P.\boxed{\left(\frac{\partial U}{\partial V}\right)_T =T\left(\frac{\partial P}{\partial T}\right)_V-P.}

The right-hand side uses the equation of state: how pressure varies with temperature when volume is held fixed. The left-hand side is the change in internal energy per change in volume at fixed temperature.

Worked example: a van der Waals gas

For nn moles, the van der Waals equation of state is

P=nRTV−nb−an2V2,P=\frac{nRT}{V-nb}-\frac{a n^2}{V^2},

where aa and bb are constants describing intermolecular attraction and excluded volume. Differentiate with respect to temperature at fixed volume:

(∂P∂T)V=nRV−nb.\left(\frac{\partial P}{\partial T}\right)_V =\frac{nR}{V-nb}.

Now substitute this and the equation of state into the derived identity:

(∂U∂V)T=TnRV−nb−(nRTV−nb−an2V2)=an2V2.\begin{aligned} \left(\frac{\partial U}{\partial V}\right)_T &=T\frac{nR}{V-nb}-\left(\frac{nRT}{V-nb}-\frac{a n^2}{V^2}\right)\\ &=\frac{a n^2}{V^2}. \end{aligned}

So at fixed temperature, increasing the volume increases the internal energy in this model. Integrating with respect to VV gives

U(T,V)=f(T)−an2V,U(T,V)=f(T)-\frac{a n^2}{V},

where f(T)f(T) is an undetermined function of temperature. The equation of state alone determines the volume-dependent part, not the full temperature-dependent contribution.

Check: the ideal gas

For an ideal gas, P=nRT/VP=nRT/V, so

T(∂P∂T)V−P=TnRV−nRTV=0.T\left(\frac{\partial P}{\partial T}\right)_V-P =T\frac{nR}{V}-\frac{nRT}{V}=0.

Therefore (∂U/∂V)T=0(\partial U/\partial V)_T=0: the internal energy of an ideal gas depends only on temperature, not volume. This is a result of the ideal-gas equation of state, not a general rule for all gases.

Common mistakes

  • Dropping the minus sign in the pressure identity: Since dF=−S dT−P dVdF=-S\,dT-P\,dV, pressure is −(∂F/∂V)T-(\partial F/\partial V)_T.
  • Holding the wrong variable fixed: The pressure derivative in the result is at constant volume; the internal-energy derivative is at constant temperature.
  • Assuming the ideal-gas result applies to every substance: Real-gas interactions can make internal energy depend on volume even at fixed temperature.
  • Confusing Helmholtz and Gibbs free energy: Helmholtz free energy has natural variables T,VT,V; Gibbs free energy has natural variables T,PT,P for a simple compressible system.

References

  1. Thermodynamics and an Introduction to Thermostatistics — Herbert B. Callen
  2. Heat and Thermodynamics — Mark W. Zemansky and Richard H. Dittman

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.