Entropy and second law

Why does ice melt on a warm table but a puddle never spontaneously freezes into an ice cube while the room stays the same temperature? Both processes conserve energy, so the first law of thermodynamics is silent on the question — it cannot tell spontaneous from impossible. Something else decides the direction time's arrow runs in chemistry. That something is entropy SS, a state function measuring how disordered a system's arrangement of particles is, and the second law of thermodynamics, which says the total entropy of the universe never decreases in any real process. This article builds the qualitative feel for entropy — what makes it rise or fall — then turns the second law into a genuine calculation, using ΔSsurroundings=−ΔHsystem/T\Delta S_{surroundings} = -\Delta H_{system}/T to judge spontaneity even when a reaction makes its own system more ordered.

The core insight

A process is spontaneous only if it increases the total entropy of system plus surroundings, ΔStotal=ΔSsystem+ΔSsurroundings≥0\Delta S_{total} = \Delta S_{system} + \Delta S_{surroundings} \geq 0, so even an entropy-losing system can proceed spontaneously if it releases enough heat to raise the surroundings' entropy by more.

The core idea

Spontaneous processes need a second criterion beyond ΔH\Delta H. A spontaneous process happens on its own, without continuous outside push, once it starts — spontaneity says nothing about how fast it happens, only that it can. Many spontaneous processes are exothermic (rusting, combustion), which tempted early chemists to think "exothermic means spontaneous." But ice melting above 0 ∘C0\ ^\circ\text{C} and many salts dissolving are spontaneous and endothermic. Enthalpy alone cannot be the whole story; a second quantity, entropy, is needed.

Entropy measures disorder, and it is a state function. SS depends only on the current state of the system, not on how it got there, so for any process

ΔS=Sfinal−Sinitial\Delta S = S_{final} - S_{initial}

where: SfinalS_{final} and SinitialS_{initial} are the entropies of the final and initial states. Because SS is a state function, ΔS\Delta S for a reaction can be tracked just like ΔH\Delta H, without worrying about path. Entropy rises whenever particles gain freedom to spread into more arrangements (more "microstates"):

  • melting (solid to liquid) or vaporisation (liquid to gas) — molecules gain freedom of motion;
  • a solid or liquid dissolving into solution — an ordered lattice disperses among solvent molecules;
  • the number of moles of gas increasing in a reaction — more independent gas particles, more ways to arrange them;
  • heating a substance — more thermal motion, more microstates become accessible.

The reverse of any of these — condensation, crystallisation, decreasing gas moles, cooling — tends to lower entropy.

The second law: total entropy of the universe increases for any spontaneous process.

ΔStotal=ΔSsystem+ΔSsurroundings≥0\Delta S_{total} = \Delta S_{system} + \Delta S_{surroundings} \geq 0

where: ΔSsystem\Delta S_{system} is the entropy change of the reacting substances, ΔSsurroundings\Delta S_{surroundings} is the entropy change of everything outside the system (the rest of the universe, in practice the immediate thermal environment), and ΔStotal\Delta S_{total} is their sum. Equality holds only for an idealised reversible process at equilibrium; every real, spontaneous process makes ΔStotal\Delta S_{total} strictly positive. This is the rigorous test for spontaneity — not ΔSsystem\Delta S_{system} alone. A system's own entropy can fall in a spontaneous process (water freezing below 0 ∘C0\ ^\circ\text{C}: the system becomes more ordered) provided the surroundings gain enough entropy to compensate (freezing releases heat, warming and disordering the surroundings by more than the system ordered itself).

Linking ΔSsurroundings\Delta S_{surroundings} to heat flow. At constant pressure and temperature TT, the entropy the surroundings gain is tied directly to the heat the system releases:

ΔSsurroundings=−ΔHsystemT\Delta S_{surroundings} = \frac{-\Delta H_{system}}{T}

where: ΔHsystem\Delta H_{system} is the enthalpy change of the system (negative for exothermic reactions) and TT is the absolute temperature in kelvin at which heat transfer occurs. An exothermic reaction (ΔHsystem<0\Delta H_{system} < 0) dumps heat into the surroundings, making ΔSsurroundings\Delta S_{surroundings} positive; an endothermic reaction pulls heat from the surroundings, cooling and ordering them, so ΔSsurroundings\Delta S_{surroundings} is negative. This one equation is what turns "entropy" from a qualitative disorder story into a number you can add to ΔSsystem\Delta S_{system} and compare against zero — the whole engine behind Worked example 2 below, and the qualitative seed of the later Gibbs free energy topic, which packages ΔH\Delta H and ΔS\Delta S of the system into a single criterion without needing ΔSsurroundings\Delta S_{surroundings} explicitly.

Figure
Two flasks compared, an exothermic reaction warming and disordering the surroundings versus an endothermic reaction cooling and ordering the surroundings
Heat flow sets the sign of entropy change in the surroundings exothermic system ΔH lt 0 heat out surroundings warm, disorder rises ΔS surroundings gt 0 endothermic system ΔH gt 0 heat in surroundings cool, disorder falls ΔS surroundings lt 0
Derivation ADeciding spontaneity from ΔH, ΔS and T

The goal is to show, starting only from the second law ΔStotal=ΔSsystem+ΔSsurroundings≥0\Delta S_{total} = \Delta S_{system} + \Delta S_{surroundings} \geq 0 and the heat-flow relation ΔSsurroundings=−ΔHsystem/T\Delta S_{surroundings} = -\Delta H_{system}/T, that spontaneity at a given temperature TT can be judged entirely from the system's own ΔH\Delta H and ΔS\Delta S, without ever measuring the surroundings directly — the calculation used in every "is this reaction spontaneous" question in this unit.

Step 1. Start from the second law as the master criterion: a process is spontaneous when ΔStotal=ΔSsystem+ΔSsurroundings>0\Delta S_{total} = \Delta S_{system} + \Delta S_{surroundings} > 0 (and at equilibrium, ΔStotal=0\Delta S_{total} = 0). This is the only rigorous test — it is defined in terms of the whole universe, system plus surroundings, not the system alone.

Step 2. Replace ΔSsurroundings\Delta S_{surroundings} using the constant-pressure heat relation. Since heat leaving the system at constant PP equals −ΔHsystem-\Delta H_{system}, and that heat enters the surroundings at temperature TT, substitute ΔSsurroundings=−ΔHsystem/T\Delta S_{surroundings} = -\Delta H_{system}/T into the second-law inequality: ΔStotal=ΔSsystem−ΔHsystemT>0\Delta S_{total} = \Delta S_{system} - \dfrac{\Delta H_{system}}{T} > 0.

Step 3. Read off the two competing effects. The term ΔSsystem\Delta S_{system} is the system's own disorder change — favourable (positive) when moles of gas increase or a phase becomes less ordered. The term −ΔHsystem/T-\Delta H_{system}/T is favourable (positive) whenever the reaction is exothermic (ΔHsystem<0\Delta H_{system}<0). Spontaneity requires their sum to be positive: a strongly exothermic ΔHsystem\Delta H_{system} can outweigh an unfavourable (negative) ΔSsystem\Delta S_{system}, and vice versa a strongly positive ΔSsystem\Delta S_{system} can outweigh a mildly endothermic reaction.

Step 4. State the practical recipe. To test spontaneity at temperature TT: compute ΔSsurroundings=−ΔHsystem/T\Delta S_{surroundings} = -\Delta H_{system}/T from the given (or measured) ΔHsystem\Delta H_{system}; add it to the given ΔSsystem\Delta S_{system}; if the sum ΔStotal\Delta S_{total} is positive the process is spontaneous at that TT, if zero it is at equilibrium, and if negative it is non-spontaneous as written (the reverse process is spontaneous instead). This is exactly the check performed in Worked example 2 below.

Worked example

For a reaction at 298 K298\ \text{K}, ΔHsystem=−180 kJ mol−1\Delta H_{system} = -180\ \text{kJ mol}^{-1} and ΔSsystem=−150 J K−1mol−1\Delta S_{system} = -150\ \text{J K}^{-1}\text{mol}^{-1}. Is it spontaneous at 298 K298\ \text{K}?

Step 1. Convert ΔHsystem\Delta H_{system} to joules so units match ΔS\Delta S: ΔHsystem=−180 kJ mol−1=−180,000 J mol−1\Delta H_{system} = -180\ \text{kJ mol}^{-1} = -180{,}000\ \text{J mol}^{-1}.

Step 2. Find ΔSsurroundings\Delta S_{surroundings} using ΔSsurroundings=−ΔHsystem/T\Delta S_{surroundings} = -\Delta H_{system}/T: ΔSsurroundings=−(−180,000)/298=604.0 J K−1mol−1\Delta S_{surroundings} = -(-180{,}000)/298 = 604.0\ \text{J K}^{-1}\text{mol}^{-1}.

Step 3. Add to get ΔStotal=ΔSsystem+ΔSsurroundings=−150+604.0=454.0 J K−1mol−1\Delta S_{total} = \Delta S_{system} + \Delta S_{surroundings} = -150 + 604.0 = 454.0\ \text{J K}^{-1}\text{mol}^{-1}.

Step 4. Since ΔStotal>0\Delta S_{total} > 0, the reaction is spontaneous at 298 K298\ \text{K}, even though ΔSsystem<0\Delta S_{system} < 0 — the system itself becomes more ordered, but the large exothermic heat release drives up the surroundings' entropy by far more, and the total still increases. Answer: spontaneous, with ΔStotal=+454.0 J K−1mol−1\Delta S_{total} = +454.0\ \text{J K}^{-1}\text{mol}^{-1}.

Competitive stretch

At T=1200 KT = 1200\ \text{K} instead, ΔSsurroundings=−(−180,000)/1200=150.0 J K−1mol−1\Delta S_{surroundings} = -(-180{,}000)/1200 = 150.0\ \text{J K}^{-1}\text{mol}^{-1}, so ΔStotal=−150+150.0=0 J K−1mol−1\Delta S_{total} = -150 + 150.0 = 0\ \text{J K}^{-1}\text{mol}^{-1} — the borderline of equilibrium. Raising TT shrinks the favourable −ΔHsystem/T-\Delta H_{system}/T contribution, so a reaction comfortably spontaneous at 298 K298\ \text{K} can approach non-spontaneity at high TT if ΔSsystem\Delta S_{system} is negative — the temperature sensitivity the later Gibbs free energy criterion, ΔG=ΔH−TΔS\Delta G = \Delta H - T\Delta S, tracks directly.

Common traps

  • Judging spontaneity from ΔSsystem\Delta S_{system} alone instead of ΔStotal=ΔSsystem+ΔSsurroundings\Delta S_{total} = \Delta S_{system} + \Delta S_{surroundings} — a system can lose entropy in a spontaneous process if the surroundings gain more.
  • Confusing "spontaneous" with "fast." Spontaneity only says a process can occur on its own eventually; rate is a separate question belonging to chemical kinetics.
  • Assuming all exothermic reactions are spontaneous or all endothermic ones are not — both ΔH\Delta H and ΔS\Delta S of the system, weighed together through ΔStotal\Delta S_{total}, decide it.
  • Dropping or flipping the sign in ΔSsurroundings=−ΔHsystem/T\Delta S_{surroundings} = -\Delta H_{system}/T — an exothermic system (ΔHsystem<0\Delta H_{system}<0) must give a positive ΔSsurroundings\Delta S_{surroundings}, not negative.
  • Forgetting to convert kJ to J (or vice versa) before adding ΔSsurroundings\Delta S_{surroundings} (in J K⁻¹mol⁻¹) to ΔSsystem\Delta S_{system} — mismatched units silently corrupt the sum.

Ask the tutor: Want to work through more ΔStotal\Delta S_{total} calculations, or check your sign conventions on a tricky exothermic-versus-endothermic problem?

If entropy always increases in the universe, why do ordered things like crystals or living cells ever form?

The second law only requires the total entropy of system plus surroundings to increase — it says nothing about the system alone. A crystal forming from solution, or a cell building complex molecules, is the system's entropy decreasing, which is allowed precisely because that process releases heat or otherwise pushes disorder into the surroundings by a larger amount. Add the two and the total still rises. Locally ordered pockets are common; globally, disorder always wins.

Why does ΔS surroundings use ΔH of the system and not some separate measurement of the surroundings?

At constant pressure, whatever heat the system releases or absorbs is exactly the heat the surroundings absorbs or releases, just with the opposite sign — energy is conserved between them. So the heat entering the surroundings is −qsystem=−ΔHsystem-q_{system} = -\Delta H_{system} at constant PP. Dividing that heat by the (essentially constant) temperature of the surroundings gives their entropy change, without needing any separate calorimetry on the surroundings themselves.

Is it possible for a reaction to be spontaneous at one temperature and non-spontaneous at another?

Yes, and it is common whenever ΔH\Delta H and ΔSsystem\Delta S_{system} favour opposite outcomes. Since ΔSsurroundings=−ΔHsystem/T\Delta S_{surroundings} = -\Delta H_{system}/T shrinks as TT rises, an exothermic reaction with negative ΔSsystem\Delta S_{system} (favourable ΔH\Delta H, unfavourable ΔS\Delta S) can be spontaneous at low TT but stop being spontaneous once TT grows large enough that the shrinking ΔSsurroundings\Delta S_{surroundings} term can no longer outweigh the negative ΔSsystem\Delta S_{system}. This is exactly why melting and boiling points exist: below them one phase is favoured, above them the other is, with the crossover set by where ΔStotal=0\Delta S_{total} = 0.

Before this

Where this leads