Gibbs Energy and Spontaneity
Gibbs Energy and Its Connection to Statistical Mechanics
Gibbs energy and spontaneity
The Gibbs energy (also called the Gibbs function), denoted by G, is defined as
where H is enthalpy, T is absolute temperature, and S is entropy. These are system properties. Since enthalpy is H=U+PV, Gibbs energy can also be written as
The Helmholtz energy is A=U−TS, so an especially useful relationship is
This connects two thermodynamic functions that are often used to analyze the work available from a system.
A statement about spontaneity is meaningful only when the constraints are specified:
At constant temperature and pressure, a process is spontaneous when ΔG<0.
At constant temperature and volume, a process is spontaneous when ΔA<0.
Thus, saying only that “a negative change in Gibbs energy means spontaneity” is incomplete: the condition of constant temperature and pressure must also be stated. For a process at equilibrium under these conditions, ΔG=0.
Work associated with changes in A and G
Under the appropriate conditions, changes in Helmholtz and Gibbs energy indicate limits on the work obtainable from a system:
At constant temperature and volume, the decrease in A gives the maximum work obtainable.
At constant temperature and pressure, the decrease in G gives the maximum non-pressure–volume work obtainable, such as electrical work.
These are maximum-work limits; actual processes may deliver less work.
Thermodynamic derivatives of A and G
For a simple compressible system, the fundamental thermodynamic relation is
Derivatives of Helmholtz energy
Starting with A=U−TS and differentiating,
Substitution of the fundamental relation gives
Consequently,
and
Pressure can therefore be obtained from how Helmholtz energy changes with volume at fixed temperature, while entropy can be obtained from how it changes with temperature at fixed volume.
Derivatives of Gibbs energy
Starting with G=H−TS, differentiation gives
Using H=U+PV and dU=TdS−PdV yields
Therefore,
and
Volume and entropy can thus be determined from derivatives of Gibbs energy. These derivative relationships are also useful in statistical mechanics: if a thermodynamic function can be expressed using a partition function, its derivatives can provide other thermodynamic properties.
Connecting Gibbs energy to the canonical partition function
Let Q denote the canonical partition function for the whole system, and let kB be Boltzmann’s constant. The Helmholtz-energy relationship is
where the subscript 0 denotes a reference value at absolute zero. The canonical expression for pressure is
Starting from G=A+PV, and taking the reference values such that G0=A0, gives
Substituting the expressions for A−A0 and P produces
This relates the change in Gibbs energy to the canonical partition function and its dependence on volume. The appropriate form of Q depends on the system and on whether its particles are distinguishable or indistinguishable.
Ideal-gas and molecular-partition-function expression
For an ideal gas,
where n is the amount of gas in moles, N is the number of particles, and R=NAkB is the gas constant. In the ideal-gas treatment, the reference relation G0=A0 allows
and therefore
Indistinguishable particles
For N indistinguishable particles, the canonical partition function is related to the single-particle molecular partition function q by
The factor N! accounts for indistinguishability. Without this correction, permutations of identical particles would be counted as distinct arrangements.
Substitution gives
Using logarithm rules,
For large N, Stirling’s approximation is
Since NkB=nR, substitution and cancellation of the resulting nRT terms gives
This form displays the Gibbs-energy change in terms of the molecular partition function and the number of particles.
Molar form
Dividing by the number of moles gives the molar Gibbs-energy relation
Here, Gm=G/n is molar Gibbs energy. When the expression is written for one mole, N=NA; the partition-function convention may then be written in the form
The symbols used for a molecular partition function and a molar partition function can vary. The partition-function ratio inside the logarithm must be understood using a consistent convention so that its argument is dimensionless.
Molar quantities are useful because they allow properties to be compared independently of the total size of the sample.
Monatomic ideal gas and molecular contributions
For the monatomic ideal-gas example, the molecular partition function is taken to contain the translational contribution. Rotational and vibrational contributions are not included in this model, and electronic contributions may also be neglected under ordinary conditions.
The choice of partition-function contributions must match the physical system being modeled. If other molecular energy modes are relevant, their contributions must be included in q before calculating thermodynamic properties.
Standard-state Gibbs energy and equilibrium
A standard state for a pure substance is specified at a pressure of 1 bar; the temperature may vary. When the molar Gibbs-energy expression is evaluated for the standard state, it has the form
Here, the superscript ∘ denotes standard-state conditions, and qm∘ is the relevant partition-function quantity evaluated for that state.
It is important to distinguish a Gibbs-energy change under the actual conditions, ΔG, from the standard Gibbs-energy change, ΔG∘. For a reaction at equilibrium,
where K is the equilibrium constant expressed using the applicable standard-state convention. Thus, standard-state Gibbs energies provide a link between molecular partition functions and equilibrium behavior.
Key relationships
Definition: G=H−TS=A+PV.
Spontaneity: ΔG<0 at constant T and P; ΔA<0 at constant T and V.
Differentials: dA=−PdV−SdT and dG=VdP−SdT.
Canonical connection: A−A0=−kBTlnQ; pressure follows from the volume derivative of lnQ.
Indistinguishable particles: Q=qN/N!.
Equilibrium connection: ΔG∘=−RTlnK.

Ask anything
We've read this whole study set, so questions about it get the best answers.