Solved thermodynamics exercise

Entropy of a gas: when the heat capacity depends on

Exercise 27 · Lesson 6 — The Second Law of Thermodynamics

  • gas
  • variable heat capacity
  • internal energy
  • entropy
  • isochoric heating
  • integration

Statement

Consider moles of a gas with equation of state . Over the temperature range studied, its molar heat capacity at constant volume is , where and are positive constants. Assume that, for a fixed amount of substance, its internal energy depends only on temperature. Denote by its value at a reference temperature within this range.

  1. Calculate the internal energy , then its change between temperatures and .
  2. For a locally reversible infinitesimal process, express the heat received, then calculate in terms of , , and .
  3. Calculate the entropy change between equilibrium states and . Does the result depend on whether the process connecting these states is reversible or irreversible?
  4. The gas is heated at constant volume from to by a reservoir at . The combined gas–reservoir system is isolated and no work is exchanged. Calculate the heat received by the gas and by the reservoir, then the entropy produced. Express the latter as an integral whose sign can be determined.

Hint

Hint
Start from and integrate each term separately. For question 2, use the first law and . For question 3, choose a reversible path consisting of an isochore followed by an isotherm. The reservoir remains at constant temperature during the actual heating.

Detailed solution

Solution
Question 1. The heat capacity is molar: for moles, the total heat capacity is . Since depends only on ,

Integrate from to , using as the integration variable:

Adding gives . When calculating , the reference terms cancel:

We cannot write : the heat capacity varies during heating and must remain inside the integral.

Question 2. During the locally reversible process, the work received is . The first law gives

Replace by the previous result and by :

Local reversibility allows us to write . Dividing each term by gives

Question 3. Choose a reversible path from to at constant volume, followed by a path from to at constant temperature. In the first step, ; in the second, . Adding the two entropy changes gives

Using , we obtain

Entropy is a state function: its change depends only on the initial and final states. The reversible path is used to calculate this change, but the result also applies to an actual irreversible process between the same states.

Question 4. The volume is constant: the gas receives no work. The first law and question 1 therefore give

The combined gas–reservoir system is isolated, so . With no work exchanged, this implies . For the gas, makes the volume term from question 3 vanish:

The reservoir remains at , hence

The isolated combined system exchanges no entropy with the rest of the universe: the entropy produced is the sum of the two changes,

To determine the sign, return to the integral expressions for the two terms:

The limits are identical, so the integrands can be subtracted:

Indeed, and for . The integral is therefore strictly positive when : heating by contact with this reservoir is irreversible.