Skip to content

Thermodynamics

1. The Laws of Thermodynamics

1.1 The Zeroth and First Laws

  1. Zeroth Law: If AA is in thermal equilibrium with BB, and BB with CC, then AA is in thermal equilibrium with CC. This establishes temperature as a transitive property and justifies the use of thermometers.

  2. First Law: Energy is conserved. For a closed system:

    dU=δq+δwdU = \delta q + \delta w

    where UU is internal energy, qq is heat, and ww is work. The notation δ\delta indicates inexact differentials: qq and ww are path-dependent, but UU is a state function.

1.2 Work of Expansion

For a reversible expansion of an ideal gas against an external pressure:

δwrev=PdV\delta w_{\text{rev}} = -P\,dV

wrev=ViVfPdV=nRTlnVfViw_{\text{rev}} = -\int_{V_i}^{V_f} P\,dV = -nRT\ln\frac{V_f}{V_i}

1.3 Enthalpy

Definition 1 (Enthalpy): The enthalpy HH is defined as:

H=U+PVH = U + PV

For a process at constant pressure:

dH=dU+PdV+VdP=δqp+VdP    ΔH=qpdH = dU + P\,dV + V\,dP = \delta q_p + V\,dP \implies \Delta H = q_p

The molar heat capacities relate to enthalpy and internal energy:

Cp=(HT)P,CV=(UT)VC_p = \left(\frac{\partial H}{\partial T}\right)_P, \quad C_V = \left(\frac{\partial U}{\partial T}\right)_V

For an ideal gas: CpCV=nRC_p - C_V = nR.

2. The Second and Third Laws

2.1 The Second Law

Theorem 1 (Clausius Inequality): For any cyclic process:

δqT0\oint \frac{\delta q}{T} \leq 0

Equality holds only for reversible processes. This implies the existence of a state function SS (entropy) such that:

dSδqTdS \geq \frac{\delta q}{T}

For a spontaneous (irreversible) process in an isolated system: dS>0dS > 0.

2.2 Entropy Changes

For a reversible process at temperature TT:

ΔS=T1T2CTdT\Delta S = \int_{T_1}^{T_2} \frac{C}{T}\,dT

Entropy of phase transition: At the transition temperature TtrsT_{\text{trs}}:

ΔtrsS=ΔtrsHTtrs\Delta_{\text{trs}}S = \frac{\Delta_{\text{trs}}H}{T_{\text{trs}}}

Example 1: Calculate ΔS\Delta S when 2 mol of ice melts at 273 K (ΔfusH=6.01\Delta_{\text{fus}}H = 6.01 kJ/mol).

ΔS=nΔfusHT=2×6010273=44.0 J/K\Delta S = \frac{n\,\Delta_{\text{fus}}H}{T} = \frac{2 \times 6010}{273} = 44.0 \text{ J/K}

\blacksquare

2.3 Statistical Interpretation of Entropy

Theorem 2 (Boltzmann Entropy):

S=kBlnWS = k_B \ln W

where WW is the number of microstates and kB=1.381×1023k_B = 1.381 \times 10^{-23} J/K is Boltzmann”s constant.

For NN distinguishable particles with nin_i in each energy level εi\varepsilon_i:

W=N!n1!n2!W = \frac{N!}{n_1!\,n_2!\,\cdots}

The entropy of mixing two ideal gases:

ΔmixS=nR(xAlnxA+xBlnxB)\Delta_{\text{mix}}S = -nR\left(x_A \ln x_A + x_B \ln x_B\right)

2.4 The Third Law

Theorem 3 (Third Law of Thermodynamics): The entropy of a perfect crystal at absolute zero is zero:

limT0S=0\lim_{T \to 0} S = 0

This provides a reference point for absolute entropies (standard molar entropies SS^\circ).

3. Gibbs Free Energy and Chemical Potential

3.1 Gibbs and Helmholtz Free Energy

Definition 2 (Helmholtz Free Energy):

A=UTSA = U - TS

dA=SdTPdVdA = -S\,dT - P\,dV

Definition 3 (Gibbs Free Energy):

G=HTS=U+PVTSG = H - TS = U + PV - TS

dG=SdT+VdPdG = -S\,dT + V\,dP

At constant TT and PP: ΔG=wnon-PV\Delta G = w_{\text{non-PV}}, so the Gibbs free energy change equals the maximum non-expansion work.

3.2 Spontaneity Criteria

ConditionCriterion
Constant TT, VV (closed)dA<0dA < 0
Constant TT, PP (closed)dG<0dG < 0
Isolated systemdS>0dS > 0

3.3 Fundamental Equations

The four fundamental equations of thermodynamics (for closed systems of constant composition):

dU=TdSPdVdU = T\,dS - P\,dV dH=TdS+VdPdH = T\,dS + V\,dP dA=SdTPdVdA = -S\,dT - P\,dV dG=SdT+VdPdG = -S\,dT + V\,dP

3.4 Chemical Potential

Definition 4 (Chemical Potential): For an open system with kk components:

dG=SdT+VdP+i=1kμidnidG = -S\,dT + V\,dP + \sum_{i=1}^{k} \mu_i\,dn_i

where μi=(Gni)T,P,nji\mu_i = \left(\frac{\partial G}{\partial n_i}\right)_{T,P,n_{j\neq i}} is the chemical potential of component ii.

For an ideal gas: μ=μ+RTlnPP\mu = \mu^\circ + RT\ln\frac{P}{P^\circ}.

4. Maxwell Relations

4.1 Derivation from Exact Differentials

Theorem 4 (Maxwell Relations): Since UU, HH, AA, GG are state functions, their mixed second partial derivatives are equal:

(TV)S=(PS)V\left(\frac{\partial T}{\partial V}\right)_S = -\left(\frac{\partial P}{\partial S}\right)_V (TP)S=(VS)P\left(\frac{\partial T}{\partial P}\right)_S = \left(\frac{\partial V}{\partial S}\right)_P (SV)T=(PT)V\left(\frac{\partial S}{\partial V}\right)_T = \left(\frac{\partial P}{\partial T}\right)_V (SP)T=(VT)P\left(\frac{\partial S}{\partial P}\right)_T = -\left(\frac{\partial V}{\partial T}\right)_P

4.2 Applications

Using the Maxwell relation (SV)T=(PT)V\left(\frac{\partial S}{\partial V}\right)_T = \left(\frac{\partial P}{\partial T}\right)_V:

For an ideal gas: (PT)V=nRV\left(\frac{\partial P}{\partial T}\right)_V = \frac{nR}{V}, so:

ΔS=V1V2nRVdV=nRlnV2V1\Delta S = \int_{V_1}^{V_2} \frac{nR}{V}\,dV = nR\ln\frac{V_2}{V_1}

5. Gibbs-Helmholtz Equation

5.1 Temperature Dependence of GG

Theorem 5 (Gibbs-Helmholtz Equation):

[(G/T)T]P=HT2\left[\frac{\partial(G/T)}{\partial T}\right]_P = -\frac{H}{T^2}

Equivalently:

ΔG2T2ΔG1T1=ΔH(1T21T1)\frac{\Delta G_2}{T_2} - \frac{\Delta G_1}{T_1} = -\Delta H\left(\frac{1}{T_2} - \frac{1}{T_1}\right)

(approximate form when ΔH\Delta H is constant over the temperature range).

6. The Clausius-Clapeyron Equation

6.1 Derivation

At phase equilibrium between two phases α\alpha and β\beta:

μα(T,P)=μβ(T,P)\mu_\alpha(T, P) = \mu_\beta(T, P)

Differentiating along the coexistence curve:

dμα=dμβ    SαdT+VαdP=SβdT+VβdPd\mu_\alpha = d\mu_\beta \implies -S_\alpha\,dT + V_\alpha\,dP = -S_\beta\,dT + V_\beta\,dP

dPdT=ΔtrsSΔtrsV=ΔtrsHTΔtrsV\frac{dP}{dT} = \frac{\Delta_{\text{trs}}S}{\Delta_{\text{trs}}V} = \frac{\Delta_{\text{trs}}H}{T\,\Delta_{\text{trs}}V}

6.2 The Integrated Form

For liquid-vapor equilibrium, assuming ΔvapH\Delta_{\text{vap}}H is constant and VgVlV_g \gg V_l:

lnP2P1=ΔvapHR(1T21T1)\ln\frac{P_2}{P_1} = -\frac{\Delta_{\text{vap}}H}{R}\left(\frac{1}{T_2} - \frac{1}{T_1}\right)

Example 2: The normal boiling point of benzene is 353 K with ΔvapH=30.8\Delta_{\text{vap}}H = 30.8 kJ/mol. Find the vapor pressure at 298 K.

lnP1.013×105=308008.314(12981353)=1.93\ln\frac{P}{1.013 \times 10^5} = -\frac{30800}{8.314}\left(\frac{1}{298} - \frac{1}{353}\right) = -1.93

P=1.013×105×e1.93=1.47×104 Pa14.7 kPaP = 1.013 \times 10^5 \times e^{-1.93} = 1.47 \times 10^4 \text{ Pa} \approx 14.7 \text{ kPa}

\blacksquare

7. Phase Diagrams and Phase Equilibria

7.1 Phase Rule

Theorem 6 (Gibbs Phase Rule): For a system with CC components and PP phases at equilibrium:

F=CP+2F = C - P + 2

where FF is the number of degrees of freedom (intensive variables that can be independently varied).

For a single-component system (C=1C = 1): F=3PF = 3 - P. At a triple point (P=3P = 3), F=0F = 0.

7.2 Phase Diagrams of One-Component Systems

  • Triple point: All three phases coexist; F=0F = 0.
  • Critical point: Termination of the liquid-vapor coexistence curve; above this point the fluid is supercritical.
  • Slope of solid-liquid boundary: Positive for most substances (liquid is denser); negative for water (ice is less dense).

7.3 Two-Component Systems

For binary mixtures, common diagrams include:

  • Temperature-composition diagrams for liquid-vapor equilibrium (distillation).
  • Eutectic diagrams for solid-liquid equilibrium.
  • Lever rule: Determines the mass fractions of phases in a two-phase region.

Definition 5 (Lever Rule): For a two-phase region with phases α\alpha and β\beta at overall composition xx:

nαnβ=xβxxxα\frac{n_\alpha}{n_\beta} = \frac{x_\beta - x}{x - x_\alpha}

8. Chemical Equilibrium

8.1 Equilibrium Constant

At equilibrium, ΔrG=0\Delta_r G = 0, giving:

ΔrG=RTlnK\Delta_r G^\circ = -RT\ln K

For the reaction aA+bBcC+dDaA + bB \rightleftharpoons cC + dD:

K=aCcaDdaAaaBbK = \frac{a_C^c\,a_D^d}{a_A^a\,a_B^b}

where aia_i are activities. For ideal gases: ai=Pi/Pa_i = P_i/P^\circ, so:

Kp=(PC/P)c(PD/P)d(PA/P)a(PB/P)bK_p = \frac{(P_C/P^\circ)^c\,(P_D/P^\circ)^d}{(P_A/P^\circ)^a\,(P_B/P^\circ)^b}

8.2 van’t Hoff Equation

Theorem 7 (van’t Hoff Equation): The temperature dependence of the equilibrium constant:

dlnKdT=ΔrHRT2\frac{d\ln K}{dT} = \frac{\Delta_r H^\circ}{RT^2}

Integrated form (assuming ΔrH\Delta_r H^\circ is constant):

lnK2K1=ΔrHR(1T21T1)\ln\frac{K_2}{K_1} = -\frac{\Delta_r H^\circ}{R}\left(\frac{1}{T_2} - \frac{1}{T_1}\right)

8.3 Le Chatelier’s Principle

Definition 6 (Le Chatelier’s Principle): If a system at equilibrium is subjected to a disturbance, the system shifts to partially counteract the change.

  • Increasing TT favors the endothermic direction.
  • Increasing PP favors the direction with fewer moles of gas.
  • Adding a reactant shifts equilibrium toward products.

9. Thermochemistry

9.1 Hess’s Law

Theorem 8 (Hess’s Law): The enthalpy change for a reaction is independent of the pathway; it equals the sum of enthalpy changes for any series of steps into which the reaction can be divided.

ΔrH=ΔfH(products)ΔfH(reactants)\Delta_r H = \sum \Delta_f H^\circ(\text{products}) - \sum \Delta_f H^\circ(\text{reactants})

9.2 Standard Enthalpies

  • Standard enthalpy of formation: ΔfH\Delta_f H^\circ — enthalpy change when 1 mol of compound forms from its elements in their standard states.
  • Standard enthalpy of combustion: ΔcH\Delta_c H^\circ — enthalpy change for complete combustion of 1 mol of substance.
  • Bond enthalpies: Average energy required to break a bond in the gas phase.

9.3 Kirchhoff’s Law

Theorem 9 (Kirchhoff’s Law): Temperature dependence of reaction enthalpy:

dΔrHdT=ΔrCp\frac{d\Delta_r H^\circ}{dT} = \Delta_r C_p^\circ

10. Partial Molar Quantities and Mixing

10.1 Partial Molar Quantities

Definition 7 (Partial Molar Volume): The partial molar volume of component ii:

Vi=(Vni)T,P,njiV_i = \left(\frac{\partial V}{\partial n_i}\right)_{T,P,n_{j\neq i}}

The total volume of a mixture:

V=iniViV = \sum_i n_i V_i

10.2 Gibbs-Duhem Equation

Theorem 10 (Gibbs-Duhem Equation): At constant TT and PP:

inidμi=0\sum_i n_i\,d\mu_i = 0

For a binary mixture: nAdμA+nBdμB=0n_A\,d\mu_A + n_B\,d\mu_B = 0.

10.3 Chemical Potential of Real Solutions

For a real solution, the chemical potential is:

μi=μi+RTlnai=μi+RTln(γixi)\mu_i = \mu_i^\circ + RT\ln a_i = \mu_i^\circ + RT\ln(\gamma_i\,x_i)

where γi\gamma_i is the activity coefficient and xix_i is the mole fraction. For ideal solutions (γi=1\gamma_i = 1):

μi=μi+RTlnxi\mu_i = \mu_i^\circ + RT\ln x_i

11. Carnot Cycle for Chemical Systems

11.1 Efficiency

Theorem 11 (Carnot Efficiency): A heat engine operating between hot reservoir ThT_h and cold reservoir TcT_c:

η=1TcTh\eta = 1 - \frac{T_c}{T_h}

This is the maximum possible efficiency for any engine operating between these temperatures.

11.2 Refrigerators and Heat Pumps

  • Coefficient of Performance (refrigerator): COPref=TcThTc\text{COP}_{\text{ref}} = \frac{T_c}{T_h - T_c}
  • Coefficient of Performance (heat pump): COPhp=ThThTc\text{COP}_{\text{hp}} = \frac{T_h}{T_h - T_c}

12. Thermodynamic Properties of Ideal Gases

12.1 Joule-Thomson Effect

For a real gas undergoing throttling (isenthalpic expansion):

μJT=(TP)H=1Cp[2aRTb]\mu_{JT} = \left(\frac{\partial T}{\partial P}\right)_H = \frac{1}{C_p}\left[\frac{2a}{RT} - b\right]

For an ideal gas: μJT=0\mu_{JT} = 0 (no temperature change on throttling).

12.2 Adiabatic Processes

For a reversible adiabatic process with an ideal gas (γ=Cp/CV\gamma = C_p/C_V):

TVγ1=const,PVγ=constTV^{\gamma-1} = \text{const}, \quad PV^\gamma = \text{const}

Work done:

w=nR(T2T1)γ1w = \frac{nR(T_2 - T_1)}{\gamma - 1}

13. Fugacity and Activity

13.1 Fugacity

Definition 8 (Fugacity): For a real gas:

μ=μ+RTln(fP)\mu = \mu^\circ + RT\ln\left(\frac{f}{P^\circ}\right)

where f=ϕPf = \phi P and ϕ\phi is the fugacity coefficient. As P0P \to 0, fPf \to P and ϕ1\phi \to 1.

13.2 Activity

For condensed phases:

ai=fifiγixia_i = \frac{f_i}{f_i^\circ} \approx \gamma_i\,x_i

The equilibrium constant in terms of activities:

K=iaiνiK = \prod_i a_i^{\nu_i}

Common Pitfalls

  1. Confusing heat (qq) and temperature (TT). Heat is energy in transit due to a temperature difference; temperature is a state property. Fix: qq is path-dependent; TT is a state function. Use dU=δq+δwdU = \delta q + \delta w, not dU=TdS+dU = T\,dS + \ldots for irreversible processes.
  2. Using ΔG<0\Delta G < 0 as the sole spontaneity criterion. This only applies at constant TT and PP. Fix: Use dA<0dA < 0 at constant TT, VV, or dS>0dS > 0 for isolated systems.
  3. Ignoring the standard state. ΔG\Delta G^\circ and KK are related, but ΔG=ΔG+RTlnQ\Delta G = \Delta G^\circ + RT\ln Q, where QQ is the reaction quotient. Fix: Only at equilibrium does ΔG=0\Delta G = 0 and Q=KQ = K.
  4. Assuming ΔH\Delta H and ΔS\Delta S are temperature-independent. This is an approximation valid only over small temperature ranges. Fix: Use Kirchhoff’s law or integrate CpC_p data when precision is needed.
  5. Confusing intensive and extensive properties. GG is extensive; μ=G/n\mu = G/n is intensive. Fix: Always use molar quantities when comparing substances with different amounts.
  6. Wrong sign in the Clausius-Clapeyron equation. The negative sign appears because ln(P)\ln(P) decreases as 1/T1/T increases for exothermic vaporization. Fix: Write it as ln(P2/P1)=(ΔH/R)(1/T21/T1)\ln(P_2/P_1) = -(\Delta H/R)(1/T_2 - 1/T_1) and check units.
  7. Applying the ideal gas law to phase equilibrium without correction. The integrated Clausius-Clapeyron equation assumes VgVlV_g \gg V_l and ideal gas behavior. Fix: Use fugacity corrections for high-pressure systems.

Summary

  • First Law: dU=δq+δwdU = \delta q + \delta w; energy conservation.
  • Second Law: dSδq/TdS \geq \delta q/T; entropy always increases in isolated systems.
  • Third Law: S0S \to 0 as T0T \to 0 for a perfect crystal.
  • Gibbs free energy: ΔG=ΔHTΔS\Delta G = \Delta H - T\Delta S; spontaneity criterion at constant TT, PP.
  • Chemical potential: μi=(G/ni)T,P\mu_i = (\partial G/\partial n_i)_{T,P}; drives mass transfer and chemical equilibrium.
  • Maxwell relations: Connect measurable quantities derived from exact differentials of state functions.
  • Phase rule: F=CP+2F = C - P + 2; determines degrees of freedom at equilibrium.
  • Clausius-Clapeyron: ln(P2/P1)=(ΔH/R)(1/T21/T1)\ln(P_2/P_1) = -(\Delta H/R)(1/T_2 - 1/T_1); describes vapor pressure vs temperature.
  • Equilibrium: ΔrG=RTlnK\Delta_r G^\circ = -RT\ln K; van’t Hoff equation for temperature dependence.

Worked Examples

Example 1: Clausius-Clapeyron Calculation

Problem: The boiling point of water is 100 degrees C at 1 atm. The enthalpy of vaporization is 40.7 kJ/mol. Calculate the boiling point at 0.8 atm. Solution: ln(P2/P1) = -(Delta H_vap/R)(1/T2 - 1/T1). ln(0.8/1.0) = -(40700/8.314)(1/T2 - 1/373). -0.2231 = -4893(1/T2 - 0.00268). 1/T2 = 0.00268 + 0.2231/4893 = 0.00268 + 4.56e-5 = 0.002726. T2 = 366.8 K = 93.7 degrees C.

Example 2: Calculating Gibbs Free Energy of Reaction

Problem: For the reaction N2(g) + 3H2(g) -> 2NH3(g), Delta H = -92.4 kJ/mol, Delta S = -198.8 J K^-1 mol^-1. At 298 K, determine if the reaction is spontaneous. Solution: Delta G = Delta H - T Delta S = -92,400 - 298(-198.8) = -92,400 + 59,200 = -33,200 J/mol = -33.2 kJ/mol. Delta G < 0, so the reaction is spontaneous at 298 K. At what T does it become non-spontaneous? Delta G = 0 when T = Delta H/Delta S = 92,400/198.8 = 464.8 K.

Cross-References

TopicSiteLink
Chemical KineticsWyattsNotesView
Quantum ChemistryWyattsNotesView
Statistical MechanicsWyattsNotesView
Thermodynamics — MIT 5.60MIT OCWView