Laws of Thermodynamics
Senior 4 · Physics
Laws of Thermodynamics
Lesson 1 of 5
25 min
Put a pan of water on the fire with its lid on. As the water boils, the lid begins to rattle and lift: steam pushes it up, again and again. Heat from the fire has become motion of the lid. This simple kitchen sight holds the idea behind every steam engine, petrol engine and power station: a hot gas doing work. Thermodynamics is the physics of how heat, work and the energy stored in matter are related. In S2 you met the ideal gas laws, and in S3 heat capacity and heat transfer. In this unit you combine them into the laws of thermodynamics, starting here with the language of systems, internal energy and the work done by a gas.
A thermodynamic system is the part of the universe we choose to study: the gas in a cylinder, the water in a kettle, a whole engine. Everything outside it is the surroundings, and the two are separated by a boundary, real or imaginary. Systems are classified by what can cross the boundary:
| Type of system | Energy can cross? | Matter can cross? | Example |
|---|---|---|---|
| open | yes | yes | a pan of boiling water with no lid: steam escapes |
| closed | yes | no | a sealed pressure cooker on the fire |
| isolated | no | no | hot tea in a perfect vacuum flask (an ideal limit) |
Table 1.1: Open, closed and isolated systems.
The condition of a system in equilibrium is described by a few state variables: pressure , volume , temperature and the amount of substance . For an ideal gas they are linked by the equation of state you met in S2, , with .
The molecules of any substance move randomly and pull or push on one another. The internal energy of a system is the total of the random kinetic energies and the potential energies of all its molecules. In an ideal gas the molecules exert no forces except in collisions, so is all kinetic energy, and it depends only on temperature. For a monatomic ideal gas such as helium or argon,
Internal energy is a function of state: it depends only on the present state of the system, not on how it got there. There are two ways to change it:
Heat and work are energy in transit. A gas does not "contain" heat or work; it contains internal energy.
Definition
The internal energy of a system is the sum of the random kinetic and potential energies of its molecules; for moles of a monatomic ideal gas . Heat is energy transferred because of a temperature difference; work is energy transferred by a force acting through a distance. A function of state depends only on the state, not on the path. Example: 2.0 mol of helium at 300 K has ; warming it to 400 K raises by , however the warming is done.
Gas at pressure in a cylinder pushes on a piston of area with force (Figure 1.1). If the piston moves out a small distance , keeping the pressure nearly constant, the work done by the gas is
When the gas expands () it does positive work on the surroundings; when it is compressed () the work done by it is negative, which means work is done on it. If the pressure changes during the expansion, add up the small pieces: , which is the area under the curve on a p–V graph.
Figure 1.1: A gas expanding against a piston does work W = pΔV.
Worked example 1: expansion at constant pressure
A gas expands at a constant pressure of from 2.0 L to 5.0 L. Find the work done by the gas.
Remember , and that .
A gas can be taken from state A to state B in many ways. In Figure 1.2 the gas starts at A (1.0 L, ) and ends at B (3.0 L, ). It can expand at high pressure and then cool at constant volume (path ACB), cool first and then expand at low pressure (ADB), or change both together (the straight line AB). The areas under the three paths differ, so the work done depends on the path, and so (as you will see in Lesson 2) does the heat. But is the same at A and B ( in each case), so the temperature, and the internal energy, are the same at both ends whatever the path.
Figure 1.2: Three paths from A to B on a p–V diagram, with the work done along each.
A change that returns the gas to its starting state is a cycle. Going round a cycle, , and the net work done by the gas is the area enclosed by the loop: positive if the loop is traced clockwise. This is how an engine turns heat into work over and over again.
Worked example 2: work along three paths
Find the work done by the gas along each path in Figure 1.2.
ACB: expansion at from 1.0 L to 3.0 L, then no volume change: .
ADB: no volume change, then expansion at : .
Straight AB: area of the trapezium, .
If the gas goes from A to B along ACB and returns along BDA, the cycle encloses the rectangle ACBD and the net work is per cycle. An engine running this cycle 20 times a second would deliver .

Warning
Common mistakes. (1) Saying a hot body "contains heat": it contains internal energy; heat is energy transferred. (2) Forgetting to convert litres or cm³ to m³ in (1 L = , 1 cm³ = ). (3) Using when the pressure changes: then use the area under the p–V graph. (4) Assuming the work between two states is fixed: it depends on the path; only changes in functions of state, such as , do not.
Tip
Read the graph. On a p–V diagram: moving right means the gas does work (expansion), moving left means work is done on it; the area underneath is the work; a closed loop's area is the net work per cycle, clockwise for an engine. Use to compare temperatures at any two points.
Thermodynamics and P-V Diagrams (Bozeman Science). Paul Andersen shows a gas in a piston on a pressure–volume graph. Watch how the area under each process is the work done, and keep the four named processes in mind for Lessons 2 and 3.
Practice
Key points
Sources and credits
Written by Ganzaa: the lesson text, derivations, diagrams, table, worked examples and practice exercises. This lesson adapts CC BY-SA material and is shared under CC BY-SA 4.0.
Quick check
A sealed pressure cooker being heated on a stove is best described as: