Thermodynamics
Explore spontaneity, entropy, Gibbs free energy, and the second and third laws of thermodynamics.
Entropy and Microstates
Entropy (S) measures the dispersal of energy and matter in a system. Formally, it is related to the number of microstates (W) — the number of different ways particles and energy can be arranged while producing the same macroscopic state: S = k ln W, where k is Boltzmann’s constant.
Higher entropy means more microstates are accessible. Gases have much higher entropy than liquids, which in turn have higher entropy than solids, because particles in the gas phase have far more possible positions and energy distributions. Dissolving a solid in a solvent generally increases entropy because the solute particles become dispersed throughout the solution.
The third law of thermodynamics establishes an absolute reference point: the entropy of a perfect crystal at 0 K is exactly zero (W = 1). This allows chemists to tabulate standard molar entropies (S°) as absolute values, unlike enthalpy where only changes are measured.
Predicting Entropy Changes
You can predict the sign of ΔS for a physical or chemical process using straightforward rules:
- ΔS > 0 (entropy increases): phase changes from more ordered to less ordered (solid → liquid → gas); dissolving a solid or liquid; increasing temperature; reactions that produce more moles of gas than they consume.
- ΔS < 0 (entropy decreases): condensation or freezing; crystallization from solution; reactions that produce fewer moles of gas.
The number of moles of gas is the strongest predictor because gases have enormously more microstates than condensed phases. For example, the decomposition of CaCO3(s) into CaO(s) + CO2(g) has ΔS > 0 because one mole of gas is produced from zero moles of gas in the reactants.
Standard molar entropies generally increase with molar mass and molecular complexity, reflecting the greater number of ways energy can be distributed among more atoms and bonds.
The Second Law of Thermodynamics
The second law states that the total entropy of the universe always increases for any spontaneous process:
ΔSuniverse = ΔSsystem + ΔSsurroundings > 0
A process can decrease the entropy of the system (as in freezing water) as long as the surroundings gain even more entropy. At constant pressure and temperature, the entropy change of the surroundings is: ΔSsurroundings = −ΔHsystem / T. An exothermic reaction releases heat, warming the surroundings and increasing their entropy; an endothermic reaction absorbs heat, decreasing the surroundings’ entropy.
This explains why some endothermic processes are spontaneous (the large positive ΔSsystem outweighs the negative ΔSsurroundings) and why some exothermic processes are nonspontaneous (the entropy decrease of the system is too large to overcome).
Calculating Standard Entropy Changes
The standard entropy change for a reaction is calculated from tabulated S° values using a products-minus-reactants approach:
ΔS°rxn = ∑nS°(products) − ∑nS°(reactants)
Each S° value is multiplied by the stoichiometric coefficient (n) of that substance in the balanced equation. Unlike ΔH°f values, standard molar entropies are never zero for elements in their standard states — every substance at temperatures above 0 K has a positive entropy.
Typical S° values at 298 K: H2(g) = 130.7 J/(mol·K), O2(g) = 205.2, H2O(l) = 69.9, H2O(g) = 188.8. Note the dramatic difference between liquid and gaseous water, reflecting the much greater disorder in the vapor phase. Units are J/(mol·K), not kJ, so be careful to convert when combining with ΔH values (which are in kJ).
Gibbs Free Energy
Gibbs free energy (G) unifies enthalpy and entropy into a single criterion for spontaneity at constant temperature and pressure:
ΔG = ΔH − TΔS
- ΔG < 0: the process is spontaneous (thermodynamically favorable).
- ΔG > 0: the process is nonspontaneous (the reverse is spontaneous).
- ΔG = 0: the system is at equilibrium.
Four scenarios arise from the signs of ΔH and ΔS: (1) ΔH < 0 and ΔS > 0 — always spontaneous; (2) ΔH > 0 and ΔS < 0 — never spontaneous; (3) ΔH < 0 and ΔS < 0 — spontaneous at low T; (4) ΔH > 0 and ΔS > 0 — spontaneous at high T. The crossover temperature where ΔG = 0 is T = ΔH/ΔS.
ΔG°rxn can also be computed from standard free energies of formation: ΔG° = ∑nΔG°f(products) − ∑nΔG°f(reactants).
Free Energy and the Equilibrium Constant
The standard free energy change is directly related to the equilibrium constant:
ΔG° = −RT ln K
where R = 8.314 J/(mol·K) and T is in kelvins. This equation reveals that:
- K > 1 (ΔG° < 0): products predominate at equilibrium.
- K < 1 (ΔG° > 0): reactants predominate at equilibrium.
- K = 1 (ΔG° = 0): neither side is favored.
A large positive E°cell in electrochemistry corresponds to a large negative ΔG° and a large K, linking all three thermodynamic indicators of reaction favorability.
Free Energy Under Nonstandard Conditions
Under nonstandard conditions (concentrations other than 1 M, pressures other than 1 bar), the free energy change depends on the reaction quotient Q:
ΔG = ΔG° + RT ln Q
When Q < K, ΔG is negative and the reaction proceeds forward to produce more products. When Q > K, ΔG is positive and the reaction proceeds in reverse. At equilibrium, Q = K and ΔG = 0.
This equation explains why a reaction with a positive ΔG° can still proceed forward if the concentrations are far from equilibrium (Q << K). Conversely, a reaction with negative ΔG° can be driven backward if products are already in great excess (Q >> K).
The distinction between ΔG° (fixed value for a reaction at a given temperature) and ΔG (varies with composition) is essential: ΔG° tells you which direction is favored from standard conditions, while ΔG tells you the direction from the current state of the system.
Thermodynamics Decision Framework: ΔS, ΔG, and K Together
Students perform best when thermodynamics is treated as a decision chain:
- Predict sign of ΔS qualitatively from phase and particle changes.
- Use ΔG = ΔH − TΔS for spontaneity at the stated temperature.
- Connect to equilibrium with ΔG° = −RT lnK.
- For nonstandard conditions, evaluate ΔG = ΔG° + RT lnQ.
This links macroscopic direction, temperature dependence, and equilibrium composition in one model. Quick checks: if K ≫ 1 then ΔG° should be negative; if Q < K then ΔG should be negative (forward-favored); if Q > K then ΔG should be positive (reverse-favored).
Learning Objectives
After studying this topic, you should be able to:
- Define entropy and predict entropy changes
- State and apply the second law of thermodynamics
- Calculate standard entropy changes for reactions
- Calculate Gibbs free energy and determine spontaneity
- Relate ΔG to equilibrium constant K
Worked Example
Determining Spontaneity from ΔH and ΔS
For the reaction 2 H2O2(l) → 2 H2O(l) + O2(g), ΔH° = −196.1 kJ and ΔS° = +125.7 J/K. Calculate ΔG° at 25 °C and determine if the reaction is spontaneous.
- Convert temperature to Kelvin: T = 25 + 273.15 = 298.15 K.
- Convert ΔS to kJ/K to match ΔH units: ΔS° = 0.1257 kJ/K.
- Apply the Gibbs equation: ΔG° = ΔH° − TΔS° = (−196.1) − (298.15)(0.1257) = −196.1 − 37.5 = −233.6 kJ.
- Since ΔG° < 0, the reaction is spontaneous under standard conditions. Both ΔH < 0 and ΔS > 0, so this reaction is spontaneous at all temperatures.
ΔG° = −233.6 kJ. The decomposition of hydrogen peroxide is spontaneous at 25 °C (and at all temperatures, since it is exothermic with a positive entropy change).
Self-Study Questions
What is a spontaneous process?
What is entropy and what does it measure?
How do you predict the sign of ΔS for a reaction based on the states and number of moles of reactants and products?
Hint: More gas-phase molecules and greater disorder generally mean positive ΔS.
What is the second law of thermodynamics?
What is the third law of thermodynamics and what does it establish about absolute entropy?
What is Gibbs free energy and what does its sign tell you about spontaneity?
What is the equation ΔG = ΔH − TΔS and what does each term represent?
Under what combinations of ΔH and ΔS is a reaction always spontaneous, never spontaneous, or temperature-dependent?
How is ΔG° related to the equilibrium constant K?
What is the difference between ΔG and ΔG°?
Content Sources
Concept sections adapted from open educational resources under Creative Commons licensing:
- OpenStax Chemistry 2e, Ch 16.1: Spontaneity (CC BY 4.0)
- OpenStax Chemistry 2e, Ch 16.2: Entropy (CC BY 4.0)
- OpenStax Chemistry 2e, Ch 16.3: The Second and Third Laws of Thermodynamics (CC BY 4.0)
- OpenStax Chemistry 2e, Ch 16.4: Free Energy (CC BY 4.0)