Working Note · Thermodynamics · Part III

The Four Laws of Thermodynamics: Energy, Disorder, and Absolute Zero

One of the few areas of physics where laws were formulated not "top-down" from a beautiful theory, but "bottom-up" — from attempts to understand why a steam engine is never perfect.

Abstract

Thermodynamics is a rare branch of physics with a "law number zero": the basic principle explaining temperature itself was realized later than the first and second laws and was numbered retroactively. There are four laws in total: the zeroth defines temperature, the first — energy conservation for heat and work, the second — why processes are irreversible and entropy increases, the third — why absolute zero is unattainable. Together they govern everything — from a cup of coffee to the evolution of stars.

Steam rising off coffee: entropy scattering order
Steam Over Coffee: Entropy Scatters Order
The piston of a steam engine: heat turning into work
Steam Engine Piston: Heat Turns into Work
§1

The Four Laws in a Nutshell


LawIn BriefWhat It Prohibits
0thermal equilibrium is transitiveambiguity of temperature
IΔU = Q − Wa perpetual motion machine of the first kind (energy from nothing)
IIΔS ≥ 0 in an isolated systema perpetual motion machine of the second kind (100% efficiency)
IIIS → 0 as T → 0reaching absolute zero in a finite number of steps

A humorous formulation of all three numbered laws at once, well-known to physicists: "You can't win (I – you can't get more energy out than you put in), you can't even break even (II – some energy is always dissipated), and you can't get out of the game (III – you can't cool down to absolute zero and stop all motion)."

§2

The Zeroth Law: What Is Temperature


Statement. If system A is in thermal equilibrium with system C, and system B is also in thermal equilibrium with C, then A and B are in thermal equilibrium with each other:

TA = TC and TB = TC  ⇒  TA = TB
transitivity of thermal equilibrium — what makes temperature a measurable quantity at all

It sounds almost like a "mathematical triviality" (transitivity of equality), but there is a lot of physical content here: the law asserts that thermal equilibrium has a single numerical parameter (temperature), not something more complex. It is on this principle that any thermometer works: it becomes "system C" itself — it comes into equilibrium with the body it measures, and we simply read its own temperature.

Why Zeroth and Not Fourth

The first and second laws were formulated earlier (1850s), while the zeroth was only in 1931 by Ralph Fowler. By that time, numbering 1-2-3 was already established in textbooks, and to avoid rewriting everything, the most fundamental (logically preceding the others) principle received the number "0" — a rare case where the order of discovery and the order of logical importance went in opposite directions.

§3

The First Law: Energy Bookkeeping


Statement. The change in internal energy of a system equals the heat transferred to it minus the work done by the system on its surroundings:

ΔU = Q − W
this is the law of conservation of energy (Part II, §3), simply written in the language of heat and work
ΔU, Q, W — all in joules (J). U — internal energy (sum of kinetic and potential energy of all molecules), Q > 0 — heat added to the system, W > 0 — the system does work against external forces.

Numerical example: 500 J of heat is supplied to the gas in a cylinder. Expanding, the gas pushes the piston and does W = 200 J of work against external pressure. How much did the internal energy of the gas change?

ΔU = 500 − 200 = 300 J
(1)

Imagine a bank account: Q = 500 J — income, W = 200 J — expense, ΔU = 300 J — what remained in the account (stored as internal energy of the gas, meaning its molecules on average started moving faster — the gas heated up).

A Common Mistake

"Heat is the same as temperature" — no: heat Q is a process of energy transfer (like "income" in an account), while temperature is a state parameter of the system (like "account balance" in different units). You can transfer a lot of heat to a body and barely raise its temperature (for example, when melting ice — all the energy goes into breaking the crystal lattice, not into heating).

§4

The Second Law: Disorder Only Grows


Statement. In an isolated system, entropy never decreases:

ΔS ≥ 0
equivalent formulation (Clausius): heat does not spontaneously flow from a colder body to a hotter one

Entropy S is a measure of how many ways the particles of a system can be arranged at the micro-level while having the same macroscopic appearance of the system (Boltzmann's formula: S = kB ln Ω, where Ω is the number of microstates). Things scattered around a room can be arranged in a disordered manner in vastly more ways than neatly piled — that's why "by itself" tidying up is rare, while scattering is easy.

FormulationAuthorEssence
ClausiusRudolf Clausiusheat does not flow by itself from cold to hot
KelvinWilliam Thomsonit is impossible to construct a machine whose sole result is 100% conversion of heat into work
Maxwell's Demon

James Maxwell's thought experiment (1867): a tiny being at a partition between two volumes of gas lets fast molecules pass one way and slow ones the other, separating the gas into hot and cold halves without expending energy — seemingly violating the second law. The resolution (Leo Szilard, 1929): the very process of "measuring" the molecule's speed by the demon increases the entropy of the demon (or its memory) by no less than the gas's entropy decreases — the law is saved, but at the cost of giving birth to an entire field of information physics.

§5

The Third Law: Absolute Zero Is Unattainable


Statement. As the temperature approaches absolute zero, the entropy of a perfect crystal approaches zero:

limT→0 S(T) = 0
at T = 0, a perfect crystal has only one possible microstate — Ω = 1, so S = kBln1 = 0

A consequence of this law is practical, not just formal: absolute zero (−273.15 °C, 0 K) cannot be reached in a finite number of cooling steps, only approached asymptotically. The laboratory record is about 100 picokelvins (10−10 K) in a Bose–Einstein condensate — still not zero, though tens of billions of times colder than interstellar space.

Real solids do not always reach S = 0 even theoretically: glasses and other disordered (amorphous) substances "freeze" with a random structure and retain residual entropy at arbitrarily low temperatures — an interesting exception that is still being studied.

§6

A Running Example: The Heat Engine


Let's combine the first and second laws in one example — an idealized heat engine (Carnot cycle) operating between a hot reservoir Th = 600 K and a cold Tc = 300 K.

The Second Law sets the maximum possible efficiency of such an engine (you can't jump over it, whatever you think up):

ηmax = 1 − Tc/Th = 1 − 300/600 = 0.5 (50%)
(2)

Let the heat supplied from the hot reservoir be Qh = 1000 J of heat. The First Law (energy doesn't disappear) says that all this energy will be distributed between useful work W and heat Qc, released to the cold reservoir:

W = η·Qh = 0.5·1000 = 500 J,    Qc = Qh − W = 500 J
(3)
Bar chart of a heat engine's energy balance: 1000 J supplied, 500 J useful work, 500 J dumped
Fig. 1The First Law: the sum of W and Qc exactly equals Qh — energy was not lost, but neither was all of it turned into work (prohibited by the second law). Even an ideal (Carnot) engine between these temperatures cannot produce more than 500 J of useful work from 1000 J of heat.

No real engine operating between these same two temperatures can exceed these 500 J — the Carnot cycle gives the theoretical ceiling of efficiency, and friction and irreversibility of real processes only lower the result below this ceiling, never raising it above.

§7

Where This Leads: Entropy and the Arrow of Time


The second law is perhaps the only law of fundamental physics that distinguishes past from future. Newton's, Maxwell's, and even Schrödinger's equations are fully symmetric in time: if you film a collision of billiard balls and play it backwards, the laws of mechanics won't find a violation. But a video of a breaking cup played backwards (fragments gather themselves into a whole cup) looks absurd — and the only law of physics that "notices" this is the second.

Graph of entropy S(T) approaching zero as T approaches zero
Fig. 2The entropy of a perfect crystal increases with temperature and tends to zero as T → 0 (third law) — the very possibility of constructing such a graph and talking about the "increase" of entropy over time is the source of the distinction between past and future in physics.
From Steam to Black Holes

Entropy turned out to be a surprisingly universal concept: Ludwig Boltzmann in the 1870s connected it with the number of microstates, and a century later Jacob Bekenstein and Stephen Hawking discovered that black holes also have entropy — proportional not to volume, but to the area of the event horizon. This unexpected fact became one of the main clues to the holographic principle in modern theoretical physics — the idea that all the information about a three-dimensional region can be encoded on its two-dimensional boundary.

On the site these are separate laws, if you want to delve deeper:

The Zeroth Law · The First Law · The Second Law · The Third Law

§8

Home Experiment


🧪 Home Experiment · Compressing Air in a Syringe

Take a syringe without a needle, close the outlet with your finger, and quickly compress the plunger. Place a finger of your other hand on the barrel of the syringe.

What to notice the syringe will noticeably heat up. You performed work W on the gas (compressed it), and heat Q went nowhere (the process is fast, there's no time for heat exchange with the air) — according to the first law, all this work went into an increase in internal energy ΔU, meaning the gas heated up. This is exactly how fuel ignition works in a diesel engine — only there the compression is even stronger.

🧪 Home Experiment · Melting Ice and Mixture Temperature

Put a couple of ice cubes in a glass of warm water and monitor the temperature (by touch or with a thermometer) for a few minutes.

What to notice heat flows from the warm water to the ice (second law — only in that direction, never the reverse) until both parts reach a common temperature — that's the thermal equilibrium from the zeroth law. Also note: while the ice hasn't yet melted completely, the mixture temperature hardly changes — the energy goes into melting (breaking the crystal lattice of ice), not into heating, exactly as discussed in §3 about the difference between heat and temperature.

§9

Check-Up Problems


First think for yourself, then check the solution. The solution everywhere follows the scheme:Given → Law → Solution → Answer.

1. 400 J of heat is supplied to a gas in a closed rigid container (volume doesn't change, no work is done). By how much did its internal energy change?

Given Q = 400 J, W = 0 (volume is constant — the piston doesn't move anywhere).

Law the first law (§3): ΔU = Q − W.

Solution ΔU = 400 − 0 = 400 J.

Answer +400 J — at constant volume, all the supplied heat goes into internal energy.

2. An ideal heat engine operates between temperatures of 800 K and 400 K. What is its maximum efficiency?

Given Th = 800 K, Tc = 400 K.

Law the Carnot limit (§6, second law): ηmax = 1 − Tc/Th.

Solution ηmax = 1 − 400/800 = 0.5.

Answer 50% — and this is the LIMIT, a real engine between the same temperatures will be worse.

3. An engine with an efficiency of 40% receives 2000 J of heat from a hot reservoir per cycle. How much heat is dumped into the cold reservoir?

Given η = 0.4, Qh = 2000 J.

Law the first law: Qh = W + Qc, where W = ηQh.

Solution W = 0.4·2000 = 800 J; Qc = 2000 − 800 = 1200 J.

Answer 1200 J — more than half of the supplied heat is wasted even in a not-so-bad engine.

4. A gas expands and does 150 J of work, and its internal energy drops by 50 J. How much heat was transferred to the gas (or removed from it)?

Given W = 150 J, ΔU = −50 J.

Law the first law: Q = ΔU + W.

Solution Q = −50 + 150 = 100 J.

Answer +100 J supplied — heat was transferred to the gas, but it wasn't enough to cover all the work done, so the gas "made up" part of the missing energy from its own internal reserve (it cooled down).

5. A thermos of tea (60 °C) stands in a room at 20 °C. Describe in which direction and why heat exchange will occur, referring to a specific law of thermodynamics.

Law the second law in Clausius formulation (§4).

Solution heat spontaneously flows only from a hotter body to a colder one — so the tea will cool down, releasing heat to the room air, until a common temperature is established (zeroth law, §2) — certainly below 60 °C and above 20 °C.

Answer heat flows from the tea to the room air, the reverse process (the air itself heating the tea above room temperature) is forbidden by the second law.