Why Enthalpy Is U + PV, Not U + ∫PdV

Swap PV for the work integral and enthalpy stops being a state function. A two-path counterexample, the dH = TdS + VdP derivation, and the conditions under which ΔH really equals heat.

Binary Buddies · 5 min read · 5 views

The question, as asked on Physics Stack Exchange, runs like this. For a constant-pressure system, PV and ∫PdV seem to be the same. Enthalpy is defined so that it equals the heat added at constant pressure. So why not define H = U + ∫PdV and get a quantity that works in more situations?

The premise is wrong. PV and ∫PdV are not the same, even at constant pressure. PV is a property of one state of the system. ∫PdV is the work exchanged along a process between two states. Replacing the first with the second does not generalise enthalpy. It removes the property that makes enthalpy useful.

This article covers four things: the difference between the two quantities, why the integral version fails, what the PV term actually does in the thermodynamics, and the places where enthalpy is commonly misapplied.

PV belongs to a state; ∫PdV belongs to a process

The accepted answer to the question draws the line cleanly. ∫PdV is the work done by a gas as its volume changes. If pressure is held constant, that integral reduces to PΔV. PV is something else: the pressure multiplied by the volume at a single state. Nothing is changing and no work is being done.

The confusion comes from looking at changes instead of values. Between two states, ΔH = ΔU + Δ(PV). If pressure stays fixed at P throughout, then Δ(PV) = PΔV, which equals ∫PdV. Under that condition the changes match. The quantities themselves never do. A gas sitting in a sealed rigid tank has a non-zero PV and has done zero work.

Why U + ∫PdV is not a function of state

The integral of P dV depends on the path taken. Take a gas from state 1 at (P₁, V₁) to state 2 at (P₂, V₂), with P₂ greater than P₁ and V₂ greater than V₁. There are two simple ways to get there.

  • Path A: expand at P₁ from V₁ to V₂, then raise the pressure at constant V₂. The work is P₁(V₂ − V₁).
  • Path B: raise the pressure at constant V₁, then expand at P₂. The work is P₂(V₂ − V₁).

Both paths have the same endpoints but give different integrals. If you go out along one path and return along the other, the net work is (P₂ − P₁)(V₂ − V₁), which is not zero. That non-zero loop is how a heat engine produces net work. A definition built on ∫PdV would give state 2 two different enthalpies depending on how the gas got there. It would also need an arbitrary reference state to start the integral from.

A state function has to return to the same value around any closed cycle. That property is what lets you tabulate it, add up steps in any order, and compute a change from the endpoints alone. In mathematical terms, P dV is not an exact differential, so no function of state has it as its differential.

What the PV correction actually buys

The accepted answer describes PV as a correction added to U to form H. Start from the first law for reversible changes, using the convention that work is done by the gas:

dU = T dS − P dV

H  = U + PV
dH = dU + P dV + V dP
   = T dS − P dV + P dV + V dP
   = T dS + V dP

The product rule turns d(PV) into two terms. The P dV term cancels the work term in dU, and the V dP term remains. The result has entropy and pressure as its natural variables. When the experiment runs at constant pressure, such as open to the atmosphere, dP = 0 and dH = T dS. That is the heat absorbed in a reversible process.

Now apply the same steps to the proposed alternative. Differentiating U + ∫PdV along a path gives T dS − P dV + P dV = T dS, and nothing else. So U + ∫PdV is just U at the start plus the heat accumulated along the way. That is a running total of heat, which depends on the path for the same reason the work integral does. It tells you nothing about the state the system is in now.

The general procedure: a Legendre transformation

The accepted answer names the mathematical procedure behind this: a Legendre transformation. You use it to generate an energy-like function whose independent variables are more convenient. In the U description, pressure appears as a slope: P = −(∂U/∂V) at constant S. A Legendre transformation swaps a variable for the slope conjugate to it by subtracting their product:

H = U − V (∂U/∂V)_S = U + PV

The term that gets subtracted is the product of a conjugate pair evaluated at one state, not an integral over a history. That is the structural reason the definition reads PV. The same move applied to temperature and entropy gives the Helmholtz function U − TS and the Gibbs function H − TS.

In practice, this tells you which potential to use. Pick the one whose natural variables are the ones you control. If you fix the volume, as in a rigid vessel, U is the natural choice. If you fix the pressure, as in an open beaker, H is the natural choice.

Does enthalpy mean anything away from constant pressure?

Yes. H = U + PV is defined for every equilibrium state, whatever process led to it. The relation dH = T dS + V dP holds between neighbouring equilibrium states whether or not pressure is constant. What you lose when pressure varies is the shortcut of reading ΔH directly as heat.

So the instinct behind the question gets the trade-off backwards. Enthalpy as defined applies in every state. The integral version applies cleanly in none, because a state alone does not fix its value.

Where this does not fit, and what to watch for

  • ΔH equals heat only at constant pressure. At constant volume, dH = T dS + V dP, and that is not the heat. Use U in that case.
  • The derivation assumes P dV is the only work. The starting equation dU = T dS − P dV contains no other work term. If electrical or shaft work is present, ΔH = q no longer holds.
  • ΔH = ΔU + PΔV is a special case. The general form is ΔH = ΔU + (P₂V₂ − P₁V₁).
  • Irreversible processes need care. In a fast expansion the gas has no single uniform pressure, so ∫PdV using the system pressure may not even be defined. ΔH is still well defined because it depends only on the equilibrium endpoints.
  • Check the sign convention. This article treats work as done by the gas. Texts that count work done on the gas flip the sign of the work term in the first law.

A quick test resolves most of the confusion. Ask whether a quantity can be stated for a gas sitting still in one state. PV can. ∫PdV cannot, because it only exists once the gas has gone somewhere.

This article draws on Why is the definition of enthalpy $U + PV$ and not $U + ∫PdV$? and answers to it (1, 2), on the Stack Exchange network, licensed under CC BY-SA 4.0.

  • #enthalpy
  • #pressure
  • #state function
  • #thermodynamics
  • #volume
  • #work

Comments

Add a comment
Sign in with Google to join the conversation