📘 CodingMarble Learn

Thermal Equilibrium and the Zeroth Law

Two bodies in contact swap heat until their temperatures are equal. Then they are in thermal equilibrium and nothing changes any more. Zeroth law: if A and B are each in equilibrium with C, then A and B are in equilibrium with each other. This is why a thermometer works. A gas in equilibrium is described by state variables P, V, T and n, which are linked by an equation of state. For an ideal gas it is PV = nRT.

🎬 Step-by-step story

  1. Block A is hot (red). Block B is cold (blue). A thick insulating wall sits between them. Nothing changes. Their temperatures stay apart.
  2. Now the wall is a thin metal sheet. Heat moves from hot A to cold B. A cools, B warms. When both show the same temperature the flow stops. This is thermal equilibrium.
  3. Zeroth law: A touches thermometer C and reads 40 °C. B touches C and also reads 40 °C. So A and B are already in equilibrium with each other. Put them together: no heat flows.
  4. Now a gas in a cylinder. We describe it with a few numbers: pressure P, volume V, temperature T and amount n. These are state variables.
  5. Heat the gas while the piston is free. T goes up, so V goes up. P, V and T always obey one rule: PV = nRT. This rule is the equation of state.
  6. Your turn: move the temperature and volume sliders. Predict the pressure first, then check the readout.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Does heat flow from the body with more heat to the body with less heat?

No. Heat flows from higher temperature to lower temperature. A small hot nail can give heat to a big bucket of cool water, even though the bucket stores far more energy. Watch the arrows go from red to blue.

Why does the flow stop when temperatures are equal?

Heat needs a temperature difference to flow. When the difference becomes zero there is no push any more, so the net flow stops.

If the zeroth law is so obvious, why is it a law?

Nothing in logic forces it to be true; it is an experimental fact. It is what allows us to define temperature and use thermometers at all.

Why does an insulating wall stop the change?

An adiabatic wall lets no heat through, so each block keeps its own temperature, however long you wait.

Why is heat not a state variable but temperature is?

Temperature can be read from the present state alone. The heat given depends on how you got there; two different paths between the same states need different heat.

Why must T be in kelvin in PV = nRT?

The rule says P×V is proportional to T. That is only true when T starts from absolute zero. On the Celsius scale, 0 °C does not mean zero pressure.

What is thermodynamics?

Thermodynamics is the part of physics that studies heat, work and temperature, and how energy changes form. It looks at big things (a gas in a cylinder, an engine, a fridge), not at single molecules.

The thing we study is called the system (for example, the gas). Everything around it is the surroundings. The boundary between them is a wall.

Thermal equilibrium

Put a hot body and a cold body in contact through a diathermic wall. Heat flows from the hot one to the cold one. The hot one cools, the cold one warms.

After some time both have the same temperature. Then heat stops flowing and the pressure, volume and temperature of each body stop changing. This state is called thermal equilibrium.

In short: two bodies are in thermal equilibrium when they have the same temperature.

Equilibrium in thermodynamics means the big (macroscopic) quantities do not change with time. Molecules still move inside, but their average behaviour stays the same.

The zeroth law of thermodynamics

Zeroth law: if body A is in thermal equilibrium with body C, and body B is also in thermal equilibrium with C, then A and B are in thermal equilibrium with each other.

It sounds obvious, but it is very important. It tells us that there is a quantity that is equal for all bodies in equilibrium. That quantity is temperature. So the zeroth law gives a proper meaning to temperature.

Why is it called "zeroth"?

The first and second laws were named first. Later scientists saw that this law is more basic than both, so it was placed before the first law and called the zeroth law.

How a thermometer uses it

The thermometer is body C. When it reaches equilibrium with your body, it has your temperature. If it shows the same reading for two objects, those two objects are at the same temperature without ever touching.

State variables

A system in equilibrium is fully described by a few measurable quantities called state variables: pressure P, volume V, temperature T, amount of gas n (in moles), internal energy U and others.

A state variable depends only on the present state, not on how the system got there. (Heat and work are not state variables. They depend on the path.)

Intensive and extensive variables

Quick test: cut the system in half in your mind. What halves is extensive; what stays the same is intensive.

Equation of state

State variables are not all free. For a given gas, if you fix some of them, the others are fixed too. The rule that links them is the equation of state.

For an ideal gas the equation of state is

PV = nRT

where R = 8.314 J mol⁻¹ K⁻¹ is the gas constant and T is in kelvin (T = t °C + 273). Real gases follow it well at low pressure and high temperature.

Because of this rule, a state can be shown as a single point on a P–V graph. We use this idea for processes in the next lessons.

Exam tip: 1–2 mark questions often ask you to state the zeroth law, define thermal equilibrium, or sort variables into intensive and extensive.

Try it at home

Take one cup of hot water and one cup of cold water. Put a steel spoon in each for two minutes. Touch the handles (carefully). Then pour both into one steel bowl and wait five minutes. Stir and feel: the water has one single temperature in between. You made thermal equilibrium.

Key formulas and definitions

Worked examples

1. A thermometer reads 36 °C when kept in water X and 36 °C when kept in water Y. Will heat flow if X and Y are mixed?

Both are in thermal equilibrium with the thermometer. By the zeroth law they are in equilibrium with each other, so they are at the same temperature. No net heat flows.

2. Sort into intensive and extensive: pressure, volume, temperature, mass, density, internal energy.

Intensive (do not depend on size): pressure, temperature, density. Extensive (depend on size): volume, mass, internal energy.

3. Convert 27 °C and −73 °C to kelvin.

T = t + 273. 27 °C → 300 K. −73 °C → 200 K.

4. Find the pressure of 2 mol of an ideal gas in a 0.05 m³ vessel at 300 K. (R = 8.31 J mol⁻¹ K⁻¹)

P = nRT / V = (2 × 8.31 × 300) / 0.05 = 4986 / 0.05 = 99 720 Pa ≈ 1.0 × 10⁵ Pa (about 1 atm).

5. A gas at 300 K is heated at constant pressure until its volume doubles. What is the new temperature?

At constant P and n, V ∝ T. V doubles, so T doubles: T = 2 × 300 = 600 K (327 °C).

6. A tyre holds air at 2.0 × 10⁵ Pa at 27 °C. After a long drive the air is at 57 °C. The volume stays the same. Find the new pressure.

At constant V and n, P ∝ T (in kelvin). T₁ = 300 K, T₂ = 330 K. P₂ = P₁ × T₂/T₁ = 2.0 × 10⁵ × 330/300 = 2.2 × 10⁵ Pa.

Common mistakes

Practice quiz

1. Two bodies are in thermal equilibrium when they have the same:
2. The zeroth law gives a meaning to:
3. A wall that does not let heat pass is called:
4. Which is an extensive variable?
5. The equation of state of an ideal gas is:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is the zeroth law of thermodynamics in simple words?

If two bodies are each at the same temperature as a third body, they are at the same temperature as each other.

What is thermal equilibrium?

The state in which two bodies in contact have the same temperature, so no net heat flows between them.

What is an equation of state?

A rule linking the state variables of a system. For an ideal gas it is PV = nRT.

Where this is taught

CBSE (India)Class 11Thermodynamics
USA (Common Core, NGSS, AP)Grade 12Thermodynamics
Russia10 классThermodynamics and heat engines
Russia10 классMolecular physics

Learn first

Learn next

Related lessons

All Physics lessons