Lesson 9 of 10 · 16 min
Internal energy, work and the first law
Explain how heating and work both change a system's internal energy, apply with the correct signs, and explain how thermal energy can do mechanical work.
What you will be able to do
- Explain how a system with thermal energy can do mechanical work.
- State the first law of thermodynamics, , and explain why it follows from conservation of energy.
- Use the sign conventions for and to solve problems for any one unknown.
- Describe how the drive to improve steam engines led to the laws of thermodynamics.
Pump up a bike tyre quickly and the barrel of the pump gets warm, even though nothing heated it. Lift the lid of a pot of boiling water and the steam pushes it up. Both show the same idea: heating is not the only way to change a system's internal energy. Doing work is the other.
Gas in a cylinder. Heating adds energy to the gas (); as the gas pushes the piston out, it does work on its surroundings ().
A hot gas has thermal energy: its particles move fast and collide constantly with the walls of their container. If one wall can move, like a piston, each collision gives it a tiny push. Together the pushes make a force, and when the piston moves, that force acts through a distance. The gas does mechanical work.
The energy for that work comes from the gas's internal energy, so unless energy keeps being added by heating, the gas cools as it does work. Steam engines, car engines and power-station turbines all work this way: heat a gas so it pushes harder, let it expand against a piston or turbine blades, and keep heating it to keep going.
Key idea
The first law of thermodynamics
- is the change in the internal energy of the system (J).
- is the energy added to the system by heating: positive if energy flows in, negative if it flows out.
- is the work done on the system: positive if the surroundings do work on it (such as compressing a gas), negative if the system does work on its surroundings (such as a gas expanding against a piston).
This is conservation of energy for a system: its internal energy can change only by energy crossing its boundary, and heating and work are the two ways energy crosses.
| Situation | Sign of Q | Sign of W | Internal energy |
|---|---|---|---|
| A gas is heated and expands, pushing a piston out | positive | negative | Depends on which is larger |
| Air is compressed quickly in a pump, with no time for heating | zero | positive | Increases (the air warms) |
| A hot drink cools on the bench | negative | zero | Decreases |
| Gas rushes out of an aerosol can and expands, with no time for heating | zero | negative | Decreases (the can feels cold) |
Worked example
Heating a gas that expands
A gas in a cylinder absorbs 850 J of energy by heating. At the same time it expands and does 320 J of work pushing a piston outwards. Calculate the change in the internal energy of the gas.
Step 1: Decide the sign of Q
Energy is added to the gas by heating, so .
Step 2: Decide the sign of W
The gas does work on its surroundings, so the work done on the gas is negative: .
In from the formula book, is the work done on the system. Expanding gas loses energy by doing work.
Step 3: Apply the first law
Step 4: Interpret the answer
The internal energy rises by 530 J. With no change of state, that means the temperature of the gas rises.
Try it yourself first, then check the working one step at a time.
Answer
The internal energy increases by 530 J.
Method
positive if energy is added by heating, negative if removed.
positive if work is done on the system (compression), negative if the system does work (expansion).
.
Watch out for
Adding 850 and 320 to get 1170 J.
A gas absorbs 600 J of energy by heating and does 250 J of work on its surroundings as it expands. What is the change in its internal energy?
Common mistake
Two sign conventions in the wild
The QCAA formula and data book writes , where is the work done on the system. Some textbooks and most engineering courses write , where is the work done by the system. They describe the same physics with opposite signs for .
In QCAA exams use : compressing a gas makes positive, and a gas that expands has negative .
Worked example
Why a bike pump gets warm
In one quick stroke of a bike pump, the cyclist does 45 J of work compressing the air inside. During the stroke, 12 J of energy is transferred from the air to the pump barrel by heating.
(a) State the values of and for the air, with signs.
(b) Calculate the change in internal energy of the air.
(c) Explain what happens to the temperature of the air, using the kinetic particle model.
Step 1: Decide the signs
Work is done on the air, so . Energy leaves the air by heating, so .
Step 2: Apply the first law
Step 3: Explain the temperature change
The internal energy of the air increases by 33 J and there is no change of state, so the extra energy goes into the random motion of the air particles. Their average kinetic energy increases, so the temperature of the air rises. The moving piston speeds up the particles that bounce off it.
Work and heating are both ways of transferring energy. Here the temperature rises even though energy is being removed by heating, because more energy is added by work.
Try it yourself first, then check the working one step at a time.
Answer
(a) , (b) (c) the temperature rises, because the particles' average kinetic energy increases.
Method
Translate each sentence into a signed or .
.
Positive with no change of state means a temperature rise.
Watch out for
Thinking the temperature can only rise if energy is added by heating.
Air in a bike pump is compressed so quickly that no energy is transferred by heating (). Which statement is correct?
History
From steam engines to the laws of thermodynamics
Thomas Newcomen's steam engine (1712) pumped water out of mines but turned only about 1 % of its coal's energy into work. James Watt's separate condenser (patented 1769) cut the waste dramatically, and the race to build better engines drove both technology and science.
Sadi Carnot (1824) asked what limits an engine's efficiency and showed that it depends on the temperatures the engine works between. James Joule's experiments in the 1840s showed that work and heat are two ways of transferring the same thing, energy, and by the 1850s Rudolf Clausius and William Thomson had stated the first and second laws of thermodynamics. The same push for efficiency produced the internal combustion engine (Nicolaus Otto's four-stroke engine, 1876) and the steam turbines in today's power stations.
Joule's paddle-wheel experiment
Joule let heavy weights fall slowly, turning a paddle wheel inside an insulated container of water. The paddles churned the water and its temperature rose by a fraction of a degree. The rise was always proportional to the work done by the falling weights, , with no heating involved.
Work done on the water increased its internal energy exactly as heating would have. Joule's value for the "mechanical equivalent of heat" was within about 1 % of the modern one: 4.18 J of work raises the temperature of 1 g of water by 1 K, which is just again.
The internal energy of a gas decreases by 150 J while 400 J of work is done on it. Find , the energy added to the gas by heating, with its sign.
Exam tip
Say the signs in words
Before you substitute, write each quantity in words with its sign: "energy is added by heating, so ; the gas does work on the piston, so ." Most lost marks in first-law questions are sign errors, and this sentence shows the marker your reasoning. Then say what the answer means: a positive with no change of state means the temperature rises.
Summary
A gas with thermal energy can do mechanical work by pushing a piston or turbine blade through a distance; its internal energy falls unless it is heated.
: the change in internal energy equals the energy added by heating plus the work done on the system.
when energy flows in by heating; when work is done on the system (compression) and when the system does work (expansion).
The first law is the law of conservation of energy applied to heating and work.
Doing work on a gas (such as compressing it quickly) raises its temperature even without heating.
Improving steam engines led to the science of thermodynamics and to later engines and turbines.
Finished the lesson?
Try the 3 quick checks above and the lesson completes itself, or mark it complete now.