COLLEGE PHYSICS • THERMODYNAMICS

Entropy and Second Law of Thermodynamics — Entropy and the Second Law of Thermodynamics

Understanding why natural processes are irreversible and how entropy quantifies the direction of thermodynamic change.

Historical Context & Motivation

The concept of entropy arose from a deeply practical question that preoccupied nineteenth-century engineers and physicists: why can't a heat engine convert all of its input heat into useful work? The industrial revolution, powered by steam engines, demanded a rigorous understanding of the theoretical limits of thermal machines. Early practitioners recognized that something fundamental in nature prevented the complete conversion of heat into mechanical energy, and that certain processes—like heat flowing from a hot body to a cold one—seemed to proceed in only one direction. These observations, initially rooted in engineering concerns, would ultimately lead to one of the most profound and far-reaching principles in all of physics: the Second Law of Thermodynamics.

1824
Carnot's Ideal Engine
Sadi Carnot published Réflexions sur la puissance motrice du feu, demonstrating that even an ideal heat engine cannot achieve 100% efficiency. His analysis of reversible cycles established the theoretical maximum efficiency dependent solely on reservoir temperatures.
1850
Clausius Formalizes the Second Law
Rudolf Clausius stated that heat cannot spontaneously flow from a colder body to a hotter one, providing the first rigorous formulation of the Second Law. He would later introduce the term entropy in 1865 to quantify irreversibility.
1851
Kelvin's Statement
Lord Kelvin (William Thomson) independently formulated the Second Law: no cyclic process can convert heat entirely into work without other effects. This complemented Clausius's statement and established the universality of the law.
1877
Boltzmann's Statistical Interpretation
Ludwig Boltzmann connected entropy to the number of microscopic arrangements (microstates) of a system through his famous relation S = kB ln Ω, bridging thermodynamics and statistical mechanics and providing a molecular foundation for entropy.
1906
Nernst and the Third Law
Walther Nernst proposed what would become the Third Law of Thermodynamics, establishing an absolute reference point for entropy and completing the classical thermodynamic framework that the Second Law helped inaugurate.

The central question that drove all of this development can be stated simply: if energy is conserved (the First Law), why can't every process be reversed? A shattered glass does not spontaneously reassemble; a cup of hot coffee cools to room temperature but never spontaneously heats up by drawing energy from the cooler surroundings. The concept of entropy and the Second Law provide the answer: there exists a thermodynamic quantity that, for any real (irreversible) process in an isolated system, always increases—thereby defining the arrow of time in the physical universe.

Core Principles & Definitions

Entropy and the Second Law of Thermodynamics rest on several foundational ideas that collectively explain why nature exhibits irreversibility and directionality. Before diving into the mathematics, it is essential to understand these principles conceptually, as they provide the physical intuition needed to correctly apply the formalism. The following core ideas form the backbone of everything that follows in this lesson.

1

Entropy as a State Function

Entropy S is a thermodynamic state function, meaning its value depends only on the current equilibrium state of the system—not on the path taken to reach that state. Changes in entropy between two states can be computed along any convenient reversible path connecting them.
2

Clausius Inequality

For any cyclic process, the integral of δQ/T around the cycle is less than or equal to zero. Equality holds only for reversible cycles. This inequality is the mathematical heart of the Second Law and provides the criterion for determining whether a process is reversible, irreversible, or impossible.
3

Entropy Increase Principle

In an isolated system, the total entropy can never decrease. It remains constant during reversible processes and strictly increases during irreversible ones. This principle defines the natural direction of spontaneous processes and is often considered the most powerful statement of the Second Law.
4

Microscopic Interpretation

Boltzmann's statistical mechanics reveals that entropy measures the logarithm of the number of microstates (Ω) consistent with a given macrostate. Systems spontaneously evolve toward macrostates with overwhelmingly larger numbers of microstates, which is why entropy tends to increase.
5

Reversible vs. Irreversible Processes

A reversible process is an idealization in which the system passes through a continuous sequence of equilibrium states and can be exactly reversed with no net change in the universe. All real processes are irreversible—they produce entropy due to friction, turbulence, heat transfer across finite temperature differences, or mixing.
KEY TAKEAWAY
Think of entropy like the shuffle of a deck of cards. A brand-new, perfectly ordered deck is one specific arrangement out of roughly 8 × 1067 possible arrangements. When you shuffle, the deck almost certainly moves toward a disordered state—not because disorder is 'preferred' by any force, but because there are astronomically more disordered arrangements than ordered ones. Entropy quantifies this statistical inevitability: systems evolve toward the macroscopic states that correspond to the greatest number of microscopic configurations.

Visualizing Entropy Change

One of the most instructive ways to understand entropy is through a pressure–volume (P–V) diagram that compares a reversible Carnot cycle with an irreversible process. The area enclosed on a P–V diagram represents the net work done by the engine in a cycle, and comparing the reversible and irreversible cases reveals how entropy generation reduces useful work output. The following diagram illustrates the Carnot cycle alongside a schematic of heat flow and entropy change.

Left: The four stages of the Carnot cycle — isothermal expansion (A→B), adiabatic expansion (B→C), isothermal compression (C→D), and adiabatic compression (D→A). The enclosed area represents net work output. Right: Schematic showing heat Q1 absorbed from the hot reservoir, work W extracted, and waste heat Q2 rejected to the cold reservoir. For the Carnot cycle, the total entropy change of the universe is zero; for any real engine, it is positive.

In the P–V diagram, notice that the isothermal expansion at temperature T1 (path A→B) corresponds to the engine absorbing heat Q1 from the hot reservoir, increasing the system's entropy by ΔS = Q1/T1. During the isothermal compression at T2 (path C→D), the engine rejects heat Q2 to the cold reservoir, decreasing the system's entropy by Q2/T2. For the reversible Carnot cycle, these two entropy changes are equal in magnitude, so the net entropy change of the system over one complete cycle is exactly zero—consistent with entropy being a state function. The adiabatic legs (B→C and D→A) involve no heat transfer and therefore no entropy change.

Mathematical Framework

The quantitative treatment of entropy begins with the Clausius definition, which defines entropy change for a reversible process, and extends to the Clausius inequality for arbitrary processes. We then connect this macroscopic formulation to Boltzmann's statistical interpretation and derive the efficiency limits imposed by the Second Law.

CLAUSIUS DEFINITION OF ENTROPY CHANGE
dS = δQ_rev / T
Here dS is the infinitesimal change in entropy, δQrev is the infinitesimal heat transferred reversibly, and T is the absolute temperature (in kelvins) at which the transfer occurs. For a finite process from state 1 to state 2: ΔS = ∫₁² (δQrev / T). Because S is a state function, ΔS is path-independent—but the calculation must be performed along a reversible path.
CLAUSIUS INEQUALITY
∮ (δQ / T) ≤ 0
For any cyclic thermodynamic process, the closed-loop integral of δQ/T is less than or equal to zero. The equality holds for reversible cycles; the strict inequality holds for irreversible cycles. This inequality is the mathematical expression of the Second Law.
ENTROPY INCREASE PRINCIPLE (ISOLATED SYSTEM)
ΔS_universe = ΔS_system + ΔS_surroundings ≥ 0
For an isolated system (or, equivalently, for the system plus its surroundings treated together as the universe), the total entropy change is non-negative. Equality corresponds to a reversible process; strict inequality corresponds to an irreversible process. A proposed process for which ΔSuniverse < 0 is thermodynamically impossible.
BOLTZMANN ENTROPY
S = k_B ln Ω
Here kB = 1.381 × 10⁻²³ J/K is the Boltzmann constant and Ω is the number of microstates corresponding to the macrostate. This equation provides the bridge between the macroscopic thermodynamic quantity S and the microscopic statistical description of a system. Entropy is thus a measure of the multiplicity of a macroscopic state.

From the Second Law, one can derive that the maximum efficiency of any heat engine operating between two thermal reservoirs at temperatures T1 (hot) and T2 (cold) is the Carnot efficiency: ηCarnot = 1 − T2/T1. This result follows directly from requiring ΔSuniverse = 0 for the reversible limit, which gives Q1/T1 = Q2/T2. Any real engine will have η < ηCarnot because irreversibilities generate entropy within the engine.

Entropy Changes in Common Processes

To build fluency with entropy calculations, it is valuable to examine how entropy changes are computed for several fundamental thermodynamic processes. The table and diagram below classify these processes and provide the corresponding entropy-change expressions. In each case, remember that the calculation is performed along a reversible path between the initial and final states, even if the actual process is irreversible.

Entropy change expressions for common thermodynamic processes involving ideal gases and phase transitions.
ProcessEntropy Change ExpressionNotes
Isothermal (ideal gas)ΔS = nR ln(V₂/V₁) = −nR ln(P₂/P₁)Temperature constant; entropy increases with expansion.
Isobaric (ideal gas)ΔS = nCₚ ln(T₂/T₁)Pressure constant; Cₚ is molar heat capacity at constant pressure.
Isochoric (ideal gas)ΔS = nCᵥ ln(T₂/T₁)Volume constant; Cᵥ is molar heat capacity at constant volume.
Adiabatic reversibleΔS = 0No heat exchange and reversible ⇒ isentropic.
Phase change at constant T and PΔS = Q/T = mL/TL is the specific latent heat; Q is the heat of transformation.
Free expansion (ideal gas)ΔS = nR ln(V₂/V₁)Irreversible; Q = 0 but ΔS > 0. Calculate via reversible isothermal path.
A Temperature–Entropy (T–S) diagram showing four key processes: an isothermal process (horizontal line at constant T), a reversible adiabatic (isentropic) process (vertical line at constant S), an isobaric process (curved path), and an isochoric process (steeper curved path). On a T–S diagram, the area under a reversible process curve represents the heat transferred.

A key insight from the T–S diagram is that the area under any reversible process curve equals the heat transferred during that process, since Qrev = ∫T dS. For the isothermal process this area is simply T × ΔS, and for the adiabatic reversible process the area is zero (consistent with no heat exchange). The isobaric and isochoric curves differ in steepness because Cₚ > Cᵥ for an ideal gas (by the relation Cₚ − Cᵥ = R), which means the isobaric curve has a gentler slope dT/dS = T/Cₚ compared to the isochoric slope dT/dS = T/Cᵥ.

Worked Example: Entropy Change in Heat Transfer

Consider a classic irreversibility problem: a 2.00 kg block of copper at 400 K is dropped into a large, well-insulated lake at 290 K. The system reaches thermal equilibrium at approximately 290 K (the lake is so large its temperature barely changes). Calculate the total entropy change of the universe. Take the specific heat capacity of copper as cCu = 386 J/(kg·K).

Entropy Change for Irreversible Heat Transfer
1
Step 1 — Identify Given Values and SystemMass of copper block: m = 2.00 kg. Initial temperature of copper: TCu,i = 400 K. Final equilibrium temperature: Tf = 290 K (lake temperature, effectively unchanged). Specific heat of copper: c = 386 J/(kg·K). The system is isolated (well-insulated), so any entropy decrease in the copper must be more than compensated by an entropy increase in the lake.
2
Step 2 — Calculate Entropy Change of the CopperThe copper cools from 400 K to 290 K. Because temperature changes, we integrate: ΔSCu = mc ln(Tf/Ti) = (2.00)(386) ln(290/400) = 772 × ln(0.725) = 772 × (−0.3216)
ΔSCu = −248.3 J/K
3
Step 3 — Calculate Heat Transferred to the LakeThe heat lost by the copper equals the heat gained by the lake (energy conservation in the insulated system): Qlake = mc(Ti − Tf) = (2.00)(386)(400 − 290) = (772)(110)
Qlake = 84,920 J
4
Step 4 — Calculate Entropy Change of the LakeThe lake is a thermal reservoir at constant temperature Tlake = 290 K, so: ΔSlake = Qlake/Tlake = 84,920/290
ΔSlake = +292.8 J/K
5
Step 5 — Calculate Total Entropy Change of the UniverseΔSuniverse = ΔSCu + ΔSlake = −248.3 + 292.8
ΔSuniverse = +44.5 J/K > 0 ✓ (irreversible process)
6
Step 6 — Interpret the ResultThe positive value of ΔSuniverse confirms that this is an irreversible process, as expected for spontaneous heat transfer across a finite temperature difference. The entropy gained by the lake exceeds the entropy lost by the copper because the same quantity of heat was transferred at a lower temperature (290 K vs. the copper's varying temperature between 400 and 290 K), and ΔS = Q/T yields a larger value when T is smaller.

Equivalent Statements of the Second Law

The Second Law of Thermodynamics can be stated in several seemingly different ways, yet each statement is logically equivalent—if one is violated, all are violated. Understanding these equivalent formulations deepens one's appreciation of the law's scope and helps in identifying which statement is most useful in a given physical context.

Equivalent formulations of the Second Law and their typical applications.
StatementFormulationBest Applied When
Clausius StatementHeat cannot spontaneously flow from a colder body to a hotter body without external work being performed.Analyzing refrigerators, heat pumps, and spontaneous heat transfer processes.
Kelvin–Planck StatementNo cyclic process can convert heat from a single reservoir entirely into work with no other effect.Analyzing heat engines and setting upper bounds on thermal efficiency.
Entropy StatementThe total entropy of an isolated system never decreases; it increases for irreversible processes and remains constant for reversible ones.Quantitative calculations of entropy changes, feasibility analysis, and statistical mechanics.
Carnot's PrincipleNo engine operating between two reservoirs can be more efficient than a Carnot engine operating between those same reservoirs.Comparing real engine efficiencies to the theoretical maximum.
KEY TAKEAWAY
Think of the various statements of the Second Law like different maps of the same territory. The Clausius statement is your street-level GPS—it tells you directly about heat flow direction. The Kelvin–Planck statement is the engineer's blueprint—focused on engine limitations. The entropy statement is the satellite view—it gives the broadest, most quantitative perspective. Each is a different lens, but they all describe exactly the same physical reality. Proving any one equivalent to any other is a standard exercise in thermodynamics, and doing so solidifies one's understanding that the Second Law is a single, unified principle.

Connections to Statistical Mechanics & Beyond

The macroscopic, thermodynamic treatment of entropy presented so far—rooted in Clausius's definition and the behavior of heat engines—provides the operational framework for solving problems. However, a deeper understanding emerges when one examines entropy through the lens of statistical mechanics. Boltzmann's formulation S = kB ln Ω reveals that the Second Law is not an absolute prohibition but rather a statement about overwhelming probability: the macrostate with the largest number of microstates is so vastly more probable than any ordered configuration that spontaneous decreases in entropy, while not forbidden by fundamental dynamics, are effectively unobservable for macroscopic systems.

Comparison of classical thermodynamic and statistical mechanical views of entropy.
AspectClassical ThermodynamicsStatistical Mechanics
Definition of SdS = δQ_rev/T (Clausius)S = k_B ln Ω (Boltzmann)
Nature of Second LawExact law; ΔS ≥ 0 always.Statistical law; fluctuations ~1/√N, negligible for N ~ 10²³.
System sizeApplies to macroscopic systems.Extends to small systems via fluctuation theorems.
ReversibilityIrreversibility is postulated.Irreversibility emerges from coarse-graining and initial conditions.
Connection to informationNot directly addressed.Shannon entropy links thermodynamic and information-theoretic entropy.

In more advanced courses, you will encounter the Gibbs entropy formula S = −kB Σ pi ln pi, which generalizes Boltzmann's expression to systems not in the microcanonical ensemble. This is formally identical to Shannon entropy in information theory, a connection first recognized by Claude Shannon in 1948 and later explored by Edwin Jaynes. The deep link between information, uncertainty, and thermodynamic entropy remains an active area of research in fields ranging from black hole physics (Bekenstein–Hawking entropy) to quantum computing and biophysics.

Practice Problems

PROBLEM 1CONCEPTUAL
A glass of warm water is placed in a refrigerator and eventually reaches the temperature of the refrigerator interior. Does the entropy of the water increase or decrease? Does the entropy of the universe increase or decrease? Explain your reasoning using the Second Law.
PROBLEM 2BASIC CALCULATION
Calculate the entropy change when 3.00 mol of an ideal gas expand isothermally and reversibly at 350 K from a volume of 10.0 L to 30.0 L. (R = 8.314 J/(mol·K))
PROBLEM 3INTERMEDIATE
A Carnot engine operates between a hot reservoir at 600 K and a cold reservoir at 300 K. It absorbs 1200 J of heat from the hot reservoir per cycle. (a) What is the engine's efficiency? (b) How much work does it perform per cycle? (c) What is the total entropy change of the universe per cycle?
PROBLEM 4APPLIED
A power plant burns fuel to maintain its boiler at 820 K and rejects waste heat to a river at 290 K. The plant's actual efficiency is 32%. (a) What is the maximum (Carnot) efficiency? (b) What is the ratio of the plant's actual efficiency to the Carnot efficiency? (c) If the plant produces 500 MW of electrical power, what is the rate of entropy generation in the universe due to the plant's operation?
PROBLEM 5CRITICAL THINKING
Consider 1.00 mol of an ideal monatomic gas (Cᵥ = 3R/2) that undergoes a free expansion from V₁ = 5.00 L to V₂ = 20.0 L inside an insulated, rigid container. (a) Show that T, U, and H remain unchanged. (b) Calculate the entropy change of the gas. (c) Is this process reversible or irreversible? Justify using both the entropy criterion and a physical argument. (d) If you wanted to achieve the same final state via a reversible path, describe one such path and confirm it gives the same ΔS.

Lesson Summary

Entropy is a thermodynamic state function that quantifies the degree of irreversibility in a process. Defined macroscopically by dS = δQ_rev/T (the Clausius definition) and microscopically by S = k_B ln Ω (the Boltzmann formula), entropy bridges classical thermodynamics and statistical mechanics. The Second Law of Thermodynamics states that the total entropy of an isolated system never decreases: ΔS_universe ≥ 0. Equality holds for reversible processes and strict inequality for irreversible processes.

The Second Law admits several equivalent formulations: the Clausius statement (heat flows spontaneously only from hot to cold), the Kelvin–Planck statement (no perfect heat engine), and the entropy increase principle. The Carnot efficiency η = 1 − T₂/T₁ sets the maximum possible efficiency for any heat engine operating between two thermal reservoirs. Entropy changes for common processes (isothermal, isobaric, isochoric, adiabatic, phase change, free expansion) can all be computed by integrating dS = δQrev/T along a reversible path connecting the initial and final states. Mastery of these calculations, along with the conceptual understanding that entropy measures the number of accessible microstates, provides the foundation for advanced study in statistical mechanics, chemical thermodynamics, and modern physics.

Varsity Tutors • College Physics • Entropy and Second Law of Thermodynamics