The Relationship Between Entropy and the Number of Microstates of a System

In the early days of thermodynamics, entropy was viewed through a purely macroscopic lens. Pioneered by Rudolf Clausius, entropy was defined as a state function describing the relationship between heat transfer and temperature. It was a tool for engineers and physicists to understand the efficiency of heat engines and the direction of energy flow. However, this classical view only described what happened; it did not explain why it happened at a fundamental level.

The true nature of entropy remained elusive until the advent of statistical mechanics. Ludwig Boltzmann revolutionized the field by bridging the gap between the visible world of thermodynamics and the invisible world of atoms. He revealed that entropy is not merely a mathematical abstraction of heat, but a direct measure of the number of microscopic ways a system can be arranged. This connection—between the macroscopic state of a system and its microscopic configurations—is one of the most profound insights in modern physics.

Defining the Framework: Macrostates vs. Microstates

To grasp the statistical definition of entropy, one must first distinguish between two fundamental concepts: the macrostate and the microstate.

  • Macrostate: This refers to the "big picture" description of a system. A macrostate is defined by a few observable, bulk properties such as pressure ($P$), volume ($V$), temperature ($T$), internal energy ($U$), and the number of particles ($N$). When we say a gas is at a certain temperature and pressure, we are describing its macrostate.
  • Microstate: This is a "snapshot" of the system at an instantaneous level. A microstate accounts for the specific state of every single constituent particle. For a classical gas, this means knowing the exact position ($\vec{r}_i$) and momentum ($\vec{p}_i$) of every molecule in the system.

The Fundamental Link: A single macrostate does not correspond to a single microstate. Instead, a single macrostate can be realized by a vast number of different microstates. For example, you can change the positions and velocities of millions of molecules in a container, but as long as the total energy, pressure, and temperature remain constant, the macrostate remains unchanged. The total number of these possible microstates that result in the same macrostate is denoted by the symbol $\Omega$ (often referred to as the multiplicity or state density).

The Boltzmann Entropy Formula

Boltzmann established the quantitative bridge between these two worlds through his famous entropy formula:

$$S = k_B \ln \Omega$$

In this equation:

  • $S$ represents the entropy of the system.
  • $k_B$ is the Boltzmann constant ($\approx 1.38 \times 10^{-23} \text{ J/K}$), which acts as a scaling factor between the microscopic and macroscopic scales.
  • $\ln \Omega$ is the natural logarithm of the number of available microstates.

The Mathematical Necessity of the Logarithm

A critical question arises: why is the relationship logarithmic rather than linear? The answer lies in the principle of additivity.

In thermodynamics, entropy is an extensive property. This means that if you have two independent, non-interacting systems, $A$ and $B$, the total entropy of the combined system must be the sum of their individual entropies:
$$S_{total} = S_A + S_B$$

However, from a combinatorial perspective, the total number of microstates for the combined system is the product of the microstates of the individual systems:
$$\Omega_{total} = \Omega_A \times \Omega_B$$

The logarithm is the only mathematical function that elegantly converts a product into a sum:
$$\ln(\Omega_A \times \Omega_B) = \ln \Omega_A + \ln \Omega_B$$

By using the logarithm, Boltzmann ensured that the statistical counting of microstates remained perfectly consistent with the macroscopic laws of thermodynamics.

Physical Interpretation: Uncertainty and Probability

In a physical sense, $\Omega$ represents the degree of "freedom" or "uncertainty" within a system.

  1. Low Entropy (Ordered States): When $\Omega$ is small, the system is highly constrained. There are very few ways to arrange the particles to achieve the given macrostate. A perfect crystalline solid at absolute zero is a prime example; the particles are locked into specific positions, resulting in minimal microstates and minimal entropy.
  2. High Entropy (Disordered States): When $\Omega$ is large, the system has immense freedom. Particles can be distributed across a vast range of positions and velocities. An ideal gas, where molecules move rapidly and occupy the entire volume, possesses a massive number of microstates and, consequently, high entropy.

This leads directly to the Second Law of Thermodynamics. An isolated system will spontaneously evolve toward the macrostate with the largest $\Omega$. This is not due to a "force" pushing it there, but simply because the state with the most microstates is statistically the most probable. Nature moves toward disorder because disorder is simply more likely.

Application in Phase Transition Thermodynamics

Phase transitions—such as ice melting into water or water evaporating into steam—provide the most striking evidence of the relationship between entropy and microstates. During a phase transition, a system absorbs or releases latent heat ($L$) while the temperature remains constant. This energy input does not raise the temperature; instead, it fundamentally alters the system's microscopic structure.

The Evolution of States

  • Solid Phase: Molecules are confined to fixed lattice sites. Their positional uncertainty is extremely low, meaning $\Omega_{solid}$ is relatively small.
  • Liquid Phase: As the solid melts, molecules break free from their fixed positions and can flow. This massive increase in possible spatial configurations means $\Omega_{liquid} \gg \Omega_{solid}$, leading to an increase in entropy.
  • Gaseous Phase: In the gas phase, molecules move freely through the entire volume with a wide range of velocities. The number of possible configurations explodes, making $\Omega_{gas}$ orders of magnitude larger than $\Omega_{liquid}$.

Quantifying the Change

The change in entropy ($\Delta S$) during a phase transition at a constant temperature $T_{pc}$ can be calculated using the latent heat:
$$\Delta S = \frac{L}{T_{pc}}$$

From the microscopic perspective, this $\Delta S$ represents the exponential jump in the number of available microstates:
$$\frac{\Omega_{final}}{\Omega_{initial}} = e^{\Delta S / k_B}$$

This relationship highlights a staggering reality: even a seemingly small macroscopic increase in entropy corresponds to a colossal, exponential increase in the number of microscopic ways the system can exist.

Illustrative Example: The Lattice Model

To visualize this, consider a simplified model of $N$ available sites in a container and $n$ particles.

  • Scenario A (Restricted/Ordered): Suppose all $n$ particles are forced to stay within the left half of the container ($N/2$ sites). The number of ways to arrange them is $\Omega_A = \binom{N/2}{n}$.
  • Scenario B (Unrestricted/Disordered): If the barrier is removed and particles can occupy any of the $N$ sites, the number of ways becomes $\Omega_B = \binom{N}{n}$.

Mathematically, $\Omega_B$ is significantly larger than $\Omega_A$. If the system starts in State A, it will spontaneously transition to State B because State B is vastly more probable. The entropy increase is given by:
$$\Delta S = k_B \ln \frac{\Omega_B}{\Omega_A}$$

Conclusion

The relationship between entropy and the number of microstates transforms our understanding of the universe. It moves entropy from the realm of abstract heat measurements into the realm of probability and information. By viewing entropy through the lens of $\Omega$, we see that the laws of thermodynamics are actually the laws of statistics in action. Whether observing the melting of ice or the expansion of a gas, we are witnessing a system's relentless drive to explore the most probable, most numerous configurations available to it.