Statistical Mechanics and Thermodynamics
Foundations of Thermodynamics and Statistical Mechanics
Statistical mechanics and thermodynamics
Statistical mechanics uses probability to connect the behavior of microscopic particles to the observable properties of large systems. It seeks to explain how collections of atoms and molecules, obeying microscopic laws such as Newtonian or quantum mechanics, produce macroscopic behavior.
Thermodynamics provides a complementary, phenomenological description: it characterizes systems through observable properties and relationships without requiring knowledge of their microscopic constituents. A system can initially be treated as a “black box,” and its regularities can be organized into a consistent mathematical framework based on observation.
Thermodynamics remains useful even when microscopic explanations are available. It can describe the possible behavior of a system without requiring a detailed microscopic model. Phenomenological approaches can also produce powerful descriptions of unfamiliar phenomena—for example, a theory may characterize superconducting or superfluid behavior before its microscopic origin is fully understood.
The broader statistical-mechanical approach connects several ideas:
Probability: A probabilistic description provides a way to reason about systems with many variables.
Large numbers: The behavior of large collections often becomes simpler and more regular than the behavior of individual components. Results such as the central limit theorem help explain this simplification.
Microscopic dynamics: Kinetic theory examines how particles move and how distributions of particles evolve. A density-based description can be more useful than tracking every particle individually.
Equilibrium statistical mechanics: Postulates about probabilities in equilibrium systems can be used to derive thermodynamic laws and properties.
Classical and quantum systems: Classical statistical mechanics is useful in many settings, but quantum mechanics is essential when classical descriptions fail, as they do for some thermal properties and for the behavior of identical particles.
Microscopic Newtonian and quantum dynamics are generally reversible in time, whereas thermodynamic processes are often described as irreversible and directed. The difference does not necessarily imply a contradiction: the two descriptions apply different perspectives to the same system, and the macroscopic account involves large collections of microscopic degrees of freedom.
Thermodynamic systems and equilibrium
Thermodynamics begins by identifying a system and describing it through measurable properties. A system is often idealized as isolated from its surroundings while its properties are being defined, much as a mechanical problem may idealize an object as a point particle.
A system’s measurable mechanical properties depend on what kind of system it is. Examples include:
A gas: pressure and volume.
A stretched wire: length and applied force.
A magnetic material: magnetization and magnetic field.
These observable properties serve as coordinates for describing the system’s state. They are not necessarily a complete description of everything happening microscopically. Instead, they provide a manageable way to specify the system’s macroscopic condition.
Thermal isolation and equilibration
A thermodynamic experiment distinguishes between systems that can exchange heat and those that cannot.
Adiabatic isolation means that heat transfer between the system and its surroundings is prevented. It is an idealization that can be approached by limiting thermal contact and other forms of energy exchange.
Diathermal contact allows heat to pass between systems.
After a system is disturbed, its properties may change for a period of time. Once it has settled into a condition where the relevant macroscopic properties no longer change with time, it is in equilibrium. The time required to reach equilibrium depends on the system. Measurements of equilibrium properties are meaningful only after the system has sufficiently relaxed.
The zeroth law and empirical temperature
The zeroth law of thermodynamics states:
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 expresses the transitivity of thermal equilibrium. If A and B are separately brought into thermal equilibrium with the same reference system, then allowing A and B to exchange heat with each other causes no further change.
The practical importance of this law is that it allows thermal equilibrium to be represented by a shared property: temperature. Each system can be assigned a temperature value such that systems in thermal equilibrium have the same value. Temperature therefore provides a way to compare the thermal states of different systems without having to place every pair in direct contact.
Equilibrium constraints and isotherms
A system’s state may require several coordinates, such as A1,A2,…. When two systems are brought into thermal equilibrium, their coordinates cannot in general vary independently: they must satisfy an equilibrium constraint.
For a fixed temperature, the allowed states of a system form a set in its coordinate space. This set is called an isotherm. In a two-coordinate space, an isotherm may be a curve; in a higher-dimensional space, it may be a surface. Different temperatures correspond to different isotherms.
Temperature initially functions as an empirical label for these equilibrium sets. A temperature scale then assigns numerical values to those labels.
The ideal-gas temperature scale
A dilute gas provides a useful basis for defining temperature. For a fixed quantity of gas, in the limit where the gas becomes very dilute—such as when its volume tends to infinity and its pressure tends to zero—the product of pressure and volume has a particularly simple behavior. In this limit, gases of different substances approach the same ideal-gas relationship.
For a fixed amount of dilute gas, PV is proportional to the temperature. This limiting behavior allows the gas to serve as a thermometer: a gas in thermal equilibrium with a system has a pressure–volume product that indicates the system’s temperature.
One way to define an absolute temperature scale is to compare the limiting value of PV for the system being measured with the corresponding value at the triple point of water. The triple point is the condition at which ice, liquid water, and water vapor coexist. The scale is normalized so that this reference point has temperature 273.16K:
This definition relies on the dilute-gas limit, not on the claim that every real gas obeys the ideal-gas relation under all conditions.
The first law and internal energy
The first law of thermodynamics establishes a state function called internal energy and relates its change to heat and work.
Consider an adiabatically isolated system taken from one equilibrium state to another by performing work on it. The total work required depends only on the initial and final states, not on the particular sequence of operations used to connect them. This path independence implies that there is a function of state, the internal energy E, such that the work done on the system during an adiabatic change equals its energy change:
The internal energy is analogous to potential energy in mechanics: its difference between two states is determined by the endpoints, rather than by the path taken.
Heat and the first-law energy balance
If the system can exchange heat with its surroundings, the same change between the same initial and final states may require a different amount of work. The difference is attributed to heat transfer. With the convention that Q is heat added to the system and Won is work done on it,
Equivalently,
In differential form,
Here, E is a state function: its value is determined by the system’s state. Heat and work are not state functions. They describe energy transferred during a process, and their values depend on how the system is taken from one state to another.
The differentials reflect this distinction:
dE denotes an exact differential of a state function.
δQ and δWon denote path-dependent transfers.
Heat is therefore not a substance stored in a system in the same way as internal energy. It is energy transferred across the system boundary because of a thermal interaction.
Quasi-static processes and generalized work
A quasi-static process proceeds slowly enough that the system remains very close to equilibrium throughout. This makes it possible to describe the system at each stage by equilibrium coordinates and to relate small changes in those coordinates to work.
For a simple spring, for example, slow stretching allows the external force to remain closely matched to the spring’s internal force. If the spring is driven too rapidly, it may oscillate, and the external force no longer describes a well-defined equilibrium state of the spring.
For a system with several ways to perform work, the infinitesimal work can be written as a sum over generalized force–displacement pairs:
The variables xi are generalized displacements, and Ji are their corresponding generalized forces. The appropriate sign depends on the convention used for work and on how the force is defined.
Examples include:
Wire: The displacement is the change in length, and the conjugate force is the tension.
Surface or film: The displacement is the change in area, and the conjugate force is surface tension.
Gas: The displacement is the change in volume, and the conjugate force is pressure. For work done on the gas during a quasi-static change,
δWon=−PdV.Compression has dV<0 and therefore corresponds to positive work on the gas; expansion has dV>0 and corresponds to negative work on it.
Magnetic system: A magnetic field and a change in magnetization form a generalized field–displacement pair, with the precise sign and normalization depending on convention.
For systems made larger by combining similar subsystems, quantities such as volume, length, area, and magnetization are typically extensive: they scale with system size. Their conjugate variables, such as pressure, tension, and surface tension, are typically intensive: they do not scale proportionally with system size.
Heat capacity
Heat capacity measures the heat required to change a system’s temperature by a given amount. Because heat transfer depends on the path, heat capacity generally depends on the conditions under which heat is supplied.
For a gas, two commonly considered paths are:
Constant volume, with heat capacity CV.
Constant pressure, with heat capacity CP.
For a small temperature change,
Using the first law and the work convention δWon=−PdV gives
At constant volume, dV=0, so no pressure–volume work occurs. Therefore,
At constant pressure, the gas can expand as its temperature changes. The heat supplied must both change the internal energy and provide expansion work:
The difference between CP and CV reflects the additional energy required for expansion at constant pressure.
Joule expansion and ideal-gas internal energy
Joule’s free-expansion experiment examines a gas initially confined to one chamber, with an adjacent chamber evacuated. The combined apparatus is thermally isolated. When the partition is removed, the gas expands into the empty chamber.
In this process:
No heat enters or leaves the isolated apparatus, so Q=0.
The gas does no work against an external pressure in expanding into a vacuum, so Won=0.
By the first law, the internal energy does not change: ΔE=0.
For an ideal gas, the observed temperature is unchanged by this free expansion. During expansion, the volume changes while the temperature remains constant. Since the ideal-gas relation makes PV proportional to temperature for a fixed amount of gas, constant temperature means constant PV.
Although internal energy may initially be written as a function of pressure and volume, E=E(P,V), the ideal-gas relation allows one of those variables to be replaced by temperature. The free-expansion result then implies that ideal-gas internal energy is independent of volume at fixed temperature. It can be expressed as a function of temperature alone:
This result explains why ideal-gas heat capacities take a particularly simple form. Since E depends only on T, its temperature derivative is the same whether evaluated at constant volume or constant pressure. For a fixed amount of ideal gas, the remaining difference between the two heat capacities comes from the pressure–volume expansion term. Because PV is proportional to T,
is constant for a fixed quantity of gas. Its value is proportional to the amount of gas; in the ideal-gas relation, it is represented by the gas constant per mole or by the Boltzmann constant per particle, depending on how the amount of gas is specified.

Ask anything
We've read this whole study set, so questions about it get the best answers.