Lesson 40 of 46 · Physics

Heat, gas laws and thermodynamics

Temperature in kelvin, heat and latent heat, the ideal gas law, the first and second laws of thermodynamics and the efficiency of heat engines.

About 24 minutes

In this lesson

  • Convert between Celsius and kelvin, and calculate heat for temperature changes, changes of state and mixtures.
  • Apply the ideal gas law and its special cases, with temperatures in kelvin.
  • Use the first law of thermodynamics with a clear sign convention, and the Carnot limit on the efficiency of a heat engine.

The idea

Temperature and the kelvin

Temperature measures the average kinetic energy of the particles of a body. Its SI unit is the kelvin, and

T(K)=θ(∘C)+273T(\text{K}) = \theta(^\circ\text{C}) + 273

(more precisely 273.15). Absolute zero, 0 K, is −273 °C. One kelvin is the same size as one degree Celsius, so a temperature difference has the same number in both scales: a rise from 20 °C to 50 °C is a rise of 30 K. Use kelvin whenever a temperature is multiplied or divided, as in the gas laws and in efficiencies.

Heat and specific heat capacity

Heat is energy transferred because of a difference in temperature, measured in joules. The heat needed to change the temperature of a mass mm by ΔT\Delta T is

Q=mc ΔTQ = mc\,\Delta T

where cc is the specific heat capacity of the material. Water's is unusually large, about 4200 J/(kg K)4200\ \text{J/(kg K)} (one calorie, about 4.2 J, warms 1 g of water by 1 °C), which is why water warms up and cools down slowly.

When bodies at different temperatures are placed together in an insulated container, they reach a common temperature (thermal equilibrium), and the heat lost by the hotter ones equals the heat gained by the colder ones.

Changes of state

While a substance melts or boils, the heat supplied goes into separating its particles, not into raising its temperature, so the temperature stays constant until the change is complete. The heat needed is

Q=mLQ = mL

where LL is the specific latent heat. For water, the latent heat of fusion is about 3.3×105 J/kg3.3 \times 10^5\ \text{J/kg} and the latent heat of vaporisation about 2.3×106 J/kg2.3 \times 10^6\ \text{J/kg}, roughly seven times larger. Evaporating sweat cools the skin because every kilogram that evaporates takes this large amount of energy with it.

How heat travels

Conduction passes energy through a material by collisions between particles: metals conduct well, still air poorly. Convection carries energy by the bulk movement of a fluid, as warm fluid rises and cool fluid sinks. Radiation carries energy as electromagnetic radiation and needs no medium, which is how the Sun warms the Earth.

The ideal gas law

For an ideal gas,

pV=nRTpV = nRT

with pp in Pa, VV in m3\text{m}^3, nn in moles, TT in kelvin and R≈8.31 J/(mol K)R \approx 8.31\ \text{J/(mol K)}. For a fixed amount of gas, pVT\frac{pV}{T} is constant, and this contains three special laws:

Held constant Law Relation
TT Boyle p1V1=p2V2p_1V_1 = p_2V_2
pp Charles V1T1=V2T2\frac{V_1}{T_1} = \frac{V_2}{T_2}
VV Gay-Lussac p1T1=p2T2\frac{p_1}{T_1} = \frac{p_2}{T_2}

One mole of an ideal gas at 0 °C and 1.013×105 Pa1.013 \times 10^5\ \text{Pa} occupies about 22.4 L. In a ratio, any units of pressure and volume work as long as both sides use the same ones; the temperature must always be in kelvin.

The first law of thermodynamics

Energy is conserved. For a gas, the change in internal energy equals the heat supplied to it minus the work it does:

ΔU=Q−W.\Delta U = Q - W.

Here Q>0Q > 0 when heat enters the gas, and W>0W > 0 when the gas expands and does work on its surroundings. Some books write ΔU=Q+W\Delta U = Q + W with WW the work done on the gas; the physics is the same, so check which convention a question uses. At constant pressure the work done by the gas is W=p ΔVW = p\,\Delta V; on a pp–VV graph it is the area under the curve. The internal energy of an ideal gas depends only on its temperature.

Process Condition Consequence
Isothermal ΔT=0\Delta T = 0 ΔU=0\Delta U = 0, so Q=WQ = W
Isochoric ΔV=0\Delta V = 0 W=0W = 0, so ΔU=Q\Delta U = Q
Isobaric Δp=0\Delta p = 0 W=p ΔVW = p\,\Delta V
Adiabatic Q=0Q = 0 ΔU=−W\Delta U = -W: compression heats the gas, expansion cools it

The second law and heat engines

Heat flows spontaneously from hot to cold, never the other way; a refrigerator moves heat from cold to hot only because work is done on it. A heat engine takes in heat QhQ_h from a hot reservoir, does work WW and gives out heat QcQ_c to a cold reservoir, so W=Qh−QcW = Q_h - Q_c and its efficiency is

η=WQh=1−QcQh.\eta = \frac{W}{Q_h} = 1 - \frac{Q_c}{Q_h}.

No engine can turn all the heat it takes in into work. The best possible engine working between kelvin temperatures ThT_h and TcT_c, a Carnot engine, reaches

ηmax⁡=1−TcTh.\eta_{\max} = 1 - \frac{T_c}{T_h}.

Another statement of the second law uses entropy, a measure of disorder: the entropy of an isolated system never decreases.

Worked examples

Example 1: Mixing hot and cold water

2.0 kg of water at 80 °C is mixed with 3.0 kg of water at 20 °C in an insulated container. What is the final temperature?

  1. Heat lost by the hot water equals heat gained by the cold water: 2c(80−T)=3c(T−20)2c(80 - T) = 3c(T - 20). The specific heat capacity cc cancels.

  2. Expand: 160−2T=3T−60160 - 2T = 3T - 60, so 5T=2205T = 220 and T=44 ∘CT = 44\ ^\circ\text{C}.

  3. Check by a second route: the final temperature is the mass-weighted mean, 2×80+3×205=2205=44 ∘C\frac{2 \times 80 + 3 \times 20}{5} = \frac{220}{5} = 44\ ^\circ\text{C}. In joules, the hot water loses 2×4200×36=302 400 J2 \times 4200 \times 36 = 302\,400\ \text{J} and the cold water gains 3×4200×24=302 400 J3 \times 4200 \times 24 = 302\,400\ \text{J}.

Answer

The final temperature is 44 °C. The simple average, 50 °C, is the tempting wrong answer: it would be right only for equal masses.

Example 2: Compressing and heating a gas

A gas at 1.0×105 Pa1.0 \times 10^5\ \text{Pa} occupies 6.0 L at 27 °C. It is compressed to 3.0 L and heated to 177 °C. What is its final pressure?

  1. Convert the temperatures to kelvin: 27+273=300 K27 + 273 = 300\ \text{K} and 177+273=450 K177 + 273 = 450\ \text{K}.

  2. Use p1V1T1=p2V2T2\frac{p_1V_1}{T_1} = \frac{p_2V_2}{T_2}: p2=p1×V1V2×T2T1=1.0×105×2×1.5=3.0×105 Pap_2 = p_1 \times \frac{V_1}{V_2} \times \frac{T_2}{T_1} = 1.0 \times 10^5 \times 2 \times 1.5 = 3.0 \times 10^5\ \text{Pa}. Litres can stay as litres, because only their ratio enters.

  3. Check: pVT\frac{pV}{T} before is 1.0×105×6300=2000\frac{1.0 \times 10^5 \times 6}{300} = 2000, and after 3.0×105×3450=2000\frac{3.0 \times 10^5 \times 3}{450} = 2000.

Answer

The final pressure is 3.0×105 Pa3.0 \times 10^5\ \text{Pa}. Using Celsius temperatures gives 1.0×105×2×17727≈1.3×106 Pa1.0 \times 10^5 \times 2 \times \frac{177}{27} \approx 1.3 \times 10^6\ \text{Pa}, more than four times too large.

Example 3: Heat in, work out

A gas absorbs 500 J of heat while it expands at a constant pressure of 1.0×105 Pa1.0 \times 10^5\ \text{Pa} from 2.0 L to 4.0 L. Find the work done by the gas and the change in its internal energy.

  1. Convert the change in volume to SI, because the work must come out in joules: ΔV=2.0 L=2.0×10−3 m3\Delta V = 2.0\ \text{L} = 2.0 \times 10^{-3}\ \text{m}^3.

  2. Work done by the gas at constant pressure: W=p ΔV=1.0×105×2.0×10−3=200 JW = p\,\Delta V = 1.0 \times 10^5 \times 2.0 \times 10^{-3} = 200\ \text{J}.

  3. First law: ΔU=Q−W=500−200=300 J\Delta U = Q - W = 500 - 200 = 300\ \text{J}. The internal energy rises, so the temperature rises, as it must for a gas expanding at constant pressure (V∝TV \propto T).

Answer

The gas does 200 J of work and its internal energy rises by 300 J. Adding the work instead, 500+200=700 J500 + 200 = 700\ \text{J}, treats it as work done on the gas, but this gas expanded.

Common traps

  • Using Celsius in a ratio

    Gas laws and efficiencies divide temperatures, and only kelvin is proportional to the particles' energy. Doubling the temperature from 10 °C to 20 °C does not double a gas's pressure: in kelvin it goes from 283 K to 293 K, a rise of about 3.5%.

  • Mixing up the sign of the work

    In ΔU=Q−W\Delta U = Q - W, WW is the work done by the gas: positive when it expands. When a gas is compressed, WW is negative and the internal energy rises. Fix your convention before you substitute numbers.

  • Expecting the temperature to rise during a change of state

    While ice melts or water boils, heat goes in but the temperature stays fixed until the change is complete. A heating curve shows flat sections there; heat during them is mLmL, not mcΔTmc\Delta T.

  • Confusing adiabatic with isothermal

    Adiabatic means no heat flows (Q=0Q = 0), so the temperature does change when work is done. Isothermal means the temperature stays fixed, so heat must flow to balance the work. A quick compression is close to adiabatic; a slow one in good thermal contact is close to isothermal.

Check yourself

Choose an answer to each question: you will see at once whether it is right, and why.

Question 1: The best possible engine

Thermodynamics

A heat engine works between a hot reservoir at 227 °C and a cold reservoir at 27 °C. What is the greatest efficiency it could possibly have?

Show the answer

Answer: B. 40%

Working

In kelvin, Th=227+273=500 KT_h = 227 + 273 = 500\ \text{K} and Tc=27+273=300 KT_c = 27 + 273 = 300\ \text{K}. The Carnot limit is 1−300500=0.401 - \frac{300}{500} = 0.40, or 40%. Second route: Th−TcTh=200500=0.40\frac{T_h - T_c}{T_h} = \frac{200}{500} = 0.40.

Why the other options are wrong

  • A. This is the ratio of the Celsius temperatures, 27227≈0.12\frac{27}{227} \approx 0.12; the limit needs kelvin temperatures and the form 1−TcTh1 - \frac{T_c}{T_h}.
  • C. This is TcTh=300500\frac{T_c}{T_h} = \frac{300}{500}, the smallest fraction of the heat that must be given out, not the fraction turned into work.
  • D. Divides the temperature difference by the cold temperature, 200300\frac{200}{300}, instead of by the hot one.
  • E. Uses Celsius temperatures in 1−TcTh1 - \frac{T_c}{T_h}: 1−27227≈0.881 - \frac{27}{227} \approx 0.88. Kelvin temperatures are needed.

What carries over

The maximum efficiency of a heat engine is 1−TcTh1 - \frac{T_c}{T_h}, with both temperatures in kelvin.

Question 2: From ice to warm water

Thermodynamics

How much heat is needed to turn 0.20 kg of ice at 0 °C into water at 10 °C? Take the latent heat of fusion of ice as 3.3×105 J/kg3.3 \times 10^5\ \text{J/kg} and the specific heat capacity of water as 4.2×103 J/(kg K)4.2 \times 10^3\ \text{J/(kg K)}.

Show the answer

Answer: D. 74.4 kJ

Working

Melting: Q1=mL=0.20×3.3×105=66 000 JQ_1 = mL = 0.20 \times 3.3 \times 10^5 = 66\,000\ \text{J}. Warming: Q2=mc ΔT=0.20×4200×10=8400 JQ_2 = mc\,\Delta T = 0.20 \times 4200 \times 10 = 8400\ \text{J}. Total: 66 000+8400=74 400 J=74.4 kJ66\,000 + 8400 = 74\,400\ \text{J} = 74.4\ \text{kJ}.

Why the other options are wrong

  • A. This only warms the melted water from 0 °C to 10 °C; melting the ice needs far more.
  • B. Subtracts the warming heat from the melting heat; both must be supplied, so they add.
  • C. This only melts the ice; the water must then be warmed by 10 K as well.
  • E. Uses the latent heat for 1 kg rather than for 0.20 kg, leaving the mass out of Q=mLQ = mL.

What carries over

Add the heat for each stage: mLmL to change state, mc ΔTmc\,\Delta T to change temperature.

Question 3: A quick compression

Thermodynamics

A gas in an insulated cylinder is compressed quickly, so that no heat enters or leaves it. Which statement is correct?

Show the answer

Answer: C. Its internal energy rises by the work done on it, and its temperature rises.

Working

With Q=0Q = 0, the first law gives ΔU=−W\Delta U = -W. The gas is compressed, so the work done by it is negative and ΔU\Delta U is positive: it equals the work done on the gas. The internal energy of an ideal gas depends only on temperature, so the temperature rises, as in a bicycle pump that warms when used.

Why the other options are wrong

  • A. No heat transfer makes the process adiabatic, not isothermal; the work done on the gas still changes its internal energy.
  • B. The work is done on the gas, not by it, so it adds to the internal energy.
  • D. With Q=0Q = 0 the first law gives ΔU=−W\Delta U = -W, and WW is not zero when the volume changes.
  • E. That describes a slow isothermal compression; here the cylinder is insulated, so no heat can leave.

What carries over

In an adiabatic process, all the work done on or by the gas goes into changing its internal energy.

Flashcards

Recall the answer before you flip each card, then say whether you knew it. Cards you miss come back at the end.

Celsius to kelvin
T=θ+273T = \theta + 273 (273.15 exactly); a change of 1 °C is a change of 1 K.
Heat for a change of temperature
Q=mc ΔTQ = mc\,\Delta T; for water, c≈4200 J/(kg K)c \approx 4200\ \text{J/(kg K)}.
Latent heat
Q=mLQ = mL; during a change of state the temperature stays constant.
Ideal gas law
pV=nRTpV = nRT, with TT in kelvin and R≈8.31 J/(mol K)R \approx 8.31\ \text{J/(mol K)}; for a fixed amount of gas, pVT\frac{pV}{T} is constant.
First law of thermodynamics
ΔU=Q−W\Delta U = Q - W: the heat supplied to the gas minus the work done by the gas.
Maximum efficiency of a heat engine
ηmax⁡=1−TcTh\eta_{\max} = 1 - \frac{T_c}{T_h}, with both temperatures in kelvin (the Carnot limit).

Key points

  • Use kelvin whenever a temperature is multiplied or divided; a temperature difference is the same number in K and in °C.

  • Heat to change temperature is mc ΔTmc\,\Delta T; heat to change state is mLmL, at constant temperature.

  • For a fixed amount of ideal gas, pVT\frac{pV}{T} is constant.

  • First law: ΔU=Q−W\Delta U = Q - W, with WW the work done by the gas.

  • No heat engine beats the Carnot efficiency, 1−TcTh1 - \frac{T_c}{T_h}.

All questions here are original and written for UniExamer; none comes from the test maker.

Written and reviewed by the UniExamer education and assessment team. Every worked example and check question was checked before publication. If you find a mistake, write to support@uniexamer.com.

Practise this topic

Fresh questions on this skill, with worked explanations. Practice needs a Single Exam Pass or Plus.