Work in reversible and irreversible changes (free preview) | StemPy Lab
Free previewCourse: Standard
Work in reversible and irreversible changes
The same expansion can do very different amounts of work. Against a constant pressure, w = -p_ext ΔV. More stages give more work, and the reversible path gives the most. In compression the reversible path needs the least. An adiabatic change has q = 0, so ΔU = w, and ΔH = ΔU + Δn_g RT links the two for reactions.
This is the first lesson of Chemical Thermodynamics: Numerical Practice, free for everyone to read.
The sign of work
In chemistry, w is the work done on the system. When a gas expands, it pushes the surroundings back and does work on them, so w is negative. When a gas is compressed, the surroundings do work on it, so w is positive.
Work is not a state function. It depends on the path. That is the whole point of this lesson.
One stage against a constant pressure
If the gas pushes against a constant outside pressure pext, the work is
w=−pextΔV
A handy conversion: 1L bar=100J.
Worked example.1.00mol of an ideal gas sits at 300K in 6.00L. It expands at constant temperature to 24.0L.
The pressures.p=VnRT with R=0.08314L bar K−1mol−1. At the start, p1=4.157bar. At the end, p2=1.039bar.
One stage. Drop the outside pressure at once to 1.039bar, and let the gas push against it all the way. w=−1.039×18.0=−18.71L bar=−1871J.
If the outside pressure were zero, the gas would expand into a vacuum. Then w=0. This is called a free expansion.
Two stages do more
Now expand in two steps. First, let the gas push against 2.079bar from 6.00L to 12.0L. Then let it push against 1.039bar up to 24.0L.
Stage 1.−2.079×6.00=−12.47L bar.
Stage 2.−1.039×12.0=−12.47L bar.
Total.−24.94L bar=−2494J.
The gas did more work, because for the first half it pushed against a higher pressure.
The reversible path does the most
Make the stages smaller and smaller. In the limit, the outside pressure stays only a tiny bit below the gas pressure at every moment. This is the reversible path. Its work is the whole area under the isotherm:
wrev=−nRTlnV1V2=−2.303nRTlogV1V2
For our gas: wrev=−1.00×8.314×300×ln4=−3458J.
Three pressure against volume graphs, side by side, for 1.00 mol of ideal gas at 300 K expanding from 6.00 L to 24.0 L. Each shows the same blue isotherm falling from 4.16 bar to 1.04 bar. In the first, one step drops straight to 1.04 bar and runs across: the orange rectangle under it is the work, w = -1871 J. In the second, two steps, at 2.08 bar to 12.0 L and then at 1.04 bar, shade a larger area: w = -2494 J. In the third, the whole area under the curve is shaded green: the reversible work, w = -3458 J, the largest of the three.
On a graph of pressure against volume, the work done by the gas is the area under the path it pushes against. One stage covers a rectangle. Two stages cover more. The reversible path covers everything under the curve.
Compression turns the rule around
Now push the gas back from 24.0L to 6.00L at 300K.
In one stage, the outside pressure must be at least the final pressure, 4.157bar, from the start. w=−4.157×(6.00−24.0)=+74.83L bar=+7483J.
Reversibly,wrev=+3458J.
So for an expansion, the reversible path gives the most work out. For a compression, it needs the least work in.
Isothermal changes of an ideal gas
The internal energy of an ideal gas depends only on its temperature. At constant temperature, ΔU=0 by every path. The first law then gives q=−w.
In the reversible expansion above, the gas took in q=+3458J of heat and did exactly that much work.
Adiabatic changes in outline
An adiabatic change lets no heat in or out: q=0. The first law then gives
ΔU=w
When a gas expands adiabatically, it does work, so w<0. Its internal energy falls, and so does its temperature. That is why air cools as it rises and expands.
For an ideal gas, ΔU=nCVΔT. A monatomic gas has CV=23R=12.47J K−1mol−1.
Worked example.2.00mol of a monatomic ideal gas expands adiabatically and does 1.20kJ of work. By how much does it cool?
The first law.w=−1200J, so ΔU=−1200J.
The temperature.ΔT=nCVΔU=2.00×12.47−1200=−48.1K.
A free expansion into a vacuum is a special case. Then q=0 and w=0, so ΔU=0 and an ideal gas keeps its temperature.
Delta H and Delta U for a reaction
A bomb calorimeter keeps the volume fixed, so it measures ΔU. Most tables list ΔH, the heat at constant pressure. For a reaction of ideal gases:
ΔH=ΔU+ΔngRT
Here Δng is the moles of gaseous products minus the moles of gaseous reactants. Solids and liquids do not count.
Worked example. Propane burns in a bomb at 298K with ΔU=−2213kJ mol−1:
C3H8(g)+5O2(g)→3CO2(g)+4H2O(l)
Count the gas.Δng=3−(1+5)=−3. The water is liquid.
RT in kilojoules.8.314×298÷1000=2.478kJ mol−1.
Add.ΔH=−2213+(−3)(2.478)=−2220kJ mol−1.
Try it in Python
The program expands the same gas in 1, 2, 4, 10 and 100 stages, and compares each with the reversible work. Each stage ends at a volume a fixed factor larger than the last.
Common mistakes
Forgetting the sign. Expansion makes w negative; compression makes it positive.
Using the gas pressure in w=−pextΔV. It is the outside pressure that counts.
Mixing ln and log.lnx=2.303logx.
Leaving RT in joules when ΔU is in kilojoules. Divide by 1000.
Counting liquids in Δng. Only gases count.
Thinking reversible means fast. A reversible change is infinitely slow, through states that are always at equilibrium.
Remember these
One stage: w=−pextΔV, with 1L bar=100J. A free expansion has w=0.
Reversible isothermal: w=−nRTlnV1V2.
Expansion: the reversible path gives the most work out. Compression: it needs the least work in.
Isothermal ideal gas: ΔU=0, so q=−w.
Adiabatic: q=0, ΔU=w; an expanding gas cools.
ΔH=ΔU+ΔngRT, counting gases only.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
A gas expands from 2.0L to 7.0L against a constant outside pressure of 3.0bar. What is w?
Which needs less work to compress a gas from 10L to 5L at constant temperature: one stage, or a reversible path?
For H2(g)+Cl2(g)→2HCl(g), how do ΔH and ΔU compare?
A gas expands adiabatically into a vacuum. What are q, w and ΔU?
Liked this lesson? There is more
Chemical Thermodynamics: Numerical Practice is a Standard course. It adds 2 more lessons, practice and tests on top of the free chapter.
11Problems2Python Labs1Question Set1Mock Test
Enthalpy cycles in practice: Hess's law lets you find any enthalpy you cannot measure from ones you can. From combustion enthalpies you get enthalpies of formation. Comparing measured values with bond enthalpies gives the resonance energy of benzene. A Born-Haber cycle gives the lattice enthalpy of a salt, and neutralisation shows what it costs to ionise a weak acid.
Spontaneity by numbers: At a phase change, ΔS = ΔH/T. The surroundings gain entropy ΔS_surr = -ΔH/T, and a change is spontaneous when the total rises. A reaction with ΔH and ΔS of the same sign turns around at T = ΔH/ΔS. ΔG° = -RT ln K gives the equilibrium constant, and ΔG = ΔG° + RT ln Q tells which way any mixture moves.