Exact and inexact differentials

Database › Mathematics › Pure mathematics › Analysis

ANA-0017TheoremUndergraduate

A differential A dx + B dy is exact (the differential of a function) exactly when ∂A/∂y = ∂B/∂x on a simply connected region; inexact ones like heat δQ may become exact after multiplying by an integrating factor (1/T).

$$dF=A\,dx+B\,dy\iff\frac{\partial A}{\partial y}=\frac{\partial B}{\partial x};\qquad\oint dF=0,\qquad dS=\frac{\delta Q}{T}$$

Explanation

The condition is equality of mixed partial derivatives of $F$. For an exact differential the integral between two points is path-independent and its integral round a closed loop vanishes. In thermodynamics state functions ($U$, $S$, $F$, $G$) have exact differentials, while heat and work do not; equality of mixed partials of the potentials gives the Maxwell relations.

An integrating factor $\mu(x,y)$ makes $\mu(A\,dx+B\,dy)$ exact; for two variables one always exists locally, a fact that also solves first-order ODEs.

Example 1

Show that $(2xy+3)\,dx+(x^2+4y)\,dy$ is exact and find $F$.

Solution

$\partial_y(2xy+3)=2x=\partial_x(x^2+4y)$. Integrating: $F=x^2y+3x+2y^2+C$.

Example 2

For an ideal gas, show that $\delta Q=C_VdT+\frac{RT}{V}dV$ is inexact but $\delta Q/T$ is exact.

Solution

$\partial_V C_V=0\neq\partial_T(RT/V)=R/V$: inexact. Dividing by $T$: $\partial_V(C_V/T)=0=\partial_T(R/V)$: exact, with $S=C_V\ln T+R\ln V+$ const.

Related entries