[Physics] Work done by ideal gas

definitionthermodynamicswork

Our textbooks state that work done by the gas is,

$$dW = P_{external}\space dV$$

But why can't it be

$$dW = P_{gas} \space dV$$

Why do we consider the external pressure instead of the pressure of the gas in the container while calculating work done by an ideal gas?

Best Answer

If the process is irreversible, the pressure of the gas within the cylinder is not uniform, and varies with spatial location. The force per unit area at the piston face (where the work is being done) $\sigma_f$ is also affected by viscous stresses (which are not present if the process is reversible). So, in an irreversible process, the work done by the gas on the surroundings is given by $$W=\int{\sigma_f dV}=\int{P_{ext} dV}$$ where $\sigma_f$ is the compressive stress exerted by the gas at the piston face. This compressive stress includes the thermodynamic pressure $p_f$(evaluated at the local gas specific volume and temperature, as, for example, calculated from the ideal gas law) plus a viscous stress, determined by the local rate of gas deformation in the vicinity of the piston face: $$\sigma_f=p_f+\sigma_{vf}$$Note that, from Newton's 3rd law, the compressive stress $\sigma_f$ exerted by the gas on the piston face is equal to $P_{ext}$, the compressive stress exerted by the piston face on the gas.

If the process is carried out reversibly, then the viscous stresses are negligible, and the thermodynamic pressure is uniform throughout the gas, such that$$\sigma_{vf}=0$$ and $$p_f=p$$where p is determined from the total volume and temperature of the gas, as, for example, from an equation of state such as the ideal gas law. So, for a reversible process, $$\sigma_f=P_{ext}=p$$ and $$W=\int{P_{ext}dV}=\int{pdV}$$ Here is a link to an article I wrote that explains the difference between reversible and irreversible gas expansion (and compression work) in terms of the close analogy to a mechanical spring-damper system: https://www.physicsforums.com/insights/reversible-vs-irreversible-gas-compressionexpansion-work/

Related Question