Second Law of Thermodynamics

Updated June 2026
The second law of thermodynamics establishes that natural processes have a preferred direction. Heat flows spontaneously from hot objects to cold ones, never the reverse. Gases expand to fill their containers, never spontaneously compress into a corner. The second law captures this asymmetry through the concept of entropy, a quantity that measures the disorder or the number of microscopic arrangements available to a system. In every spontaneous process, the total entropy of the universe increases. This principle governs everything from the efficiency limits of engines to the arrow of time itself.

What the Second Law States

The second law can be stated in several equivalent ways. The Clausius statement says that heat cannot spontaneously flow from a colder body to a hotter body without external work being applied. The Kelvin-Planck statement says that no cyclic process can convert heat entirely into work without some heat being rejected to a cold reservoir. Both statements express the same physical reality: there are fundamental limits on what energy transformations are possible.

A third formulation uses entropy directly. For any process occurring in an isolated system, the total entropy either increases or remains the same. It never decreases. Processes where entropy remains constant are called reversible, and they represent an idealized limit that real processes can approach but never achieve. Every real process is irreversible to some degree, generating entropy through friction, turbulence, mixing, chemical reactions, or heat transfer across a finite temperature difference.

These different statements were developed historically by different scientists working on different problems, but they are all mathematically equivalent. Proving one implies the others is a standard exercise in thermodynamics courses, and it demonstrates the deep internal consistency of the theory.

Entropy: Measuring Disorder

Entropy (S) quantifies the number of microscopic configurations (microstates) consistent with a system macroscopic state. Ludwig Boltzmann formalized this with his famous equation S = k ln W, where k is Boltzmann constant (1.38 x 10-23 J/K) and W is the number of microstates. A system with more available microstates has higher entropy. A gas spread throughout a room has enormously more microstates than the same gas compressed into one corner, which is why gases expand spontaneously.

The thermodynamic definition of entropy change is dS = dQ{sub}rev{/sub}/T, where dQ{sub}rev{/sub} is the heat transferred reversibly and T is the absolute temperature. This definition connects the macroscopic, measurable quantity (heat and temperature) to the microscopic statistical interpretation. For irreversible processes, the entropy change is always greater than dQ/T, reflecting the additional entropy generated by irreversibilities.

Entropy is a state function, meaning it depends only on the current state of the system, not on how the system arrived at that state. This property makes entropy extremely useful for analyzing processes. You can calculate the entropy change between two states using any convenient reversible path, even if the actual process was irreversible.

Heat Engines and Efficiency Limits

The second law imposes an absolute upper limit on the efficiency of any heat engine. A heat engine operates by absorbing heat Q{sub}H{/sub} from a hot reservoir at temperature T{sub}H{/sub}, converting some of it to work W, and rejecting the remaining heat Q{sub}C{/sub} to a cold reservoir at temperature T{sub}C{/sub}. The thermal efficiency is defined as the ratio of work output to heat input: eta = W/Q{sub}H{/sub} = 1 - Q{sub}C{/sub}/Q{sub}H{/sub}.

The Carnot theorem proves that the maximum possible efficiency for any engine operating between two temperatures is the Carnot efficiency: eta{sub}max{/sub} = 1 - T{sub}C{/sub}/T{sub}H{/sub}, where temperatures are in Kelvin. No real engine can exceed this efficiency, and most fall well below it due to friction, heat losses, and other irreversibilities. A power plant operating between steam at 600 K and cooling water at 300 K has a theoretical maximum efficiency of 50 percent, and real plants typically achieve 35 to 45 percent.

This efficiency limit is not an engineering limitation that cleverer designs could overcome. It is a fundamental consequence of the second law. Any device that claimed to exceed the Carnot efficiency would violate the second law by decreasing the total entropy of the universe. This understanding has saved countless hours of engineering effort by establishing what is physically impossible before anyone begins designing.

Key Takeaway

The second law sets an absolute ceiling on engine efficiency determined only by operating temperatures. No amount of engineering can exceed the Carnot limit.

The Arrow of Time

The laws of mechanics are time-reversible: if you film a ball bouncing and play the film backward, the reversed motion obeys the same equations. Yet we never see broken eggs reassemble themselves or spilled coffee flow back into a cup. The second law provides the physical basis for this asymmetry. Because entropy must increase in isolated systems, processes that would decrease entropy (unscrambling eggs, unmixing cream from coffee) are so astronomically improbable that they never occur in practice.

The probability of a spontaneous entropy decrease is not zero but is so small that for macroscopic systems it might as well be. For a mole of gas molecules (about 6 x 1023 particles) to spontaneously compress into half the container, the probability is roughly 1 in 2(6 x 10^23), a number so vast that the age of the universe is negligible in comparison. The second law is therefore a statistical law, overwhelmingly likely rather than absolutely certain, but the statistics are so extreme that violations are never observed in practice.

This connection between entropy and time has deep implications for cosmology. The fact that entropy is increasing implies that the universe began in a state of extraordinarily low entropy. Understanding why the initial conditions of the Big Bang had such low entropy remains one of the open questions at the intersection of thermodynamics and cosmology.

Practical Applications of the Second Law

The second law governs the design of every thermal system in engineering. Refrigerators and air conditioners work by using external work to move heat from cold regions to hot ones, a process the second law permits as long as work is supplied. The coefficient of performance (COP) of these devices is also bounded by the second law, with maximum COP = T{sub}C{/sub}/(T{sub}H{/sub} - T{sub}C{/sub}) for a refrigerator.

In chemical engineering, the second law determines whether a reaction will proceed spontaneously. The Gibbs free energy G = H - TS combines enthalpy and entropy into a single criterion: at constant temperature and pressure, a process is spontaneous when the change in Gibbs free energy is negative. This criterion is the workhorse of chemical thermodynamics, used to predict reaction feasibility, equilibrium compositions, and phase behavior.

In information theory, Claude Shannon established a direct connection between entropy and information. The entropy of a message source measures the average information content per symbol, and data compression is limited by this entropy. This connection between thermodynamic entropy and information entropy is not merely an analogy but reflects a deep physical relationship. Erasing information in a computer necessarily generates heat, a result known as Landauer principle, which sets a minimum energy cost for computation.