Compression work on a gas is defined by the external opposing pressure Pextβ:
w=ββ«V1βV2ββPextβdV
- Single-Stage Irreversible Compression: A large external weight is placed instantly on the piston (Pextβ=P2β). The work done on the gas is:
wirrevβ=βP2β(V2ββV1β)=P2β(V1ββV2β)
- Reversible Compression: External pressure is adjusted infinitesimally (Pextβ=PgasβΒ±dP) at every step:
wrevβ=ββ«V1βV2ββVnRTβdV=nRTln(V2βV1ββ)
Because P2β(V1ββV2β)>nRTln(V1β/V2β) for any non-zero compression, reversible compression always demands the minimum possible work to reach the final state.