Zeroth Law of Thermodynamics

Thermal equilibrium is transitive.

First Law of Thermodynamics

Thermodynamics can be viewed as the macroscopic manifestation of statistical mechanics. Statistical mechanics is a theory used to analyze natural or spontaneous fluctuation behaviors. Even static macroscopic properties are connected to statistical theorems that govern dynamical fluctuations. For example, the equation of state of a dilute gas, 𝑝𝑉 =𝑛𝑅𝑇, will be shown in Chapter 3 to be equivalent to the formula for the mean-square density fluctuation in a gas.

1.1 Discussion on state variables and extensive quantities

Definitions and concrete examples of state variables and extensive quantities can be found clearly in any good thermodynamics textbook, so we will not repeat them here.

State variables depend on the state of a system, while the state of a closed system is in turn defined through observable physical quantities—this may look like a circular argument. Following the usual practice in building a physical theory, what needs to be pre-defined is often grounded in experimentally established axioms. In thermodynamics, we define state operationally: we say that a state is the condition of a system in which a set of independently measurable quantities (such as 𝑇,𝑃,𝑛) take specific values. It is called operational because these independent variables are experimentally based and measurable in practice. A large body of experiments shows that once some finite set of parameters is fixed, any other property associated with the system is the same. In other words, a finite set of specific parameters (such as 𝑇,𝑃,𝑛) can completely characterize a system. This is an empirical law and the foundation of thermodynamics.

Because a state variable depends only on the state of the system and not on the path by which the system reached that state, we obtain a common method of theoretical derivation in thermodynamics: if, for a particular thermodynamic process, we derive a differential equation that contains only state functions, then this differential equation holds for any process. This effectively gives us additional constraints and confidence when carrying out mathematical reasoning. You will see many examples of this idea later.

The first state parameter to discuss is internal energy, i.e., the total energy of a system. We assume it satisfies two properties (both are experimental laws):

  1. Internal energy is an extensive quantity.
  2. Energy is conserved, and the change in internal energy satisfies the first law of thermodynamics 𝑑𝐸 =𝑑−𝑄 +𝑑−𝑊.

For the second point—why heat 𝑄 and work 𝑊 are inexact differentials and why they are process quantities—most general physics textbooks provide a discussion, so we will not repeat it here. What we want to focus on is the first point: for some systems, it is not always valid. For example, in a thermodynamic system with electromagnetic fields, is internal energy still extensive? This involves the energy transformation when combining two systems into one. Suppose system 1 has energy 𝐸1 and system 2 has energy 𝐸2. If we bring them into contact and merge them into a single system, in principle the total energy of the combined system should include three terms: 𝐸0 =𝐸1 +𝐸2 +𝐸𝑠, where 𝐸𝑠 is the binding energy between the two systems. Now let us examine this third term carefully. If we regard a system as a collection of a large number of particles, it is not hard to see that 𝐸𝑠 is simply the interaction energy between the two systems. For simple systems without electromagnetic interactions, intermolecular forces are short-ranged, such as van der Waals forces, so only some particles near the surface contribute to 𝐸𝑠. This contribution is so small that it can be treated as zero in macroscopic systems (just as in Newtonian mechanics we approximate when speeds are much smaller than the speed of light; this approximation is not “sloppy” but entirely reasonable). However, if electromagnetic interactions are present, the interaction potential of an electric dipole scales as 1/𝑟3, while the total number of particles in a shell scales as 𝑟2. Therefore, the integral shows that the interaction energy felt by a particle out to a distance 𝐿 is proportional to ln⁡𝐿, which cannot be neglected. In this case, internal energy is not additive; it also depends on the shape of the system, and thus it is no longer an extensive quantity.

Second Law of Thermodynamics