2.9 · AHL · HL onlyPaper 1Paper 2

The first law of thermodynamics

In a minute

The , Q=ΔU+WQ = \Delta U + W, is the conservation of applied to a gas: the you supply either raises its or leaves as done by the gas. The work comes from a change of volume, W=PΔVW = P\Delta V. For an monatomic gas, the change in internal energy follows the temperature: ΔU=32nRΔT\Delta U = \frac{3}{2}nR\Delta T.

You'll be able to

  • Apply the , Q=ΔU+WQ = \Delta U + W, to a closed system as , using the sign convention for heat supplied and work done by the system.
  • Calculate the work done by or on a gas from W=PΔVW = P\Delta V when the is constant, and from the area under a pressure–volume graph when it is not.
  • Find the change in internal energy of a monatomic ideal gas from its change in temperature, ΔU=32nRΔT=32NkBΔT\Delta U = \frac{3}{2}nR\Delta T = \frac{3}{2}Nk_\text{B}\Delta T, and combine QQ, ΔU\Delta U and WW to solve first-law problems.
Before you start3 quick questions on what this builds on
Check yourself
A trolley is pushed 6.0 m\pu{6.0 m} along a corridor by a constant force of 35 N\pu{35 N} in the direction it moves. Calculate the work done by the force, in joules.
Check yourself
A sample of 0.60 mol\pu{0.60 mol} of an ideal gas is held at 320 K\pu{320 K} in a container of volume 5.0⋅10−3 m3\pu{5.0e-3 m3}. Calculate its pressure, in pascals to 2 significant figures.
Check yourself
What is the internal energy of 1.5 mol\pu{1.5 mol} of an ideal monatomic gas at 250 K\pu{250 K}?

Revise first: 1.2 Equations of motion and motion graphs, 1.6 Momentum and impulse, 1.9 Work and energy transfer, 2.1 Particles, density and temperature, 2.2 Internal energy, phase changes and specific heats, 2.7 Pressure, amount of substance and the ideal gas model and 2.8 The ideal gas equations and the kinetic model

Heat, work and internal energy

Picture a gas sealed in a cylinder by a piston. You can raise its in two ways: heat it with a flame, or push the piston in. It loses internal energy if thermal energy flows out of it, or if it pushes the piston out. The first law keeps track of both kinds of transfer.

A gas in a sealed cylinder with a movable piston is a closed system. crosses its boundary as (heat) because of a temperature difference, or as when the piston moves. An is stricter: neither mass nor energy can cross its boundary.

By , the thermal energy supplied to a closed system cannot vanish. Part of it can stay inside, raising the internal energy. The rest leaves as work done by the system on its surroundings.

In the formula booklet
Q=ΔU+WQ = \Delta U + W

The is in the data booklet. IB problems use Clausius' sign convention, where every quantity is seen from the system's side:

1. QQ is positive when thermal energy is supplied to the system, and negative when the system loses thermal energy.

2. WW is positive when the system does work on its surroundings, as when a gas expands. It is negative when work is done on the system, as when a gas is compressed.

3. ΔU\Delta U is positive when the internal energy increases, and negative when it decreases.

A box labelled gas, a closed system, with its change in internal energy delta U written inside. On the left, an arrow points into the box, labelled Q greater than zero, thermal energy supplied to the gas. On the right, an arrow points out of the box, labelled W greater than zero, work done by the gas on its surroundings. gas (closed system) ΔU Q > 0 thermal energy supplied to the gas W > 0 work done by the gas Q = ΔU + W
Positive directions: QQ into the gas, WW out of it. A transfer the other way gets a minus sign.

Rearranged, ΔU=Q−W\Delta U = Q - W: heat in raises UU, and work done by the gas lowers it. In an isolated system Q=0Q = 0 and W=0W = 0, so ΔU=0\Delta U = 0.

Worked exampleA gas in a cylinder absorbs 740 J\pu{740 J} of thermal energy from a flame. At the same time it expands and does 290 J\pu{290 J} of work pushing a piston outwards. Find by how much the internal energy of the gas changes.

Try it first, then reveal one step at a time.

  1. Assign signs. Thermal energy is supplied, so Q=+740 JQ = +\pu{740 J}. The gas does work, so W=+290 JW = +\pu{290 J}.
Worked exampleAir trapped in a sealed syringe is compressed by pushing the plunger. The plunger does 125 J\pu{125 J} of work on the air. During the compression the air loses 40 J\pu{40 J} of thermal energy to its surroundings. Determine the change in internal energy of the air.

Try it first, then reveal one step at a time.

  1. Assign signs from the air's side. It loses thermal energy, so Q=−40 JQ = -\pu{40 J}. Work is done on it, so W=−125 JW = -\pu{125 J}.
Check yourself
Which statement describes a closed system?
Check yourself
A gas loses 520 J\pu{520 J} of thermal energy to its surroundings while it does 180 J\pu{180 J} of work on them. What is the change in its internal energy?

Work done by a gas

When a gas expands, it pushes its boundary outwards. A force that moves through a distance does , so the expanding gas does work on its surroundings. To find how much, look at a piston.

Side view of a horizontal cylinder closed at the left end, holding gas at pressure P. A piston of area A starts at the dashed line and moves to the right by a distance delta x. The extra volume swept out, between the dashed line and the piston, is delta V equals A delta x. An arrow pointing right, below the cylinder, shows the force F equals P A that the gas exerts on the piston. gas at pressure P Δx ΔV = AΔx piston, area A F = PA
The gas pushes the piston with force F=PAF = PA through a distance Δx\Delta x.

1. The gas, at PP, pushes on a piston of area AA with a force F=PAF = PA.

2. The piston moves out a distance Δx\Delta x. If PP stays constant, the work done by the gas is W=FΔx=PAΔxW = F\Delta x = PA\Delta x.

3. AΔxA\Delta x is the change in volume ΔV\Delta V of the gas, so W=PΔVW = P\Delta V.

In the formula booklet
W=PΔVW = P\Delta V

The sign takes care of itself. In an expansion ΔV\Delta V is positive, so WW is positive. In a compression ΔV\Delta V is negative, so WW is negative. At constant volume, in a rigid container, W=0W = 0, so Q=ΔUQ = \Delta U.

With PP in Pa and VV in m³, WW comes out in joules, because Pa m3=N m−2×m3=N m=J\text{Pa m}^{3} = \text{N m}^{-2} \times \text{m}^{3} = \text{N m} = \text{J}.

Worked exampleGas in a cylinder is heated and expands at a constant pressure of 2.4⋅105 Pa\pu{2.4e5 Pa}. Its volume increases from 1.8⋅10−3 m3\pu{1.8e-3 m3} to 2.6⋅10−3 m3\pu{2.6e-3 m3}. Calculate the work done by the gas.

Try it first, then reveal one step at a time.

  1. Find the change in volume: ΔV=2.6×10−3−1.8×10−3=8.0⋅10−4 m3\Delta V = 2.6 \times 10^{-3} - 1.8 \times 10^{-3} = \pu{8.0e-4 m3}.

Often the pressure changes as the volume changes. Then no single PP fits W=PΔVW = P\Delta V. Split the change into many thin strips: each strip's work, PΔVP\Delta V, is the area of a thin rectangle under the pressure–volume graph.

Adding the strips gives the rule: the work done is the the pressure–volume graph, between the start and end volumes. This works for any shape of graph, and a constant pressure is just a rectangle.

Pressure in units of 10 to the 5 pascals on the vertical axis, from 0 to 5, against volume in units of 10 to the minus 3 cubic metres on the horizontal axis, from 0 to 4. State A is at volume 1.0 and pressure 4.0. A straight line with an arrow runs down to state B at volume 3.0 and pressure 1.0. The region under the line, between volumes 1.0 and 3.0 and down to zero pressure, is shaded and labelled area equals work done by the gas. 1.0 2.0 3.0 4.0 1.0 2.0 3.0 4.0 5.0 A B area = work done by the gas V / 10⁻³ m³ P / 10⁵ Pa
An expansion from A to B while the pressure falls. The shaded area is the work done by the gas.

The direction decides the sign. Moving to the right on the graph (expansion), the gas does work and WW is positive. Moving to the left (compression), the same area counts as negative work.

Worked exampleA gas changes from state A to state B along the straight line in the graph above. At A its volume is 1.0⋅10−3 m3\pu{1.0e-3 m3} and its pressure 4.0⋅105 Pa\pu{4.0e5 Pa}. At B its volume is 3.0⋅10−3 m3\pu{3.0e-3 m3} and its pressure 1.0⋅105 Pa\pu{1.0e5 Pa}. Determine the work done by the gas.

Try it first, then reveal one step at a time.

  1. The pressure is not constant, so find the area under the line from A to B.
Check yourself
A gas is compressed at a constant pressure of 1.2⋅105 Pa\pu{1.2e5 Pa} from a volume of 5.0⋅10−3 m3\pu{5.0e-3 m3} to 3.5⋅10−3 m3\pu{3.5e-3 m3}. Calculate the work done by the gas, in joules to 2 significant figures. Include its sign.
Check yourself
A gas changes state, and the change is drawn on a pressure–volume graph. What does the area under the line represent?

Internal energy and temperature

In 2.8 you met U=32nRTU = \frac{3}{2}nRT for an monatomic gas. Its atoms have no intermolecular potential energy, so its is all random kinetic energy, and that is set by the temperature alone.

So a change in temperature ΔT\Delta T gives a change in internal energy in proportion. Here nn is the amount in moles, R=8.31 J K−1 mol−1R = \pu{8.31 J K-1 mol-1} is the , NN is the number of atoms and kB=1.38⋅10−23 J K−1k_\text{B} = \pu{1.38e-23 J K-1} is the . Both constants are from the data booklet.

In the formula booklet
ΔU=32nRΔT=32NkBΔT\Delta U = \frac{3}{2}nR\Delta T = \frac{3}{2}Nk_\text{B}\Delta T

Three things follow. First, ΔU\Delta U depends only on the start and end temperatures, not on the route between them. Second, if the temperature does not change, ΔU=0\Delta U = 0, so Q=WQ = W. Third, the temperature rises exactly when ΔU\Delta U is positive.

A change of 1 K\pu{1 K} is the same size as a change of 1 ∘C1\,^{\circ}\text{C}, so ΔT\Delta T is the same on both scales. Temperatures themselves, as in PV=nRTPV = nRT, must be in kelvin. In calculations, the course uses only monatomic ideal gases.

To solve a first-law problem: find ΔU\Delta U from ΔT\Delta T, find WW from PΔVP\Delta V or an area, then use Q=ΔU+WQ = \Delta U + W. At constant pressure the gives a shortcut: PΔV=nRΔTP\Delta V = nR\Delta T. The special processes, such as constant temperature, get names in 2.11.

Worked exampleA sample of 0.250 mol\pu{0.250 mol} of helium, an ideal monatomic gas, is heated at constant pressure from 290 K\pu{290 K} to 350 K\pu{350 K}. Determine the thermal energy supplied to the helium.

Try it first, then reveal one step at a time.

  1. Change in internal energy: ΔU=32nRΔT=32(0.250)(8.31)(60)=186.975 J\Delta U = \frac{3}{2}nR\Delta T = \frac{3}{2}(0.250)(8.31)(60) = \pu{186.975 J}.
Worked exampleA cyclist pushes the handle of a bicycle pump in quickly. The air inside is compressed before much thermal energy can flow out through the walls, and the air becomes warmer. Explain this, using the first law of thermodynamics.

Try it first, then reveal one step at a time.

  1. Decide the sign of QQ from how quickly the compression happens.
Check yourself
A sample of 1.2 mol\pu{1.2 mol} of neon, an ideal monatomic gas, cools by 45 K\pu{45 K}. Calculate the change in its internal energy, in joules to 2 significant figures. Include its sign.
Check yourself
An ideal monatomic gas expands slowly while its temperature stays constant. Which statement about the thermal energy QQ supplied to it is correct?

Common mistakes

  • Getting the sign of WW wrong. Work done by the gas (expansion) is positive; work done on it (compression) is negative.
  • Saying no heat flows because the temperature stays constant. For an ideal gas, constant temperature means ΔU=0\Delta U = 0, so Q=WQ = W, which is usually not zero.
  • Using W=PΔVW = P\Delta V with one pressure when the pressure changes. Find the area under the pressure–volume graph instead.
  • Power-of-ten slips with volumes in cm³ or litres, or pressures in kPa. Convert to m³ and Pa before multiplying.
  • Using ΔU=32nRΔT\Delta U = \frac{3}{2}nR\Delta T as if it gave the heat supplied. It is the change in internal energy; add the work done to get QQ.

Exam tips

  • "Show, using the first law" that energy is supplied: state ΔU\Delta U (from what happens to TT), state the sign of WW (from what happens to VV), then deduce the sign of QQ from Q=ΔU+WQ = \Delta U + W.
  • In a Paper 2 "calculate" or "determine", write QQ, ΔU\Delta U and WW separately with their signs before combining them. The method marks are for each one.
  • Paper 1A questions often test signs alone. Ask two questions: is thermal energy flowing into the gas (then Q>0Q > 0)? Is the gas expanding (then W>0W > 0)?
  • "Explain" a temperature change with the first law: give the sign of QQ and of WW, deduce ΔU\Delta U, then link ΔU\Delta U to TT for an ideal gas.

Key takeaways

In bookletQ=ΔU+WQ = \Delta U + W
Learn thisSign convention: Q>0Q > 0 when thermal energy is supplied to the system; W>0W > 0 when the system does work (expands), W<0W < 0 when work is done on it (compressed).
Learn thisA closed system exchanges energy but not mass with its surroundings. An isolated system exchanges neither, so its ΔU=0\Delta U = 0.
In bookletW=PΔVW = P\Delta V
Learn thisWhen the pressure changes, the work done is the area under the pressure–volume graph: positive for an expansion, negative for a compression.
In bookletΔU=32nRΔT=32NkBΔT\Delta U = \frac{3}{2}nR\Delta T = \frac{3}{2}Nk_\text{B}\Delta T
Learn thisConstant volume: W=0W = 0, so Q=ΔUQ = \Delta U. Ideal gas at constant temperature: ΔU=0\Delta U = 0, so Q=WQ = W.

Practise this

42 past-paper questions on Thermodynamics, entropy and cycles in the Physics HL bank, each with a mark scheme and a worked explanation.

Practise Thermodynamics, entropy and cycles →