Skip to content
Marlbridge

Study Guides

IB DP Physics: First law of thermodynamics, gas processes and work done by a gas (DP Physics)

Study guide to the first law, W = PΔV, ΔU for monatomic gases and the four gas processes for IB DP Physics HL, topic B.4 (first half).

Subject
Physics
Level
IB
Topic
First law of thermodynamics, gas processes and work done by a gas
Updated

Aligned to International Baccalaureate IB Diploma Programme Physics (DP Physics), First assessment 2025. Official specification .

Syllabus points this page covers

DP Physics

  • B.4 Thermodynamics (HL only)

Found an error? Report a correction.

This study guide follows the IB Physics guide, first assessment 2025, and covers the first half of topic B.4 (Thermodynamics): the first law, work done by a gas, internal energy and the four gas processes. B.4 is entirely additional higher level (8 hours), so everything here is HL only. Entropy, the second law, heat engines and the Carnot limit are taught in a separate unit.

Use it with the revision notes and the practice set. The course page is IB DP Physics and the printable list is the IB DP Physics checklist. To find weak spots first, try the free 10-minute diagnostics. Thermal energy and the molecular model are in molecular model, temperature and internal energy.

What this unit covers

B.4 understanding What you must be able to do Level
First law, Q = ΔU + W Apply energy conservation to a closed system HL only
Work, W = PΔV Find work from pressure and volume change, including varying pressure HL only
Internal energy Use ΔU = 3/2 N kB ΔT = 3/2 nRΔT HL only
Gas processes Recognise isovolumetric, isobaric, isothermal and adiabatic changes HL only
Adiabatic law Use PV^(5/3) = constant for a monatomic ideal gas HL only
System types Distinguish closed from isolated systems HL only

The guide limits quantitative problems to monatomic ideal gases, and says pressure may vary during a process.

The first law of thermodynamics

The first law is conservation of energy applied to a closed system. Energy enters or leaves a gas in two ways: as heat across the boundary because of a temperature difference, and as work when the boundary moves. Any energy supplied that is not used to do work raises the internal energy.

Q = ΔU + W

The guide asks for the Clausius sign convention:

  • Q is the net heat given to the gas. Heat in is positive, heat out is negative.
  • W is the net work the gas does on its surroundings. Work done by the gas (expansion) is positive. Work done on the gas (compression) is negative.
  • ΔU is positive when internal energy rises.

Read the equation as a sentence: heat supplied goes partly into raising internal energy and partly into work done by the gas.

A closed system allows no mass in or out but allows energy to move as heat or work. An isolated system allows neither mass nor energy across its boundary. For an isolated system Q = 0 and W = 0, so ΔU = 0.

Worked example 1

A gas absorbs 640 J of heat while it does 250 J of work on a piston. Find ΔU.

Q = +640 J and W = +250 J (done by the gas). ΔU = Q − W = 640 − 250 = 390 J. The internal energy rises.

Worked example 2

A gas is compressed so that 180 J of work is done on it, and it loses 70 J as heat. Find ΔU.

W = −180 J (work done on the gas). Q = −70 J (heat out). ΔU = Q − W = −70 − (−180) = +110 J.

A gas in a cylinder absorbs 640 J of heat. 250 J leaves as work done by the gas on the piston and the other 390 J raises the internal energy, so Q = DeltaU + W. Heat in, expansion and a rise in internal energy are all positive.
Heat supplied goes partly into internal energy and partly into work done by the gas.
A piston is pushed in, so 180 J of work is done on the gas (W = -180 J) while 70 J leaves as heat (Q = -70 J). The gas keeps 110 J, so DeltaU = -70 - (-180) = +110 J and it warms.
Compression makes W negative, and the gas can still gain internal energy.
A closed system, a gas in a piston, lets heat Q and work W cross its boundary but not mass. An isolated system lets nothing cross, so Q = 0, W = 0 and DeltaU = 0.
Closed systems exchange energy but not mass; isolated systems exchange neither.

Work done by a gas

When a gas pushes a piston of area A through a small distance, the force is PA and the work is PAΔx, which is PΔV. For a change at constant pressure:

W = PΔV

ΔV is final volume minus initial volume, so expansion gives W > 0 and compression gives W < 0. Use pressure in Pa and volume in m³ so that the work comes out in joules.

Varying pressure and P-V areas

If pressure changes during the process, W = PΔV can only be applied to thin slices. Adding the slices gives the rule you use in practice: the work done by the gas equals the area under the process line on a P-V graph.

  • Expansion (volume increasing, moving right): the area is positive work done by the gas.
  • Compression (moving left): the work is negative.
  • An isovolumetric line is vertical, so the area under it is zero.
  • For a straight line, split the area into a rectangle and a triangle, or use the average pressure multiplied by ΔV.
A straight line falls from 4.0 x 10^5 Pa at 1.0 x 10^-3 m^3 to 2.0 x 10^5 Pa at 3.0 x 10^-3 m^3. The area under it is a 400 J rectangle plus a 200 J triangle, so the work done by the gas is 600 J.
Work done by the gas is the area under the line on a P-V graph.

Worked example 3

A gas expands so that its pressure falls linearly from 4.0 × 10⁵ Pa at 1.0 × 10⁻³ m³ to 2.0 × 10⁵ Pa at 3.0 × 10⁻³ m³. Find the work done by the gas.

The area under the line is a trapezoid. Average pressure = ((4.0 + 2.0)/2) × 10⁵ = 3.0 × 10⁵ Pa. ΔV = 3.0 × 10⁻³ − 1.0 × 10⁻³ = 2.0 × 10⁻³ m³. W = 3.0 × 10⁵ × 2.0 × 10⁻³ = 600 J.

Internal energy of a monatomic ideal gas

In an ideal gas there are no intermolecular forces, so internal energy is the random kinetic energy of the particles. For a monatomic gas each atom has translational kinetic energy only, and the guide gives the change as:

ΔU = 3/2 N kB ΔT = 3/2 nRΔT

Here N is the number of particles, kB the Boltzmann constant, n the amount in moles and R the molar gas constant. The two forms are linked by N kB = nR. Temperature must be in kelvin, though a temperature change is the same in kelvin and degrees Celsius.

Two consequences matter. First, ΔU depends only on the temperature change, not on how the change happened. Second, because PV = nRT, you can write ΔU = 3/2 (P₂V₂ − P₁V₁). This is useful when you are given a P-V graph and no temperatures.

Worked example 4

A sample contains 1.2 × 10²³ monatomic atoms. Its temperature rises by 50 K. Find ΔU (kB = 1.38 × 10⁻²³ J K⁻¹).

ΔU = 3/2 × 1.2 × 10²³ × 1.38 × 10⁻²³ × 50 = 124 J (3 s.f.).

Two boxes of monatomic atoms: in the second the atoms move faster because it is 50 K hotter. 1.2 x 10^23 atoms with DeltaT = 50 K give DeltaU = 3/2 N kB DeltaT = 124 J, equal to 3/2 nR DeltaT, and depending only on DeltaT.
For a monatomic ideal gas, DeltaU depends only on the temperature change.
On the same straight-line expansion, P1V1 = 400 J and P2V2 = 600 J, so DeltaU = 3/2 x 200 = 300 J. The work is the 600 J area, so Q = 300 + 600 = 900 J. Dashed curves of constant PV show B is hotter than A.
Use DeltaU = 3/2 (P2V2 - P1V1) when no temperatures are given.

The four gas processes

Each process holds one variable fixed. Apply the first law to each.

Process Fixed W ΔU Q
Isovolumetric V 0 (no boundary movement) 3/2 nRΔT equals ΔU
Isobaric P PΔV 3/2 nRΔT ΔU + PΔV
Isothermal T area under the curve 0 equals W
Adiabatic no heat transfer −ΔU 3/2 nRΔT 0

In an isothermal change ΔU = 0 because the temperature does not change. The gas must absorb heat to do work, or lose heat when work is done on it. At fixed T, P ∝ 1/V, so pressure falls as volume rises. The work is read from the area under the curve; no formula is needed for it here.

In an adiabatic change no heat crosses the boundary, either because the system is insulated or because the change is too fast for heat to move. All work comes from internal energy, so an expanding gas cools and a compressed gas warms.

Worked example 5 (isobaric)

2.0 mol of a monatomic ideal gas expands at 1.5 × 10⁵ Pa from 0.030 m³ to 0.045 m³ (R = 8.31 J mol⁻¹ K⁻¹). Find W, ΔT, ΔU and Q.

  • W = PΔV = 1.5 × 10⁵ × 0.015 = 2 250 J.
  • Initial temperature: T₁ = PV/nR = (1.5 × 10⁵ × 0.030)/(2.0 × 8.31) = 270.8 K. Final: T₂ = (1.5 × 10⁵ × 0.045)/(2.0 × 8.31) = 406.1 K. So ΔT = 135 K.
  • ΔU = 3/2 × 2.0 × 8.31 × 135.4 = 3 380 J (3 s.f.). Check: 3/2 PΔV = 3/2 × 2 250 = 3 375 J.
  • Q = ΔU + W = 3 375 + 2 250 = 5 630 J (3 s.f.).

Worked example 6 (isovolumetric)

0.50 mol of monatomic gas in a rigid container is warmed from 300 K to 420 K. W = 0 because V is fixed. ΔU = 3/2 × 0.50 × 8.31 × 120 = 748 J, so Q = 748 J.

Worked example 7 (non-constant pressure, using the graph only)

On the straight line in worked example 3, find ΔU and Q.

P₁V₁ = 4.0 × 10⁵ × 1.0 × 10⁻³ = 400 J. P₂V₂ = 2.0 × 10⁵ × 3.0 × 10⁻³ = 600 J. ΔU = 3/2 × (600 − 400) = 300 J. With W = 600 J: Q = 300 + 600 = 900 J.

From one state A, an isovolumetric line is vertical, an isobaric line is horizontal, an isothermal curve is PV = constant and an adiabatic curve (Q = 0) is steeper than the isothermal. Each holds one thing fixed.
Each process holds one quantity fixed; the adiabatic curve falls faster than the isothermal one.
Bar charts of Q, DeltaU and W. Isovolumetric: W = 0 so Q = DeltaU = 748 J. Isobaric: Q 5 630 J = DeltaU 3 380 J + W 2 250 J. Isothermal: DeltaU = 0 so Q = W. Adiabatic: Q = 0, DeltaU = +456 J and W = -456 J.
In every process Q = DeltaU + W; the process decides which term is zero.

Adiabatic changes in a monatomic ideal gas

For an adiabatic change in a monatomic ideal gas the guide gives:

PV^(5/3) = constant

so P₁V₁^(5/3) = P₂V₂^(5/3). Combining with PV = nRT shows that T V^(2/3) is also constant, so the temperature falls on expansion and rises on compression. Use the first form for pressure and the ideal gas law for temperature.

On a P-V graph an adiabatic curve is steeper than an isothermal curve through the same point, because the temperature changes as well as the volume.

Worked example 8

A monatomic gas at 1.0 × 10⁵ Pa and 2.0 × 10⁻³ m³ is compressed adiabatically to 0.50 × 10⁻³ m³. Find the final pressure and the work done by the gas.

  • Volume ratio V₁/V₂ = 4. P₂ = P₁ × 4^(5/3) = 1.0 × 10⁵ × 10.08 = 1.01 × 10⁶ Pa.
  • ΔU = 3/2 (P₂V₂ − P₁V₁) = 3/2 × (504 − 200) = 456 J.
  • Q = 0, so W = −ΔU = −456 J. The negative sign means work is done on the gas, which is why its internal energy rises.
A gas at 1.0 x 10^5 Pa and 2.0 x 10^-3 m^3 is compressed to 0.50 x 10^-3 m^3. Along PV^(5/3) = constant the pressure reaches 1.01 x 10^6 Pa, higher than the isothermal curve. The 456 J area is the work done on the gas, so DeltaU = +456 J and W = -456 J.
Compressing adiabatically raises the pressure more than isothermally and warms the gas.

Common errors

  • Putting W with the wrong sign. Under the Clausius convention, compression gives negative W.
  • Using Celsius temperatures in ΔU = 3/2 nRΔT. Use ΔT in K, or any temperature in K when you need T itself.
  • Using volume in litres or cm³ with pressure in Pa. Convert to m³ first.
  • Saying ΔU = 0 for an adiabatic change. It is Q that is zero. ΔU = 0 belongs to isothermal changes and isolated systems.
  • Using PV^(5/3) = constant for an isothermal change, or PV = constant for an adiabatic one.
  • Using 3/2 on a diatomic gas. The guide limits quantitative work to monatomic ideal gases.
  • Reading work from the wrong area. It is the area between the line and the volume axis, not the area to the pressure axis.

More on this topic

Condense this unit with the revision notes, then test yourself on the practice set.

Frequently asked questions

How long is IB DP Physics B.4 Thermodynamics? B.4 is entirely additional higher level and is allotted 8 hours, so all of this content is HL only.

Can ΔU = 3/2 nRΔT be used for a diatomic gas? No. The guide limits quantitative problems to monatomic ideal gases, so the 3/2 factor should not be applied to a diatomic gas.

Does an adiabatic change need an insulated container? Not necessarily. A change is adiabatic if no heat crosses the boundary, either because the system is insulated or because the change is too fast for heat to move.

Which area on a P-V graph gives the work done? The work done by the gas is the area between the process line and the volume axis, not the area to the pressure axis.

Official syllabus

IB Diploma Programme Physics guide, first assessment 2025, published by the International Baccalaureate Organization. This unit covers part of topic B.4 (Thermodynamics), which is additional higher level only.

Related resources

Related articles

Get free revision emails (optional)

Occasional emails with practice questions, worked explanations and links to free resources for the qualification and subjects you choose. No spam, and you can unsubscribe from any email. The free tools on this site never need an email.

“International Baccalaureate” and “IB” are trademarks of the International Baccalaureate Organization. Marlbridge is not affiliated with or endorsed by the IB.