PHYSICAL CHEMISTRY 1 • PROBLEM-SOLVING & DATA SKILLS

Selecting Thermodynamic Functions — Select appropriate thermodynamic functions for a problem (ΔU vs ΔH vs ΔG)

Choosing the right state function transforms an intractable problem into a solvable one.

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
James Prescott Joule's paddle-wheel experiments demonstrated that mechanical work and heat are interconvertible, establishing the concept of internal energy (U) and laying the groundwork for the First Law of Thermodynamics: ΔU = q + w.
1850s
Clausius and the Second Law
Rudolf Clausius formalized the concept of entropy (S) and articulated the Second Law, showing that not all energy changes are equally useful — the direction of spontaneous change matters.
1870s
Gibbs and Thermodynamic Potentials
Josiah Willard Gibbs introduced the Gibbs free energy (G = H − TS) and systematized the use of Legendre transforms to generate new state functions suited to specific experimental constraints. His framework remains the backbone of chemical thermodynamics.
1882
Helmholtz Free Energy
Hermann von Helmholtz articulated the Helmholtz free energy (A = U − TS), providing a spontaneity criterion for constant-temperature, constant-volume processes — essential for gas-phase reactions in rigid vessels.
1923
Lewis and Randall's Textbook
Gilbert N. Lewis and Merle Randall published Thermodynamics and the Free Energy of Chemical Substances, popularizing the practical use of ΔG for predicting chemical equilibria and making thermodynamic function selection a routine part of problem-solving.

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.

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.

1

Internal Energy (U)

The total microscopic kinetic and potential energy of a system. Its natural variables are S and V (entropy and volume). Under constant volume with no non-PV work, ΔU = qV.
2

Enthalpy (H = U + PV)

A Legendre transform of U that replaces V with P as a natural variable. Natural variables: S and P. Under constant pressure with no non-PV work, ΔH = qP — the heat flow measured by calorimetry.
3

Helmholtz Free Energy (A = U − TS)

Replaces S with T as a natural variable via Legendre transform. Natural variables: T and V. At constant T and V, ΔA ≤ 0 for a spontaneous process; ΔA equals the maximum work extractable from the system.
4

Gibbs Free Energy (G = H − TS)

Natural variables: T and P. Since most chemistry occurs in open vessels (constant T, constant P), ΔG < 0 is the standard spontaneity criterion. ΔG also equals the maximum non-expansion work available from a process.
5

The Selection Principle

Choose the function whose natural variables match the constraints of the problem. If temperature and pressure are held constant, use G. If temperature and volume are fixed, use A. If the process is adiabatic at constant volume, use U. Matching constraints to natural variables eliminates cross-terms and simplifies the math.
KEY TAKEAWAY
Think of thermodynamic functions like coordinate systems in mechanics. You can solve a pendulum problem in Cartesian coordinates, but polar coordinates make it trivial because they align with the system's constraints. In exactly the same way, choosing the thermodynamic potential whose natural variables match your experimental constraints turns a messy calculation into a clean one. ΔG is to constant-T-and-P problems what polar coordinates are to circular motion.

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.

Decision flowchart for selecting thermodynamic functions. Begin at the top by identifying what the problem asks (energy/heat vs. spontaneity), then follow the branches corresponding to your system's constraints. The colored boxes at the termini indicate the appropriate state function.

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.

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
dU = TdS − PdV + Σᵢ μᵢ dnᵢ
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
H ≡ U + PV → dH = TdS + VdP + Σᵢ μᵢ dnᵢ
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
A ≡ U − TS → dA = −SdT − PdV + Σᵢ μᵢ dnᵢ
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
G ≡ H − TS → dG = −SdT + VdP + Σᵢ μᵢ dnᵢ
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
A Legendre transform does not create new physics — it repackages the same information into a form that is more convenient for a given set of constraints. In dU = TdS − PdV, the entropy S is a natural variable, but entropy is hard to control experimentally. By defining A = U − TS, we trade S for T (which we can control via a thermostat). The transform ensures that the new potential A has a clean differential in T and V with no leftover cross-terms — exactly what you need for a constant-T, constant-V problem.

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.

Common scenarios and the thermodynamic function best suited to each.
Scenario / KeywordsConstraintsBest FunctionKey Relationship
Bomb calorimetry; rigid container; sealed vesselConstant V, no wnon-PVΔUΔU = qV = nCVΔT
Coffee-cup calorimetry; open beaker; atmospheric pressureConstant P, no wnon-PVΔHΔH = qP = nCPΔT
Phase transition at 1 atm; standard reaction enthalpyConstant T, constant PΔH (for heat); ΔG (for spontaneity)ΔG = ΔH − TΔS
Gas in a rigid isothermal vessel; explosion in closed containerConstant T, constant VΔAΔA = ΔU − TΔS ≤ 0 (spontaneous)
Electrochemical cell; maximum electrical workConstant T, constant P, non-PV workΔGΔG = wnon-PV,max = −nFE
Chemical equilibrium constantConstant T, constant PΔG°ΔG° = −RT ln K
Adiabatic, constant-V processq = 0, constant VΔUΔU = w (only PV work = 0 at const V, so ΔU = 0 for ideal gas)
The four principal thermodynamic potentials arranged in a Legendre-transform network. Dashed arrows indicate which natural variable is swapped and the corresponding term added or subtracted. U sits at the top with natural variables (S, V); H replaces V with P; A replaces S with T; and G replaces both, giving natural variables (T, P).

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.

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 SelectionIn 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.

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.

Comparative strengths and limitations of the four main thermodynamic potentials.
FunctionStrengthsLimitations / Common Pitfalls
ΔUDirectly 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.
ΔHEquals 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.
ΔASpontaneity 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.
ΔGSpontaneity 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°.
KEY TAKEAWAY
Think of each thermodynamic function as a specialized tool in a toolkit. A wrench is perfect for bolts but useless for screws; similarly, ΔG is perfect for constant-T, constant-P spontaneity but meaningless as a spontaneity criterion if temperature is changing. The mark of a skilled thermodynamicist is not memorizing formulas but knowing instantly which tool to reach for when confronted with a given set of constraints.

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.

Correspondence between classical thermodynamic potentials and statistical mechanical ensembles.
Classical PotentialNatural VariablesStatistical EnsemblePartition Function Link
U(S, V, N)S, V, NMicrocanonicalS = kB ln Ω
A(T, V, N)T, V, NCanonical (NVT)A = −kBT ln Q
G(T, P, N)T, P, NIsothermal-isobaric (NPT)G = −kBT ln Δ
PV (grand potential)T, V, μGrand canonical (μVT)PV = kBT ln Ξ

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
In your study of chemical thermodynamics and statistical mechanics, you will encounter the Maxwell relations — equalities between second partial derivatives that arise because U, H, A, and G are all exact differentials. These relations are most naturally derived from the potential whose natural variables match the partial derivatives you need. Function selection is therefore not just a problem-solving convenience but a prerequisite for deriving fundamental thermodynamic identities.

Practice Problems

PROBLEM 1CONCEPTUAL
A student claims that ΔG < 0 guarantees a reaction will proceed spontaneously regardless of the conditions. Identify the flaw in this reasoning and state the precise conditions under which ΔG < 0 serves as a valid spontaneity criterion. Additionally, explain what criterion you would use instead if the reaction occurs in a sealed, rigid container at constant temperature.
PROBLEM 2BASIC CALCULATION
A bomb calorimeter (constant volume) measures a temperature rise of 3.20 K when 1.50 g of benzoic acid (C6H5COOH, M = 122.12 g/mol) is combusted. The heat capacity of the calorimeter system is Ccal = 10.17 kJ/K. (a) Which thermodynamic function does this calorimeter directly measure? (b) Calculate the molar energy of combustion.
PROBLEM 3INTERMEDIATE
For the reaction N2(g) + 3H2(g) → 2NH3(g) at 298 K and 1 bar, ΔH° = −92.2 kJ/mol and ΔS° = −198.7 J/(mol·K). (a) Calculate ΔG° and determine spontaneity. (b) Calculate ΔU° given that Δngas = −2. (c) Would ΔU° or ΔH° be more appropriate if this reaction were run in a constant-volume reactor? Explain.
PROBLEM 4APPLIED
A hydrogen fuel cell operates at 298 K and 1 atm, electrochemically oxidizing H2(g): 2H2(g) + O2(g) → 2H2O(l). Given ΔH° = −571.6 kJ and ΔG° = −474.4 kJ: (a) Which function determines the maximum electrical work the cell can deliver? (b) Calculate the maximum cell potential E°. (c) Why is ΔG° less negative than ΔH°, and what happens to the difference?
PROBLEM 5CRITICAL THINKING
Consider an ideal gas undergoing a reversible adiabatic expansion (q = 0) against a piston. (a) Explain why neither ΔG nor ΔA serves as a useful spontaneity criterion for this process. (b) Which thermodynamic function(s) can still be meaningfully calculated, and what determines whether the process proceeds? (c) Show that for this process ΔH ≠ ΔU and derive the ratio ΔH/ΔU in terms of the heat capacity ratio γ = CP/CV.

Lesson 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).

Varsity Tutors • Physical Chemistry 1 • Selecting Thermodynamic Functions — Select appropriate thermodynamic functions for a problem (ΔU vs ΔH vs ΔG)