Course-wide Conventions & Notation
Overview and Learning Objectives¶
In Section 4.3 we derived the canonical entropy and showed that rearranging it gives the Helmholtz free energy . We noted that this makes a “master potential” — if you can compute , you can derive all other thermodynamic quantities by taking appropriate derivatives. This section develops that machinery.
We begin by combining the Clausius inequality (Section 4.3) with the First Law to obtain a fundamental inequality, , that governs the direction of spontaneous change. From this single inequality we derive extremum principles: rules for which thermodynamic potential (, , , or ) is minimized at equilibrium under a given set of constraints. These potentials are related to one another by Legendre transforms that swap “awkward” natural variables (like ) for experimentally controllable ones (like ).
With the potentials and their differentials in hand, we can read off measurable quantities as partial derivatives. In particular, we derive the pressure formula that was previewed in Section 2.3, and we show that changes in the Gibbs free energy track reversible non- work under typical laboratory conditions.
Learning objectives:
Derive the fundamental inequality from the Clausius inequality.
Identify the natural variables and equilibrium differentials of , , , and .
State which thermodynamic potential is minimized at equilibrium under fixed , , , and .
Use (Section 4.3) to derive the pressure formula .
Interpret as reversible non- work.
Core Ideas and Derivations¶
The fundamental inequality¶
In Section 4.1 we derived the fundamental thermodynamic relation for a reversible, -only process:
This is an equality that holds when the process is reversible. For irreversible processes we need the Clausius inequality (Section 4.3),
which says that entropy can be produced by irreversibility beyond the entropy carried in by heat flow. Rearranging gives .
For a closed system doing only work against an external pressure, the First Law reads with . Since during a spontaneous expansion and during a spontaneous compression, we have in general, with equality in the reversible limit. Combining the two inequalities:
We therefore arrive at the fundamental inequality for a simple compressible system:
Equality holds for reversible changes; the inequality encodes the direction of spontaneous evolution for irreversible processes.
Thermodynamic equilibrium as an extremum principle¶
Equation (4) gives an “equilibrium test” once you specify what is held fixed. The idea is simple: if certain variables are constant, the inequality constrains what happens to the remaining ones.
Constant and ⇒ minimize ¶
If and are both fixed, then and , so (4) reduces to
At constant and , spontaneous evolution drives downward until equilibrium is reached at a minimum of .
Identifying and from derivatives of ¶
Since the fundamental relation at equilibrium is , we can read off
These partial-derivative identities are the natural-variable counterparts of the differential form. In Section 4.1 we noted that a state function’s natural variables are those that appear as independent variables in its total differential; for , these are and . The expressions above show that the conjugate intensive variables ( and ) are encoded as slopes of along its natural-variable axes.
Euler’s theorem and the Euler relation¶
Many thermodynamic functions are homogeneous in their extensive variables. If a function is homogeneous of degree — meaning for all — then Euler’s theorem states
For a simple system at fixed composition ( fixed), the internal energy is homogeneous of degree 1 in its extensive arguments. Applying Euler’s theorem with :
Equation (8) is the Euler relation for this simplified case (fixed ).
A curious consequence for
At fixed , the Euler relation combined with the definition gives for a single-component system. This seemingly paradoxical result is an artifact of holding fixed and not including the term. Once we allow the number of particles to vary, the Euler relation becomes and the Gibbs free energy becomes , which is the physically meaningful result. We will return to this when we introduce the chemical potential.
Thermodynamic potentials¶
Holding or constant is experimentally awkward — most laboratory work is done at controlled and/or controlled . The solution is to define new state functions whose natural variables match the experimentally convenient ones. This is the same strategy we used in Section 3.3 when we defined enthalpy to simplify the First Law at constant pressure; now we extend it systematically.
Each new potential is obtained from by a Legendre transform: a mathematical operation that swaps an extensive variable for its conjugate intensive variable while preserving all thermodynamic information. For example, replacing the natural variable in with its conjugate gives the Helmholtz free energy .
Summary table¶
| potential | symbol | definition | differential (equilibrium) | natural variables |
|---|---|---|---|---|
| internal energy | — | |||
| enthalpy | ||||
| Helmholtz free energy | ||||
| Gibbs free energy |
Each differential can be verified by direct computation. For example, for the Helmholtz free energy:
The other differentials follow by the same approach.
Which potential is minimized?¶
Each thermodynamic potential satisfies an inequality analogous to Eq. (4), derived by applying the same fundamental inequality to the appropriate Legendre-transformed quantity. The results are:
Constant : ⇒ decreases to a minimum.
Constant : ⇒ decreases to a minimum.
Constant : ⇒ decreases to a minimum.
Constant : ⇒ decreases to a minimum.
Deriving the and inequalities
These extremum principles are immensely practical. Most chemistry and biology occurs at constant temperature (thermostatted lab or regulated body temperature) and either constant volume (rigid container, computational simulation) or constant pressure (open to the atmosphere). Under these conditions:
Constant : the Helmholtz free energy is minimized at equilibrium.
Constant : the Gibbs free energy is minimized at equilibrium.
The Helmholtz free energy as a master potential¶
Section 4.3 established the central connection between the canonical partition function and thermodynamics:
From this single equation, combined with the Helmholtz differential , we can extract every equilibrium property of the system by differentiation.
Entropy¶
Reading off the coefficient of in the Helmholtz differential:
This is consistent with the canonical entropy expression derived in Section 4.3, as can be verified by differentiating Eq. (13) directly.
Pressure¶
Reading off the coefficient of :
Substituting :
This is the result previewed (without derivation) in Section 2.3. The route is now clear: the Helmholtz differential tells us that pressure is , and the partition-function bridge converts that into a derivative of .
Internal energy¶
From and the expressions above:
After simplification (or using the Section 2.3 result directly):
Heat capacity¶
Takeaway. Knowing gives access to , , , , and the equation of state — all from derivatives of a single function.
Example: monatomic ideal gas¶
To see the derivative machinery in action, we return to a system whose partition function we derived in Section 2.5. For a monatomic ideal gas:
Helmholtz free energy¶
Using Eq. (13):
Applying Stirling’s approximation ():
Pressure (recovering the ideal gas law)¶
From Eq. (16), and noting that depends on only through the term:
The microscopic translational partition function reproduces the macroscopic equation of state. This was also shown in Section 2.5 using the pressure formula stated there; the difference is that we can now trace its origin through the Helmholtz free energy.
Entropy (the Sackur–Tetrode equation)¶
From Eq. (14), noting that so :
This is the Sackur–Tetrode equation for the entropy of an ideal monatomic gas — a result that connects statistical mechanics (through and ) to a measurable thermodynamic quantity.
Gibbs free energy and non- work¶
The Gibbs free energy is defined as
Its equilibrium differential is
But what if the system can do work other than expansion/compression — for example, electrical work in a battery or an electrolyzer? To see how handles this, consider a reversible process that includes both work and non- work. The First Law gives
Substituting into :
At constant and :
Under the most common laboratory conditions (constant and ), changes in equal the reversible non- work. This is why is sometimes called the “free energy” — it measures the energy “free” to do useful work beyond unavoidable work against the atmosphere.
Irreversible non- work
Equation (29) applies to the reversible limit. For an irreversible process at constant and , the inequality (from the extremum principle) combines with the presence of non- work to give
Since the chemistry convention assigns for work done on the system and for work done by the system, this says that the magnitude of useful work output from a spontaneous process is bounded above by . Irreversibilities reduce the actual work output below this bound.
Example: water splitting (electrolysis)¶
The standard-state water-splitting reaction at room temperature is
Because , the reaction is non-spontaneous under standard conditions. It must be driven by supplying non- work — in this case, electrical work in an electrolyzer. In the reversible limit, the minimum electrical work required per mole equals .
Worked Examples¶
Example 1: Recovering the ideal-gas law from ¶
Problem. Use the pressure formula Eq. (16) and the monatomic ideal-gas partition function Eq. (20) to derive the equation of state.
Solution.
Compute .
Differentiate with respect to . Only the term depends on , so
Insert into the pressure formula.
Result. The microscopic translational partition function reproduces the ideal gas law via derivatives of .
Example 2: Entropy and internal energy of the ideal gas from ¶
Problem. Starting from the Helmholtz free energy of the monatomic ideal gas, Eq. (22), derive expressions for and .
Solution.
The Helmholtz free energy is
Since , we have and . Therefore
where “const” collects terms independent of and .
Entropy. Using :
This is the Sackur–Tetrode equation.
Internal energy. From :
Result. Differentiating with respect to gives the entropy (Sackur–Tetrode), and adding back recovers the equipartition result . All thermodynamic properties of the ideal gas follow from a single function, .
Concept Checks¶
Why do extremum principles involve minimization of a potential rather than maximization of entropy in most lab settings?
In the derivation of Eq. (4), which inequality comes from the Clausius inequality and which comes from the work bound? What physical process does each represent?
Why does (not ) naturally appear for systems at fixed and ?
Equation (29) gives for a reversible process. How does this change for an irreversible process, and what does the change mean for the maximum useful work a spontaneous reaction can deliver?
Why does differentiating the same function give both a thermal quantity () and a mechanical quantity ()?
Key Takeaways¶
The fundamental inequality combines the First Law with the Clausius inequality and governs the direction of spontaneous change.
Thermodynamic potentials (, , , ) are related by Legendre transforms that match natural variables to experimental constraints.
Equilibrium corresponds to minimization of , , , or depending on which variables are held fixed; at constant and at constant are the most common laboratory cases.
The connection (Section 4.3) makes a master potential: , , , and all follow from partial derivatives.
Under typical lab conditions (constant ), measures the reversible non- work — the energy “free” to do useful work.