These Reversible isothermal work of an ideal gas notes explain the idea step by step, with 4 worked examples and ten questions with solutions. After this topic you will be able to calculate q, w, delta U and delta H for the reversible isothermal expansion or compression of an ideal gas, and compare it with one-step and two-step paths on a P-V diagram.
In the last topic the external pressure stayed fixed, so the work was simply w=−PextΔV. Now picture a gas in a cylinder. The piston is held down by a heap of fine sand, and the cylinder sits in a large water bath, so the temperature cannot change. Take away one grain of sand. The gas pushes the piston up a tiny distance, its pressure falls a tiny bit, and everything is balanced again. Take away the next grain, and so on. Here the external pressure is not constant. It falls slowly all the way, and it always stays just below the gas pressure. We need a way to add up all these tiny pieces of work. This topic does exactly that.
Removing sand grain by grain keeps the external pressure only a tiny amount dP below the gas pressure at every moment. The bath keeps T fixed.
Sign convention used in these notes (IUPAC and NCERT): ΔU=q+w. Heat absorbed by the system is positive. Work done on the system is positive and work done by the system is negative. For each small step, w=−PextdV.
What isothermal means for an ideal gas
Isothermal means the temperature of the gas is the same all through the change. The molecules of an ideal gas do not attract or repel each other. So its internal energy is only the kinetic energy of the molecules, and that is fixed by the temperature. If T does not change, U does not change.
ΔU=0andΔH=0(ideal gas, ΔT=0)
ΔH=ΔU+Δ(PV), and PV=nRT stays the same when T is fixed, so ΔH is also zero.
Put ΔU=0 into the first law: 0=q+w. So whatever work the gas does in expanding, it takes in exactly that much heat from the bath. Whatever work is done on it in compression, it gives out as heat. This holds for every isothermal change of an ideal gas, reversible or not.
q=−w
For any isothermal change of an ideal gas.
Common mistake
ΔU=0 does not mean q=0. Do not mix up isothermal (ΔT=0) with adiabatic (q=0). In an isothermal expansion heat flows in all the time. That is exactly how the temperature stays fixed.
Work along the reversible path
On the reversible path the external pressure is always smaller than the gas pressure by only an infinitesimal amount dP. So for each tiny step we may put Pext=P=nRT/V. The work of one tiny step is −PdV, a thin strip under the curve on a P-V diagram. Adding all the strips from V1 to V2 (this adding is called integration) gives the whole area under the isotherm.
wrev=−nRTlnV1V2=−2.303nRTlogV1V2
n in mol, T in K, R=8.314JK−1mol−1 gives w in J. We use lnx=2.303logx.
At fixed T, Boyle's law gives P1V1=P2V2, so V2/V1=P1/P2. This gives a second form, handy when pressures are given.
wrev=−2.303nRTlogP2P1
Volumes: final over initial. Pressures: initial over final.
The magnitude of the reversible isothermal work is the whole area under the isotherm between the two volumes.
The formula gives the sign by itself. In expansion V2>V1, the log is positive and w is negative: the gas does work on the surroundings. In compression V2<V1, the log is negative and w is positive: the surroundings do work on the gas.
Quantity
Reversible isothermal expansion
Reversible isothermal compression
ΔU, ΔH
0
0
w
negative, −nRTln(V2/V1)
positive, nRTln(V1/V2)
q
positive (heat absorbed)
negative (heat released)
How to find q, w, delta U and delta H for a reversible isothermal change
1Check the three conditions: ideal gas, temperature fixed, reversible path.
2Write ΔU=0 and ΔH=0 at once.
3Find the ratio V2/V1, or P1/P2 if pressures are given.
4Find w=−2.303nRTlog(ratio) with R=8.314JK−1mol−1 and T in kelvin.
5Write q=−w. Divide by 1000 if the answer is wanted in kJ.
Common mistake
If you use log (base 10) you must multiply by 2.303. Writing −nRTlog(V2/V1) without the 2.303 gives an answer 2.303 times too small. Also convert ∘C to K.
Why reversible work is the maximum in expansion
Take 1 mol of gas at 300 K going from 4 bar to 1 bar. Look at three ways. One step: drop Pext suddenly to 1 bar; the gas expands against 1 bar all the way. Two steps: first against 2 bar until the gas reaches 2 bar, then against 1 bar. Reversible: infinitely many tiny steps.
Expansion from 4 bar to 1 bar: one step (orange), two steps (orange + green) and reversible (all three colours). For 1 mol at 300 K (worked example 3) the three areas are 1871 J, 2494 J and 3459 J.
In an expansion the external pressure can never be more than the gas pressure, or the gas would not expand. So every step lies on or below the isotherm. Each extra step lets the staircase fit closer under the curve and adds area. With infinite steps the staircase becomes the curve itself. So the reversible path gives the largest possible work done by the gas for the same start and end states. In our sign convention this means the largest ∣w∣; w itself is the most negative.
∣w∣one step<∣w∣two steps<∣w∣rev(expansion)
Same initial and final states, same temperature.
Compression: reversible work is the minimum
Now push the gas back from 1 bar to 4 bar. In a one-step compression we must use Pext=4 bar from the start. A smaller pressure could never bring the gas up to 4 bar. Now the rectangle lies above the curve. Adding steps brings the staircase down towards the curve. So in compression the reversible path needs the least work on the gas. In both directions the reversible work has the same size, nRTln(Vlarge/Vsmall).
Compression from 1 bar to 4 bar: the one-step work (orange + blue) is larger than the reversible work (blue). For 1 mol at 300 K (worked example 4) these are 7483 J and 3459 J.
How to find the work of an irreversible isothermal change done in steps
1In each step the external pressure is constant and equals the gas pressure at the end of that step.
2Find the volume at the end of each step from PV=nRT (at fixed T, V∝1/P).
3Work of a step =−Pext(Vend−Vstart). A short form: w=−nRT(1−Pext/Pstart).
4Add the work of all the steps.
5Since ΔU=0, q=−w for the whole path.
Common mistake
In a one-step compression the external pressure is the final, highest pressure, not the initial one. And never use the log formula for a change against a constant external pressure; that formula is only for the reversible path.
Tip
Every path between the same two states has ΔU=0 and ΔH=0, but q and w change from path to path. This is the clearest example that q and w are path functions. Expansion into a vacuum (Pext=0) is the extreme case with w=0 and q=0 (see the previous topic).
Worked examples
Worked example 1: reversible expansion
2 mol of an ideal gas at 400 K expand reversibly and isothermally from 4.0 L to 32.0 L. Find w, q, ΔU and ΔH. (R=8.314JK−1mol−1, log8=0.9031)
1Ideal gas, fixed T: ΔU=0 and ΔH=0.
2V2/V1=32.0/4.0=8.
3w=−2.303×2×8.314×400×0.9031=−13833J=−13.83kJ.
4q=−w=+13.83kJ. The gas takes in heat equal to the work it does.
Answer: w=−13.83kJ, q=+13.83kJ, ΔU=ΔH=0.
Worked example 2: reversible compression from pressures
0.5 mol of an ideal gas at 350 K is compressed reversibly and isothermally from 1 bar to 5 bar. Find w and q. (R=8.314JK−1mol−1, log5=0.6990)
1Use w=−2.303nRTlog(P1/P2) with P1=1 bar and P2=5 bar.
2log(1/5)=−0.6990.
3w=−2.303×0.5×8.314×350×(−0.6990)=+2342J.
4q=−w=−2342J. The gas gives out 2342 J of heat to the bath.
Answer: w=+2342J (work done on the gas), q=−2342J.
Worked example 3: one step, two steps and reversible expansion
1 mol of an ideal gas at 300 K expands isothermally from 4 bar to 1 bar (a) in one step against 1 bar, (b) in two steps, against 2 bar and then against 1 bar, (c) reversibly. Find w in each case. (R=8.314JK−1mol−1, log4=0.6021)
3(b) Step 1: −2494.2×(1−2/4)=−1247.1J. Step 2: −2494.2×(1−1/2)=−1247.1J. Total =−2494.2J.
4(c) w=−2.303×2494.2×0.6021=−3458.5J.
5Order of size: 1870.7<2494.2<3458.5. The reversible path gives the most work, as the figure showed.
Answer: (a) −1870.7J, (b) −2494.2J, (c) −3458.5J.
Worked example 4: compression back again
The same gas is now compressed at 300 K from 1 bar back to 4 bar (a) in one step, (b) in two steps through 2 bar, (c) reversibly. Find w and the heat given out in each case. (Data as in example 3.)
1(a) One step against 4 bar: w=−nRT(1−4/1)=+3×2494.2=+7482.6J.
2(b) Against 2 bar: −2494.2×(1−2/1)=+2494.2J. Then against 4 bar: −2494.2×(1−4/2)=+2494.2J. Total =+4988.4J.
3(c) Reversible: w=+3458.5J, the same size as the reversible expansion.
4In each case q=−w, so the heat given out equals the work done on the gas.
Answer: (a) +7482.6J, (b) +4988.4J, (c) +3458.5J; heat given out of the same size. The reversible path needs the least work.
Key points
For an ideal gas at fixed T: ΔU=0, ΔH=0 and q=−w, whatever the path.
Work is the area under the path on a P-V diagram. For a step against constant pressure, w=−nRT(1−Pext/Pstart).
Between the same two states, the reversible path gives the maximum work done by the gas in expansion and needs the minimum work done on the gas in compression. More steps bring an irreversible path closer to the reversible one.
Ten Reversible isothermal work of an ideal gas questions
Try each one on paper first, then open the answer and the worked solution under it.
1Starter
Which set of signs is correct for the reversible isothermal expansion of an ideal gas?
AΔU=0, q=0, w<0
BΔU>0, q>0, w=0
CΔU=0, q>0, w<0
DΔU<0, q=0, w<0
Show answer and solution
Answer: C
At fixed T the internal energy of an ideal gas does not change, so ΔU=0. The gas does work, so w<0. Then q=−w>0: heat flows in. The option with q=0 and ΔU=0 breaks the first law. The option with ΔU<0 and q=0 describes an adiabatic expansion. Answer: ΔU=0, q>0, w<0.
2Starter
0.4 mol of an ideal gas at 320 K expands reversibly and isothermally from 0.50 L to 50.0 L. What is w? (R=8.314JK−1mol−1)
A−2.13kJ
B−4.90kJ
C+4.90kJ
D−2.45kJ
Show answer and solution
Answer: B
V2/V1=50.0/0.50=100 and log100=2. w=−2.303×0.4×8.314×320×2=−4902J=−4.90kJ. −2.13 kJ comes from leaving out 2.303. −2.45 kJ comes from taking log100 as 1. +4.90 kJ has the wrong sign: the gas does work, so w is negative. Answer: −4.90kJ.
3Starter
An ideal gas is compressed reversibly at constant temperature. Which set is correct?
Aw>0, q>0, ΔU>0, ΔH>0
Bw<0, q>0, ΔU=0, ΔH=0
Cw>0, q=0, ΔU>0, ΔH>0
Dw>0, q<0, ΔU=0, ΔH=0
Show answer and solution
Answer: D
Work is done on the gas, so w>0. T is fixed, so for an ideal gas ΔU=0 and ΔH=0. Then q=−w<0: the gas gives out heat. The set with q=0 and ΔU>0 is an adiabatic compression. The set with w<0 is an expansion. Answer: w>0, q<0, ΔU=0, ΔH=0.
4Starter, numerical answer
2 mol of an ideal gas at 360 K expand reversibly and isothermally from 1.00 bar to 0.25 bar. How much heat (in kJ) does the gas absorb? (R=8.314JK−1mol−1, log4=0.6021) Give the answer to one decimal place.
1 mol of an ideal gas expands isothermally from 5 bar to 1 bar, once in a single step against a constant external pressure of 1 bar and once reversibly. What is the ratio ∣wrev∣/∣wonestep∣? (log5=0.6990)
A2.01
B0.50
C0.40
D0.87
Show answer and solution
Answer: A
One step: ∣w∣=nRT(1−Pext/Pstart)=nRT(1−1/5)=0.8nRT. Reversible: ∣w∣=2.303nRTlog5=2.303×0.6990nRT=1.610nRT. Ratio =1.610/0.8=2.01. 0.50 is the ratio turned upside down. 0.40 comes from using the initial pressure, 5 bar, as the external pressure in the single step (∣w∣=4nRT), which is impossible for an expansion. 0.87 comes from leaving out 2.303. Answer: 2.01.
6Exam level
0.5 mol of an ideal gas at 300 K, first occupying 2.0 L, expands reversibly and isothermally. The work done is w=−1729J. What is the final volume? (R=8.314JK−1mol−1, log2=0.3010)
A0.5 L
B6.0 L
C8.0 L
D48.7 L
Show answer and solution
Answer: C
2.303nRT=2.303×0.5×8.314×300=2872.1J. log(V2/V1)=1729/2872.1=0.6020. Since log4=2log2=0.6020, V2/V1=4 and V2=4×2.0=8.0L. 0.5 L comes from writing the ratio as V1/V2, which would mean a compression with positive work. 48.7 L comes from leaving out 2.303. 6.0 L comes from adding 4 L instead of multiplying by 4. Answer: 8.0 L.
7Exam level
14 g of N2 gas (treat as ideal) at 27∘C is compressed reversibly and isothermally from 10.0 L to 1.0 L. What is the heat exchanged with the surroundings? (N = 14, R=8.314JK−1mol−1)
A2.87 kJ absorbed by the gas
B2.87 kJ released by the gas
C5.74 kJ released by the gas
D1.25 kJ released by the gas
Show answer and solution
Answer: B
n=14/28=0.5mol and T=300K. V2/V1=1.0/10.0=0.1, log0.1=−1. w=−2.303×0.5×8.314×300×(−1)=+2872J. q=−w=−2872J, so 2.87 kJ of heat is released. 5.74 kJ comes from taking 1 mol (molar mass 14 instead of 28). 1.25 kJ comes from leaving out 2.303. 'Absorbed' has the wrong sign: a gas compressed at fixed T must give out heat. Answer: 2.87 kJ released.
8Exam level, numerical answer
1 mol of an ideal gas at 400 K expands isothermally from 8 bar to 1 bar in two steps: first against a constant external pressure of 2 bar until the gas pressure is 2 bar, then against a constant external pressure of 1 bar. What is the total work done by the gas, in J? (R=8.314JK−1mol−1) Give the answer as an integer.
Numerical answer, in J.
Show answer and solution
Answer: 4157 J
nRT=8.314×400=3325.6J. Step 1: w=−nRT(1−2/8)=−0.75×3325.6=−2494.2J. Step 2: w=−nRT(1−1/2)=−1662.8J. Total w=−4157.0J, so the gas does 4157 J of work. (Reversibly it would do 3325.6×ln8=6915J, more, as expected.) Answer: 4157 J.
9Challenge
1 mol of an ideal gas at 300 K is compressed isothermally from 1 bar to 3 bar. How much more work must be done on the gas if the compression is done in a single step than if it is done reversibly? (R=8.314JK−1mol−1, log3=0.4771)
A2.25 kJ
B1.08 kJ
C3.80 kJ
D4.99 kJ
Show answer and solution
Answer: A
nRT=2494.2J. Single step against 3 bar: w=−nRT(1−3/1)=2×2494.2=4988.4J. Reversible: w=2.303×2494.2×0.4771=2740.5J. Extra work =4988.4−2740.5=2247.9J=2.25kJ. 4.99 kJ is the single-step work alone. 3.80 kJ comes from leaving out 2.303 in the reversible work. 1.08 kJ comes from using 1 bar (the initial pressure) as the external pressure, which could never compress the gas to 3 bar. Answer: 2.25 kJ.
10Challenge, numerical answer
2 mol of an ideal gas at 400 K expand reversibly and isothermally until the pressure falls to half its first value. The gas is then compressed back to its first state at 400 K in a single step against a constant external pressure equal to the first pressure. What is the net heat given out by the gas over the whole cycle, in kJ? (R=8.314JK−1mol−1, log2=0.3010) Give the answer to two decimal places.
Numerical answer, in kJ.
Show answer and solution
Answer: 2.04 kJ (accepted range 2.035 to 2.045)
nRT=2×8.314×400=6651.2J. Expansion: w1=−2.303×6651.2×0.3010=−4610.6J. Compression against P1, starting at P1/2: w2=−nRT(1−P1/(P1/2))=−6651.2×(1−2)=+6651.2J. Net w=−4610.6+6651.2=+2040.6J. For the whole cycle ΔU=0, so q=−w=−2040.6J: the gas gives out 2.04 kJ. The surroundings lose work because the return path is irreversible. Answer: 2.04 kJ.