Thermodynamics of Chemical Reactions and Equations of State
Chapter 1 built the equations of state that describe how much volume a gas occupies at given pressure and temperature. This chapter asks a different question: how much energy moves between a chemical system and its surroundings as that state changes, and how is that energy accounted for exactly? Classical thermodynamics answers this with two state functions — internal energy and enthalpy — and two conservation/direction laws that govern them. The equations of state from Chapter 1 are not left behind: they reappear here as the engine that lets the abstract thermodynamic machinery produce real numbers, from the work done by an expanding van der Waals gas to the cooling of a real gas forced through a throttle.
You should have to hand the van der Waals equation, the critical constants, and the Boyle temperature from Chapter 1. This chapter develops the first law, enthalpy and heat capacities, the internal-pressure concept that measures real-gas non-ideality energetically, the Joule–Thomson effect, a compact but rigorous introduction to the second law and Gibbs energy, and Kirchhoff's law for the temperature dependence of reaction enthalpies. The next chapter uses the Gibbs energy introduced here to define the chemical potential and build the theory of solutions.
1. The First Law of Thermodynamics
The internal energy of a system is the total energy contained in it — translational, rotational, vibrational and potential energy of its constituent particles — and it is a state function: its value depends only on the current state of the system, not on the path by which that state was reached. The first law of thermodynamics asserts that changes only through heat and work crossing the system boundary:
using the IUPAC convention in which and are both positive when energy flows into the system. Unlike , neither nor is a state function individually — both depend on the path taken between two states — but their sum, , does not. This is the content of the first law: energy is conserved, and internal energy bookkeeping does not care how the energy arrived.
Key distinction. is a state function (exact differential ); and are path functions (inexact differentials, often written ). Only sums and differences of state functions between two fixed states are path-independent.
2. Reversible and Irreversible Work of Expansion
For a system doing only expansion work against an external pressure , the work done on the system as its volume changes by is
the minus sign reflecting that the system loses energy as it expands () against an opposing external pressure. Two limiting cases matter:
- Free expansion (, e.g. expansion into a vacuum): regardless of .
- Reversible expansion: is adjusted at every instant to equal the system's own pressure (quasi-statically, through a continuous sequence of near-equilibrium states). This extracts the maximum possible work from an expansion, since is the largest external pressure the system can push against without the process becoming impossible ( would compress it instead).
For a reversible isothermal expansion of a perfect gas from to at temperature , substitute and integrate:
For a van der Waals gas, substitute instead (Chapter 1) and integrate term by term:
Worked example. One mole of CO (, ) expands reversibly and isothermally at from to . The perfect-gas prediction is
The van der Waals result uses , :
The van der Waals gas does less work expanding ( against ) than the perfect-gas model predicts — a direct energetic consequence of the lower pressure that intermolecular attraction produces at every volume along the path, exactly the effect Chapter 1 quantified.
3. Enthalpy and Heat Capacities
Enthalpy is defined as , a state function (being a combination of state functions) chosen so that, at constant pressure, : enthalpy change equals heat absorbed at constant pressure, the condition under which most chemistry is actually done (open vessels, atmospheric pressure).
The heat capacity at constant volume, , and the heat capacity at constant pressure, , measure how much heat is needed per unit temperature rise under each constraint. For a perfect gas, , so
Joule's law (justified in the next section) states that for a perfect gas depends on alone, so , giving Mayer's relation:
4. Internal Pressure and the Thermodynamic Equation of State
The internal pressure, , measures how internal energy changes with volume at constant temperature — physically, the energy cost of pulling molecules apart against their mutual attraction (or pushing them together against repulsion), separate from any change in their kinetic energy. Joule attempted to measure this by letting a gas expand freely (adiabatically, into a vacuum, so and , hence ) and looking for a temperature change; within the precision available to him, none was found for a near-ideal gas, establishing Joule's law: for a perfect gas, i.e. only.
A general thermodynamic identity — the thermodynamic equation of state, derivable by combining the first and second laws through a Maxwell relation (the result is quoted here without proof) — expresses the internal pressure in terms of the equation of state alone:
For a perfect gas, gives , so , and — recovering Joule's law exactly.
For a van der Waals gas, gives , so
(the last step uses the van der Waals equation itself to replace ). Therefore
Internal energy does depend on volume for a van der Waals gas, growing as the gas expands — exactly as expected, since expanding against attractive forces (without any compensating change in kinetic energy, fixed) stores energy as increased separation of attracting molecules.
5. The General Relation Between and
For any substance, not just a perfect gas, a parallel thermodynamic argument (again using the first and second laws and a Maxwell relation, quoted here without proof) gives the exact relation
For a perfect gas, and combine with to reproduce , consistent with Section 3. For a real gas, and departs from — the correction is largest exactly where the gas is least ideal, linking this chapter's thermodynamics directly back to Chapter 1's equation-of-state corrections.
6. The Joule–Thomson Effect
A more sensitive experiment than Joule's free expansion is the Joule–Thomson (throttling) experiment: a gas is forced continuously through a porous plug or valve from high pressure to low pressure, with the whole apparatus thermally insulated. This process occurs at constant enthalpy ( for the throttled gas — a standard result of the steady-flow energy balance), and the temperature change observed defines the Joule–Thomson coefficient:
A perfect gas has identically. A real gas does not, because depends on through intermolecular forces; using (the enthalpy analogue of the internal-pressure identity of Section 4) together with the low-pressure expansion of the van der Waals equation, with (Chapter 1), gives after differentiation and simplification:
This changes sign at the Joule–Thomson inversion temperature, — exactly twice the Boyle temperature found in Chapter 1. Below , : throttling cools the gas (attraction dominates — expanding against attraction absorbs energy, which must come from the gas's own kinetic energy, lowering ). Above , : throttling heats the gas (the excluded-volume effect dominates).
Worked example. For N (, , ) at :
a positive coefficient, meaning N cools on throttling at room temperature — consistent with its measured value and with being far below its inversion temperature, (twice the Boyle temperature computed in Chapter 1).
7. The Second Law, Entropy and Gibbs Energy
The first law forbids energy from being created or destroyed but says nothing about which processes actually occur spontaneously — a gas never spontaneously compresses itself into one corner of a room, even though doing so would violate no energy conservation law. The second law of thermodynamics supplies the missing direction, through a new state function, entropy , defined via for a reversible path between two states (entropy, like and , is path-independent even though is not, because the reversible-path definition is shown to be unique to the two end states). The Clausius inequality, in its original system-level form, states that for any real (possibly irreversible) process exchanging heat with its surroundings at temperature ,
with equality only in the reversible limit. Adding the corresponding entropy change of the surroundings, for the actual heat transferred, gives the equivalent universe-level statement used throughout this chapter,
again with equality only for a reversible process — spontaneous processes always increase the entropy of the universe. For a reversible isothermal expansion of a perfect gas, , so , positive for an expansion, consistent with the intuitive picture of entropy as a measure of the number of microstates accessible to a system (more volume, more accessible positions, higher entropy).
The second-law criterion is a statement about the universe (system plus surroundings), which is often inconvenient for predicting the behaviour of a chemical system alone at constant temperature and pressure. The Gibbs energy, , is constructed precisely to repackage the second law as a statement about the system alone: at constant and , it can be shown that is equivalent to
A process at constant temperature and pressure is spontaneous if and only if it decreases the Gibbs energy of the system; equilibrium is reached when is at a minimum (). This single criterion — requiring no bookkeeping of the surroundings at all — is the practical workhorse of chemical thermodynamics, and the next chapter builds the chemical potential, , directly on top of it to describe mixtures and solutions.
8. Standard Reaction Enthalpies and Kirchhoff's Law
The standard reaction enthalpy, , is the enthalpy change when reactants in their standard states (pure, at , in their stated physical state) are converted completely to products in their standard states, per mole of reaction as written. Because is a state function, can be built from tabulated standard enthalpies of formation, (Hess's law), independent of the reaction path.
Reaction enthalpies are tabulated at a reference temperature (conventionally ) but chemical processes often occur elsewhere. Since is a state function, differentiating with respect to at constant , and using for each species, gives Kirchhoff's law:
If is approximately constant over the temperature range of interest, this integrates to .
Worked example. For the Haber process, , . Using , , :
The reaction becomes noticeably more exothermic at higher temperature in this (approximate, constant-) treatment, because the products have a lower combined heat capacity than the reactants.
9. Common Exam Pitfalls
- Dropping the minus sign in , or confusing the IUPAC sign convention ( when work is done on the system) with the older "engineering" convention. State which convention is in use and stay consistent throughout a calculation.
- Using (the system's own pressure) instead of in an irreversible expansion. They coincide only in the reversible limit; an irreversible expansion against a constant external pressure uses directly, no integration needed.
- Assuming for a real gas. Mayer's relation is a perfect-gas result; the general relation of Section 5 involves the internal pressure and reduces to only when .
- Forgetting that can be positive or negative. Below the inversion temperature throttling cools a gas (used industrially to liquefy gases); above it, throttling heats the gas — the sign is not fixed, and depends on relative to .
- Using alone as the spontaneity criterion. The Clausius inequality requires ; the Gibbs energy criterion is what packages this into a system-only statement, but only at constant and .
- Applying Kirchhoff's law with reactant/product values swapped or with the wrong stoichiometric coefficients. follows the same "products minus reactants, each weighted by its stoichiometric coefficient" pattern as itself.
Summary
- The first law, , makes a state function; for expansion work, maximised in magnitude for a reversible process where at every instant.
- Reversible isothermal work: for a perfect gas; for a van der Waals gas.
- Enthalpy gives ; Mayer's relation holds for a perfect gas only.
- Internal pressure is zero for a perfect gas (Joule's law) and equals for a van der Waals gas.
- The general relation reduces to Mayer's relation only when .
- The Joule–Thomson coefficient changes sign at the inversion temperature .
- The second law, , and the Gibbs energy, with spontaneity criterion at constant , set up the chemical potential of the next chapter.
- Kirchhoff's law, , gives the temperature dependence of reaction enthalpies from heat-capacity data.