Skip to content
IB Diploma ProgrammeSL & HL

Thermodynamics

Physics SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Thermodynamics notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Thermodynamics notes as text: skim, search, and jump between subtopics.

~16 min read

1. The first law and the sign convention

The first law of thermodynamics, Q = Δ U + W, results from the application of conservation of energy to a closed system. It relates the internal energy of a system to the transfer of energy as heat and as work.

Problems use the Clausius sign convention. Q is the resultant thermal energy supplied to the system. W is the resultant work done by the system. Work done by a system is positive. Work done on a system is negative.

When the boundaries of a closed system change, the work is W = PΔ V. If the pressure is not constant, the work is the area under the P-V graph. In Paper 1A the answer is one letter, but you must be able to say why each wrong option fails.

Q = Δ U + W

W = PΔ V

Worked example 11 mark

An ideal gas is held in a cylinder by a piston. The piston compresses the gas rapidly.

The average speed of the gas molecules increases because the gas molecules...

A. have a smaller volume available in which they can move.

B. receive thermal energy transferred from outside the cylinder.

C. receive energy from the piston as they collide with it.

D. make more collisions every second with each other.

  1. 1

    C: the piston does work on the gas, so W is negative and the molecules receive energy from the piston as they collide with it [1]

  2. 2

    A is wrong: a smaller volume changes how often molecules hit the walls, not how fast they move.

  3. 3

    B is wrong: the compression is rapid, so there is no time for thermal energy to transfer and Q ≈ 0.

  4. 4

    D is wrong: collisions between molecules do not on their own raise the average speed.

2. Internal energy of a monatomic ideal gas

In quantitative problems the system is a monatomic ideal gas, including situations where the pressure is not constant. The change in its internal energy is related to the change in its temperature.

The data booklet gives Δ U = 3/2Nk_BΔ T = 3/2nRΔ T. Here N is the number of particles and n the number of moles. With PV = nRT the internal energy of the gas is also U = 3/2PV.

When a gas is heated at a constant volume no work is done. So W = 0 and ΔU = Q. Then Δ T follows from Δ U. The command term Calculate needs the working shown, step by step.

Δ U = 3/2Nk_BΔ T = 3/2nRΔ T

U = 3/2PV

Worked example 13 marks

An ideal gas is held in a container. Thermal energy is transferred to it by a heater. The gas is heated for 30 s at a constant volume. The thermal energy transferred to the gas is 13 200 J.

Before heating, the gas was at a temperature of 293 K and a pressure of 101 kPa. The volume of the container is 0.45 m³.

Calculate the increase in temperature.

  1. 1

    W = 0 or ΔU = Q, because the volume is constant [1]

  2. 2

    13200 = 3/2nRΔ T, with n = PV/RT = (101000 × 0.45)/(8.31 × 293) = 18.7 mol [1]

  3. 3

    Δ T = 13200/(3/2 × 18.7 × 8.31) = 57 K [1]

3. Entropy and microstates

Entropy S is a thermodynamic quantity that relates to the degree of disorder of the particles in a system. The microstates of a system are equally probable. They can be described in a simple combinatorial model, for example one based on coins.

Entropy can be found from the properties of individual particles: S = k_B ln Ω. k_B is the Boltzmann constant and Ω is the number of possible microstates of the system. It can also be found from macroscopic quantities: Δ S = Δ Q / T, with T the temperature in kelvin.

With four coins, each arrangement of heads and tails is one microstate. Three heads can be arranged in 4 ways, so Ω = 4 for three heads. More arrangements means a larger Ω, so a larger entropy.

S = k_B ln Ω

Δ S = (Δ Q)/T

Worked example 13 marks

A model of a gas uses four fair coins. Each coin shows heads or tails and every arrangement is equally likely.

(a) Determine the number of microstates in which exactly three coins show heads.

(b) Calculate the entropy of this arrangement. Use k_B = 1.38 × 10⁻²³ J K⁻¹ from the data booklet.

(c) The arrangement with exactly two heads has a larger entropy. State why.

  1. 1

    (a) the one tail can be in any of 4 positions, so Ω = 4 [1]

  2. 2

    (b) S = k_B ln Ω = 1.38 × 10⁻²³ × ln 4 = 1.91 × 10⁻²³ J K⁻¹ [1]

  3. 3

    (c) two heads can be arranged in 6 ways, a larger number of microstates, so lnΩ and S are larger [1]

4. The second law of thermodynamics

The second law can be described in three ways. Clausius form: thermal energy does not flow spontaneously from a colder body to a hotter body. Kelvin form: a cycle cannot take thermal energy from a single reservoir and turn all of it into work. Entropy form: it refers to the change in entropy of an isolated system and sets constraints on possible physical processes.

Processes in real isolated systems are almost always irreversible, so the entropy of a real isolated system always increases. In a reversible process in an isolated system the entropy does not change.

The entropy of a non-isolated system can decrease locally. This is compensated by an equal or greater increase of the entropy of the surroundings. The command term Outline asks for a brief account: one mark for each point.

Δ S_isolated ≥ 0

Worked example 13 marks

A mass of 0.25 kg of ice at −32 °C is placed in water at 0 °C. When thermal equilibrium is reached the temperature is 0 °C. The only transfers of thermal energy are between the ice and the water. The water gives 1.680 × 10⁴ J of thermal energy to the ice as part of it turns to ice.

(ii) Calculate the decrease in the entropy of the water.

(iii) Outline how the result in(ii) is consistent with the second law of thermodynamics.

  1. 1

    Δ S = Q/T = -(1.680 × 10⁴)/273 = -62 J K⁻¹ [1]

  2. 2

    Entropy of the ice has increased [1]

  3. 3

    and this increase is greater than the entropy change of the water [1]

5. Gas processes

Four processes are obtained by keeping one variable fixed. Each has its own consequence for Q, W and Δ U.

Isovolumetric (volume fixed): W = 0, so Δ U = Q. Isobaric (pressure fixed): W = PΔ V. Isothermal (temperature fixed): PV is constant. Adiabatic: no thermal energy is transferred, so Q = 0 and Δ U = -W.

On a P-V diagram all four paths can be drawn from the same point. The isothermal path is a curve of constant PV.

PV = constant (isothermal)

Δ U = Q (isovolumetric)

Δ U = -W (adiabatic)

Worked example 11 mark

An ideal monatomic gas is held at a constant temperature. The graph shows how the pressure P of the gas varies with 1/V, where V is the volume of the gas. The gradient of the graph is q.

What is the internal energy of the gas?

A. 2q/3

B. 2/3q

C. 3q/2

D. 3/2q

  1. 1

    C: the gradient is P ÷ 1/V = PV = q, and U = 3/2nRT = 3/2PV = 3q/2 [1]

  2. 2

    A is wrong: it inverts the factor 3/2.

  3. 3

    B and D are wrong: they divide by q, but U is proportional to q.

6. Adiabatic changes in a monatomic gas

Adiabatic processes in monatomic ideal gases can be modelled by PV^(5/3) = constant. No thermal energy enters or leaves, so Q = 0.

Combine this with PV = nRT and the relation becomes TV^(2/3) = constant. Use it when volume and temperature are given and pressure is not. Temperatures must be in kelvin.

On the P-V diagram the adiabatic curve is steeper than the isothermal one. When the gas expands adiabatically it cools. When it is compressed adiabatically it warms.

PV^(5/3) = constant

TV^(2/3) = constant

Worked example 12 marks

The gas is allowed to expand adiabatically to double its original volume. Assume the gas is monatomic. The temperature before the expansion is 350 K.

Determine its final temperature.

  1. 1

    use of TV^(2/3) = constant [1]

  2. 2

    T = 350 × (1/2)^(2/3) = 220 K [1]

7. Heat engines and the Carnot limit

Cyclic gas processes are used to run heat engines. A heat engine can respond to different cycles. It is characterised by its efficiency: eta = (useful work)/(input energy).

The Carnot cycle sets a limit for the efficiency of a heat engine at the temperatures of its heat reservoirs. T_h and T_c are the temperatures of the hot and cold reservoirs, in kelvin.

No engine between two reservoirs can beat eta_Carnot. The command term Determine means one valid answer, so show each value before you compare them.

eta = (useful work)/(input energy)

eta_Carnot = 1 - T_c/T_h

Worked example 13 marks

A heat engine works between a hot reservoir at 600 K and a cold reservoir at 300 K. In each cycle it takes 800 J from the hot reservoir and does 240 J of useful work.

Determine whether the efficiency of this engine is below the Carnot limit.

  1. 1

    eta = (useful work)/(input energy) = 240/800 = 0.30 [1]

  2. 2

    eta_Carnot = 1 - T_c/T_h = 1 - 300/600 = 0.50 [1]

  3. 3

    0.30 < 0.50, so the efficiency is below the Carnot limit [1]

Recap

  • First law: Q = Δ U + W. Q is thermal energy supplied to the system. W is work done by the system: positive by, negative on.
  • Work: W = PΔ V at constant pressure. When P changes, W is the area under the P-V graph.
  • Monatomic ideal gas: Δ U = 3/2nRΔ T and U = 3/2PV. At constant volume Δ U = Q.
  • Entropy: S = k_B lnΩ and Δ S = Δ Q/T with T in kelvin. More microstates means more entropy.
  • Second law: the entropy of an isolated system never decreases. A local decrease is paid for by an equal or greater increase in the surroundings.
  • Isovolumetric, isobaric, isothermal, adiabatic: one variable fixed. Adiabatic: PV^(5/3) and TV^(2/3) are constant.
  • Heat engine: eta = useful work/input energy, never above 1 - T_c/T_h, with temperatures in kelvin.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. State the sign of the work W in Q = Δ U + W when a gas is compressed.1 mark
    Answer
    1. Negative.
    2. Work is done on the system, and work done on a system is negative.

    Trap: Work is not always positive. The sign follows the convention: work done by the system is positive and work done on it is negative.

  2. Which statement is the Clausius form of the second law of thermodynamics? A. Energy cannot be created or destroyed. B. Thermal energy does not flow spontaneously from a colder body to a hotter body. C. A cycle cannot turn all the thermal energy taken from a single reservoir into work. D. The entropy of every system always increases.1 mark
    Answer
    1. B: this is the Clausius form.
    2. A is the conservation of energy, C is the Kelvin form and D is wrong because only the entropy of an isolated system cannot decrease.

    Trap: C is a second law statement too, but it is the Kelvin form. Match the form to its name.

  3. A model of a gas uses five fair coins. Every arrangement of heads and tails is equally likely. (a) Determine the number of microstates in which exactly two coins show heads. (b) Calculate the entropy of this arrangement. Use k_B = 1.38 × 10⁻²³ J K⁻¹.2 marks
    Answer
    1. (a)
    2. Choose 2 of the 5 positions for the heads: (5 × 4)/2 = 10, so Ω = 10.
    3. (b)
    4. S = k_B ln Ω = 1.38 × 10⁻²³ × ln 10 = 3.18 × 10⁻²³ J K⁻¹.

    Trap: Using S = k_BΩ with no logarithm gives 1.38 × 10⁻²² J K⁻¹. The formula needs lnΩ.

  4. A monatomic ideal gas in a cylinder is supplied with 450 J of thermal energy. It expands and does 150 J of work on the piston. Calculate the change in the internal energy of the gas.2 marks
    Answer
    1. Δ U = Q - W, with Q = +450 J supplied and W = +150 J done by the gas.
    2. Δ U = 450 - 150 = 300 J.

    Trap: Adding the work gives 600 J. Work done by the gas is positive in Q = Δ U + W, so it must be subtracted when you find Δ U.

  5. A monatomic ideal gas expands at a constant pressure of 1.2 × 10⁵ Pa. Its volume rises from 0.0030 m³ to 0.0050 m³. The gas is supplied with 500 J of thermal energy. Determine the change in the internal energy of the gas.3 marks
    Answer
    1. Δ V = 0.0050 - 0.0030 = 0.0020 m³.
    2. W = PΔ V = 1.2 × 10⁵ × 0.0020 = 240 J.
    3. Δ U = Q - W = 500 - 240 = 260 J.

    Trap: Using the final volume instead of the change in volume gives W = 600 J. The work depends on Δ V.

  6. A rigid container holds 2.0 mol of a monatomic ideal gas. The gas is supplied with 900 J of thermal energy. Determine the increase in its temperature. Use R = 8.31 J K⁻¹ mol⁻¹.3 marks
    Answer
    1. The container is rigid, so W = 0 and Δ U = Q = 900 J.
    2. Δ U = 3/2nRΔ T, so Δ T = 900/(3/2 × 2.0 × 8.31).
    3. Δ T = 36 K.

    Trap: Leaving out n gives Δ T = 72 K, double the correct value. The gas is 2.0 mol.

  7. Two blocks form an isolated system. A thermal energy of 120 J passes from a block at 400 K to a block at 300 K. Each block stays at a constant temperature. What is the total entropy change of the two blocks? A. -0.10 J K⁻¹ B. 0 J K⁻¹ C. +0.10 J K⁻¹ D. +0.70 J K⁻¹1 mark
    Answer
    1. Hot block: Δ S = -120/400 = -0.30 J K⁻¹.
    2. Cold block: Δ S = +120/300 = +0.40 J K⁻¹.
    3. Total = +0.10 J K⁻¹, so C. It is positive, as the second law needs.

    Trap: D adds the sizes of the two changes. The hot block loses entropy, so its change is negative.

  8. A monatomic ideal gas at 27 °C is compressed adiabatically from a volume of 2.0 × 10⁻³ m³ to 1.0 × 10⁻³ m³. Determine the final temperature of the gas in kelvin.4 marks
    Answer
    1. T₁ = 27 + 273 = 300 K.
    2. For an adiabatic change TV^(2/3) is constant, so T₂ = T₁(V₁/V₂)^(2/3).
    3. T₂ = 300 × 2.0^(2/3) = 300 × 1.587.
    4. T₂ = 476 K, so 4.8 × 10² K to 2 significant figures, matching the data.

    Trap: Using 27 in place of 300 K gives 43 K. Inverting the volume ratio gives 189 K, a fall in temperature when the gas is compressed.

  9. A model engine holds 0.50 mol of a monatomic ideal gas at 300 K. With the piston locked, the gas is supplied with 1.5 kJ of thermal energy. The piston is then released and the gas expands adiabatically to 8 times its volume. Use R = 8.31 J K⁻¹ mol⁻¹. (a) Calculate the temperature of the gas when the heating ends. (b) Determine the temperature of the gas after the expansion. (c) Determine the work done by the gas during the expansion.6 marks
    Answer
    1. (a)
    2. The piston is locked, so W = 0 and Δ U = Q = 1500 J.
    3. Δ T = 1500/(3/2 × 0.50 × 8.31) = 241 K, so T = 300 + 241 = 541 K.
    4. (b)
    5. TV^(2/3) is constant, so T = 541 × (1/8)^(2/3) = 541/4.
    6. T = 135 K.
    7. (c)
    8. Adiabatic, so Q = 0 and W = -Δ U = -3/2nRΔ T.
    9. W = -3/2 × 0.50 × 8.31 × (135 - 541) = +2.5 × 10³ J, positive because the gas does the work.

    Trap: Starting the expansion from 300 K, the temperature before heating, gives 75 K: an IB markscheme gives one mark only for this slip. The expansion starts from 541 K.

  10. An inventor says that an engine working between reservoirs at 127 °C and 27 °C takes 2.0 kJ from the hot reservoir and does 0.60 kJ of useful work in each cycle. (a) Use the Carnot limit to evaluate the claim. (b) The energy rejected to the cold reservoir is 1.4 kJ. Calculate the total entropy change of the two reservoirs in one cycle and state what it shows.5 marks
    Answer
    1. (a)
    2. T_h = 400 K and T_c = 300 K.
    3. Claimed efficiency = 0.60/2.0 = 0.30. Carnot limit = 1 - 300/400 = 0.25.
    4. The claim is above the limit, so it is not possible.
    5. (b)
    6. Hot reservoir: -2000/400 = -5.00 J K⁻¹. Cold reservoir: +1400/300 = +4.67 J K⁻¹.
    7. Total = -0.33 J K⁻¹. The entropy of the isolated system would decrease, which the second law forbids.

    Trap: The temperatures are given in °C. Using 127 and 27 in the Carnot formula gives 0.79 and wrongly accepts the claim.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
The gas warms because thermal energy is transferred from outside (rapid compression)The molecules receive energy from the piston as they collide with it
No work is done at constant volume, so the internal energy does not changeW = 0 or ΔU = Q: the energy supplied raises the internal energy
T = 293 × (1/2)^(2/3) = 185 K: starting from the temperature before heating (one mark only)T = 350 × (1/2)^(2/3) = 220 K: start from the temperature just before the expansion
The entropy of the water falls, so the second law is brokenEntropy of the ice has increased, and this increase is greater than the entropy change of the water

Frequently asked questions

What is the first law of thermodynamics and what sign convention does it use?
The first law of thermodynamics is Q = Δ U + W, which applies conservation of energy to a closed system. Q is the thermal energy supplied to the system, and W is the work done by the system, so work done by the system is positive and work done on it is negative. When the volume is constant, no work is done, so W = 0 and Δ U = Q.
How does an adiabatic expansion change the temperature of a monatomic gas?
In an adiabatic process no thermal energy is transferred, so Q = 0. For a monatomic ideal gas, TV^(2/3) is constant, with T in kelvin. An expansion cools the gas and a compression warms it. A gas at 350 K that expands to double its volume reaches 350 × (1/2)^(2/3) = 220 K.
What is entropy and how is it found from microstates?
Entropy S is a thermodynamic quantity that relates to the degree of disorder of the particles in a system. It is found from S = k_B ln Ω, where Ω is the number of possible microstates. With four fair coins, three heads can be arranged in 4 ways, so Ω = 4 and S = 1.91 × 10⁻²³ J K⁻¹. More microstates means a larger entropy.
What does the second law of thermodynamics say about entropy?
The entropy of a real isolated system always increases, because real processes are almost always irreversible. The entropy of a non-isolated system can decrease locally, but this is compensated by an equal or greater increase in the entropy of the surroundings. When ice forms, the water's entropy falls by about 62 J K⁻¹, while the entropy of the ice increases by more than this.
How do I calculate the efficiency of a heat engine and compare it with the Carnot limit?
Efficiency is eta = (useful work)/(input energy). The Carnot limit is eta_Carnot = 1 - T_c/T_h, with both temperatures in kelvin. An engine between reservoirs at 600 K and 300 K that takes 800 J and does 240 J of useful work has eta = 0.30, below the Carnot limit of 0.50, so no engine between the two reservoirs can beat 0.50.
Why do I get the wrong final temperature for an adiabatic expansion?
Start from the temperature just before the expansion, and use kelvin. Using an earlier temperature of 293 K gives 293 × (1/2)^(2/3) = 185 K, which is wrong for this expansion. With a starting temperature of 350 K, the answer is T = 350 × (1/2)^(2/3) = 220 K. Show the relation TV^(2/3) = constant and each substitution.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters