Use for the heat capacities of the entire -mole sample. For a stable simple compressible gas, a Maxwell relation gives
where and . This heat-capacity difference and mechanical stability explains the sign without assuming the internal energy depends only on temperature. It is strictly positive for an ordinary expanding gas; the unrestricted word “always” needs the qualification that equality is possible when thermal expansion vanishes.
For an ideal gas, thermodynamic consistency gives
Consequently , while . Differentiating gives : at fixed pressure extra supplied heat permits expansion work in addition to the internal-energy increase.
Differentiate the supplied entropy at fixed :
Thus , consistently recovering , and
The coefficient in this entropy corresponds to five active quadratic thermal degrees of freedom per molecule. It should not be replaced by the monatomic value. Reference scales needed to make logarithms dimensionless are absorbed into the entropy constant and do not affect these derivatives.
With open windows the house equilibrates mechanically at approximately the same atmospheric pressure before and after heating. It is an open system: its mole number is not fixed. The isobaric ideal-gas internal-energy density is
At a fixed house volume, : fewer molecules occupy the house, each with greater mean energy. Heating energy can enter while enthalpy leaves with escaping air. Treating the room as a sealed fixed- gas would give the wrong energy-density comparison.