Find the isothermal compressibility κ of a Van der Waals gas as a function of volume V at temperature T.
Note. By definition κ = −(1/V)(∂V/∂p)T.
The isothermal compressibility is κ = V²(V − b)² / [RTV³ − 2a(V − b)²]. With the numbers on screen (T = K, a = , b = ) at V = l: κ = atm−¹, against the ideal value V/(RT) = atm−¹.
Problem statement
Problem 2.24. Find the isothermal compressibility κ of a Van der Waals gas as a function of volume V at temperature T.
Note. By definition κ = −(1/V)(∂V/∂p)T.
Interpretation. Compressibility tells how easily a gas is squeezed. If the pressure is raised by a small amount, the volume falls by the share κ times that amount. The task is to find κ for a Van der Waals gas, as a formula in V with T as a fixed number. The gas is one mole, so V is the molar volume.
Interpretation, why a real gas is stiffer or softer. Squeezing a gas means pushing a piston in. The molecules then have less room and hit the walls more often, so the pressure rises. The compressibility says how much the volume shrinks for a given rise in pressure. A stiff gas shrinks little, so its κ is small. For an ideal gas the stiffness is 1/κ = RT/V. A real gas differs in two ways. The molecules have a size, so the free room is V − b, and a small squeeze takes a bigger share of it. This makes the gas stiffer, by the size term RTV/(V − b)². The molecules also pull on each other, and the pull grows as they come closer. This helps the squeeze, so the gas becomes softer, by the pull term 2a/V². The stiffness is the size term minus the pull term, and κ is its inverse.
We assume R = 0.08206 l atm/(mol K), T = 300 K and the nitrogen constants a = 1.35 l² atm/mol² and b = 0.039 l/mol, only to draw numbers. The formula itself holds for any gas. T, a, b and V are sliders.
Symbols: κ is the isothermal compressibility, κ0 = V/(RT) the same for an ideal gas, V the molar volume, a and b the Van der Waals constants.
The big idea in plain words
For an ideal gas, squeezing is easy to describe: pressure p = RT/V, so the volume halves when the pressure doubles. For a Van der Waals gas two things change this. The molecules take up room (b), so there is less space left to squeeze, and the gas resists more. The molecules also pull each other (a), so they help the squeeze, and the gas resists less. The formula shows both effects.
What the molecules do when the gas is squeezed
| Effect | What the molecules do | What it does to κ |
|---|---|---|
| Size (b) | Free room is V − b, so a small squeeze removes a bigger share of it and the hits rise faster | Stiffer gas, smaller κ. Strongest when V is small |
| Pull (a) | Closer neighbours pull harder, so the molecules at the piston are held back more | Softer gas, larger κ. Strongest at low T, where molecules move slowly |
| Higher T | Faster molecules hit harder, which raises the size term in proportion to T, while the pull term stays the same | Size wins, κ falls towards the ideal value or below it |
Putting it together: 1/κ = RTV/(V − b)² − 2a/V². When the pull term is larger than RT/V, the real gas is more compressible than the ideal gas.
The solution in each frame
The gas is at rest under a piston, so only one frame is needed.
The solution step by step
Step 1, the definition. κ = −(1/V)(∂V/∂p)T. The temperature stays fixed while the pressure changes a little. The derivative of V with respect to p is the inverse of the derivative of p with respect to V, so κ = −1/(V ∂p/∂V).
Step 2, the slope of the isotherm. At fixed T, p = RT/(V − b) − a/V². Then ∂p/∂V = −RT/(V − b)² + 2a/V³.
Step 3, put it together. −V ∂p/∂V = RTV/(V − b)² − 2a/V². Over the common denominator V²(V − b)² this is [RTV³ − 2a(V − b)²]/(V²(V − b)²). Inverting: κ = V²(V − b)² / [RTV³ − 2a(V − b)²]. With the numbers on screen: κ = atm−¹.
Step 4, the cases. The bracket RTV³ − 2a(V − b)² must be positive. If it is zero or negative, the isotherm slopes the wrong way: more pressure would make the volume grow. Such a gas is unstable and cannot exist in that state. This only happens below the critical temperature 8a/(27Rb) = K. Above it, κ is positive for every V above b. For a = 0 and b = 0 the formula gives V/(RT), the ideal value.
A separate calculation does not use the formula for κ. It takes the isotherm p(V), finds its slope by a symmetric difference with a small step (and a halved step, to remove the first error), and computes −1/(V × slope). The relative difference from the formula is .
Five methods
1. Force method
Raising the pressure by a small amount pushes the molecules closer. The volume falls until the wall pressure matches again. How far it must fall is set by the slope of p(V).
2. Energy method
The work done on the gas in a small squeeze at constant T is p dV. The slope tells how fast p grows as V shrinks. The attraction energy a/V lowers the stiffness by the term 2a/V².
3. Graph method
The third graph shows the isotherm p(V). The yellow line is the tangent at the shown point. Its slope is −1/(Vκ). A steeper tangent means a smaller κ. The first graph shows κ from this slope at every V.
4. Calculus method
This is steps 1 to 3: differentiate p(V) once and invert.
5. Check method
Units: V²(V − b)² is l4. RTV³ is (l atm) l³ = atm l4. So κ is 1/atm, as it must be. In the limit a, b → 0, κ → V/(RT). For a large V, κ → V/(RT) as well.
Fastest: differentiate and invert. Most reliable: the formula with the numerical check.
What each slider changes
| Control | Changes the answer? | What it changes |
|---|---|---|
| Temperature T | Yes | κ at every V, the isotherm, the ratio to the ideal value and the critical temperature |
| Constant a | Yes | κ, the isotherm, the ratio and the critical temperature |
| Constant b | Yes | κ, the isotherm, the ratio, the molecule size and the critical temperature |
| Molar volume shown V | No | The piston, the dots on the graphs, the tangent and the live readings. The formula for κ(V) does not depend on it |
| Given-answer mode | Sets T | The page finds the temperature that gives a chosen κ at the shown V, and warns if it is outside 100 to 600 K |
| Play and time bar | No | Play holds 2 s at V = 2 l, then pushes the piston in to 0.07 l and repeats. The bar sets V |
Parameters
| Quantity | Symbol | Value used |
|---|---|---|
| Temperature | T | K |
| Constant a | a | l² atm/mol² |
| Constant b | b | l/mol |
| Molar volume | V | l |
| Compressibility | κ | atm−¹ |
| Ideal value | κ0 | atm−¹ |
| Critical temperature | 8a/(27Rb) | K |
Exam traps
- Forgetting the minus sign in the definition. κ must come out positive for a stable gas.
- Differentiating p(V) but forgetting to invert. ∂V/∂p is the inverse of ∂p/∂V.
- Using V instead of V − b in the first term of the slope.
- Differentiating the a-term wrongly. The derivative of −a/V² is +2a/V³.
- Using the formula inside the unstable region, where the bracket is not positive.