Fiveable

🔥Thermodynamics I Unit 12 Review

QR code for Thermodynamics I practice questions

12.3 General relations for du, dh, ds, cv, and cp

12.3 General relations for du, dh, ds, cv, and cp

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
🔥Thermodynamics I
Unit & Topic Study Guides

Internal energy, enthalpy, and entropy changes

General relations for thermodynamic property changes

These three equations are called the Gibbs equations (or TdsT\,ds equations). They come directly from combining the first and second laws, and they apply to any simple compressible substance undergoing any process.

Change in specific internal energy:

du=TdsPdvdu = T\,ds - P\,dv

This says that a differential change in internal energy comes from two contributions: heat interaction (TdsT\,ds) and boundary work (PdvP\,dv).

Change in specific enthalpy:

dh=Tds+vdPdh = T\,ds + v\,dP

Since enthalpy is defined as h=u+Pvh = u + Pv, you can derive this by differentiating that definition and substituting the dudu relation above.

Change in specific entropy:

Rearranging the first Gibbs equation gives:

ds=du+PdvTds = \frac{du + P\,dv}{T}

Or equivalently, from the enthalpy form:

ds=dhvdPTds = \frac{dh - v\,dP}{T}

These two entropy expressions are extremely useful because they let you compute Δs\Delta s using measurable quantities (TT, PP, vv, cvc_v, cpc_p) rather than needing to measure heat transfer directly.

Derivation and validity of general relations

The Gibbs equations are derived by combining:

  1. The first law for a closed system: δqδw=du\delta q - \delta w = du

  2. The second law for a reversible process: δqrev=Tds\delta q_{rev} = T\,ds

  3. Boundary work for a simple compressible system: δwrev=Pdv\delta w_{rev} = P\,dv

Substituting steps 2 and 3 into step 1 gives du=TdsPdvdu = T\,ds - P\,dv.

A critical point: even though the derivation uses a reversible process, the resulting equations involve only properties (state variables). Since properties depend only on the state and not the path, these relations are valid for every process, reversible or irreversible, as long as the substance is a simple compressible system.

Specific heat capacities and thermodynamic properties

General relations for thermodynamic property changes, Maxwell equations (thermodynamics) - Knowino

Specific heat capacities as partial derivatives

The specific heats are formally defined as partial derivatives:

cv=(uT)vc_v = \left(\frac{\partial u}{\partial T}\right)_v

This tells you how internal energy changes with temperature when volume is held fixed. Physically, it's the energy you need to add per degree of temperature rise in a constant-volume process.

cp=(hT)Pc_p = \left(\frac{\partial h}{\partial T}\right)_P

This tells you how enthalpy changes with temperature when pressure is held fixed. In a constant-pressure process, cpc_p gives the energy input per degree of temperature rise.

For most real substances, cp>cvc_p > c_v because at constant pressure the substance expands as it heats up, so extra energy goes into PdvP\,dv work.

Relationship between specific heat capacities

For an ideal gas, the relationship simplifies to:

cpcv=Rc_p - c_v = R

where RR is the specific gas constant (R=Ru/MR = R_u / M, with Ru=8.314 kJ/(kmol\cdotpK)R_u = 8.314 \text{ kJ/(kmol·K)} and MM the molar mass).

For a general substance, the more complete relation is:

cpcv=T(PT)v2(Pv)Tc_p - c_v = -T \frac{\left(\dfrac{\partial P}{\partial T}\right)_v^2}{\left(\dfrac{\partial P}{\partial v}\right)_T}

This general form reduces to RR for an ideal gas, but it also works for real gases, liquids, and solids. Notice that (P/v)T\left(\partial P / \partial v\right)_T is always negative for stable substances, so cpcvc_p - c_v is always positive.

The specific heats can also be linked to the thermodynamic potentials:

  • Helmholtz free energy: f=uTsf = u - Ts, and cv=T(2fT2)vc_v = -T\left(\dfrac{\partial^2 f}{\partial T^2}\right)_v
  • Gibbs free energy: g=hTsg = h - Ts, and cp=T(2gT2)Pc_p = -T\left(\dfrac{\partial^2 g}{\partial T^2}\right)_P

Calculating thermodynamic property changes

General relations for thermodynamic property changes, Maxwell equations (thermodynamics) - Knowino

Applying general relations to calculate changes

To find finite changes in uu, hh, or ss, you integrate the differential relations between the initial and final states.

For an ideal gas, internal energy and enthalpy depend only on temperature, which simplifies things considerably:

Δu=T1T2cvdT\Delta u = \int_{T_1}^{T_2} c_v \, dT

Δh=T1T2cpdT\Delta h = \int_{T_1}^{T_2} c_p \, dT

If cvc_v and cpc_p are approximately constant over the temperature range, these reduce to:

Δu=cvΔT\Delta u = c_v \, \Delta T

Δh=cpΔT\Delta h = c_p \, \Delta T

For real substances, uu and hh also depend on pressure or volume, so you need departure functions or property tables. The general relations tell you exactly what additional terms appear. For example, writing u=u(T,v)u = u(T, v):

du=cvdT+[T(PT)vP]dvdu = c_v \, dT + \left[T\left(\frac{\partial P}{\partial T}\right)_v - P\right] dv

The bracketed term is zero for an ideal gas but nonzero for real substances.

Calculating entropy changes

General dsds equations for any substance:

ds=cvTdT+(PT)vdvds = \frac{c_v}{T}\,dT + \left(\frac{\partial P}{\partial T}\right)_v dv

ds=cpTdT(vT)PdPds = \frac{c_p}{T}\,dT - \left(\frac{\partial v}{\partial T}\right)_P dP

These are the workhorses for computing entropy changes. Pick the one that matches the independent variables you know (T,vT, v or T,PT, P).

For an ideal gas (with constant specific heats), integrating gives:

Δs=cvlnT2T1+Rlnv2v1\Delta s = c_v \ln\frac{T_2}{T_1} + R \ln\frac{v_2}{v_1}

Δs=cplnT2T1RlnP2P1\Delta s = c_p \ln\frac{T_2}{T_1} - R \ln\frac{P_2}{P_1}

For an isothermal process (T1=T2T_1 = T_2), the first equation reduces to:

Δs=Rlnv2v1\Delta s = R \ln\frac{v_2}{v_1}

For a reversible adiabatic (isentropic) process, ds=0ds = 0, which leads to the familiar relations for an ideal gas:

Pvγ=constant,Tvγ1=constant,TP(1γ)/γ=constantPv^{\gamma} = \text{constant}, \quad Tv^{\gamma - 1} = \text{constant}, \quad TP^{(1-\gamma)/\gamma} = \text{constant}

where γ=cp/cv\gamma = c_p / c_v is the specific heat ratio.

Relationships between thermodynamic properties

Interdependence of thermodynamic properties

The general relations reveal that thermodynamic properties are tightly coupled. The Maxwell relations formalize this by equating certain cross-partial derivatives. They come from the fact that the Gibbs equations involve exact differentials, so the order of mixed second partial derivatives doesn't matter.

The four Maxwell relations are:

From potentialMaxwell relation
u(s,v)u(s,v)(Tv)s=(Ps)v\left(\dfrac{\partial T}{\partial v}\right)_s = -\left(\dfrac{\partial P}{\partial s}\right)_v
h(s,P)h(s,P)(TP)s=(vs)P\left(\dfrac{\partial T}{\partial P}\right)_s = \left(\dfrac{\partial v}{\partial s}\right)_P
f(T,v)f(T,v)(PT)v=(sv)T\left(\dfrac{\partial P}{\partial T}\right)_v = \left(\dfrac{\partial s}{\partial v}\right)_T
g(T,P)g(T,P)(vT)P=(sP)T-\left(\dfrac{\partial v}{\partial T}\right)_P = \left(\dfrac{\partial s}{\partial P}\right)_T
The last two are used most often because they involve the measurable variables TT, PP, and vv.

The cyclic relation (also called the triple product rule) is another useful identity:

(xy)z(yz)x(zx)y=1\left(\frac{\partial x}{\partial y}\right)_z \left(\frac{\partial y}{\partial z}\right)_x \left(\frac{\partial z}{\partial x}\right)_y = -1

This holds for any three properties xx, yy, zz and is handy for converting one partial derivative into others that are easier to evaluate.

Analyzing thermodynamic processes

The general relations simplify in predictable ways depending on what's held constant:

  • Isothermal (constant TT): dT=0dT = 0, so entropy changes depend only on volume or pressure changes.
  • Isobaric (constant PP): dP=0dP = 0, so dh=cpdTdh = c_p\,dT and ds=(cp/T)dTds = (c_p / T)\,dT.
  • Isochoric (constant vv): dv=0dv = 0, so du=cvdTdu = c_v\,dT and ds=(cv/T)dTds = (c_v / T)\,dT.
  • Isentropic (constant ss): ds=0ds = 0, linking TT, PP, and vv changes through cvc_v, cpc_p, and γ\gamma.

Engineers rely on these relations constantly. Designing a gas turbine, sizing a refrigeration compressor, or predicting how a real gas behaves at high pressure all require you to compute Δu\Delta u, Δh\Delta h, and Δs\Delta s from measurable data. The general relations are what make that possible.