We can use the first law of thermodynamics to help us calculate how the entropy of an ideal gas changes. For infinitesimal changes, the first law is . Using in gives
Chapter 19 found explicit expressions for the thermal energy of and work done on an ideal gas. In differential form, the expressions are and . With these substitutions, Equation 20.55 becomes
We can integrate from entropy at initial temperature and volume to at and . The integration is like the one we did above for the entropy associated with a temperature change, which leads to
NOTE An integration to find S itself (the absolute entropy) would have an unknown integration constant. We can’t determine an absolute entropy, but we don’t need to because changes in S are all we need to know.
You learned in Chapter 19 that heating a gas at constant pressure requires more heat, for the same temperature change, than heating the gas at constant volume. The second term in Equation 20.57 vanishes for a constant-volume process because . A constant-pressure process has , so the two logarithms are the same. Using this along with , which we proved in Chapter 19, leads to
2 mol of nitrogen gas are heated at constant pressure until the volume has doubled. What is the entropy change of the gas?
MODEL A constant-pressure process has . If the volume doubles, so does the absolute temperature; that is, .
SOLVE The entropy change for a doubling of the volume and temperature at constant pressure is
The specific heat at constant pressure for nitrogen is given in Table 19.4 as . Thus
REVIEW Interestingly, the change in entropy does not depend on the initial temperature of the gas.