Question
If we compress the gas, how does the internal potential energy of gas change?
Solution
When gas is compressed, work is done on the gas. Therefore, the internal potential energy of the gas will decrease and dW is taken as negative.