Zeroth law of thermodynamics
The zeroth law of thermodynamics is one of the four principal laws of thermodynamics. It provides an independent definition of temperature without reference to entropy, which is defined in the second law. The law was established by Ralph H. Fowler in the 1930s, long after the first, second, and third laws were widely recognized.
Thermodynamics 


The zeroth law states that if two thermodynamic systems are in thermal equilibrium with each other, and also separately in thermal equilibrium with a third system, then the three systems are in thermal equilibrium with each other.[1][2][3]
Two systems are said to be in thermal equilibrium if they are linked by a wall permeable only to heat, and they do not change over time.[4]
Another formulation by Maxwell is "All heat is of the same kind".[5] Another statement of the law is "All diathermal walls are equivalent".[6]^{: 24, 144 }
The zeroth law is important for the mathematical formulation of thermodynamics. Mathematically, it makes the relation of thermal equilibrium between systems an equivalence relation, which can represent equality of some quantity associated with each system. A quantity that is the same for two systems, if they can be placed in thermal equilibrium with each other, is a scale of temperature. The zeroth law is needed for the existence of such scales. The condition justifies the use of practical thermometers.[7]^{: 56 }
Equivalence relation
A thermodynamic system is by definition in its own state of internal thermodynamic equilibrium, that is to say, there is no change in its observable state (i.e. macrostate) over time and no flows occur in it. One precise statement of the zeroth law is that the relation of thermal equilibrium is an equivalence relation on pairs of thermodynamic systems.[7]^{: 52 } In other words, the set of all systems each in its own state of internal thermodynamic equilibrium may be divided into subsets in which every system belongs to one and only one subset, and is in thermal equilibrium with every other member of that subset, and is not in thermal equilibrium with a member of any other subset. This means that a unique "tag" can be assigned to every system, and if the "tags" of two systems are the same, they are in thermal equilibrium with each other, and if different, they are not. This property is used to justify the use of empirical temperature as a tagging system. Empirical temperature provides further relations of thermally equilibrated systems, such as order and continuity with regard to "hotness" or "coldness", but these are not implied by the standard statement of the zeroth law.
If it is defined that a thermodynamic system is in thermal equilibrium with itself (i.e., thermal equilibrium is reflexive), then the zeroth law may be stated as follows:
If a body C, be in thermal equilibrium with two other bodies, A and B, then A and B are in thermal equilibrium with one another.[8]
This statement asserts that thermal equilibrium is a leftEuclidean relation between thermodynamic systems. If we also define that every thermodynamic system is in thermal equilibrium with itself, then thermal equilibrium is also a reflexive relation. Binary relations that are both reflexive and Euclidean are equivalence relations. Thus, again implicitly assuming reflexivity, the zeroth law is therefore often expressed as a rightEuclidean statement:
If two systems are in thermal equilibrium with a third system, then they are in thermal equilibrium with each other.[9]
One consequence of an equivalence relationship is that the equilibrium relationship is symmetric: If A is in thermal equilibrium with B, then B is in thermal equilibrium with A. Thus we may say that two systems are in thermal equilibrium with each other, or that they are in mutual equilibrium. Another consequence of equivalence is that thermal equilibrium is a transitive relationship and is occasionally expressed as such:[7]^{: 56 }[10]
If A is in thermal equilibrium with B and if B is in thermal equilibrium with C, then A is in thermal equilibrium with C .
A reflexive, transitive relationship does not guarantee an equivalence relationship. For the above statement to be true, both reflexivity and symmetry must be implicitly assumed.
It is the Euclidean relationships which apply directly to thermometry. An ideal thermometer is a thermometer which does not measurably change the state of the system it is measuring. Assuming that the unchanging reading of an ideal thermometer is a valid tagging system for the equivalence classes of a set of equilibrated thermodynamic systems, then the systems are in thermal equilibrium, if a thermometer gives the same reading for each system. If the system are thermally connected, no subsequent change in the state of either one can occur. If the readings are different, then thermally connecting the two systems causes a change in the states of both systems. The zeroth law provides no information regarding this final reading.
Foundation of temperature
Nowadays, there are two nearly separate concepts of temperature, the thermodynamic concept, and that of the kinetic theory of gases and other materials.
The zeroth law belongs to the thermodynamic concept, but this is no longer the primary international definition of temperature. The current primary international definition of temperature is in terms of the kinetic energy of freely moving microscopic particles such as molecules, related to temperature through the Boltzmann constant . The present article is about the thermodynamic concept, not about the kinetic theory concept.
The zeroth law establishes thermal equilibrium as an equivalence relationship. An equivalence relationship on a set (such as the set of all systems each in its own state of internal thermodynamic equilibrium) divides that set into a collection of distinct subsets ("disjoint subsets") where any member of the set is a member of one and only one such subset. In the case of the zeroth law, these subsets consist of systems which are in mutual equilibrium. This partitioning allows any member of the subset to be uniquely "tagged" with a label identifying the subset to which it belongs. Although the labeling may be quite arbitrary,[11] temperature is just such a labeling process which uses the real number system for tagging. The zeroth law justifies the use of suitable thermodynamic systems as thermometers to provide such a labeling, which yield any number of possible empirical temperature scales, and justifies the use of the second law of thermodynamics to provide an absolute, or thermodynamic temperature scale. Such temperature scales bring additional continuity and ordering (i.e., "hot" and "cold") properties to the concept of temperature.[9]
In the space of thermodynamic parameters, zones of constant temperature form a surface, that provides a natural order of nearby surfaces. One may therefore construct a global temperature function that provides a continuous ordering of states. The dimensionality of a surface of constant temperature is one less than the number of thermodynamic parameters, thus, for an ideal gas described with three thermodynamic parameters P, V and N, it is a twodimensional surface.
For example, if two systems of ideal gases are in joint thermodynamic equilibrium across an immovable diathermal wall, then P_{1}V_{1}/N_{1} = P_{2}V_{2}/N_{2} where P_{i} is the pressure in the ith system, V_{i} is the volume, and N_{i} is the amount (in moles, or simply the number of atoms) of gas.
The surface PV/N = constant defines surfaces of equal thermodynamic temperature, and one may label defining T so that PV/N = RT, where R is some constant. These systems can now be used as a thermometer to calibrate other systems. Such systems are known as "ideal gas thermometers".
In a sense, focused on in the zeroth law, there is only one kind of diathermal wall or one kind of heat, as expressed by Maxwell's dictum that "All heat is of the same kind".[5] But in another sense, heat is transferred in different ranks, as expressed by Sommerfeld's dictum "Thermodynamics investigates the conditions that govern the transformation of heat into work. It teaches us to recognize temperature as the measure of the workvalue of heat. Heat of higher temperature is richer, is capable of doing more work. Work may be regarded as heat of an infinitely high temperature, as unconditionally available heat."[12] This is why temperature is the particular variable indicated by the zeroth law's statement of equivalence.
Dependence on the existence of walls permeable only to heat
In Carathéodory's (1909)[4] theory, it is postulated that there exist walls "permeable only to heat", though heat is not explicitly defined in that paper. This postulate is a physical postulate of existence. It does not say that there is only one kind of heat. This paper of Carathéodory states as proviso 4 of its account of such walls: "Whenever each of the systems S_{1} and S_{2} is made to reach equilibrium with a third system S_{3} under identical conditions, systems S_{1} and S_{2} are in mutual equilibrium".[4]^{: §6 }
It is the function of this statement in the paper, not there labeled as the zeroth law, to provide not only for the existence of transfer of energy other than by work or transfer of matter, but further to provide that such transfer is unique in the sense that there is only one kind of such wall, and one kind of such transfer. This is signaled in the postulate of this paper of Carathéodory that precisely one nondeformation variable is needed to complete the specification of a thermodynamic state, beyond the necessary deformation variables, which are not restricted in number. It is therefore not exactly clear what Carathéodory means when in the introduction of this paper he writes
It is possible to develop the whole theory without assuming the existence of heat, that is of a quantity that is of a different nature from the normal mechanical quantities.[4]
It is the opinion of Lieb and Yngvason (1999)[7] that the derivation from statistical mechanics of the law of entropy increase is a goal that has so far eluded the deepest thinkers.[7]^{: 5 } Thus the idea remains open to consideration that the existence of heat and temperature are needed as coherent primitive concepts for thermodynamics, as expressed, for example, by Maxwell and Planck. On the other hand, Planck (1926)[13] clarified how the second law can be stated without reference to heat or temperature, by referring to the irreversible and universal nature of friction in natural thermodynamic processes.[13]
History
Writing long before the term "zeroth law" was coined, in 1871 Maxwell[5] discussed at some length ideas which he summarized by the words "All heat is of the same kind".[5] Modern theorists sometimes express this idea by postulating the existence of a unique onedimensional hotness manifold, into which every proper temperature scale has a monotonic mapping.[14] This may be expressed by the statement that there is only one kind of temperature, regardless of the variety of scales in which it is expressed. Another modern expression of this idea is that "All diathermal walls are equivalent".[6]^{: 23 } This might also be expressed by saying that there is precisely one kind of nonmechanical, nonmattertransferring contact equilibrium between thermodynamic systems.
According to Sommerfeld, Fowler coined the term zeroth law of thermodynamics[15] while discussing the 1935 text by Meghnad Saha and B.N. Srivastava.[16]
They write on page 1 that "every physical quantity must be measurable in numerical terms". They presume that temperature is a physical quantity and then deduce the statement "If a body A is in temperature equilibrium with two bodies B and C, then B and C themselves are in temperature equilibrium with each other".[16] Then they italicize a selfstanding paragraph, as if to state their basic postulate:
Any of the physical properties of A which change with the application of heat may be observed and utilised for the measurement of temperature.[16]
They do not themselves here use the phrase "zeroth law of thermodynamics". There are very many statements of these same physical ideas in the physics literature long before this text, in very similar language. What was new here was just the label zeroth law of thermodynamics.
Fowler & Guggenheim (1936/1965)[17] wrote of the zeroth law as follows:
... we introduce the postulate: If two assemblies are each in thermal equilibrium with a third assembly, they are in thermal equilibrium with each other.[17]
They then proposed that
... it may be shown to follow that the condition for thermal equilibrium between several assemblies is the equality of a certain singlevalued function of the thermodynamic states of the assemblies, which may be called the temperature t, any one of the assemblies being used as a "thermometer" reading the temperature t on a suitable scale. This postulate of the "Existence of temperature" could with advantage be known as the zeroth law of thermodynamics.[17]
The first sentence of this present article is a version of this statement. It is not explicitly evident in the existence statement of Fowler and Guggenheim that temperature refers to a unique attribute of a state of a system, such as is expressed in the idea of the hotness manifold. Also their statement refers explicitly to statistical mechanical assemblies, not explicitly to macroscopic thermodynamically defined systems.
Citations
 Bailyn, M. (1994). A Survey of Thermodynamics, American Institute of Physics Press, New York, ISBN 0883187973, p. 22.
 Guggenheim, E.A. (1967). Thermodynamics. An Advanced Treatment for Chemists and Physicists, NorthHolland Publishing Company., Amsterdam, (1st edition 1949) fifth edition 1965, p. 8: "If two systems are both in thermal equilibrium with a third system then they are in thermal equilibrium with each other."
 Buchdahl, H.A. (1966). The Concepts of Classical Thermodynamics, Cambridge University Press, Cambridge, p. 29: "... if each of two systems is in equilibrium with a third system then they are in equilibrium with each other."

Carathéodory, C. (1909). "Untersuchungen über die Grundlagen der Thermodynamik" [Study of the fundamentals of thermodynamics]. Mathematische Annalen (in German). 67 (3): 355–386. doi:10.1007/BF01450409. S2CID 118230148.
A translation may be found at "Carathéodory  Thermodynamics" (PDF). neoclassicalphysics.info. A partlyreliable translation is given in
Kestin, J. (1976). The Second Law of Thermodynamics. Stroudsburg PA: Dowden, Hutchinson & Ross.  Maxwell, J. Clerk (1871). Theory of Heat. London, UK: Longmans, Green, and Co. p. 57.
 Bailyn, M. (1994). A Survey of Thermodynamics. New York, NY: American Institute of Physics Press. ISBN 9780883187975.
 Lieb, E.H.; Yngvason, J. (1999). "The physics and mathematics of the second law of thermodynamics". Physics Reports. 310 (1): 1–96. arXiv:condmat/9708200. Bibcode:1999PhR...310....1L. doi:10.1016/S03701573(98)000829. S2CID 119620408.
 Planck, M. (1914). The Theory of Heat Radiation. Translated by Masius, M. (from 2nd German edition). Philadelphia, PA: P. Blakiston's Son & Co. p. 2.
 Buchdahl, H. A. (1966). The Concepts of Classical Thermodynamics. Cambridge University Press. p. 73.
 Kondepudi, D. (2008). Introduction to Modern Thermodynamics. Wiley. p. 7. ISBN 9780470015988.
 Dugdale, J. S. (1996). Entropy and its Physical Interpretation. Taylor & Francis. p. 35. ISBN 0748405690.
 Sommerfeld, A. (1923). Atomic Structure and Spectral Lines, p. 36. London, UK: Methuen. (Translated from the third German edition by H.L. Brose.)
 Planck, M. (1926). "Über die Begründing des zweiten Hauptsatzes der Thermodynamik". S.B. Preuß. Akad. Wiss. Phys. Math. Kl.: 453–463.
 Serrin, J. (1986). "Chapter 1, An outline of thermodynamical structure". In Serrin, J. (ed.). New Perspectives in Thermodynamics. Berlin, DE: Springer. pp. 3–32, esp. 6. ISBN 3540159312.
 Sommerfeld, A. (1951/1955). Thermodynamics and Statistical Mechanics, p. 1, vol. 5 of Lectures on Theoretical Physics, edited by F. Bopp, J. Meixner, translated by J. Kestin, Academic Press, New York.
 Saha, M.N., Srivastava, B.N. (1935). A Treatise on Heat. , p. 1. Allahabad and Calcutta: The Indian Press. (Including Kinetic Theory of Gases, Thermodynamics and Recent Advances in Statistical Thermodynamics) (The second and revised edition of A Text Book of Heat.)

Fowler, R.; Guggenheim, E.A. (1965) [1939]. Statistical Thermodynamics (corrected ed.). Cambridge UK: Cambridge University Press. p. 56.
A version of Statistical Mechanics for Students of Physics and Chemistry. (first printing 1939, reprinted with corrections 1965)
Further reading
 Atkins, Peter (2007). Four Laws That Drive the Universe. New York: Oxford University Press. ISBN 9780199232369.