S5.12.5 Chapter 5
The laws of thermodynamics
Pump up a bicycle tyre quickly and the pump gets warm, though nothing heated it. Where did that energy come from?
Your guess
Pick one before you read on. It is fine to be wrong.
By the end you can
- Apply the first law to heating and to work done on a gas
- Find work done from the area under a pressure and volume graph
Thermodynamics is the physics of heat and work. Its laws are few, and no measurement has ever broken them. The first, called the zeroth law, came up in chapter 1. If two things are each in thermal equilibrium with a third, they are in equilibrium with each other. That is why a thermometer works.
There are two ways to change the internal energy U of a gas. Heat it, so energy flows in because of a difference in temperature. Or do work on it, by pushing a piston in. The first law of thermodynamics says energy is conserved: ΔU = Q + W.
Here Q is the energy given to the gas by heating, and W is the work done on the gas. Each is positive when energy goes into the gas. When the gas pushes a piston out, it does work on the outside, so W is negative. Some books write the law as Q = ΔU + W, with W the work done by the gas. It is the same law with the other sign for W.
Draw it first
Heating a gas that pushes a piston
1 A flame gives the gas 500 J by heating, so Q = +500 J.
2 The gas pushes the piston out and does 200 J of work on it, so W = −200 J. Only the rest stays in the gas.
Worked example
A gas is given 500 J by heating. As it warms it pushes a piston out and does 200 J of work. What is the change in its internal energy?
- Energy in by heating: Q = +500 J.
- The gas does work, so work is done by it, not on it: W = −200 J.
- ΔU = Q + W = 500 + (−200) = 300 J.
Answer: 300 J
How much work does a gas do as it expands? At a fixed pressure p, the gas pushes on a piston of area A with force F = pA. If the piston moves a distance x, the work done by the gas is Fx = pAx. And Ax is the change in volume, ΔV. So the work done by the gas is pΔV.
Worked example
A gas at a fixed 1.5 × 10⁵ Pa expands from 2.0 × 10⁻³ m³ to 5.0 × 10⁻³ m³. How much work does it do?
- In units of 10⁻³ m³, ΔV = 5.0 − 2.0 = 3.0.
- Work done by the gas = pΔV = 1.5 × 10⁵ × 3.0 × 10⁻³ = 450 J.
- This is the shaded area on the graph: 450 kPa × 10⁻³ m³ = 450 J.
Answer: 450 J
When the pressure changes as the gas expands, split the change into thin strips. Each strip is p × a small ΔV, so the total work is the area under the p-V graph. If the gas is squeezed instead, the same area is work done on the gas.
Worked example
Use the graph. The gas goes from A to B along the straight line. How much work does it do?
- The area under the line is a trapezium. Area = 1/2 × (p at A + p at B) × ΔV.
- In the graph's units: 1/2 × (300 + 100) × (4 − 1) = 600.
- The units are kPa × 10⁻³ m³, which is 10³ × 10⁻³ = 1 J. So the work done by the gas is 600 J.
Answer: 600 J
Four kinds of change come up again and again. At fixed volume no piston moves, so W = 0. With no heat flow, as when a gas is squeezed too fast for energy to leak out, Q = 0. At fixed temperature an ideal gas keeps the same internal energy, because its internal energy is only the kinetic energy of its molecules, so ΔU = 0. At fixed pressure, use pΔV.
Kinetic theory gives the internal energy of an ideal gas of single atoms, such as helium: each atom has 3/2kT, so N atoms have U = 3/2NkT = 3/2nRT. Its internal energy depends only on its temperature.
Worked example
0.5 mol of helium is heated from 300 K to 340 K. How much energy must be given by heating if its volume is fixed, and how much if its pressure is fixed? Give 3 significant figures.
- ΔU = 3/2nRΔT = 1.5 × 0.5 × 8.31 × 40 = 249.3 J.
- Fixed volume: W = 0, so Q = ΔU = 249.3 J, which is 249 J.
- Fixed pressure: the gas expands and does work pΔV = nRΔT = 0.5 × 8.31 × 40 = 166.2 J.
- So Q = ΔU + pΔV = 249.3 + 166.2 = 415.5 J, which is 416 J.
Answer: 249 J at fixed volume and 416 J at fixed pressure
A gas can be taken round a cycle: through several changes and back to where it started. Back at the start it has the same temperature, so ΔU = 0 for the whole cycle. The net work done by the gas is the area inside the loop on the p-V graph. A loop that runs clockwise gives out work: the gas expands at a high pressure and is squeezed back at a low one.
The second law of thermodynamics says energy flows by heating only from hotter to colder on its own. One result is that no engine working in a cycle can turn all the heat it takes in into work: chapter 6 shows how much it can. The third law says absolute zero can never be reached in a finite number of steps.
Try it
A warm pump
You need: a bicycle pump or a ball pump, your hand.
Be safe: Do not pump past the pressure printed on a tyre or ball.
- Feel the far end of the pump barrel, where the air is squeezed. Note how warm it is.
- Fit the pump to a tyre or a ball and pump it up fast, 20 strokes.
- Feel the far end of the barrel again.
What you will see: The barrel is warmer, most of all at the outlet end. Each stroke does work on the air too fast for much heat to leak out. So Q is about 0 and ΔU = W: the air gets hotter and warms the barrel. In this example a thermometer on the barrel went from 24 °C to 33 °C, a rise of 9 K.
A wrong idea many people have
A gas can only get hotter if it is heated.
Why it feels right: In daily life we make things hotter by putting them near something hot.
The test that breaks it: In the pump no heat goes in, Q = 0, yet the air gets hotter. The other way round, gas that rushes out of a valve as it expands does work on the air outside and comes out cold.
What is true: Temperature rises when internal energy rises, and ΔU = Q + W. Work done on a gas raises its temperature just as heating does.
Key words
- zeroth law
- two things each in thermal equilibrium with a third are in equilibrium with each other.
- first law of thermodynamics
- ΔU = Q + W: the change in internal energy equals the energy given by heating plus the work done on the gas.
- pΔV
- the work done by a gas that expands by ΔV at a fixed pressure p.
- area under the p-V graph
- the work done by a gas as it expands, or on it as it is squeezed.
- fixed volume
- a change in which no work is done, so ΔU = Q.
- no heat flow
- a change with Q = 0, so ΔU = W.
- fixed temperature
- a change in which an ideal gas keeps its internal energy, so Q = −W.
- cycle
- a set of changes that brings a gas back to where it started, so ΔU = 0.
- second law of thermodynamics
- energy flows by heating only from hotter to colder on its own.
Back to your guess
The answer is C: Work done on the air raised its internal energy.
Pushing the plunger does work on the air. With no time for energy to leak away, all that work goes into the internal energy of the air, so it gets hotter. Friction adds a little, but a pump warms most at the end where the air is squeezed.
Check yourself
Try each one before you look. A wrong answer tells you where to go next.
A gas is given 800 J by heating and does 300 J of work as it expands. What is the change in its internal energy?
See the answer
+500 J
ΔU = Q + W = 800 + (−300) = 500 J.
- If you chose A: You added the work. The gas did the work, so energy left it: W = −300 J. Read this page again.
- If you chose B: The signs are swapped. Heating puts 800 J in; only 300 J leaves as work. Read this page again.
- If you chose D: That is the work. ΔU = Q + W, with Q = +800 J and W = −300 J. Read this page again.
A gas at a fixed 2.0 × 10⁵ Pa expands by 1.5 × 10⁻³ m³. How much work does it do?
See the answer
300 J
Work done = pΔV = 2.0 × 10⁵ × 1.5 × 10⁻³ = 300 J.
Air in a pump is squeezed so fast that no energy leaks out by heating. What happens to its temperature?
See the answer
It rises, because work done on the air raises its internal energy.
With Q = 0, ΔU = W. Work is done on the air, so W is positive, ΔU is positive and the temperature rises.
- If you chose A: Q = 0, but work is done on the air. ΔU = Q + W = W, which is positive. Read this page again.
- If you chose C: A smaller space does not take energy out. Work is put in. Read this page again.
An ideal gas expands slowly at a fixed temperature and does 150 J of work. How much energy did it take in by heating?
See the answer
150 J, the same as the work.
At a fixed temperature ΔU = 0 for an ideal gas. The work done on the gas is W = −150 J, so Q = ΔU − W = 0 − (−150) = 150 J.
- If you chose A: Its internal energy did not change, but it gave out work. That energy came from heating. Read this page again.
- If you chose B: There is no factor of 2. With ΔU = 0, Q = −W exactly. Read this page again.
- If you chose C: With ΔU = 0, all the work must be paid for by heating. Read this page again.
The gas expands at a fixed temperature from A to B. Each square of the grid is 50 J. About how much work does the gas do?
See the answer
About 330 J
The shaded area covers about 6.6 squares of 50 J each, so about 330 J.
- If you chose B: That is the final pressure × ΔV, only the part below 100 kPa. The shaded area is bigger. Read this page again.
- If you chose C: That is the starting pressure × ΔV. The pressure falls as the gas expands. Read this page again.
- If you chose D: That is the trapezium under a straight line from A to B. The curve sags below that line. Read this page again.
A gas goes round the cycle A, B, C, D and back to A. What is the net work done by the gas in one cycle?
See the answer
800 J
The area inside the loop is (5 − 1) × (300 − 100) = 800 kPa × 10⁻³ m³ = 800 J. The loop runs clockwise, so the gas gives out this work.
- If you chose A: That is the area under A to B only. Take away the work done on the gas from C to D. Read this page again.
- If you chose C: That is the area under C to D. The net work is the area inside the loop. Read this page again.
- If you chose D: ΔU is 0 over a cycle, but the net work is not. It is the area inside the loop. Read this page again.
A gas goes once round a cycle and ends where it started. What is the change in its internal energy?
See the answer
Zero, because it is back at the same temperature.
The internal energy depends only on the state of the gas. Back at the start, the state is the same, so ΔU = 0 and the net Q equals the net work done by the gas.
- If you chose A: The area is the net work. The internal energy is back where it started. Read this page again.
- If you chose B: Over a cycle the heat taken in equals the work given out, so ΔU = 0. Read this page again.
0.2 mol of helium, an ideal gas of single atoms, is heated at a fixed volume. Its temperature rises by 50 K. How much energy was given by heating? Give 3 significant figures.
See the answer
125 J
At fixed volume W = 0, so Q = ΔU = 3/2nRΔT = 1.5 × 0.2 × 8.31 × 50 = 124.65 J, which is 125 J to 3 significant figures.
Why does a gas need more heat for a 1 K rise at fixed pressure than at fixed volume?
See the answer
At fixed pressure the gas also does work as it expands.
The rise in internal energy is the same for the same rise in temperature. At fixed pressure the gas also pushes the piston out, so the heat must pay for that work too: Q = ΔU + pΔV.
- If you chose A: The molecules are the same. Think about where the energy goes. Read this page again.
- If you chose C: Both cases are ideal here, with no losses. The difference is work. Read this page again.
- If you chose D: For the same rise in T, ΔU is the same both ways. The extra goes into work. Read this page again.
Another book writes the first law as Q = ΔU + W. What does W stand for in that book?
See the answer
The work done by the gas
Rearranged, ΔU = Q − W. Energy goes out when the gas does work, so this W is the work done by the gas. It is the same law with the other sign.
- If you chose B: Then the law would read ΔU = Q + W, as in this book. Read this page again.
- If you chose C: W is work, not heat. Rearrange: W = Q − ΔU. Read this page again.
From an earlier chapter
Why is the internal energy of an ideal gas all kinetic energy?
See the answer
There are no forces between its molecules, so no potential energy.
Potential energy comes from forces between particles. Kinetic theory assumes an ideal gas has none except in collisions, so all its internal energy is kinetic.
Keep it
Copy this into your exercise book.
ΔU = Q + W: Q heat in, W work done on the gas. At fixed pressure the gas does work pΔV. Work done by a gas is the area under its p-V graph.
Draw: A p-V graph with a level line from A to B and the rectangle under it shaded, marked work = pΔV.