Definition and Significance
The zeroth law of thermodynamics establishes thermal equilibrium as a transitive relation between systems. In plain terms: if system A is in thermal equilibrium with system C, and system B is also in thermal equilibrium with system C, then A and B are in thermal equilibrium with each other.
This might sound obvious, but it's doing serious logical work. It gives us the right to treat temperature as a single number that characterizes a system's thermal state. Without transitivity, you couldn't meaningfully compare the temperatures of two systems that have never been in contact. The zeroth law is what makes thermometers possible.
Historical Context
The law was formalized in the 1930s by Ralph H. Fowler and E. A. Guggenheim, though the underlying idea had been used implicitly by James Clerk Maxwell and Ludwig Boltzmann decades earlier. It was named the "zeroth" law because the first, second, and third laws had already been numbered, and this principle was recognized as logically prior to all of them. It needed to come before the first law, so it got a number before one.
Fundamental Concept
The formal statement: If two systems are each in thermal equilibrium with a third system, they are in thermal equilibrium with each other.
A few things this establishes:
- Thermal equilibrium means no net heat flows between systems in thermal contact.
- Temperature is an intensive property, meaning it doesn't depend on system size. Two cups of water at 50°C have the same temperature regardless of volume.
- You can compare temperatures between systems that have never touched, as long as both have been compared to a common reference (like a thermometer).
Thermal Equilibrium
Two systems are in thermal equilibrium when they share the same temperature and no net energy transfers between them as heat. From a statistical mechanics perspective, this is the macroscopic consequence of microscopic energy distributions reaching a steady state. Particles in both systems exchange energy through collisions or radiation, and equilibrium is reached when the distribution of energies in each system is consistent with the same temperature parameter.
Thermal equilibrium is not the same as having identical internal energies. Two systems can have very different total energies, particle counts, and volumes while still being at the same temperature.
Mathematical Formulation
Transitive Property
The zeroth law defines an equivalence relation on the set of thermodynamic systems. If we write to mean "A is in thermal equilibrium with B," the zeroth law states:
An equivalence relation must be reflexive, symmetric, and transitive. Reflexivity () and symmetry () are physically obvious. The zeroth law supplies the non-trivial piece: transitivity.
Because thermal equilibrium is an equivalence relation, it partitions all thermodynamic systems into equivalence classes. Each class groups together every system that would be in mutual thermal equilibrium. The label we assign to each class is what we call temperature.
Temperature as a State Variable
The zeroth law guarantees that there exists some function of state, , such that two systems are in thermal equilibrium if and only if . This is what makes temperature a well-defined state variable rather than just a vague notion of "hotness."
Once temperature is established as a state variable:
- It appears in equations of state (e.g., for an ideal gas).
- It determines the direction of heat flow: heat flows spontaneously from higher to lower .
- It enters thermodynamic potentials like internal energy , Helmholtz free energy , and Gibbs free energy .
- In statistical mechanics, it connects to the microscopic world through , the inverse temperature parameter that governs Boltzmann distributions.
Implications for Thermodynamics
Basis for Temperature Measurement
A thermometer works because of the zeroth law. When you place a thermometer in contact with a system, the thermometer reaches thermal equilibrium with that system. You then read the thermometer's state (mercury height, electrical resistance, etc.) and assign a temperature. If you move the thermometer to a second system and get the same reading, the zeroth law guarantees those two systems are in equilibrium with each other.
This reasoning underpins both empirical scales (Celsius, Fahrenheit) and absolute scales (Kelvin, Rankine). The Kelvin scale is particularly important in statistical mechanics because it's anchored to absolute zero, where , and appears directly in the Boltzmann factor .

Connection to Other Laws
The zeroth law is logically prior to the other three laws of thermodynamics:
- First law (energy conservation): You need a definition of thermal equilibrium before you can rigorously distinguish heat from work. The zeroth law provides that definition.
- Second law (entropy increase): The second law describes the direction of spontaneous processes. The zeroth law's concept of equilibrium defines the endpoint those processes are heading toward.
- Third law (absolute zero): The third law makes claims about system behavior as . The zeroth law is what makes a meaningful quantity in the first place.
Experimental Verification
Thermal Contact Experiments
The simplest verification involves three objects, A, B, and C:
- Bring A and C into thermal contact and wait until no net heat flows (verified by stable temperature readings). They are now in equilibrium.
- Separately bring B and C into thermal contact and wait for equilibrium.
- Now bring A and B into thermal contact. The zeroth law predicts no net heat flow between them.
Precision calorimetry confirms this prediction across gases, liquids, and solids, and for systems of very different sizes and compositions. The universality of the result is what gives the zeroth law its status as a law rather than a special case.
Equilibrium Demonstrations
Phase transitions provide clean demonstrations. For example, a mixture of ice and water at 1 atm sits at 0°C regardless of the ratio of ice to water. Any object in thermal equilibrium with one ice-water bath will also be in equilibrium with a separate ice-water bath, confirming transitivity. Precision resistance thermometers can verify temperature equality to within millikelvins.
Applications in Statistical Mechanics
Ensemble Theory
The zeroth law justifies the construction of statistical ensembles. When a small system is in thermal equilibrium with a large heat reservoir, the zeroth law guarantees they share a common temperature. This is exactly the setup that defines the canonical ensemble: a system at fixed , exchanging energy with a reservoir.
- The microcanonical ensemble describes an isolated system at fixed energy. Thermal equilibrium between subsystems within it is governed by the zeroth law.
- The canonical ensemble fixes by coupling the system to a reservoir. The zeroth law ensures is well-defined and shared.
- The grand canonical ensemble extends this to systems exchanging both energy and particles, but the thermal equilibrium condition (same ) still rests on the zeroth law.
Partition Functions
The canonical partition function is defined as:
where and the sum runs over all microstates with energy . The parameter appearing here is meaningful precisely because the zeroth law guarantees that thermal equilibrium defines a unique temperature.
From , you can extract macroscopic thermodynamic quantities:
- Helmholtz free energy:
- Average energy:
- Entropy:
The partition function is the central computational tool in equilibrium statistical mechanics, and its entire foundation rests on the zeroth law's guarantee that equilibrium temperature is a consistent, transitive property.
Limitations and Extensions

Quantum Systems
For systems with discrete energy levels, the zeroth law still holds, but the concept of temperature requires care. At very low temperatures, quantum effects dominate:
- Systems with a finite number of accessible states can exhibit population inversion, where higher-energy states are more populated than lower ones. This corresponds to a formal negative temperature ( on the Kelvin scale), which is actually hotter than any positive temperature.
- Quantum entanglement between subsystems can complicate the notion of independent thermal states. Strongly entangled systems may not have well-defined local temperatures.
- Low-temperature phenomena like Bose-Einstein condensation and superconductivity involve macroscopic quantum coherence, where the statistical mechanics must be built on quantum ensembles (Bose-Einstein or Fermi-Dirac statistics) rather than classical Boltzmann statistics.
The zeroth law remains valid in quantum statistical mechanics, but the systems it applies to must be in true thermal equilibrium, not in metastable or coherence-dominated states.
Non-Equilibrium Thermodynamics
The zeroth law is strictly an equilibrium statement. It says nothing about how fast equilibrium is reached or what happens in systems driven away from equilibrium.
For non-equilibrium situations, extensions include:
- Local equilibrium assumption: In systems with slow spatial gradients (e.g., a metal bar with one hot end and one cold end), you can define a local temperature at each point. The zeroth law applies locally even though the system as a whole is out of equilibrium.
- Fluctuation theorems: These describe the statistics of energy exchange in small systems far from equilibrium, where temperature fluctuations become significant.
- Driven and active systems (molecular motors, living cells) may not have a well-defined temperature at all, and the zeroth law does not directly apply.
Relationship to Other Concepts
First Law vs. Zeroth Law
The zeroth law and first law address different questions:
| Zeroth Law | First Law | |
|---|---|---|
| Central concept | Thermal equilibrium | Energy conservation |
| Defines | Temperature () | Internal energy () |
| Key statement | Equilibrium is transitive | |
| Role | Makes temperature measurable | Quantifies energy changes |
Both are needed to describe heat transfer. The zeroth law tells you when heat will flow (whenever ). The first law tells you how much energy is transferred and how it relates to work.
Entropy and the Zeroth Law
Entropy in statistical mechanics is defined as , where is the number of accessible microstates. The condition for thermal equilibrium between two systems (zeroth law) turns out to be equivalent to maximizing the total entropy subject to a fixed total energy.
When you work through the math, the equilibrium condition defines a quantity that must be equal for both systems. That quantity is . So the zeroth law and the statistical definition of entropy are deeply connected: temperature equality (zeroth law) is the same thing as entropy maximization (second law) at equilibrium.
Practical Applications
Temperature Measurement Devices
Every thermometer relies on the zeroth law. Common types include:
- Liquid-in-glass thermometers: Thermal expansion of mercury or alcohol indicates temperature.
- Resistance thermometers (RTDs): Electrical resistance of platinum changes predictably with temperature, enabling precision measurements to .
- Thermocouples: A voltage develops at the junction of two different metals, proportional to temperature. Widely used in industrial settings.
- Infrared pyrometers: Measure thermal radiation emitted by an object. These are non-contact methods, but they still rely on the zeroth law: the detector reaches a reading that corresponds to the object's equilibrium temperature.
Industrial Processes
The zeroth law underlies thermal engineering across many fields:
- Heat exchangers transfer energy between fluid streams. Design calculations assume both streams will approach thermal equilibrium, governed by the zeroth law.
- Chemical reactors require precise temperature control because reaction rates depend exponentially on (through the Arrhenius factor ).
- HVAC systems maintain thermal equilibrium between indoor air and a target temperature.
- Food processing uses controlled heating and cooling to achieve specific temperatures for sterilization, pasteurization, and preservation.