The Second and Third Laws, and Free Energy
The Clausius and Kelvin-Planck statements, why perpetual motion machines fail, the third law and absolute zero, and how ΔG = ΔH − TΔS predicts spontaneity.
Welcome back!
Step 1 of 12Learn
The machine that runs forever
For centuries inventors have tried to build machines that run forever: overbalanced wheels with swinging weights, self-filling water mills, magnetic motors. Patent offices became so tired of them that the US Patent and Trademark Office generally asks for a working model of any claimed perpetual motion machine.
Some designs try to create energy from nothing. They break the first law and are called perpetual motion machines of the first kind. Subtler designs accept energy conservation but try to turn heat from the surroundings entirely into work, for example a ship that powers itself by cooling the ocean water it floats in. The ocean holds an enormous amount of internal energy, so why not use it?
These are perpetual motion machines of the second kind, and they fail because of the second law. Heat can be turned into work only when it flows from a hotter place to a colder one, and some of it must always be released to the colder place.
The second law has several statements that look different but are logically equivalent. In this lesson you'll meet the two classic ones, see how the third law sets a floor at absolute zero, and learn how chemists use free energy to predict which reactions happen on their own.
Step 2 of 12Learn
Clausius and Kelvin-Planck
In the 1850s, two equivalent statements of the second law emerged from studying steam engines.
Clausius statement: heat cannot flow on its own from a colder body to a hotter body. Moving heat "uphill" from cold to hot always requires work from outside, which is exactly what refrigerators and air conditioners do with electricity.
Kelvin-Planck statement: no device operating in a cycle can absorb heat from a single reservoir and convert it entirely into work. Every heat engine must reject some heat to a colder reservoir. A 100%-efficient heat engine is impossible.
The two are equivalent: if you could violate one, you could build a device that violates the other. For instance, a perfect engine (breaking Kelvin-Planck) could drive a refrigerator and the combination would move heat from cold to hot with no outside work (breaking Clausius).
Both follow from the entropy statement. A perfect engine would remove entropy Q/T from its single reservoir and produce work, which carries no entropy, so the total entropy would fall. Rejecting some heat to a cold reservoir adds back at least that much entropy.
The second law is statistical, but for everyday-sized systems the odds of violating it are so tiny that it is treated as absolute. Physicist Arthur Eddington wrote that if your theory contradicts the second law, "there is nothing for it but to collapse in deepest humiliation."
Step 3 of 12Practice · Spot the mistake
An inventor's brochure makes these claims. Tap the claims that violate the first or second law of thermodynamics.
Step 4 of 12Compare
Two faces of the second law
| Aspect | Clausius statement | Kelvin–Planck statement |
|---|---|---|
| Forbids | Heat flowing by itself from cold to hot | Turning heat from one reservoir fully into work |
| Impossible device | A fridge that needs no power | An engine with no exhaust heat |
| Came from | Rudolf Clausius, 1850s | Lord Kelvin and Max Planck |
| Relationship | Break one and you can break the other | They are logically equivalent |
Step 5 of 12Learn
The third law and absolute zero
As a substance is cooled, its particles settle into fewer and fewer possible arrangements. The third law of thermodynamics states that the entropy of a perfect crystal approaches zero as its temperature approaches absolute zero. At 0 K, a perfect crystal would have just one possible microstate, so S = k ln 1 = 0.
The third law gives entropy an absolute zero point. That's why chemistry tables can list absolute standard entropies (S°) for substances, unlike energies, which are always measured relative to something. For example, at 25 °C liquid water has S° ≈ 70 J/(mol·K) and water vapor about 189 J/(mol·K), reflecting how much more freedom gas molecules have.
A consequence is that absolute zero can't be reached in a finite number of steps. Each cooling step removes a smaller and smaller amount of entropy, approaching zero but never getting there. Laboratories have cooled atoms to well below a billionth of a kelvin, but never to exactly 0 K.
Near absolute zero, matter behaves in remarkable ways: helium becomes a superfluid that flows without friction, some metals become superconductors with zero electrical resistance, and clouds of atoms merge into a single quantum state called a Bose-Einstein condensate.
Together, the zeroth, first, second and third laws form the complete foundation of classical thermodynamics.
Step 6 of 12Practice · Match the pairs
Match each law of thermodynamics to its statement.
Tap an answer, then tap the place where it belongs (or drag it there).
- Zeroth law
- First law
- Second law
- Third law
Step 7 of 12Flashcards
The four laws in one line each
Tap a card to flip it.
Step 8 of 12Learn
Gibbs free energy: will it happen?
Chemists want to know whether a reaction will happen on its own at a given temperature and pressure, without tracking the entropy of the entire surroundings. J. Willard Gibbs found a shortcut: the Gibbs free energy change,
ΔG = ΔH − T ΔS
- ΔH is the enthalpy change, essentially the heat released or absorbed at constant pressure (negative = exothermic, releases heat).
- ΔS is the entropy change of the system.
- T is the absolute temperature.
At constant temperature and pressure, a process is spontaneous if ΔG < 0, at equilibrium if ΔG = 0, and non-spontaneous if ΔG > 0. A negative ΔG is equivalent to the total entropy of system plus surroundings increasing.
The signs of ΔH and ΔS give four cases:
| ΔH | ΔS | Spontaneous? |
|---|---|---|
| Negative | Positive | At all temperatures |
| Positive | Negative | Never |
| Negative | Negative | Below T = ΔH/ΔS (low temperatures) |
| Positive | Positive | Above T = ΔH/ΔS (high temperatures) |
Example: ice melting has ΔH = +6,010 J/mol and ΔS = +22.0 J/(mol·K). The crossover is T = 6,010 / 22.0 ≈ 273 K, which is 0 °C: above it ice melts spontaneously, below it water freezes.
"Spontaneous" doesn't mean fast. Diamond turning into graphite has a negative ΔG, but at room temperature it takes far longer than human history.
Step 9 of 12Try the calculator
Gibbs free energy calculator
Enter ΔH in joules per mole and ΔS in J/(mol·K).
- ΔG at this temperature
- -546 J/mol
- Crossover temperature (where ΔG = 0)
- 273.2 K
Step 10 of 12Practice · Work it out
A reaction has ΔH = +40,000 J/mol and ΔS = +100 J/(mol·K). Above what temperature, in kelvins, does it become spontaneous?
Step 11 of 12Explore
ΔG = ΔH − TΔS as temperature rises
The line shows ΔG (kJ/mol) against temperature T in kelvins. Below zero the reaction is spontaneous. Change the signs of ΔH and ΔS and see when the line crosses zero, if ever.
- ΔG at 298 K
- 14.2 kJ/mol
Step 12 of 12Practice · Choose one
A reaction is exothermic (ΔH < 0) and its entropy decreases (ΔS < 0). When is it spontaneous?
Lesson complete!