Hi all, I'm quite confused here.
I understand that if it is expansion, there is considered to be no work done whereas for compression, it is considered to have work done. I tried hard to figure it out and could only come up with these reasonings (which I do not know if they are right):
(1) For compression, because external force is required to drive the compression, it is considered to have work done since force is required for the work to be done. And it involved change in just the system.
(2) In compression, because there can be conversion of state (gaseous to liquid).
(3) Expansion is not considered a work done because it does not involve change in the system but just the surrounding.
Could you guys please advise if I'm on the right track? Are my reasonings okay?
But then again... what if the expansion is result from a chemical reactions (with gas production) does it consider to have work done? I know based on the calculation, the work done will be negative. But why is it negative since it involved changes in the system?
Thank you very much!