21.1.1 Work Done by the System

The work W in the first law is the work done on the system by external forces from the environment. However, it makes more sense in “practical thermodynamics” to use the work done by the system. For example, you want to know how much useful work you can obtain from an expanding gas. The work done by the system is called Ws.

Work done by the environment and work done by the system are not mutually exclusive. In fact, they are very simply related by Ws=−W. In FIGURE 21.1, force F⃗gas due to the gas pressure does work when the piston moves. This is Ws, the work done by the system. At the same time, some object in the environment, such as a piston rod, must be pushing inward with force F⃗ext=−F⃗gas to keep the gas pressure from blowing the piston out. This force does the work W on the system, work that you’ve learned is the negative of the area under the pV curve of the process.

FIGURE 21.1 Forces F⃗gas and F⃗ext both do work as the piston moves.

The figure labeled ("a") illustrates the forces acting on a piston inside a gas-filled container.
The figure labeled (b) illustrates the Pressure versus Volume graph.
Full Alternative Text

Because the forces are equal but opposite, we see that

Ws=−W=the area under the pV curve (21.1)

When a gas expands and pushes the piston out, transferring energy out of the system, we say “the system does work on the environment.” While this may seem to imply that the environment is doing no work on the system, all the phrase means is that Ws is positive and W is negative. Similarly, “the environment does work on the system” means that W>0 (energy is transferred into the system) and thus Ws<0. Whether we use W or Ws is a matter of convenience.

The first law of thermodynamics ΔEth=W+Q can be written in terms of Ws as

Q=Ws+ΔEth  (first law of thermodynamics) (21.2)

Any energy transferred into a system as heat is either used to do work or stored within the system as an increased thermal energy.