The mechanical work done is calculated using the fundamental physics formula: , where is the force applied and is the distance the boundary moves.
In fluid systems, force is related to pressure () and area () by the relation . Substituting this into the work formula yields .
Since the product of area and distance () represents the change in volume (), the work done on or by a gas is often expressed as .
On a microscopic level, compressing a gas causes molecules to collide with the moving piston, gaining kinetic energy and thus increasing the gas temperature.
| Feature | Work Done ON the Gas | Work Done BY the Gas |
|---|---|---|
| Action | Compression (Volume ) | Expansion (Volume ) |
| Energy Transfer | Energy enters the gas | Energy leaves the gas |
| Temperature Effect | Temperature increases | Temperature decreases |
| Internal Energy | Increases | Decreases |
Check the Units: Ensure pressure is in Pascals ( or ) and volume is in cubic meters () to get work in Joules ().
Sign Convention: Always clarify if the question asks for 'work done on the gas' or 'work done by the gas'. These are equal in magnitude but opposite in sign.
Adiabatic Assumption: In many exam scenarios, work is done 'quickly' (like a bicycle pump), implying no heat has time to escape, making the temperature change more pronounced.
Sanity Check: If a gas is compressed, the final temperature MUST be higher than the initial temperature if no heat is lost.
Confusing Heat and Work: Students often think temperature only rises if 'heat' is added. In compression, temperature rises because of mechanical work, not necessarily thermal heating.
Ignoring Volume Change: Work only occurs if there is a change in volume. If a gas is heated in a rigid container (constant volume), no work is done ().
Pressure Units: Forgetting that is a frequent source of calculation errors in thermodynamics problems.