In this case, the system has done
work on the surroundings and there is a corresponding reduction in its internal
energy. (Note the cautious language: we shall see later that there is a compensating
influx of energy as heat, so overall the internal energy is constant for the isothermal
expansion of a perfect gas.)