The second law of thermodynamics is arguably the most profound statement in all of science. It explains why time appears to have a direction (why we remember the past and not the future), why no engine can be perfectly efficient, why a cup of hot coffee always cools and never spontaneously heats up, and why all ordered structures — living things, machines, cities — inevitably decay if not maintained. It is the law that makes the future different from the past.
Entropy statement: In any isolated system, the total entropy never decreases. It increases in irreversible processes and remains constant in reversible (ideal) processes.
Heat flow statement (Clausius): Heat spontaneously flows from hot objects to cold ones, never the reverse without external work input.
Engine statement (Kelvin-Planck): No heat engine operating in a cycle can convert all the heat it absorbs into work — some heat must always be rejected to a cold reservoir.
What Is Entropy?
Entropy (symbol S, unit J/K) is a measure of the disorder or randomness of a system — more precisely, it measures the number of microscopic arrangements (microstates) that correspond to a given macroscopic state. The higher the entropy, the more ways the system can be arranged at the microscopic level.
A classic example: a gas confined to the left half of a box has low entropy (molecules are restricted to one region — few microstates). Open a partition and the gas expands to fill the whole box — vastly more microstates are available, so entropy is much higher. The gas never spontaneously returns to the left half because that would require moving from a high-entropy state (many microstates) to a low-entropy state (far fewer microstates) — overwhelmingly improbable.
The statistical definition of entropy, due to Ludwig Boltzmann, is:
where k_B = 1.38 × 10⁻²³ J/K is Boltzmann's constant and W is the number of microstates. This equation is so fundamental it is inscribed on Boltzmann's tombstone in Vienna.
The Entropy Change Formula
For a reversible heat transfer at constant temperature T:
where ΔS is the change in entropy (J/K), Q is the heat transferred (J), and T is the absolute temperature (K). Heat added to a system increases its entropy; heat removed decreases it. For irreversible processes, ΔS_universe > Q/T — the universe always gains more entropy than the minimum required.
Why Heat Flows From Hot to Cold
Consider a hot object (temperature T_H) in contact with a cold object (temperature T_C, where T_C < T_H). When heat Q flows from hot to cold:
Total entropy increases — consistent with the second law. If heat were to flow the other way (cold to hot), ΔS_total would be negative — entropy would decrease — violating the second law. This is why heat spontaneously flows only from hot to cold.
Heat Engines and the Carnot Limit
A heat engine is any device that converts thermal energy into work. It takes heat Q_H from a hot reservoir at temperature T_H, converts some to work W, and rejects the remainder Q_C to a cold reservoir at T_C:
The efficiency of any heat engine is:
The second law (specifically, entropy cannot decrease) places a maximum on efficiency. The Carnot efficiency is the theoretical maximum for any engine operating between temperatures T_H and T_C:
where temperatures must be in kelvins (K). No real engine can exceed Carnot efficiency. A real engine always falls below it because real processes are irreversible (friction, heat leakage, turbulence) — generating entropy that reduces the work output.
| Engine | T_H (K) | T_C (K) | Carnot max | Actual |
|---|---|---|---|---|
| Petrol engine | ~800 K | ~350 K | 56% | 25–35% |
| Steam turbine | ~810 K | ~310 K | 62% | 40–45% |
| Human body | ~310 K | ~295 K | ~5% | ~25% (muscles) |
Why Perpetual Motion Machines Are Impossible
A perpetual motion machine of the first kind would create energy from nothing — violating the first law of thermodynamics (conservation of energy). It is impossible.
A perpetual motion machine of the second kind would convert heat entirely into work with 100% efficiency, with no heat rejected — violating the second law. A steam engine that took heat from the ocean and converted it all to work (with the ocean as the single reservoir) would seem plausible — there is plenty of thermal energy in the sea — but the second law forbids it. You need two reservoirs at different temperatures; work can only be extracted from the temperature difference, not from any single reservoir regardless of how much energy it contains.
Entropy and the Arrow of Time
The fundamental laws of mechanics (Newton's laws, quantum mechanics, electromagnetism) are all time-symmetric — they work equally well run forwards or backwards. Yet the macroscopic world clearly has a direction of time: eggs break but don't reassemble, heat flows from hot to cold, stars burn out but don't spontaneously ignite. The arrow of time emerges from the second law: entropy increases, so the future is the direction in which entropy is higher.
The ultimate reason entropy was low in the past — enabling the universe to evolve toward higher entropy — is that the universe began in an extremely low-entropy state at the Big Bang. This is one of the deepest unsolved questions in cosmology: why did the universe start so orderly?
Refrigerators and Heat Pumps: Running the Engine Backward
A refrigerator is a heat engine run in reverse: it uses work W to move heat Q_C from a cold reservoir (the fridge interior) to a hot reservoir (the kitchen). The coefficient of performance (COP) measures efficiency:
A heat pump moves heat from cold outdoor air to a warm building interior, also using work. The Carnot COP for a heat pump: COP_HP = T_H / (T_H − T_C). Heat pumps can deliver more heat than the electrical energy they consume — a 1 kW heat pump can deliver 3–4 kW of heating by moving heat from cold air — which is why they are far more efficient than electric resistance heaters.
Frequently Asked Questions
What is the second law of thermodynamics?
The second law states that the total entropy of an isolated system never decreases — it increases in all natural (irreversible) processes. Equivalently: heat flows spontaneously from hot to cold, never the reverse; and no heat engine can convert heat entirely into work. It explains why time has a direction and why perpetual motion is impossible.
What is entropy?
Entropy (S, unit J/K) measures the number of microscopic arrangements (microstates) available to a system: S = k_B ln W. Higher entropy means more disorder and more possible arrangements. In practical terms: entropy measures how "spread out" or "randomised" a system's energy is. The second law says entropy always increases in isolated systems.
What is Carnot efficiency?
Carnot efficiency is the theoretical maximum efficiency of any heat engine operating between hot reservoir T_H and cold reservoir T_C: η_Carnot = 1 − T_C/T_H. No real engine can exceed this — real irreversible processes always produce more entropy than the minimum, reducing work output. Higher T_H or lower T_C increases the maximum efficiency.
Why can't a heat engine be 100% efficient?
A 100% efficient heat engine would convert all absorbed heat into work with no heat rejected — violating the second law (entropy would decrease in the cold reservoir without compensation). The Kelvin-Planck statement of the second law explicitly forbids this. To extract work from heat, a temperature difference is required; some heat must always be rejected to the cold reservoir.
Does entropy always increase?
Total entropy of the universe always increases (or stays the same in perfectly reversible processes, which are idealised abstractions). Local entropy can decrease — a refrigerator decreases entropy inside it — but only by increasing entropy elsewhere (the heat pump does work, driven by electrical energy that ultimately increases entropy in a power station). The second law applies to isolated systems or to the total (system + surroundings).
What is the difference between the first and second laws of thermodynamics?
The first law says energy is conserved — it cannot be created or destroyed, only converted. The second law says that although energy is conserved, not all energy conversions are possible — specifically, heat cannot be fully converted to work. The first law gives a quantity constraint; the second law gives a direction constraint on energy transformations.
Share this article
Written by
Dr. Sarah KimThermodynamics researcher with a PhD from MIT, specializing in statistical mechanics and energy transfer. Passionate about connecting molecular physics to everyday phenomena.
View all articles by this author →