Introduction
In our previous lessons, we explored the First Law of Thermodynamics, which establishes the principle of energy conservation through the equation . We learned that while energy cannot be created or destroyed, it can be transferred as heat () or work (). However, the First Law doesn't tell us why certain processes happen on their own while others don't. For instance, a hot cup of coffee always cools down to room temperature, never the other way around. A gas will always expand to fill its container, but never spontaneously compress itself into a corner.
This lesson introduces the Second Law of Thermodynamics, the fundamental principle that governs the direction of spontaneous change. To understand this law, we will define a new, crucial state function: entropy (). Your goal is to grasp what entropy represents, how it relates to disorder and probability, and how the Second Law uses it to predict the natural direction of all processes in the universe.
The Direction of Spontaneous Change
Many processes occur spontaneously in one direction only. While the reverse process would not violate the First Law of Thermodynamics, it is never observed in nature. Think of a neatly stacked pile of bricks tumbling into a random heap, or the molecules of a dissolved substance spreading out evenly in a solvent.

This universal tendency suggests that there is a "director's arrow" for time and physical processes, pointing from order to disorder. To describe this arrow mathematically, we need a way to quantify disorder. This quantity is entropy.
The following video provides an excellent introduction to the Second Law, its historical origins in the study of engines, and the concept of entropy. It connects the macroscopic law to the microscopic world of particles and probability.
The Second Law of Thermodynamics: Heat Flow, Entropy, and Microstates
This video from Professor Dave Explains will guide you through the core ideas of the Second Law, the definition of entropy, and its statistical basis in microstates.
Please watch the video in its entirety, from start to finish. Pay special attention to the three different ways the Second Law is stated and how the concept of "microstates" provides a statistical reason for why systems tend towards disorder.
Entropy as a Measure of Disorder
As the video explained, entropy () is a thermodynamic state function that measures the degree of disorder, randomness, or energy dispersal in a system. The key insight, developed by Ludwig Boltzmann, is that "disorder" is not just a qualitative idea; it has a precise statistical foundation.
A highly disordered state is simply a state that is vastly more probable than an ordered one. This probability is determined by the number of microstates () corresponding to a given macroscopic state. A microstate is a specific arrangement of the positions and energies of all the individual particles in a system. A macroscopic state (like the system's temperature and pressure) with more possible microscopic arrangements has higher entropy.
The following reading elaborates on this statistical view of entropy. Your interest in statistics and probability should make this microscopic perspective particularly insightful.
19.2: Entropy and the Second Law of Thermodynamics
This text from Chemistry LibreTexts provides a formal definition of entropy and develops the concept of microstates using analogies.
First, read the introductory paragraphs here to get the formal definition of entropy as a state function. Then, jump to the section under the "Entropy" heading and read the detailed explanation of microstates, starting from this paragraph. The examples of the playing cards and gas molecules in bulbs are excellent illustrations of the link between probability and entropy.
Boltzmann formalized this connection with one of the most important equations in statistical mechanics:
where is the Boltzmann constant ( J/K) and is the number of microstates. This equation elegantly bridges the microscopic world of particles () with the macroscopic thermodynamic property of entropy (). Because for any real-world system is an astronomically large number, the natural logarithm is used to scale it down to a manageable value for .
Stating the Second Law of Thermodynamics
With a clear definition of entropy, we can now state the Second Law in its most common form:
The entropy of the universe increases in any spontaneous (irreversible) process and remains constant in any reversible process. It never decreases.
Mathematically, this can be expressed as:
Where:
- for a spontaneous (irreversible) process.
- for a reversible process (a theoretical ideal).
- describes a process that is non-spontaneous and will not happen on its own.
This law explains why heat spontaneously flows from a hot object to a cold one. Although the entropy of the hot object decreases as it loses energy, the entropy of the cold object increases by a greater amount, leading to a net positive change in the entropy of the universe.
A common point of confusion arises from observing processes where order seems to increase, like water freezing into highly ordered ice crystals or the complex structures of life itself. This does not violate the Second Law.
12.3 Second Law of Thermodynamics: Entropy - Physics
This text from OpenStax Physics clearly states the Second Law and, crucially, addresses the misconception about local decreases in entropy.
Please read the section titled "Second Law of Thermodynamics" for a clear statement of the law and its implications. Then, continue reading to understand the critical distinction between the system and the universe. The paragraphs from this point onwards explain how the entropy of a system can decrease, as long as the entropy of the surroundings increases by an even larger amount.
Entropy and the States of Matter
The connection between entropy and molecular disorder is very clear when we consider the different phases of matter.

- Solid: Atoms or molecules are locked in a rigid, ordered crystal lattice. They have very few possible positions or motions. This corresponds to a low number of microstates () and therefore low entropy ().
- Liquid: Molecules are free to move past one another. They have many more possible positions and arrangements than in a solid. This means more microstates and higher entropy.
- Gas: Molecules move randomly and independently, occupying the entire volume of their container. The number of possible positions is enormous, leading to a very high number of microstates and the highest entropy of the three phases.
Therefore, for a given substance, we can almost always state that . This simple rule is a direct consequence of the statistical nature of entropy.
Conclusion
This lesson introduced one of the most profound principles in all of science. While the First Law of Thermodynamics is a statement of conservation, the Second Law provides direction, explaining the "arrow of time" for physical and chemical processes. It dictates why things wear out, why energy sources are finite, and why some reactions proceed while others do not.
Key Takeaways:
- Spontaneous Processes: Many processes in nature occur spontaneously in only one direction, tending towards a state of greater disorder.
- Entropy (S): A state function that serves as a quantitative measure of a system's disorder or the dispersal of its energy. From a statistical viewpoint, it is proportional to the logarithm of the number of possible microstates () for that system.
- The Second Law of Thermodynamics: For any spontaneous process, the total entropy of the universe () must increase.
- Local vs. Universal Entropy: The entropy of a specific system can decrease (e.g., water freezing), but only if it causes a larger increase in the entropy of its surroundings, ensuring the overall entropy of the universe still increases.
In our next lesson, we will build on this conceptual foundation. You will learn how to predict the sign of entropy changes () for various physical and chemical changes and begin to apply these ideas more quantitatively.