Theory — Zeroth Law Transitivity
The zeroth law of thermodynamics says that thermal equilibrium is a transitive relation:
if \(A\) is in thermal equilibrium with \(B\), and \(B\) is in thermal equilibrium with \(C\), then \(A\) is in thermal equilibrium with \(C\).
This is what makes the concept of temperature meaningful and measurable.
1) Equilibrium as a relation
In an idealized setting, “\(A\) is in equilibrium with \(B\)” means that if you put \(A\) and \(B\) in thermal contact,
there is no net heat flow and their temperatures are equal.
In experiments and simulations we often use a tolerance \(\varepsilon\) to account for measurement limits:
2) Transitivity (the zeroth law)
Transitivity is the logical statement:
This allows a thermometer (system \(B\)) to compare temperatures of different bodies \(A\) and \(C\) consistently.
3) Mixing/contact simulation (energy balance)
When bodies are placed in contact and allowed to reach a common equilibrium temperature \(T_f\),
and we ignore phase changes and heat loss, conservation of energy gives:
This equilibrium formula is associative in the ideal case: mixing sequentially or “all at once” gives the same final \(T_f\).
If heat loss is present during each contact step, different contact sequences can yield slightly different outcomes.
4) What this calculator shows
- Equilibrium matrix: which pairs satisfy \( |T_i-T_j|\le \varepsilon \).
- Triple check: evaluates the transitivity implication for a chosen \((A,B,C)\).
- Mixing plot: temperature evolution vs step index (not time) to keep interpretation physical and generic.
- Diagram: solid edges show equilibrium relations; dashed edges show the chosen contact/mixing sequence.