Partial Derivatives
Changing one variable at a time
Varying one thing at a time
The calculus of thermodynamic surfaces
When a quantity depends on several variables, a partial derivative asks how it changes with one of them while the rest are held fixed. The curly replaces the straight to signal this, and the subscript names what is held constant:
Computing a partial derivative is easy: treat every other variable as a plain number and differentiate as usual. For the ideal gas , holding and constant and differentiating with respect to just means acts as a constant: .
The real power comes from combining partial derivatives. A total differential says how a function changes when all its variables change together:
Because the order of mixed partial derivatives doesn't matter (Schwarz's theorem), setting generates the Maxwell relations — identities that connect measurable quantities to derivatives of thermodynamic potentials.
The systematic framework for Maxwell relations comes from the four fundamental thermodynamic potentials and their exact differentials. For an exact differential , Euler's reciprocity (the Schwarz theorem) states . This is the exactness test — a quick way to verify whether a differential is exact, and to extract Maxwell relations without memorising them. The four potentials give four Maxwell relations:
An important partial derivative in calorimetry is , known as the isothermal pressure coefficient of enthalpy. From the fundamental relation , differentiating with respect to at constant and using the Maxwell relation :
For an ideal gas this is zero (enthalpy is independent of pressure — a direct consequence of no intermolecular forces); for real gases it is the basis of the Joule–Thomson coefficient.
- Forgetting which variable is held constant. is ambiguous without specifying what is held fixed. Always write the subscript: (the second is identically zero).
- Treating like in a chain rule. The chain rule works for functions of one variable, but for a function of two variables you must include all partial contributions: .
- Sign errors in Maxwell relations. The sign depends on the potential. From the relation carries a minus sign: . From the relation also carries a minus: — check the sign from the fundamental differential each time.
- Assuming that for all gases. This is true only for ideal gases. For real (van der Waals) gases the internal pressure is positive and non-negligible at high densities.
Partial-slice explorer
Freeze one variable and slide the other — the tangent line gives the partial derivative at each point.
1.00 mol of an ideal gas is in a 4.00 L container at 300 K. Evaluate the partial derivative at these conditions ().
The molar Gibbs free energy of a substance is . By differentiating with respect to at constant , and using the Gibbs–Helmholtz relation , show that .
Worked examples
Partial derivatives across thermodynamics, kinetics and molecular properties.
Write the total differential of in terms of and (holding constant). Use it to estimate the change in pressure when temperature increases by 5 K and volume increases by 0.20 L, starting from , , .
Show that for a van der Waals gas , the internal pressure . Use the thermodynamic identity .
Starting from (the Helmholtz free energy), derive the Maxwell relation .
Test whether the differential is exact (i.e. whether is a state function). Use the Euler reciprocity condition applied to the and terms.
Using the relation (derived from ), evaluate this partial derivative for (a) an ideal gas and (b) a van der Waals gas at large molar volume.
Starting from the Helmholtz free energy with exact differential :
(a) Derive the Maxwell relation .
(b) Evaluate both sides for 1 mol of ideal gas at , and confirm they are equal.
(c) State what this Maxwell relation means physically (which quantity it allows you to measure indirectly).
Check yourself
Four quick questions on partial derivatives and thermodynamic relations.
A partial derivative ∂f/∂x measures how f changes as you vary x while: