One mole of a certain ideal gas is contained under a weightless piston of a vertical cylinder at a temperature T. The space over the piston opens into the atmosphere. What work has to be performed in order to increase isothermally the gas volume under the piston η times by slowly raising the piston? The friction of the piston against the cylinder walls is negligible.
A = RT (η − 1 − ln η) for one mole. With your sliders, .
Problem statement
Problem 2.35. One mole of a certain ideal gas is contained under a weightless piston of a vertical cylinder at a temperature T. The space over the piston opens into the atmosphere. What work has to be performed in order to increase isothermally the gas volume under the piston η times by slowly raising the piston? The friction of the piston against the cylinder walls is negligible.
Interpretation. An outside agent pulls the piston up. The atmosphere above pushes the piston down and helps the agent, so the agent only has to supply the difference. We want the work of the agent alone, from the start volume V₁ to the final volume ηV₁, with the gas at the same temperature T throughout.
We assume that at the start the piston just floats on the gas, so the gas pressure is the atmospheric pressure p₀. This follows from the piston being weightless. We also assume R = 8.314 J/(mol K). T = 300 K and η = 2 are example values; both are sliders.
Symbols: η is the stretch factor of the volume, ν the moles (the problem has ν = 1), p₀ the atmospheric pressure, S the piston area, F the force of the agent, A the work of the agent.
The big idea in plain words
The agent pulls with the force that is left over after the atmosphere has done its share: F = (p₀ − p) S. At the start the gas pressure equals p₀ and the force is zero. As the gas stretches, its pressure falls and the force grows.
The work is the force times the distance, added up over the whole lift. It is the area under the force curve. In the p–V diagram it is the area between the line p = p₀ and the isotherm. That area is a rectangle minus the area under the isotherm.
The solution in each frame
Lab frame (at rest)
The cylinder is at rest and the lift is slow, so the piston has no kinetic energy at any time. The whole solution uses this frame.
Other frames
A moving frame adds the same motion of the whole cylinder at the start and at the end, so it changes nothing and is not needed.
The solution step by step
Step 1: The forces
The piston is weightless and moves slowly, so the forces on it balance at every moment. The gas pushes up with p S, the agent pulls up with F, and the atmosphere pushes down with p₀ S:
Step 2: Work in a small lift
When the piston moves up by dx the volume grows by dV = S dx, so
Step 3: The gas law
The temperature is fixed, so p V = νRT, and p = νRT / V.
Step 4: Add up the steps
From V₁ to ηV₁:
Step 5: Use p₀V₁ = νRT
The first term becomes νRT (η − 1), so
For one mole, A = RT (η − 1 − ln η). The atmospheric pressure p₀ has cancelled.
Step 6: The numbers
For ν = mol, T = K and η = : νRT = J and η − 1 − ln η = , so A = J. For the defaults (1 mol, 300 K, η = 2) this is 2494 × 0.3069 ≈ 765 J.
A separate calculation does not use the formula for A. It cuts the volume from V₁ to ηV₁ into 4000 slices. In each slice it adds (p₀ − νRT / V) dV, using the middle volume of the slice. The sum is A = J. The relative difference from the formula is , which is rounding only.
Other methods
Energy. The gas is ideal and its temperature does not change, so its internal energy does not change. The heat it takes in equals the work it does: Q = νRT ln η = J. The work done on the piston by the gas plus the agent must also push the atmosphere back: the atmosphere takes p₀ΔV = J. The agent supplies the difference, A = p₀ΔV − νRT ln η.
The p–V diagram. The rectangle under the line p = p₀ has area p₀ΔV. The area under the isotherm is νRT ln η. The red area between them is the work A.
Limit checks. If η = 1 nothing moves and A = 0. For η close to 1, A is about νRT (η − 1)² / 2, which is small. For large η, A is about νRT η, the work against the atmosphere.
Units check. mol × J/(mol K) × K = J.
What each slider changes
| Control | What it changes |
|---|---|
| Stretch factor η (header slider and Play) | The final volume, the piston height, the force, the work A, the diagram and the graphs. |
| Temperature T | The volumes, the work A, the heat taken in and the graphs. |
| Moles ν (derivation slider too) | The volumes, the work A and the dots. |
| Atmospheric pressure p₀ | The volumes and the final force. The work A does not change, which is the result. |
Parameters
| Quantity | Symbol | Value used |
|---|---|---|
| Moles | ν | mol |
| Temperature | T | K |
| Stretch factor | η | |
| Atmospheric pressure | p₀ | kPa |
| Start volume | V₁ | L |
| Final volume | V₂ | L |
| Work of the agent | A | J |
Exam traps
- Giving only νRT ln η. That is the work done by the gas, not the work of the agent.
- Forgetting the atmosphere. Without it the agent would do the full gas work, which is not the case here.
- Using a constant force. The force changes from 0 to (p₀ − p₀/η) S as the piston rises.
- Thinking the answer depends on p₀. The start state p₀V₁ = νRT removes it.
- Using log base 10. The natural logarithm ln η is needed.