Irreversible Expansion

Let an ideal gas expand into vacuum (T2 = T1) In this case no energy has been exerted and stored, but the volume has increased.

The shrinking of a gas to a smaller volume without input of mechanical energy does not occur.