## Physics: Principles with Applications (7th Edition)

In an isothermal process the internal energy U stays constant. Because it is expanding, the gas does work on its surroundings, so W is positive. Because the internal energy doesn’t change ($\Delta U = 0$) and the work W is positive, the first law of thermodynamics ($\Delta U = Q-W$) shows that the heat Q is positive.