The Second Law of Thermodynamics in Chemical Systems
Apply the second law to freezing, burning and decomposition by adding the entropy changes of the system and surroundings.
Key takeaways
- Spontaneity is judged by the total entropy change, not by the entropy of the reacting system alone.
- At constant temperature and pressure, the surroundings gain entropy equal to −ΔH(system)/T.
- Exothermic reactions help themselves by raising the entropy of the surroundings, and the effect is stronger at low temperature.
- The second law gives the direction of a possible change but says nothing about its speed.
The second law of thermodynamics says that the total entropy of an isolated system never decreases. For a chemist, a change can happen on its own only if the entropy of the system plus the entropy of its surroundings goes up. At equilibrium, the total no longer changes for small shifts either way.
ΔS(total) = ΔS(system) + ΔS(surroundings)
ΔS(total) > 0 spontaneous
ΔS(total) = 0 equilibrium (reversible change)
ΔS(total) < 0 not spontaneous; the reverse change is What the first law leaves out
The first law balances energy. It would be perfectly satisfied if a cup of lukewarm coffee spontaneously grew hot while the table beneath it cooled, so long as the joules matched. That never happens.
Something else gives processes a direction. The second law supplies it, and the quantity involved is entropy, a measure of the number of ways particles and energy can be arranged. Changes that lead toward vastly more arrangements are the ones you observe.
Heat flowing downhill in temperature
Take 1,000 J passing from a large object at 400 K to a large object at 300 K, with both big enough that their temperatures barely change. Each entropy change is the heat divided by that object's temperature.
hot object: ΔS = −1000 J / 400 K = −2.50 J/K
cold object: ΔS = +1000 J / 300 K = +3.33 J/K
total: ΔS = +0.83 J/K The total is positive, so the flow is allowed. Run it backward and the total becomes −0.83 J/K, so heat does not move from cold to hot on its own. A refrigerator does move heat that way, but only by consuming work, and it dumps enough heat into the kitchen to make the overall total positive.
Choosing the boundary
The "system" is whatever you decide to study: the reacting molecules, usually. The "surroundings" are everything that exchanges energy or matter with it. Together they stand in for an isolated whole, and the second law applies to that sum.
The choice matters in practice. If you draw the boundary around a reacting mixture only, its entropy may rise or fall, and neither result alone settles anything. If you draw it around the mixture and a water bath that absorbs the heat, inside an insulated tank, then the total of the two must not decrease.
The surroundings need not be the whole universe. Textbooks often write ΔS(universe), but in a real calculation only the parts that actually receive heat or matter contribute any change.
Accounting for the surroundings
In most chemistry the surroundings are large: the laboratory air, a water bath, the room. Heat entering or leaving them barely changes their temperature, so the transfer is effectively reversible from their side.
At constant pressure, the heat leaving the system is −ΔH(system), apart from other kinds of work. Therefore:
ΔS(surroundings) = −ΔH(system) / T This one line explains a lot. An exothermic reaction, with negative ΔH, raises the entropy of the surroundings. An endothermic one lowers it, and needs a large enough gain inside the system to make up the difference.
Because T is in the denominator, a given amount of released heat counts for more in cold surroundings than in hot ones.
Worked case: freezing water
For freezing, take ΔH ≈ −6.01 kJ/mol and ΔS(system) ≈ −22.0 J/(mol·K), and treat both as constant over a few degrees. This is a slight simplification, since liquid water and ice have different heat capacities.
| Temperature | ΔS system | ΔS surroundings | ΔS total |
|---|---|---|---|
| −10 °C (263.15 K) | −22.0 | +22.8 | +0.8 |
| 0 °C (273.15 K) | −22.0 | +22.0 | 0.0 |
| +10 °C (283.15 K) | −22.0 | +21.2 | −0.8 |
All values are in J/(mol·K). Below the melting point, freezing raises the total entropy, so water freezes. Above it, freezing would lower the total, so ice melts instead. At 0 °C and 1 atm, ice and water coexist.
The water becomes more ordered when it freezes, yet no law is broken. The heat it releases spreads into colder surroundings and more than pays for the loss.
Worked case: burning hydrogen
For 2 H₂(g) + O₂(g) → 2 H₂O(l) at 298.15 K, use standard molar entropies of about 130.7 for H₂, 205.2 for O₂ and 69.9 J/(mol·K) for liquid water.
ΔS(system) = 2(69.9) − [2(130.7) + 205.2]
= 139.8 − 466.6 = −326.8 J/K
ΔS(surr) = +571,600 J / 298.15 K ≈ +1917 J/K
ΔS(total) ≈ +1590 J/K Three moles of gas become two moles of liquid, a big loss of entropy in the system. The enormous release of heat overwhelms it. The reaction is strongly favored, even though a mixture of the gases can wait indefinitely for a spark.
Worked case: decomposing limestone
For CaCO₃(s) → CaO(s) + CO₂(g), ΔH ≈ +178 kJ and ΔS(system) ≈ +161 J/K, with CO₂ at 1 bar.
At 298 K, ΔS(surr) ≈ −597 J/K and the total is about −436 J/K, so limestone does not decompose at room temperature. As T rises, the penalty from the surroundings shrinks. The total reaches zero near:
T ≈ ΔH / ΔS(system) = 178,000 / 161 ≈ 1,100 K That is roughly 830 °C, and it is an estimate, since ΔH and ΔS shift somewhat with temperature. Lime kilns run hot for this reason. How temperature decides favorability treats the general pattern.
Four combinations of signs
The signs of ΔH and ΔS for the system sort changes into four families.
| ΔH system | ΔS system | When the total entropy rises |
|---|---|---|
| negative | positive | at all temperatures |
| negative | negative | at low temperatures |
| positive | positive | at high temperatures |
| positive | negative | at no temperature |
The table assumes that the two values stay fairly constant and that the substances are in the stated states. Burning a fuel to give more moles of gas belongs in the first row. Water freezing belongs in the second, and limestone decomposing in the third. Turning oxygen into ozone, 3 O₂ → 2 O₃, sits in the fourth: it absorbs heat and reduces the number of gas molecules. Ozone is still made in the upper atmosphere and in electrical discharges, because ultraviolet light or electricity supplies the needed drive.
When a change falls in the second or third row, the crossover temperature is estimated by setting the total to zero, T = ΔH/ΔS.
From total entropy to free energy
Tracking the surroundings separately gets tedious, so chemists fold them into a property of the system alone. Multiply the total entropy change by −T:
−T ΔS(total) = ΔH(system) − T ΔS(system) = ΔG At constant temperature and pressure, a negative Gibbs free energy change is the same statement as a positive total entropy change. This is why Gibbs free energy is the everyday tool. It is the second law in a more convenient form.
Reversible and irreversible changes
A reversible change is an idealized one that proceeds through a series of near-equilibrium states, so that a tiny nudge could turn it around. Its total entropy change is zero. Every real change at a finite rate is irreversible and creates some entropy.
This sets limits on technology. No heat engine can turn all the heat from a hot source into work in a repeating cycle; some must be passed on to something colder. Losses in batteries, fuel cells and chemical plants likewise show up as entropy produced.
What this means at equilibrium
A reaction in a closed vessel rarely goes entirely one way. As reactants turn into products, the entropy of the mixture changes with composition, partly because of mixing. The total entropy climbs until it reaches a maximum at some intermediate composition, and there it stops.
At that point, converting a tiny extra amount in either direction produces no further gain. Molecules still react both ways, at equal rates, with no net change. That is the meaning of dynamic equilibrium, and the position of the maximum is what an equilibrium constant records.
Misunderstandings to drop
- "Entropy of a system must always increase." Only the total for an isolated system must not decrease.
- "Life violates the second law." Organisms build ordered structures while releasing heat and small molecules, and are fed by energy from outside. The total still rises.
- "Spontaneous means fast." A favorable change may take ages without a catalyst, as discussed in thermodynamics versus kinetics.
- "Non-spontaneous means impossible." It can be driven by supplying work or by linking it to a more favorable reaction.
Common questions
Is the second law ever broken?
For very small systems watched over very short times, fluctuations can briefly move against the average trend. For anything containing ordinary amounts of matter, such departures are far too improbable to see.
Why use isolated systems in the statement?
Because entropy can be carried across a boundary with heat or matter. Only when nothing crosses does the rule apply to the system by itself. Combining a system with enough of its surroundings creates, in effect, such an isolated whole.