SECTION 1
Historical Context & Motivation
Thermodynamics did not emerge as a unified theory overnight; it grew from a series of practical and philosophical questions about heat, work, and the direction of natural change. The very notion that one might need different mathematical functions to describe energy changes under different constraints was itself a hard-won insight. Early engineers studying steam engines cared primarily about the total heat absorbed or released, while physicists probing fundamental laws wanted a quantity that captured the internal energy of a system independently of how energy was transferred. The realization that spontaneity required yet a third function — one that married energy with entropy — came only after decades of debate and experiment.
1840s • Joule and the Mechanical Equivalent of Heat
1850s • Clausius and the Second Law
1870s • Gibbs and Thermodynamic Potentials
1882 • Helmholtz Free Energy
1923 • Lewis and Randall's Textbook
The central question this lesson addresses is deceptively simple: given a particular thermodynamic scenario, which state function — ΔU, ΔH, ΔG, or ΔA — should you choose as the starting point for your analysis? Getting this choice right is the single most important step in any thermodynamic calculation, because each function is naturally paired with a specific set of constraints, and using the wrong function leads to unnecessary complexity or outright errors.
SECTION 2
Core Principles & Definitions
Before selecting among thermodynamic functions, you must understand what each one physically represents and under what constraints it simplifies. All four functions — U, H, A, and G — are state functions, meaning their changes depend only on the initial and final states of the system, not on the path. The differences among them arise from the natural variables each function employs — the independent variables in terms of which the function's total differential is cleanly expressed without path-dependent quantities.
Internal Energy (U)
Enthalpy (H = U + PV)
Helmholtz Free Energy (A = U − TS)
Gibbs Free Energy (G = H − TS)
The Selection Principle
KEY TAKEAWAY
SECTION 3
Visual Explanation — The Decision Flowchart
The following decision flowchart provides a systematic approach to selecting the appropriate thermodynamic function. Begin at the top and answer the constraint questions sequentially: the path you follow determines which state function is optimal for your problem. This diagram encodes the logic that experienced physical chemists apply instinctively.
The flowchart encodes two fundamental branching decisions. The first branch distinguishes between problems that ask for energy bookkeeping (how much heat flows, what is the energy change) and problems that ask about spontaneity or equilibrium. For energy bookkeeping, the constraint on mechanical variables (V or P) determines whether ΔU or ΔH is simpler. For spontaneity at constant temperature, the mechanical constraint selects ΔA or ΔG. In cases where temperature is not constant, the free energies lose their direct spontaneity interpretation and you must revert to the entropy criterion ΔStotal ≥ 0.
SECTION 4
Mathematical Framework
The mathematical justification for selecting specific thermodynamic functions rests on the concept of Legendre transforms and the behavior of exact differentials under constraints. Starting from the fundamental relation for internal energy, each successive function is obtained by trading one natural variable for its conjugate, producing a potential whose differential is naturally expressed in terms of experimentally controllable quantities.
FUNDAMENTAL RELATION — INTERNAL ENERGY
Natural variables: S, V, {ni}. At constant V and closed system (dni = 0), dU = TdS = δqrev, so ΔU = qV for any process (reversible or not).
ENTHALPY VIA LEGENDRE TRANSFORM
Natural variables: S, P, {ni}. At constant P (closed system), dH = TdS = δqrev, yielding ΔH = qP. This is why calorimeters at atmospheric pressure directly measure ΔH.
HELMHOLTZ FREE ENERGY
Natural variables: T, V, {ni}. At constant T and V (closed), dA ≤ 0 for a spontaneous process. The inequality arises because dA = dU − TdS and the Second Law requires dStotal ≥ 0.
GIBBS FREE ENERGY
Natural variables: T, P, {ni}. At constant T and P (closed), dG ≤ 0 for a spontaneous process. Since most laboratory reactions occur at constant T and P, ΔG is the workhorse function of chemical thermodynamics.
WHY LEGENDRE TRANSFORMS MATTER
SECTION 5
Constraint-to-Function Mapping
In practice, selecting the right function requires you to read the problem statement for constraint keywords and then map those constraints to the appropriate potential. The table below catalogues the most common physical scenarios you will encounter and the function best suited to each. Note that when non-PV work (electrical, surface, etc.) is present, the equality signs in the heat relations become inequalities, and the free-energy change equals the maximum non-PV work.
| Scenario / Keywords | Constraints | Best Function | Key Relationship |
|---|---|---|---|
| Bomb calorimetry; rigid container; sealed vessel | Constant V, no wnon-PV | ΔU | ΔU = qV = nCVΔT |
| Coffee-cup calorimetry; open beaker; atmospheric pressure | Constant P, no wnon-PV | ΔH | ΔH = qP = nCPΔT |
| Phase transition at 1 atm; standard reaction enthalpy | Constant T, constant P | ΔH (for heat); ΔG (for spontaneity) | ΔG = ΔH − TΔS |
| Gas in a rigid isothermal vessel; explosion in closed container | Constant T, constant V | ΔA | ΔA = ΔU − TΔS ≤ 0 (spontaneous) |
| Electrochemical cell; maximum electrical work | Constant T, constant P, non-PV work | ΔG | ΔG = wnon-PV,max = −nFE |
| Chemical equilibrium constant | Constant T, constant P | ΔG° | ΔG° = −RT ln K |
| Adiabatic, constant-V process | q = 0, constant V | ΔU | ΔU = w (only PV work = 0 at const V, so ΔU = 0 for ideal gas) |
Common scenarios and the thermodynamic function best suited to each.
The Legendre-transform network above reveals a satisfying symmetry: U occupies the top node with the most fundamental (but least experimentally convenient) natural variables S and V. Moving left replaces V with P to obtain H; moving right replaces S with T to obtain A. Both paths converge at G, which has the most experimentally convenient pair, T and P. This is precisely why ΔG dominates chemical thermodynamics — temperature and pressure are the variables we most often control in the laboratory.
SECTION 6
Worked Example
Consider the following multi-part problem that requires careful function selection at each stage. A sample of 2.00 mol of an ideal gas initially at 300 K and 1.00 atm undergoes two sequential processes: (a) an isothermal, reversible expansion to twice the original volume in a piston-cylinder apparatus open to the atmosphere, and (b) the resulting gas is then transferred to a rigid, sealed bomb calorimeter and cooled to 250 K. For each step, determine the appropriate thermodynamic function and calculate the relevant energy change.
Selecting and Computing Thermodynamic Functions
- 1
Step 1 — Analyze Constraints for Process (a)
The isothermal expansion occurs in a piston-cylinder apparatus, meaning pressure can change while the piston moves. The gas expands against a variable external pressure (reversible). Since the gas is in a piston open to the atmosphere, the pressure is not constant during expansion (the gas pressure changes as volume doubles), but the process is isothermal (constant T). The problem asks for an energy change. For an ideal gas undergoing an isothermal process, ΔU = 0 (internal energy depends only on T for an ideal gas). The heat absorbed equals the work done: q = −w. To find q or w, we use the First Law directly. However, if asked about the enthalpy change, ΔH = 0 as well for an ideal gas at constant T (since H = U + PV = U + nRT, and nRT is constant). The key point: for an ideal gas isothermal process, ΔU = ΔH = 0, so the interesting quantity is the work or heat.ΔU = 0, ΔH = 0 for process (a). Use First Law: w = −nRT ln(V₂/V₁). - 2
Step 2 — Calculate Work for Process (a)
For a reversible isothermal expansion of an ideal gas: wrev = −nRT ln(V₂/V₁). With n = 2.00 mol, R = 8.314 J mol⁻¹ K⁻¹, T = 300 K, and V₂/V₁ = 2:w = −(2.00)(8.314)(300) ln 2 = −(4988.4)(0.6931) = −3457 J ≈ −3.46 kJ. Since ΔU = 0, q = +3.46 kJ. - 3
Step 3 — Analyze Constraints for Process (b)
The gas is now in a rigid, sealed bomb calorimeter — this means constant volume. The gas cools from 300 K to 250 K. There is no non-PV work. The appropriate function is ΔU because at constant volume with no non-PV work, ΔU = qV. Using ΔH here would introduce an unnecessary PΔV correction term (although for an ideal gas in a rigid vessel, ΔV = 0 makes this zero anyway — but the conceptual point is that ΔU is the natural choice).Select ΔU for process (b). - 4
Step 4 — Calculate ΔU for Process (b)
For an ideal gas, CV = (3/2)R for a monatomic gas or (5/2)R for a diatomic gas. Assuming a monatomic ideal gas: CV = (3/2)(8.314) = 12.47 J mol⁻¹ K⁻¹. Then ΔU = nCVΔT = (2.00)(12.47)(250 − 300) = (2.00)(12.47)(−50).ΔU = −1247 J ≈ −1.25 kJ. The negative sign confirms heat leaves the system (cooling). - 5
Step 5 — Reflect on Function Selection
In process (a), neither ΔU nor ΔH was the useful quantity because both were zero; the First Law expression for work was the operative equation. In process (b), ΔU was the natural choice because constant volume eliminates PdV work. Had we incorrectly tried to use ΔH for process (b), we would have obtained ΔH = nCPΔT = (2.00)(20.79)(−50) = −2079 J — a different number that equals the heat only at constant pressure, not constant volume. For the bomb calorimeter, ΔH ≠ qV, underscoring the importance of correct function selection.Always match the function to the constraint: ΔU for constant V, ΔH for constant P.
SECTION 7
Strengths & Limitations of Each Function
No single thermodynamic function is universally superior; each has a domain where it excels and situations where it becomes awkward or misleading. Understanding these strengths and limitations helps you avoid the two most common errors in physical chemistry problem-solving: applying the wrong function to a given set of constraints, or interpreting a result (e.g., ΔG > 0) under conditions where that interpretation is invalid.
| Function | Strengths | Limitations / Common Pitfalls |
|---|---|---|
| ΔU | Directly tied to First Law; no approximations needed; fundamental quantity from which all others derive; exact for any process at constant V. | Requires knowledge of both q and w in general; not directly measured at constant P; for condensed phases, ΔU ≈ ΔH, so choosing ΔU offers little advantage. |
| ΔH | Equals q at constant P (most common lab condition); extensive tabulated data (Hess's law); directly measured by coffee-cup and flow calorimeters. | Not equal to heat at constant V; for gas-phase reactions, ΔH ≠ ΔU (differ by ΔnRT); does not indicate spontaneity by itself. |
| ΔA | Spontaneity criterion at constant T, V; maximum work function; natural for statistical mechanics (partition function Z relates to A). | Rarely used in bench chemistry (constant V uncommon); less tabulated data; loses spontaneity meaning if T varies. |
| ΔG | Spontaneity at constant T, P; connects to K (ΔG° = −RT ln K); connects to E° (ΔG° = −nFE°); maximum non-PV work; most extensive tables. | Only valid as spontaneity criterion at constant T and P; ΔG° gives equilibrium position, not rate; students often confuse ΔG with ΔG°. |
Comparative strengths and limitations of the four main thermodynamic potentials.
KEY TAKEAWAY
SECTION 8
Connections to Advanced Theory
The framework of selecting thermodynamic potentials based on natural variables extends seamlessly into advanced physical chemistry. In statistical mechanics, the canonical partition function Q is naturally related to the Helmholtz free energy via A = −kBT ln Q, because the canonical ensemble fixes T, V, and N — exactly A's natural variables. Similarly, the isothermal-isobaric partition function Δ connects to G. Choosing the right ensemble in statistical mechanics is the microscopic analog of choosing the right thermodynamic potential in classical thermodynamics.
| Classical Potential | Natural Variables | Statistical Ensemble | Partition Function Link |
|---|---|---|---|
| U(S, V, N) | S, V, N | Microcanonical | S = kB ln Ω |
| A(T, V, N) | T, V, N | Canonical (NVT) | A = −kBT ln Q |
| G(T, P, N) | T, P, N | Isothermal-isobaric (NPT) | G = −kBT ln Δ |
| PV (grand potential) | T, V, μ | Grand canonical (μVT) | PV = kBT ln Ξ |
Correspondence between classical thermodynamic potentials and statistical mechanical ensembles.
Beyond statistical mechanics, the function-selection framework extends to non-equilibrium thermodynamics and chemical kinetics. In transition-state theory, the Gibbs free energy of activation ΔG‡ is the relevant barrier height for reactions at constant T and P, while the Helmholtz free energy of activation ΔA‡ applies in constant-volume contexts. In molecular simulations (Monte Carlo and molecular dynamics), the choice of ensemble — and hence the thermodynamic potential being minimized — directly affects which experimental conditions are being modeled. Mastering function selection in this introductory course thus prepares you for every subsequent branch of theoretical and computational chemistry.
LOOKING AHEAD
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
Selecting the appropriate thermodynamic function is the critical first step in any physical chemistry problem. The four principal potentials — internal energy U, enthalpy H, Helmholtz free energy A, and Gibbs free energy G — are connected by Legendre transforms that swap natural variables for their conjugates. Each potential simplifies maximally when its natural variables are the quantities held constant in the problem: U for (S, V), H for (S, P), A for (T, V), and G for (T, P).
For energy bookkeeping, use ΔU at constant volume (bomb calorimetry) and ΔH at constant pressure (coffee-cup calorimetry, standard enthalpies). For spontaneity and equilibrium at constant T, use ΔA (constant V) or ΔG (constant P). The Gibbs free energy dominates chemical applications because laboratory conditions are overwhelmingly constant T and P. When temperature is not constant, revert to the universal criterion ΔS_total ≥ 0. This function-selection skill is foundational: it reappears in statistical mechanics (ensemble choice), electrochemistry (ΔG = −nFE), and computational simulations (NPT vs. NVT ensembles).