**Zeroth law of thermodynamics**

The zeroth law of thermodynamics is a generalisation principle of thermal equilibrium among bodies, or thermodynamic systems, in contact.

The zeroth law states that if two systems are in thermal equilibrium with a third system, they are also in thermal equilibrium with each other.

Systems are said to be in thermal equilibrium if they do not actually exchange heat, and, if they are not already connected by a conductor of heat or pathway for exchange of thermal radiation, would not do so if they were so connected. The law implies that thermal equilibrium between systems is a transitive relation, which affords the definition of an empirical physical parameter, called temperature. The temperatures are equal for all systems in thermal equilibrium. The law permits the construction of a thermometer to measure this property.

The zeroth law as an equivalence relation

A system is said to be in thermal equilibrium when it experiences no net change in thermal energy. If A, B, and C are distinct thermodynamic systems, the zeroth law of thermodynamics can be expressed as:

“If A and C are each in thermal equilibrium with B, A is also in equilibrium with C.”

This statement asserts that thermal equilibrium is a Euclidean relation between thermodynamic systems. If we also grant that all thermodynamic systems are in thermal equilibrium with themselves, then thermal equilibrium is also a reflexive relation. Relations that are both reflexive and Euclidean are equivalence relations. One consequence of this reasoning is that thermal equilibrium is a transitive relationship: If A is in thermal equilibrium with B and B is in thermal equilibrium with C, then A is in thermal equilibrium with C. Another consequence 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. Implicitly assuming both reflexivity and symmetry, the zeroth law is therefore often expressed as:

“If two systems are in thermal equilibrium with a third system, then they are in thermal equilibrium with each other”

Again, implicitly assuming both reflexivity and symmetry, the zeroth law is occasionally expressed as the transitive relationship

“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.”

## Thermodynamics

## Thermal equilibrium between many systems

Many systems are said to be in equilibrium if the small, random exchanges (due to Brownian motion or photon, for example) between them do not lead to a net change in the total energy summed over all systems. A simple example illustrates why the zeroth law is necessary to complete the equilibrium description.

Consider N systems in adiabatic isolation from the rest of the universe, i.e. no heat exchange is possible outside of these N systems, all of which have a constant volume and composition, and which can only exchange heat with one another.

The combined First and Second Laws relate the fluctuations in total energy, dU, to the temperature of the ith system, Ti and the entropy fluctuation in the ith system, DSi, as follows:

Where T_{j }is the temperature of any system j we may choose to single out among the N systems. Finally, equilibrium requires the total fluctuation in energy to vanish, in which case:

Which can be thought of as the vanishing of the product of an antisymmetric matrix T_{i}– Tj and a vector of entropy fluctuations DSi. In order for a non-trivial solution to existing,

That is, the determinant of the matrix formed by must vanish for all choices of N. However, according to Jacobi’s theorem, the determinant of an N_{x}N antisymmetric matrix is always zero if N is odd, although for Neven we find that all of the entries must vanish, in order to obtain a vanishing determinant. Hence at equilibrium. This non-intuitive result means that an odd number of systems are always in equilibrium regardless of their temperatures and entropy fluctuations, while equality of temperatures is only required between an even number of systems to achieve equilibrium in the presence of entropy fluctuations.

The zeroth law solves this odd vs. even paradox, because it can readily be used to reduce an odd-numbered-system to an even number by considering any three of the N systems and eliminating one by application of its principle, and hence reduce the problem to even N which subsequently leads to the same equilibrium condition that we expect in every case, i.e., . The same result applies to fluctuations in any extensive quantity, such as volume (yielding the equal pressure condition), or fluctuations in mass (leading to equality of chemical potentials). Hence the zeroth law has implications for a great deal more than temperature alone. In general, we see that the zeroth law breaks a certain kind of asymmetry present in the First and Second Laws.

Foundation of temperature

The zeroth law establishes thermal equilibrium as an equivalence relationship. An equivalence relationship on a set (such as the set of thermally equilateral systems) 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 labelling may be quite arbitrary, the temperature is just such a labelling 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 labelling, 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.

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 two-dimensional surface.

For example, if two systems of ideal gases are in equilibrium, then P_{1 }V_{1 }/N_{1} = P_{2 }V_{2 }/ N_{2} where Pi is the pressure in the ith system, Vi is the volume, and Ni is the amount (in moles, or simply the number of atoms) of gas.

The surface PV/N = const 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”.

Definition of equal temperatures

Two portions of matter are said to have equal temperatures when neither tends to communicate heat to the other.

Discussing the concept of temperature, James Clerk Maxwell in 1872 wrote: “If when two bodies are placed in thermal communication, one of the two bodies loses heat, and the other gains heat, that body which gives out heat is said to have a higher temperature than that which receives heat from it.” He drew the corollary “If when two bodies are placed in thermal communication neither of them loses or gains heat, the two bodies are said to have equal temperatures or the same temperature. The two bodies are then said to be in thermal equilibrium.”

Further, Maxwell stated, as the “Law of equal temperatures” the following triviality: “Bodies whose temperatures are equal to that of the same body have themselves equal temperatures”. Maxwell then offered an argument that this statement was “not a truism”. Later in the same text, Maxwell wrote: “Hence the result of the conduction and radiation of heat from one part of a system to another is to diminish the entropy of the system, or the energy, available at work, which can be obtained from the system.” This statement was surrounded by Maxwell’s text by several others like it that shows that it was no slip of the pen. In the same textbook, Maxwell wrote that he was following Tait in re-defining the word entropy that had been introduced by Clausius. In contrast with what Maxwell wrote then, Tait had changed his mind by 1884 when in his text he accepted Clausius’s original definition of entropy.

Subsequent writers made statements like Maxwell’s. Tait in 1884 wrote, “if A is at the same temperature as B and also at the same temperature as C — no transfer of heat takes place between B and C, whatever be these bodies.” A similar statement was made by Max Planck in 1897, not labelled as a law but as an important proposition: “If a body, A, be in thermal equilibrium with two other bodies, B and C, then B and C are in thermal equilibrium with one another.” Planck repeated this important proposition in the seventh edition of his treatise in 1922.

The title “zeroth law of thermodynamics” began to appear in textbooks to refer to statements of this kind, though now stripped of their explicit reference to heat; their implicit dependence on the notion of heat could not be removed because they rely on the concept of thermal equilibrium which in turn relies on the concept of transfer of heat by conduction or radiation, the presence or absence of which must be empirically recognizable in order to make the concept of thermal equilibrium empirically recognizable.

An early example is the textbook of statistical thermodynamics of Fowler and Guggenheim (1939/1965). They dealt with assemblies that were either completely homogeneous or that could be divided into homogeneous parts, called phases. For their macroscopic thermodynamic account of phenomena, they started by accepting, on empirical physical grounds, the presupposed notions of thermal insulation, thermal contact, and thermal equilibrium. They emphasised that these notions “can be defined without any reference to temperature”. Moreover, they gave at this stage of the development of their theory no hint of the notion of heat transfer. they wrote:

…we introduce the postulate: If two assemblies are each in thermal equilibrium with a third assembly, they are in thermal equilibrium with each other.

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 single-valued 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”.

They did not their state any reason why such a function should have values on a scale consisting of a continuous succession of numbers or that it should have anything to do with heat. Their thinking was apparently conditioned by their asserted belief that “The most logically satisfactory formulation [of homogeneous system of macroscopic thermodynamics] is undoubtedly that of Carathéodory”. Though they thus apparently professed concern for logicality, they had no apparent compunction about immediately assuming, without apparent justification, that their postulated “temperatures” should exist on a numerical scale, provided for example by “the measured volume of a constant quantity of any chosen substance at constant pressure”. Not worries about pesky but relevant physical realities such as the anomalous behaviour of water that concerned the nineteenth-century thermodynamicists, because around 4 C it does not provide a valid empirical temperature. No mention that it would, therefore, be safer to refer to a permanent gas as a thermometric material. The approach of Fowler and Guggenheim is labelled “mechanical” by Bailyn, who contrasts it with the “thermodynamic” approach of Planck and the founders, who fully recognised the notion of heat transfer as an essential and fundamental presupposition to thermodynamics, without actually labelling it as a numbered law of thermodynamics. Since the time of Fowler and Guggenheim, who believed that the 1909 axiomatic formulation of Carathëodory was the most logically satisfactory, other influential axiomatic formulations of thermodynamics have appeared, some of which do not refer to a zeroth law of thermodynamics.

Sommerfeld in 1951 gave the title the “Zeroth Law” to the statement “Equality of temperature is a condition for thermal equilibrium between two systems or between two parts of a single system”; he wrote that this title followed the suggestion of Fowler, made when he was giving an account of a certain book. Sommerfeld’s statement took the existence of temperature for granted and used it to specify one of the characteristics of thermodynamic equilibrium. This is converse to many statements that are labelled as the zeroth law, which takes thermal equilibrium for granted and use it to contribute to the concept of temperature. We may guess that Fowler had made his suggestion because the notion of temperature is in effect a presupposition of thermodynamics that earlier physicists had not felt needed explicit statement as a law of thermodynamics, and because of the mood of his time, pursuing a “mechanical” axiomatic approach, wanted such an explicit statement.

Guggenheim in 1966 wrote “If two systems are both in thermal equilibrium with a third system then they are in thermal equilibrium with each other” as the zeroth law of thermodynamics, and followed it with the comment “In other words, systems in thermal equilibrium are said to have the same temperature.” This ordinary language statement, although less precise than the statements of Planck and Tait mentioned above, conveys much of the essence of the zeroth law.

The statement of the zeroth law of thermodynamics by Serrin in 1977, though rather mathematically abstract, is more informative for empirical thermometry: “Zeroth Law – There exists a topological line M which serves as a coordinate manifold of material behaviour. The points L of the manifold M are called ‘hotness levels’, and M is called the ‘universal hotness manifold’.” To this information there needs to be added a sense of greater hotness; this sense can be had, independently of calorimetry, of thermodynamics, and of properties of particular materials, from Wien’s displacement law of thermal radiation: the temperature of a bath of thermal radiation is proportional, by a universal constant, to the frequency of the maximum of its frequency spectrum; this frequency is always positive but can have values that tend to zero.

Temperature measurement

Attempts of standardised temperature measurement have been reported as early as 170 AD by Claudius Galenus. The modern scientific field has its origins in the works by Florentine scientists in the 17th century. Early devices to measure temperature were called thermoscopes. The first sealed thermometer was constructed in 1641 by the Grand Duke of Toscani, Ferdinand II. The development of today’s thermometers and temperature scales began in the early 18th century when Gabriel Fahrenheit adapted a thermometer using mercury and a scale both developed by Ole Christensen Rømer. Fahrenheit’s scale is still in use, alongside the Celsius scale and the Kelvin scale.