For equal weak shocks with individual pressure ratio and total ratio , entropy production in a perfect-gas shock gives
At fixed , this tends to zero as the compression is divided into increasingly many smaller weak shocks. A single finite normal shock wave instead gives the positive value . Gradual compression can consequently approach reversible isentropic flow while an abrupt compression generates finite entropy.
For a perfect gas with constant specific heat capacity , the first law of thermodynamics gives
Using the pressure-density Hugoniot relation for a perfect gas, the entropy production in a perfect-gas shock is therefore
This is positive for , as required by the Second law of thermodynamics for the physical compressive normal shock wave.
Put . Differentiating the expression in part (c) gives
For , the denominator is , so
Integrating from the unshocked state, where , proves the cubic entropy production in a perfect-gas shock:
The first-order and second-order terms vanish: a weak shock agrees with reversible compression through second order.