When does a gas do work?
In the Heat and Temperature lesson we saw that the particles of a gas hit the walls of the container and produce pressure. If we swap one of these walls for a sliding piston, the gas pushes it as it expands and does work on it, like a force that moves a body.
With constant pressure, the force on the piston is \(F = p\,A\), and the product of the area and the displacement \(d\) is the change in volume. This leads to \(\tau = p\,\Delta V\), which on the \(p \times V\) graph is the area of the rectangle under the horizontal line.
When the pressure changes during the process, we split the path into tiny, almost horizontal pieces and add up the areas. The work then becomes the area under the curve on the \(p \times V\) graph, and so it depends on the path between two states, as well as on the start and the end.
The sign says who pushes whom. In an expansion, \(\Delta V > 0\) and the gas does work, \(\tau > 0\); in a compression, \(\Delta V < 0\), the gas receives work from outside and \(\tau < 0\). With the volume fixed, the work is zero, however large the pressure.
Let's discuss
- Heat the gas at constant pressure until the volume reaches 8 L and check the \(\tau\) shown against \(p \cdot \Delta V\), reading the values off the graph.
- Now cool the gas back to the initial volume. Does the accumulated work return to zero? Which area was subtracted?
- Change the pressure with the piston at rest. What shape does this stretch have on the graph, and how much work does it add?
- Restart and take the gas to the same final state by two paths, first heating and then raising the pressure, and then in the reverse order. Was the work the same?