The Timpson Lyceum · University Physics I (2025)
Second Law of Thermodynamics - Lecture 20 (University Physics I)
Overview
This lecture introduces the second law of thermodynamics and the physics of converting heat into useful work. While turning work into heat is trivially easy, the reverse — extracting work from heat — is fundamentally limited, and the second law quantifies that limit. We build up the idea through heat engines (including the Otto cycle of a gasoline engine), refrigerators and heat pumps, and the idealized Carnot cycle, which sets the maximum possible efficiency. We then define entropy three complementary ways — as a state variable computed from , as a measure of disorder, and as the count of microstates underlying a macrostate — and show why entropy in an isolated system always tends to increase. The chapter closes by connecting entropy to information theory.
Key Concepts
The second law, qualitatively
- Energy spontaneously flows from hotter to colder, never the reverse, on its own. Ordered motion (a sliding book) decays into random thermal motion (heat), but random heat never spontaneously reassembles into ordered motion.
- Entropy measures disorder/randomness in a system, and equivalently the tendency of energy toward less-useful forms. In any isolated system, total entropy stays constant (only for reversible processes) or — far more typically — increases.
Reversible processes (an idealization)
- A reversible process is one perpetually on the verge of equilibrium: an infinitesimal change reverses its direction. It keeps a well-defined temperature throughout and changes continuously (no jumps).
- Real processes are irreversible, but we model them with fictitious reversible paths because entropy is a state variable — its change depends only on start and end states, not the path taken (analogous to gravitational potential energy).
Heat engines
- A heat engine takes in heat from a hot reservoir, exhausts to a cold reservoir, and delivers work .
- Thermal efficiency is the fraction of input heat turned into work:
The Otto cycle (gasoline engine)
- Four strokes: adiabatic compression, isochoric (constant-volume) ignition adding , adiabatic power stroke, isochoric exhaust releasing .
- Using the adiabatic relation across the two adiabatic strokes, the efficiency reduces to depend only on the compression ratio : where for a diatomic gas. Higher means higher efficiency, but too high a ratio overheats the fuel-air mix and causes pre-ignition (knock) — which is why premium fuel (higher autoignition temperature) and diesel engines (inject fuel only after full compression, no spark plug) exist.
Refrigerators and heat pumps
- A refrigerator does work to pump heat out of a cold space and dump into the hot surroundings. A heat pump runs the same machine to heat a house, and beats a resistive space heater because it moves existing outside energy inward in addition to converting work to heat.
- Performance is the coefficient of performance, not efficiency: can exceed 1 and has no upper bound of 1, unlike engine efficiency.
Two equivalent statements of the second law
- No engine can convert heat entirely into work with zero exhaust ( is impossible).
- No refrigerator can move heat from cold to hot with zero work input. These two statements are logically equivalent.
The Carnot cycle (maximum efficiency)
- The most efficient possible engine uses only reversible processes: two isothermal steps (heat exchanged with reservoirs at essentially equal temperature) and two adiabatic steps. Its efficiency depends only on the absolute (Kelvin) reservoir temperatures:
- No real engine can beat a Carnot engine operating between the same two temperatures; assuming otherwise lets you build a device that violates the second law. Efficiency reaches 1 only if K — impossible — which is one way Kelvin's absolute-zero scale arises.
Entropy — the thermodynamic definition
- For a reversible process at temperature , the infinitesimal entropy change is , so
- The same heat added to a cold system disorders it far more than when added to a hot system, hence the weighting. Units are .
- For an isothermal process, . For an adiabatic reversible process, , so . Over any complete cycle, (a Carnot cycle changes neither the system's nor the universe's entropy).
Entropy — the microscopic (statistical) definition
- A macrostate (measured , , ) corresponds to many microstates (specific positions/velocities of every molecule). Let be the number of microstates; then where .
- More microstates means higher entropy and higher probability. Systems evolve toward the most probable (highest-) macrostate. The second law is therefore statistical: entropy decreasing is not impossible, merely astronomically unlikely (e.g. all air in a room crowding into half has probability with ).
Entropy and information
- Shannon information defines the surprise of an outcome as and entropy as the expected surprise, , measured in bits.
- A certain outcome () carries zero surprise/entropy; a fair coin carries 1 bit; equally likely outcomes carry bits. High-entropy systems take more information (more bits) to describe, mirroring the thermodynamic notion of disorder.
Worked Example
Carnot engine. A Carnot engine takes in per cycle from a hot reservoir at and rejects heat to a cold reservoir at . Find the exhaust heat , the work , and the efficiency .
Because a Carnot engine's heat ratio equals its temperature ratio, ; the work is ; and the efficiency is :
As a check, , consistent.
Entropy of mixing. Mix of water at () with at (); both settle to (). With and , integrate for each:
Total entropy increases, exactly as the second law requires — the mixed state is more disordered than the separated one.
Summary
- Converting work to heat is effortless; the second law sets a hard ceiling on converting heat back to work — no engine reaches 100% efficiency and no refrigerator runs on zero work.
- Heat-engine efficiency is ; for the Otto cycle it becomes , favoring high compression ratios but limited by fuel pre-ignition.
- The reversible Carnot cycle is the most efficient engine between two temperatures, with using absolute (Kelvin) temperatures; reaching would require K.
- Refrigerators and heat pumps are characterized by a coefficient of performance , which can exceed 1.
- Entropy is a state variable with (reversible path); equivalently counting microstates. Entropy of an isolated system never decreases and almost always increases.
- The second law is ultimately statistical — disorder grows because high-entropy macrostates overwhelmingly outnumber low-entropy ones — and the same entropy concept reappears in information theory as bits needed to describe a system.