1. Home
  2. Explore
  3. Chemistry
  4. Gibbs Energy and Spontaneity

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

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 GGG, is defined as

G=H−TSG = H - TSG=H−TS

where HHH is enthalpy, TTT is absolute temperature, and SSS is entropy. These are system properties. Since enthalpy is H=U+PVH=U+PVH=U+PV, Gibbs energy can also be written as

G=U+PV−TSG = U + PV - TSG=U+PV−TS

The Helmholtz energy is A=U−TSA=U-TSA=U−TS, so an especially useful relationship is

G=A+PVG = A + PVG=A+PV

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\Delta G<0ΔG<0.

  • At constant temperature and volume, a process is spontaneous when ΔA<0\Delta A<0Δ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\Delta G=0ΔG=0.

Work associated with changes in AAA and GGG

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 AAA gives the maximum work obtainable.

  • At constant temperature and pressure, the decrease in GGG 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 AAA and GGG

For a simple compressible system, the fundamental thermodynamic relation is

dU=T dS−P dVdU = T\,dS - P\,dVdU=TdS−PdV

Derivatives of Helmholtz energy

Starting with A=U−TSA=U-TSA=U−TS and differentiating,

dA=dU−T dS−S dTdA = dU - T\,dS - S\,dTdA=dU−TdS−SdT

Substitution of the fundamental relation gives

dA=−P dV−S dTdA = -P\,dV - S\,dTdA=−PdV−SdT

Consequently,

P=−(∂A∂V)TP = -\left(\frac{\partial A}{\partial V}\right)_TP=−(∂V∂A​)T​

and

S=−(∂A∂T)VS = -\left(\frac{\partial A}{\partial T}\right)_VS=−(∂T∂A​)V​

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−TSG=H-TSG=H−TS, differentiation gives

dG=dH−T dS−S dTdG = dH - T\,dS - S\,dTdG=dH−TdS−SdT

Using H=U+PVH=U+PVH=U+PV and dU=T dS−P dVdU=T\,dS-P\,dVdU=TdS−PdV yields

dG=V dP−S dTdG = V\,dP - S\,dTdG=VdP−SdT

Therefore,

V=(∂G∂P)TV = \left(\frac{\partial G}{\partial P}\right)_TV=(∂P∂G​)T​

and

S=−(∂G∂T)PS = -\left(\frac{\partial G}{\partial T}\right)_PS=−(∂T∂G​)P​

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 QQQ denote the canonical partition function for the whole system, and let kBk_{\mathrm B}kB​ be Boltzmann’s constant. The Helmholtz-energy relationship is

A−A0=−kBTln⁡QA-A_0=-k_{\mathrm B}T\ln QA−A0​=−kB​TlnQ

where the subscript 000 denotes a reference value at absolute zero. The canonical expression for pressure is

P=kBT(∂ln⁡Q∂V)TP=k_{\mathrm B}T\left(\frac{\partial \ln Q}{\partial V}\right)_TP=kB​T(∂V∂lnQ​)T​

Starting from G=A+PVG=A+PVG=A+PV, and taking the reference values such that G0=A0G_0=A_0G0​=A0​, gives

G−G0=(A−A0)+PVG-G_0=(A-A_0)+PVG−G0​=(A−A0​)+PV

Substituting the expressions for A−A0A-A_0A−A0​ and PPP produces

G−G0=−kBTln⁡Q+kBTV(∂ln⁡Q∂V)TG-G_0 = -k_{\mathrm B}T\ln Q + k_{\mathrm B}T V \left(\frac{\partial \ln Q}{\partial V}\right)_TG−G0​=−kB​TlnQ+kB​TV(∂V∂lnQ​)T​

This relates the change in Gibbs energy to the canonical partition function and its dependence on volume. The appropriate form of QQQ depends on the system and on whether its particles are distinguishable or indistinguishable.


Ideal-gas and molecular-partition-function expression

For an ideal gas,

PV=nRT=NkBTPV=nRT=Nk_{\mathrm B}TPV=nRT=NkB​T

where nnn is the amount of gas in moles, NNN is the number of particles, and R=NAkBR=N_{\mathrm A}k_{\mathrm B}R=NA​kB​ is the gas constant. In the ideal-gas treatment, the reference relation G0=A0G_0=A_0G0​=A0​ allows

G−G0=(A−A0)+PVG-G_0=(A-A_0)+PVG−G0​=(A−A0​)+PV

and therefore

G−G0=−kBTln⁡Q+nRTG-G_0=-k_{\mathrm B}T\ln Q+nRTG−G0​=−kB​TlnQ+nRT

Indistinguishable particles

For NNN indistinguishable particles, the canonical partition function is related to the single-particle molecular partition function qqq by

Q=qNN!Q=\frac{q^N}{N!}Q=N!qN​

The factor N!N!N! accounts for indistinguishability. Without this correction, permutations of identical particles would be counted as distinct arrangements.

Substitution gives

G−G0=−kBTln⁡(qNN!)+nRTG-G_0 = -k_{\mathrm B}T\ln\left(\frac{q^N}{N!}\right)+nRTG−G0​=−kB​Tln(N!qN​)+nRT

Using logarithm rules,

G−G0=−NkBTln⁡q+kBTln⁡N!+nRTG-G_0 = -Nk_{\mathrm B}T\ln q + k_{\mathrm B}T\ln N! + nRTG−G0​=−NkB​Tlnq+kB​TlnN!+nRT

For large NNN, Stirling’s approximation is

ln⁡N!≈Nln⁡N−N\ln N! \approx N\ln N-NlnN!≈NlnN−N

Since NkB=nRNk_{\mathrm B}=nRNkB​=nR, substitution and cancellation of the resulting nRTnRTnRT terms gives

G−G0=−nRTln⁡(qN)G-G_0=-nRT\ln\left(\frac{q}{N}\right)G−G0​=−nRTln(Nq​)

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

Gm−Gm,0=−RTln⁡(qN)G_m-G_{m,0} = -RT\ln\left(\frac{q}{N}\right)Gm​−Gm,0​=−RTln(Nq​)

Here, Gm=G/nG_m=G/nGm​=G/n is molar Gibbs energy. When the expression is written for one mole, N=NAN=N_{\mathrm A}N=NA​; the partition-function convention may then be written in the form

Gm−Gm,0=−RTln⁡(qmNA)G_m-G_{m,0} = -RT\ln\left(\frac{q_m}{N_{\mathrm A}}\right)Gm​−Gm,0​=−RTln(NA​qm​​)

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 qqq before calculating thermodynamic properties.


Standard-state Gibbs energy and equilibrium

A standard state for a pure substance is specified at a pressure of 111 bar; the temperature may vary. When the molar Gibbs-energy expression is evaluated for the standard state, it has the form

Gm∘(T)−Gm∘(0)=−RTln⁡(qm∘NA)G_m^\circ(T)-G_m^\circ(0) = -RT\ln\left(\frac{q_m^\circ}{N_{\mathrm A}}\right)Gm∘​(T)−Gm∘​(0)=−RTln(NA​qm∘​​)

Here, the superscript ∘\circ∘ denotes standard-state conditions, and qm∘q_m^\circqm∘​ is the relevant partition-function quantity evaluated for that state.

It is important to distinguish a Gibbs-energy change under the actual conditions, ΔG\Delta GΔG, from the standard Gibbs-energy change, ΔG∘\Delta G^\circΔG∘. For a reaction at equilibrium,

ΔG∘=−RTln⁡K\Delta G^\circ=-RT\ln KΔG∘=−RTlnK

where KKK 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+PVG=H-TS=A+PVG=H−TS=A+PV.

  • Spontaneity: ΔG<0\Delta G<0ΔG<0 at constant TTT and PPP; ΔA<0\Delta A<0ΔA<0 at constant TTT and VVV.

  • Differentials: dA=−P dV−S dTdA=-P\,dV-S\,dTdA=−PdV−SdT and dG=V dP−S dTdG=V\,dP-S\,dTdG=VdP−SdT.

  • Canonical connection: A−A0=−kBTln⁡QA-A_0=-k_{\mathrm B}T\ln QA−A0​=−kB​TlnQ; pressure follows from the volume derivative of ln⁡Q\ln QlnQ.

  • Indistinguishable particles: Q=qN/N!Q=q^N/N!Q=qN/N!.

  • Equilibrium connection: ΔG∘=−RTln⁡K\Delta G^\circ=-RT\ln KΔG∘=−RTlnK.

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent