For the pressure-density Hugoniot relation for a perfect gas, the change in specific entropy is , with the specific heat capacity at constant volume. Its derivative is
It is positive for a compressive normal shock wave with . For a weak shock with , integrating the leading term gives
Thus the entropy production is cubic in the small pressure jump, even though the mass density and temperature changes already appear at first order.
Let be the signed mass flux. Momentum conservation gives
Dividing the energy-flux equation by and eliminating yields the pressure-density Hugoniot relation for a perfect gas:
With and , this becomes
Solving for the mass density ratio gives
For a compressive normal shock wave, and ; as , the finite shock compression ratio is .
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.