Skip to content

Thermodynamics and Statistical Mechanics

1. The Laws of Thermodynamics

1.1 Zeroth Law

Zeroth Law: If system AA is in thermal equilibrium with system BBAnd BB is in thermal Equilibrium with system CCThen AA is in thermal equilibrium with CC.

This law establishes the existence of temperature as an equivalence relation. Two systems are in Thermal equilibrium if and only if they are at the same temperature.

1.2 First Law

First Law (Conservation of Energy): The change in internal energy of a system equals the heat Added to the system minus the work done by the system:

dU=δQδWdU = \delta Q - \delta W

Where δQ\delta Q and δW\delta W are inexact differentials (path-dependent), while dUdU is an Exact differential (state function).

For a quasi-static process with pressure-volume work:

δW=PdV\delta W = P\,dV

So the first law becomes:

dU=δQPdVdU = \delta Q - P\,dV

Definition (Heat capacity). The heat capacity at constant volume and constant pressure are:

CV=(UT)V,CP=(HT)PC_V = \left(\frac{\partial U}{\partial T}\right)_V, \quad C_P = \left(\frac{\partial H}{\partial T}\right)_P

Where H=U+PVH = U + PV is the enthalpy.

1.3 Second Law

Second Law (Clausius Statement): Heat cannot spontaneously flow from a colder body to a hotter Body without external work.

Second Law (Kelvin-Planck Statement): No cyclic process can convert heat entirely into work.

Theorem 1.1 (Carnot”s Theorem). No engine operating between two heat reservoirs is more Efficient than a Carnot engine. All reversible engines operating between the same two reservoirs Have the same efficiency.

Proof. Suppose engine AA (claimed more efficient than Carnot) operates between reservoirs at ThT_h and TcT_c. Let AA extract heat QhQ_h from the hot reservoir, do work WWAnd reject heat Qc=QhWQ_c = Q_h - W to the cold reservoir. Run a Carnot engine CC in reverse as a refrigerator using Work WW from AA: it extracts QcQ_c' from the cold reservoir and delivers Qh=W+QcQ_h' = W + Q_c' to the Hot reservoir. If ηA>ηC\eta_A \gt \eta_CThen Qc<QcQ_c \lt Q_c'So the combined system transfers net Heat from cold to hot with no external work, violating the Clausius statement. \blacksquare

1.4 Entropy and the Clausius Inequality

Definition (Entropy). For a reversible process, the entropy change is:

dS = \frac{\delta Q_{\mathrm{rev}}{T}}

Clausius Inequality: For any cyclic process:

δQT0\oint \frac{\delta Q}{T} \leq 0

With equality if and only if the process is reversible.

Proof of entropy increase for irreversible processes. Consider a system undergoing an Irreversible process from state 11 to state 22Then returning via a reversible process. By the Clausius inequality:

\int_1^2 \frac{\delta Q_{\mathrm{irrev}}{T} + \int_2^1 \frac{\delta Q_{\mathrm{rev}}{T} \leq 0}}

\int_1^2 \frac{\delta Q_{\mathrm{irrev}}{T} - \int_1^2 \frac{\delta Q_{\mathrm{rev}}{T} \leq 0}}

Since dS=δQrev/TdS = \delta Q_{\mathrm{rev}/T}:

ΔS12δQT\Delta S \geq \int_1^2 \frac{\delta Q}{T}

With equality for reversible processes. \blacksquare

1.5 Third Law

Third Law (Nernst Heat Theorem): As T0T \to 0The entropy of a perfect crystal approaches zero:

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

This sets an absolute reference for entropy and implies that it is impossible to reach absolute zero In a finite number of steps.

1.6 Thermodynamic Response Functions

Several material-dependent quantities characterise how a system responds to changes in its state Variables.

Definition (Isothermal compressibility).

κT=1V(VP)T\kappa_T = -\frac{1}{V}\left(\frac{\partial V}{\partial P}\right)_T

Definition (Adiabatic compressibility).

κS=1V(VP)S\kappa_S = -\frac{1}{V}\left(\frac{\partial V}{\partial P}\right)_S

Definition (Coefficient of thermal expansion).

α=1V(VT)P\alpha = \frac{1}{V}\left(\frac{\partial V}{\partial T}\right)_P

Theorem 1.2 (Relation between heat capacities).

CPCV=TVα2κTC_P - C_V = \frac{TV\alpha^2}{\kappa_T}

Proof. From the identity dS(T,V)=(S/T)VdT+(S/V)TdVdS(T, V) = (\partial S/\partial T)_V\,dT + (\partial S/\partial V)_T\,dV And writing dVdV in terms of dTdT and dPdP along a constant-PP path:

(ST)P=(ST)V+(SV)T(VT)P\left(\frac{\partial S}{\partial T}\right)_P = \left(\frac{\partial S}{\partial T}\right)_V + \left(\frac{\partial S}{\partial V}\right)_T \left(\frac{\partial V}{\partial T}\right)_P

Multiply by TT and use CV=T(S/T)VC_V = T(\partial S/\partial T)_V, CP=T(S/T)PC_P = T(\partial S/\partial T)_PAnd the Maxwell relation (S/V)T=(P/T)V(\partial S/\partial V)_T = (\partial P/\partial T)_V:

CPCV=T(PT)V(VT)PC_P - C_V = T\left(\frac{\partial P}{\partial T}\right)_V \left(\frac{\partial V}{\partial T}\right)_P

Now use the cyclic relation (P/T)V=(V/T)P/(V/P)T(\partial P/\partial T)_V = -(\partial V/\partial T)_P / (\partial V/\partial P)_T To obtain:

CPCV=T(VT)P2(VP)T=TVα2κTC_P - C_V = -T\frac{\left(\frac{\partial V}{\partial T}\right)_P^2}{\left(\frac{\partial V}{\partial P}\right)_T} = \frac{TV\alpha^2}{\kappa_T}

\blacksquare

Since κT>0\kappa_T \gt 0 for stable systems and α20\alpha^2 \geq 0We always have CPCVC_P \geq C_V.

Theorem 1.3 (Adiabatic index). The ratio γ=CP/CV\gamma = C_P/C_V satisfies:

γ=κTκS\gamma = \frac{\kappa_T}{\kappa_S}

Proof. Along an adiabat, dS=0dS = 0. Using the chain rule:

dS=(ST)PdT+(SP)TdP=0dS = \left(\frac{\partial S}{\partial T}\right)_P\,dT + \left(\frac{\partial S}{\partial P}\right)_T\,dP = 0

(PT)S=(ST)P(SP)T=CP/T(V/T)P=CPT(V/T)P\left(\frac{\partial P}{\partial T}\right)_S = -\frac{\left(\frac{\partial S}{\partial T}\right)_P}{\left(\frac{\partial S}{\partial P}\right)_T} = -\frac{C_P/T}{-(\partial V/\partial T)_P} = \frac{C_P}{T(\partial V/\partial T)_P}

Similarly, along an isotherm:

(PT)V=(V/T)P(V/P)T=ακT\left(\frac{\partial P}{\partial T}\right)_V = -\frac{(\partial V/\partial T)_P}{(\partial V/\partial P)_T} = \frac{\alpha}{\kappa_T}

Using the identity CP/CV=(P/T)S/(P/T)VC_P/C_V = (\partial P/\partial T)_S / (\partial P/\partial T)_V and simplifying gives γ=κT/κS\gamma = \kappa_T/\kappa_S. \blacksquare

1.7 Second Law from Statistical Mechanics

Theorem 1.4 (Statistical basis of the second law). For an isolated system, the entropy S=kBlnΩS = k_B \ln \Omega can only increase or remain constant.

Proof. Consider an isolated system with fixed energy EEVolume VVAnd particle number NN. The system evolves through accessible microstates. If the system starts in a non-equilibrium Macrostate AA with ΩA\Omega_A microstates and evolves to macrostate BB with ΩB\Omega_B microstates, The evolution is driven by the ergodic exploration of phase space.

Since the system explores all accessible microstates with equal probability over time, it will Overwhelmingly be found in the macrostate with the largest number of microstates. If ΩBΩA\Omega_B \geq \Omega_A, then SB=kBlnΩBkBlnΩA=SAS_B = k_B \ln \Omega_B \geq k_B \ln \Omega_A = S_A.

More rigorously: suppose the system starts in a subset of w0w_0 microstates out of a total Ω\Omega. The probability that the system remains in this subset after randomising over all Microstates is w0/Ω1w_0/\Omega \ll 1. The system therefore evolves toward the macrostate that Maximises Ω\OmegaAnd hence maximises SS. \blacksquare

This shows that the second law is not absolute but statistical: fluctuations can temporarily Decrease entropy, but the probability of a macroscopic fluctuation is exponentially small in NN.

Solution: Worked Example — Response Functions for an Ideal Gas

For an ideal gas PV=NkBTPV = Nk_B T:

  • α=1V(VT)P=NkBPV=1T\alpha = \frac{1}{V}\left(\frac{\partial V}{\partial T}\right)_P = \frac{Nk_B}{PV} = \frac{1}{T}
  • κT=1V(VP)T=VPV=1P\kappa_T = -\frac{1}{V}\left(\frac{\partial V}{\partial P}\right)_T = \frac{V}{PV} = \frac{1}{P}
  • CPCV=TV(1/T)21/P=VPT=NkBC_P - C_V = \frac{TV \cdot (1/T)^2}{1/P} = \frac{V P}{T} = Nk_B

This confirms CPCV=NkBC_P - C_V = Nk_B for an ideal gas, a result that also follows directly from Equipartition.

2. Thermodynamic Potentials

2.1 The Four Potentials

The internal energy UU is the fundamental thermodynamic potential. By performing Legendre Transformations on U(S,V,N)U(S, V, N)We obtain the other potentials:

PotentialSymbolNatural VariablesDifferential
Internal energyUUS,V,NS, V, NdU=TdSPdV+μdNdU = T\,dS - P\,dV + \mu\,dN
EnthalpyHHS,P,NS, P, NdH=TdS+VdP+μdNdH = T\,dS + V\,dP + \mu\,dN
Helmholtz free energyFFT,V,NT, V, NdF=SdTPdV+μdNdF = -S\,dT - P\,dV + \mu\,dN
Gibbs free energyGGT,P,NT, P, NdG=SdT+VdP+μdNdG = -S\,dT + V\,dP + \mu\,dN

The Legendre transforms are:

H=U+PV,F=UTS,G=HTS=UTS+PVH = U + PV, \quad F = U - TS, \quad G = H - TS = U - TS + PV

2.2 Derivation of the Differential Relations

Starting from the first law for a reversible process:

dU=TdSPdV+μdNdU = T\,dS - P\,dV + \mu\,dN

This tells us T=(U/S)V,NT = (\partial U/\partial S)_{V,N}, P=(U/V)S,NP = -(\partial U/\partial V)_{S,N}And μ=(U/N)S,V\mu = (\partial U/\partial N)_{S,V}.

For enthalpy, H=U+PVH = U + PVSo:

dH=dU+PdV+VdP=TdS+VdP+μdNdH = dU + P\,dV + V\,dP = T\,dS + V\,dP + \mu\,dN

For Helmholtz free energy, F=UTSF = U - TSSo:

dF=dUTdSSdT=SdTPdV+μdNdF = dU - T\,dS - S\,dT = -S\,dT - P\,dV + \mu\,dN

For Gibbs free energy, G=UTS+PVG = U - TS + PVSo:

dG=SdT+VdP+μdNdG = -S\,dT + V\,dP + \mu\,dN

2.3 Physical Meaning of the Potentials

  • UU: Total energy at constant entropy and volume.
  • HH: Total energy plus the work needed to make room for the system (PVPV). Useful for constant-pressure processes (e.g., chemical reactions at atmospheric pressure).
  • FF: The maximum work extractable from a system at constant temperature. Minimised at equilibrium for systems in contact with a heat bath at fixed T,VT, V.
  • GG: The maximum non-expansion work extractable. Minimised at equilibrium for systems at fixed T,PT, P.

2.4 Maxwell Relations from Thermodynamic Potentials

Since each thermodynamic potential is a state function, its differential is exact. By Euler’s Reciprocity, mixed second partial derivatives are equal. This yields the four Maxwell relations Directly:

From potentialExact differentialMaxwell relation
U(S,V)U(S,V)dU=TdSPdVdU = T\,dS - P\,dV(T/V)S=(P/S)V(\partial T/\partial V)_S = -(\partial P/\partial S)_V
H(S,P)H(S,P)dH=TdS+VdPdH = T\,dS + V\,dP(T/P)S=(V/S)P(\partial T/\partial P)_S = (\partial V/\partial S)_P
F(T,V)F(T,V)dF=SdTPdVdF = -S\,dT - P\,dV(S/V)T=(P/T)V(\partial S/\partial V)_T = (\partial P/\partial T)_V
G(T,P)G(T,P)dG=SdT+VdPdG = -S\,dT + V\,dP(S/P)T=(V/T)P(\partial S/\partial P)_T = -(\partial V/\partial T)_P

These relations allow us to express unmeasurable quantities (entropy changes) in terms of Measurable ones (equations of state).

Solution: Worked Example — Free Energy Minimisation

A gas cylinder at T=300T = 300 K is divided by a frictionless piston. Side AA has volume VA=1V_A = 1 L With NA=0.04N_A = 0.04 mol of ideal gas. Side BB has volume VB=3V_B = 3 L with NB=0.02N_B = 0.02 mol of ideal Gas. The piston is released and the system equilibrates at constant TT. Find the equilibrium Volumes.

The total Helmholtz free energy is:

F=FA+FB=NAkBTlneVANAλ3NBkBTlneVBNBλ3F = F_A + F_B = -N_A k_B T \ln\frac{e V_A}{N_A \lambda^3} - N_B k_B T \ln\frac{e V_B}{N_B \lambda^3}

Where λ=h/2πmkBT\lambda = h/\sqrt{2\pi m k_B T} is the thermal de Broglie wavelength. At constant TT λ\lambda is constant, so minimising FF with respect to VAV_A (with VB=VtotVAV_B = V_{\mathrm{tot} - V_A}):

FVA=NAkBTVA+NBkBTVB=0\frac{\partial F}{\partial V_A} = -\frac{N_A k_B T}{V_A} + \frac{N_B k_B T}{V_B} = 0

NAVA=NBVB\frac{N_A}{V_A} = \frac{N_B}{V_B}

So VA/VB=NA/NB=2V_A/V_B = N_A/N_B = 2. With VA+VB=4V_A + V_B = 4 L: VA=8/3V_A = 8/3 L, VB=4/3V_B = 4/3 L.

This is just mechanical equilibrium: PA=PBP_A = P_BI.e., NAkBT/VA=NBkBT/VBN_A k_B T/V_A = N_B k_B T/V_B.

2.5 Equilibrium Conditions

Theorem 2.1. At equilibrium:

  • For an isolated system: SS is maximised (at fixed U,V,NU, V, N).
  • For a system in contact with a heat bath at temperature TT and pressure PP: GG is minimised.
  • For a system at constant T,VT, V: FF is minimised.

Proof (for GG). Consider a system in contact with a reservoir at T0,P0T_0, P_0. The total entropy Of system plus reservoir is Stot=S+SRS_{\mathrm{tot} = S + S_R}. At equilibrium, StotS_{\mathrm{tot}} is Maximised, so δStot0\delta S_{\mathrm{tot} \leq 0} for any variation. Since dSR=δQR/T0dS_R = \delta Q_R / T_0 And by energy conservation δQR=δQ=(dU+P0dV)\delta Q_R = -\delta Q = -(dU + P_0\,dV):

δStot=δS1T0(dU+P0dV)=1T0δG0\delta S_{\mathrm{tot} = \delta S - \frac{1}{T_0}(dU + P_0\,dV) = -\frac{1}{T_0}\delta G \leq 0}

Where δG=δU+P0δVT0δS\delta G = \delta U + P_0\,\delta V - T_0\,\delta S. Hence δG0\delta G \geq 0So GG is Minimised. \blacksquare

3. Maxwell Relations

3.1 Derivation from Exact Differentials

Since U,H,F,GU, H, F, G are state functions, their differentials are exact. By the symmetry of second Derivatives (Euler’s reciprocity), if dz=Mdx+Ndydz = M\,dx + N\,dyThen:

(My)x=(Nx)y\left(\frac{\partial M}{\partial y}\right)_x = \left(\frac{\partial N}{\partial x}\right)_y

Applying this to each thermodynamic potential:

From dU=TdSPdV+μdNdU = T\,dS - P\,dV + \mu\,dN:

(TV)S,N=(PS)V,N\left(\frac{\partial T}{\partial V}\right)_{S,N} = -\left(\frac{\partial P}{\partial S}\right)_{V,N}

(TN)S,V=(μS)V,N\left(\frac{\partial T}{\partial N}\right)_{S,V} = \left(\frac{\partial \mu}{\partial S}\right)_{V,N}

(PN)S,V=(μV)S,N\left(\frac{\partial P}{\partial N}\right)_{S,V} = -\left(\frac{\partial \mu}{\partial V}\right)_{S,N}

From dH=TdS+VdP+μdNdH = T\,dS + V\,dP + \mu\,dN:

(TP)S,N=(VS)P,N\left(\frac{\partial T}{\partial P}\right)_{S,N} = \left(\frac{\partial V}{\partial S}\right)_{P,N}

From dF=SdTPdV+μdNdF = -S\,dT - P\,dV + \mu\,dN:

(SV)T,N=(PT)V,N\left(\frac{\partial S}{\partial V}\right)_{T,N} = \left(\frac{\partial P}{\partial T}\right)_{V,N}

From dG=SdT+VdP+μdNdG = -S\,dT + V\,dP + \mu\,dN:

(SP)T,N=(VT)P,N\left(\frac{\partial S}{\partial P}\right)_{T,N} = -\left(\frac{\partial V}{\partial T}\right)_{P,N}

3.2 Applications

Derivation of the heat capacity relation. From dU=TdSPdVdU = T\,dS - P\,dV:

CV=T(ST)V,CP=T(ST)PC_V = T\left(\frac{\partial S}{\partial T}\right)_V, \quad C_P = T\left(\frac{\partial S}{\partial T}\right)_P

Using the chain rule and Maxwell relations:

CPCV=T(PT)V(VT)PC_P - C_V = T\left(\frac{\partial P}{\partial T}\right)_V \left(\frac{\partial V}{\partial T}\right)_P

Proof. Expand S(T,V)S(T, V) as S(T,P(T,V))S(T, P(T, V)):

(ST)V=(ST)P+(SP)T(PT)V\left(\frac{\partial S}{\partial T}\right)_V = \left(\frac{\partial S}{\partial T}\right)_P + \left(\frac{\partial S}{\partial P}\right)_T \left(\frac{\partial P}{\partial T}\right)_V

Multiply by TT:

CV=CP+T(SP)T(PT)VC_V = C_P + T\left(\frac{\partial S}{\partial P}\right)_T \left(\frac{\partial P}{\partial T}\right)_V

Using the Maxwell relation (S/P)T=(V/T)P(\partial S/\partial P)_T = -(\partial V/\partial T)_P:

CV=CPT(VT)P(PT)VC_V = C_P - T\left(\frac{\partial V}{\partial T}\right)_P \left(\frac{\partial P}{\partial T}\right)_V

\blacksquare

3.3 Applications of Maxwell Relations

Application: entropy change of an ideal gas. Using (S/V)T=(P/T)V(\partial S/\partial V)_T = (\partial P/\partial T)_V And the ideal gas law P=NkBT/VP = Nk_B T/V:

(SV)T=NkBV\left(\frac{\partial S}{\partial V}\right)_T = \frac{Nk_B}{V}

Integrating: ΔS=NkBln(Vf/Vi)\Delta S = Nk_B \ln(V_f/V_i) for an isothermal expansion.

Similarly, using (S/P)T=(V/T)P(\partial S/\partial P)_T = -(\partial V/\partial T)_P:

(SP)T=NkBP\left(\frac{\partial S}{\partial P}\right)_T = -\frac{Nk_B}{P}

So ΔS=NkBln(Pf/Pi)=NkBln(Vf/Vi)\Delta S = -Nk_B \ln(P_f/P_i) = Nk_B \ln(V_f/V_i)Consistent.

Application: internal energy of an ideal gas. Using (U/V)T=T(P/T)VP(\partial U/\partial V)_T = T(\partial P/\partial T)_V - P (a Maxwell relation consequence from dU=TdSPdVdU = T\,dS - P\,dV):

(UV)T=TNkBVNkBTV=0\left(\frac{\partial U}{\partial V}\right)_T = T \cdot \frac{Nk_B}{V} - \frac{Nk_B T}{V} = 0

This confirms that the internal energy of an ideal gas depends only on TT (Joule’s law).

Solution: Worked Example — Maxwell Relation for a Van der Waals Gas

For a van der Waals gas (P+a/v2)(vb)=RT\left(P + a/v^2\right)(v - b) = RT where v=V/nv = V/n:

Using (U/V)T=T(P/T)VP(\partial U/\partial V)_T = T(\partial P/\partial T)_V - P:

From the EOS: P=RT/(vb)a/v2P = RT/(v - b) - a/v^2So (P/T)V=R/(vb)=(P+a/v2)/T(\partial P/\partial T)_V = R/(v - b) = (P + a/v^2)/T.

Therefore:

(UV)T=TP+a/v2TP=av2=an2V2\left(\frac{\partial U}{\partial V}\right)_T = T \cdot \frac{P + a/v^2}{T} - P = \frac{a}{v^2} = \frac{an^2}{V^2}

Integrating at constant TT:

ΔU=an2Vf+an2Vi\Delta U = -\frac{an^2}{V_f} + \frac{an^2}{V_i}

For a free expansion (W=0W = 0, δQ=0\delta Q = 0Hence ΔU=0\Delta U = 0 for ideal gas), the van der Waals Gas heats up because the internal energy depends on volume through the a/v2a/v^2 term representing Intermolecular attraction. The temperature change is:

ΔT=aCV(1Vf1Vi)\Delta T = -\frac{a}{C_V}\left(\frac{1}{V_f} - \frac{1}{V_i}\right)

Which is negative for Vf>ViV_f \gt V_i: the gas cools during free expansion.

4. Heat Engines and Refrigerators

4.1 The Carnot Cycle

The Carnot cycle consists of four reversible stages operating between temperatures ThT_h (hot) and TcT_c (cold):

  1. Isothermal expansion at ThT_h: absorb heat QhQ_h from hot reservoir.
  2. Adiabatic expansion: temperature drops from ThT_h to TcT_c.
  3. Isothermal compression at TcT_c: reject heat QcQ_c to cold reservoir.
  4. Adiabatic compression: temperature rises from TcT_c to ThT_h.

The efficiency is:

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

Derivation. For the isothermal steps, ΔShot=Qh/Th\Delta S_{\mathrm{hot} = Q_h/T_h} and ΔScold=Qc/Tc\Delta S_{\mathrm{cold} = -Q_c/T_c}. Since entropy is a state function and the cycle returns to The initial state, ΔStotal=0\Delta S_{\mathrm{total} = 0}So Qh/Th=Qc/TcQ_h/T_h = Q_c/T_c. \blacksquare

4.2 Heat Pumps and Refrigerators

A refrigerator is a Carnot engine run in reverse. The coefficient of performance (COP):

\mathrm{COP_}{\mathrm{ref} = \frac{Q_c}{W} = \frac{T_c}{T_h - T_c}}

A heat pump heats the hot reservoir:

\mathrm{COP_}{\mathrm{hp} = \frac{Q_h}{W} = \frac{T_h}{T_h - T_c}}

4.3 The Otto and Diesel Cycles

Otto cycle (idealised petrol engine): two isochoric and two adiabatic processes.

ηOtto=11rγ1\eta_{\mathrm{Otto} = 1 - \frac{1}{r^{\gamma - 1}}}

Where r=Vmax/Vminr = V_{\mathrm{max}/V_{\mathrm{min}}} is the compression ratio and γ=CP/CV\gamma = C_P/C_V.

Diesel cycle: one isobaric, two adiabatic, and one isochoric process:

ηDiesel=11rγ1αγ1γ(α1)\eta_{\mathrm{Diesel} = 1 - \frac{1}{r^{\gamma - 1}} \cdot \frac{\alpha^\gamma - 1}{\gamma(\alpha - 1)}}

Where α=Vmax/Vcutoff\alpha = V_{\mathrm{max}/V_{\mathrm{cutoff}}} is the cutoff ratio.

4.4 Worked Example: Carnot Cycle Calculation

Solution: Carnot Cycle with a Monatomic Ideal Gas

A Carnot engine uses n=2n = 2 mol of monatomic ideal gas (CV=32nRC_V = \frac{3}{2}nR, CP=52nRC_P = \frac{5}{2}nR γ=5/3\gamma = 5/3). The reservoirs are at Th=600T_h = 600 K and Tc=300T_c = 300 K. At state AA (start of Isothermal expansion): PA=10P_A = 10 atm, VA=10V_A = 10 L.

Step 1: Isothermal expansion at Th=600T_h = 600 K from AA to BB. Let VB=20V_B = 20 L.

Qh=nRThlnVBVA=2×8.314×600×ln26915 JQ_h = nRT_h \ln\frac{V_B}{V_A} = 2 \times 8.314 \times 600 \times \ln 2 \approx 6915\ \mathrm{J}

WAB=Qh=6915 JW_{AB} = Q_h = 6915\ \mathrm{J} (isothermal, so ΔU=0\Delta U = 0)

PB=PAVA/VB=5P_B = P_A V_A/V_B = 5 atm.

Step 2: Adiabatic expansion from BB to CC. TC=Tc=300T_C = T_c = 300 K. From TVγ1=constTV^{\gamma-1} = \mathrm{const}:

VC=VB(ThTc)1/(γ1)=20×23/256.6 LV_C = V_B \left(\frac{T_h}{T_c}\right)^{1/(\gamma-1)} = 20 \times 2^{3/2} \approx 56.6\ \mathrm{L}

QBC=0Q_{BC} = 0, WBC=ΔU=nCV(ThTc)=2×32×8.314×3007483 JW_{BC} = -\Delta U = nC_V(T_h - T_c) = 2 \times \frac{3}{2} \times 8.314 \times 300 \approx 7483\ \mathrm{J}.

Step 3: Isothermal compression at Tc=300T_c = 300 K from CC to DD. From TVγ1=constTV^{\gamma-1} = \mathrm{const} On the adiabat DADA: VD=VA(Th/Tc)1/(γ1)=10×23/228.3V_D = V_A(T_h/T_c)^{1/(\gamma-1)} = 10 \times 2^{3/2} \approx 28.3 L.

Qc=nRTclnVCVD=2×8.314×300×ln56.628.33458 JQ_c = nRT_c \ln\frac{V_C}{V_D} = 2 \times 8.314 \times 300 \times \ln\frac{56.6}{28.3} \approx 3458\ \mathrm{J}

WCD=Qc=3458W_{CD} = Q_c = 3458 J (heat rejected; W<0W \lt 0 for compression).

Step 4: Adiabatic compression from DD to AA. QDA=0Q_{DA} = 0, WDA=nCV(ThTc)=7483W_{DA} = -nC_V(T_h - T_c) = -7483 J.

Summary:

QuantityValue
QhQ_h (absorbed)6915 J
QcQ_c (rejected)3458 J
Wnet=QhQcW_{\mathrm{net} = Q_h - Q_c}3457 J
η=Wnet/Qh\eta = W_{\mathrm{net}/Q_h}0.500
ηCarnot=1Tc/Th\eta_{\mathrm{Carnot} = 1 - T_c/T_h}0.500

The efficiency matches the Carnot prediction exactly, as expected for a reversible cycle.

5. Entropy and Free Energy

5.1 Statistical Definition of Entropy

Definition (Boltzmann Entropy). For a macrostate with Ω\Omega accessible microstates:

S=kBlnΩS = k_B \ln \Omega

Where kB=1.381×1023k_B = 1.381 \times 10^{-23} J/K is Boltzmann’s constant.

Justification. Consider two independent systems AA and BB. The total number of microstates is ΩAB=ΩAΩB\Omega_{AB} = \Omega_A \cdot \Omega_B. We require SAB=SA+SBS_{AB} = S_A + S_B (additivity). The logarithm Is the unique function satisfying f(xy)=f(x)+f(y)f(xy) = f(x) + f(y). \blacksquare

5.2 Gibbs Entropy Formula

For a system with probability pip_i of being in microstate ii:

S=kBipilnpiS = -k_B \sum_i p_i \ln p_i

This reduces to the Boltzmann formula when all accessible microstates are equally probable: pi=1/Ωp_i = 1/\Omega.

Theorem 5.1 (Concavity of entropy). The Gibbs entropy is maximised when all accessible Microstates are equally probable.

Proof. Maximise S=kBipilnpiS = -k_B \sum_i p_i \ln p_i subject to ipi=1\sum_i p_i = 1 using a Lagrange Multiplier λ\lambda:

pj[ipilnpiλ(ipi1)]=lnpj1λ=0\frac{\partial}{\partial p_j}\left[-\sum_i p_i \ln p_i - \lambda\left(\sum_i p_i - 1\right)\right] = -\ln p_j - 1 - \lambda = 0

This gives pj=e1λ=constp_j = e^{-1-\lambda} = \mathrm{const} for all jj. The constraint ipi=1\sum_i p_i = 1 Then gives pi=1/Ωp_i = 1/\Omega. \blacksquare

Derivation from Boltzmann. For NN identical systems distributed among Ω\Omega equally probable Microstates, the most probable macrostate has ni=N/Ωn_i = N/\Omega systems in each microstate. The Number of ways to arrange this is:

W=N!ini!W = \frac{N!}{\prod_i n_i!}

Using Stirling’s approximation lnN!NlnNN\ln N! \approx N \ln N - N:

lnW=NlnNNi(nilnnini)=Nipilnpi\ln W = N \ln N - N - \sum_i (n_i \ln n_i - n_i) = -N \sum_i p_i \ln p_i

Where pi=ni/Np_i = n_i/N. Multiplying by kBk_B gives the Gibbs entropy. \blacksquare

5.3 Helmholtz Free Energy and the Partition Function

The Helmholtz free energy connects thermodynamics to statistical mechanics:

F=kBTlnZF = -k_B T \ln Z

Where Z=ieβEiZ = \sum_i e^{-\beta E_i} is the canonical partition function and β=1/(kBT)\beta = 1/(k_B T).

Derivation. From the Gibbs entropy with the Boltzmann distribution pi=eβEi/Zp_i = e^{-\beta E_i}/Z:

S=kBieβEiZ(βEilnZ)=kBβE+kBlnZS = -k_B \sum_i \frac{e^{-\beta E_i}}{Z} \left(-\beta E_i - \ln Z\right) = k_B \beta \langle E \rangle + k_B \ln Z

Since E=U\langle E \rangle = U and kBβ=1/Tk_B \beta = 1/T:

S=UT+kBlnZS = \frac{U}{T} + k_B \ln Z

F=UTS=UT(UT+kBlnZ)=kBTlnZF = U - TS = U - T\left(\frac{U}{T} + k_B \ln Z\right) = -k_B T \ln Z

\blacksquare

6. Phase Transitions

6.1 Classification of Phase Transitions

First-order transition: Discontinuity in first derivatives of GG (e.g., SS, VV). There is a Latent heat L=TΔSL = T \Delta S.

Second-order (continuous) transition: First derivatives are continuous, but second derivatives (e.g., CPC_P, κT\kappa_T, α\alpha) diverge or are discontinuous.

Ehrenfest classification: An nn-th order transition has discontinuities in the nn-th Derivatives of GGWith all lower derivatives continuous.

6.2 The Clausius-Clapeyron Equation

For a first-order phase transition between phases α\alpha and β\beta in equilibrium (Gα=GβG_\alpha = G_\beta):

dPdT=SβSαVβVα=LTΔV\frac{dP}{dT} = \frac{S_\beta - S_\alpha}{V_\beta - V_\alpha} = \frac{L}{T \Delta V}

Where LL is the latent heat and ΔV=VβVα\Delta V = V_\beta - V_\alpha.

Derivation. Along the coexistence curve, dGα=dGβdG_\alpha = dG_\beta. Since dG=SdT+VdPdG = -S\,dT + V\,dP:

SαdT+VαdP=SβdT+VβdP-S_\alpha\,dT + V_\alpha\,dP = -S_\beta\,dT + V_\beta\,dP

dPdT=SβSαVβVα=LTΔV\frac{dP}{dT} = \frac{S_\beta - S_\alpha}{V_\beta - V_\alpha} = \frac{L}{T \Delta V}

\blacksquare

Application: liquid-gas coexistence. Assuming the vapour is an ideal gas and VgasVliquidV_{\mathrm{gas} \gg V_{\mathrm{liquid}}}:

dPdTLTnRT/P=PLnRT2\frac{dP}{dT} \approx \frac{L}{T \cdot nRT/P} = \frac{PL}{nRT^2}

Integrating (assuming LL is constant) gives the Clausius equation:

lnP=LnRT+const\ln P = -\frac{L}{nRT} + \mathrm{const}

6.4 Worked Example: Clausius-Clapeyron Applications

Solution: Boiling Point at Different Pressures

The latent heat of vaporisation of water at 1 atm (Tb=373.15T_b = 373.15 K) is Lv=40700L_v = 40700 J/mol. Find the Boiling point at P=0.5P = 0.5 atm.

Integrating the Clausius-Clapeyron equation:

lnP2P1=LvR(1T21T1)\ln\frac{P_2}{P_1} = -\frac{L_v}{R}\left(\frac{1}{T_2} - \frac{1}{T_1}\right)

ln0.51=407008.314(1T21373.15)\ln\frac{0.5}{1} = -\frac{40700}{8.314}\left(\frac{1}{T_2} - \frac{1}{373.15}\right)

0.693=4894(1T20.00268)-0.693 = -4894\left(\frac{1}{T_2} - 0.00268\right)

1T2=0.00268+0.6934894=0.00282\frac{1}{T_2} = 0.00268 + \frac{0.693}{4894} = 0.00282

T2354.6 K81.5°CT_2 \approx 354.6\ \mathrm{K} \approx 81.5\degree\mathrm{C}

This explains why water boils at a lower temperature at high altitude.

Solution: Solid-Liquid Coexistence — Pressure Melting of Ice

For the ice-water transition: Lf=6008L_f = 6008 J/mol, Tm=273.15T_m = 273.15 K, ΔV=VwaterVice=18.0×10619.7×106=1.7×106\Delta V = V_{\mathrm{water} - V_{\mathrm{ice} = 18.0 \times 10^{-6} - 19.7 \times 10^{-6} = -1.7 \times 10^{-6}}} m3^3/mol.

dPdT=LfTmΔV=6008273.15×(1.7×106)1.29×107 Pa/K\frac{dP}{dT} = \frac{L_f}{T_m \Delta V} = \frac{6008}{273.15 \times (-1.7 \times 10^{-6})} \approx -1.29 \times 10^7\ \mathrm{Pa}/K

The negative slope means increasing pressure lowers the melting point:

dTdP=7.7×108 K/Pa=0.0077 K/atm\frac{dT}{dP} = -7.7 \times 10^{-8}\ \mathrm{K}/Pa = -0.0077\ \mathrm{K}/atm

At P=100P = 100 atm: ΔT0.77\Delta T \approx -0.77 K, so ice melts at approximately 272.4272.4 K. This is the Principle behind ice skating: the pressure under the blade slightly lowers the melting point, Creating a thin lubricating layer of water.

6.5 Worked Example: Phase Diagram Construction

Solution: Estimating the Triple Point

Given for a substance: normal boiling point Tb=353T_b = 353 K at P=1P = 1 atm, normal melting point Tm=280T_m = 280 K at P=1P = 1 atm, Lv=35000L_v = 35000 J/mol, Lf=10000L_f = 10000 J/mol, and ΔVSL=5×106\Delta V_{\mathrm{SL} = -5 \times 10^{-6}} m3^3/mol.

At the triple point, the solid-gas, solid-liquid, and liquid-gas coexistence curves meet. To Estimate, we find where the sublimation curve meets the vaporisation curve.

For the sublimation curve: Ls=Lf+Lv=45000L_s = L_f + L_v = 45000 J/mol.

\ln\frac{P_{\mathrm{sub}}{P_0} = -\frac{L_s}{R}\left(\frac{1}{T} - \frac{1}{T_0}\right)}

At T=Tm=280T = T_m = 280 K on the sublimation curve (assuming solid-gas equilibrium at the melting point At low PP):

Psub(280)=P0exp[450008.314(12801T0)]P_{\mathrm{sub}(280) = P_0 \exp\left[-\frac{45000}{8.314}\left(\frac{1}{280} - \frac{1}{T_0}\right)\right]}

For the vaporisation curve at T=280T = 280 K:

Pvap(280)=1 atm×exp[350008.314(12801353)]P_{\mathrm{vap}(280) = 1\ \mathrm{atm} \times \exp\left[-\frac{35000}{8.314}\left(\frac{1}{280} - \frac{1}{353}\right)\right]}

=exp[4210×(0.003570.00283)]=exp(3.12)0.044 atm= \exp\left[-4210 \times (0.00357 - 0.00283)\right] = \exp(-3.12) \approx 0.044\ \mathrm{atm}

The triple point is where the sublimation and vaporisation curves intersect. In this simplified Model (neglecting the curvature of the solid-liquid line), the triple point is near P0.04P \approx 0.04 atm, T275T \approx 275 K. More accurate treatment requires integrating both curves and finding Their intersection numerically.

7. The Boltzmann Distribution

7.1 Derivation from the Microcanonical Ensemble

Consider a system SS in thermal contact with a large heat reservoir RR at temperature TT. The Total energy Etot=ES+ERE_{\mathrm{tot} = E_S + E_R} is conserved.

The probability that SS is in state ii with energy EiE_i is proportional to the number of Microstates of the reservoir:

PiΩR(EtotEi)P_i \propto \Omega_R(E_{\mathrm{tot} - E_i)}

Since the reservoir is large, expand lnΩR\ln \Omega_R to first order:

lnΩR(EtotEi)lnΩR(Etot)Ei(lnΩRE)V\ln \Omega_R(E_{\mathrm{tot} - E_i) \approx \ln \Omega_R(E_{\mathrm{tot}) - E_i \left(\frac{\partial \ln \Omega_R}{\partial E}\right)_V}}

=lnΩR(Etot)EikBT= \ln \Omega_R(E_{\mathrm{tot}) - \frac{E_i}{k_B T}}

Where we used lnΩR/E=1/(kBT)\partial \ln \Omega_R / \partial E = 1/(k_B T) (the thermodynamic definition of Temperature). Therefore:

PieEi/(kBT)=eβEiP_i \propto e^{-E_i/(k_B T)} = e^{-\beta E_i}

Normalising:

Pi=eβEiZ,Z=ieβEiP_i = \frac{e^{-\beta E_i}}{Z}, \quad Z = \sum_i e^{-\beta E_i}

This is the Boltzmann distribution (canonical ensemble).

7.2 Connection to Thermodynamics

From the partition function, all thermodynamic quantities follow:

  • Internal energy: U=lnZβU = -\frac{\partial \ln Z}{\partial \beta}
  • Entropy: S=kB(lnZ+βU)S = k_B(\ln Z + \beta U)
  • Helmholtz free energy: F=kBTlnZF = -k_B T \ln Z
  • Pressure: P=1βlnZVP = \frac{1}{\beta}\frac{\partial \ln Z}{\partial V}
  • Heat capacity: CV=kBβ2(E2E2)C_V = k_B \beta^2 \left(\langle E^2 \rangle - \langle E \rangle^2\right)

7.3 Worked Example: Two-Level System

A system has two energy levels: E0=0E_0 = 0 and E1=εE_1 = \varepsilon.

Z=1+eβεZ = 1 + e^{-\beta\varepsilon}

U=lnZβ=εeβε1+eβε=εeβε+1U = -\frac{\partial \ln Z}{\partial \beta} = \frac{\varepsilon e^{-\beta\varepsilon}}{1 + e^{-\beta\varepsilon}} = \frac{\varepsilon}{e^{\beta\varepsilon} + 1}

C=UT=kBβ2ε2eβε(1+eβε)2C = \frac{\partial U}{\partial T} = k_B \beta^2 \varepsilon^2 \frac{e^{\beta\varepsilon}}{(1 + e^{\beta\varepsilon})^2}

At high TT (β0\beta \to 0): Uε/2U \to \varepsilon/2 and C0C \to 0 (equipartition). At low TT (β\beta \to \infty): U0U \to 0 and C0C \to 0 (Schottky anomaly).

8. Partition Functions

8.1 Molecular Partition Function

For a single molecule, the total partition function factors into contributions from different Degrees of freedom:

z=ztranszrotzvibzelecz = z_{\mathrm{trans} \cdot z_{\mathrm{rot} \cdot z_{\mathrm{vib} \cdot z_{\mathrm{elec}}}}}

8.2 Translational Partition Function

For a particle of mass mm in a box of volume VV:

ztrans=keβ2k2/(2m)z_{\mathrm{trans} = \sum_{\mathbf{k}} e^{-\beta \hbar^2 k^2/(2m)}}

In the continuum limit (replace sum with integral):

ztrans=V(2πmkBTh2)3/2=VnQz_{\mathrm{trans} = V \left(\frac{2\pi m k_B T}{h^2}\right)^{3/2} = V n_Q}

Where nQ=(2πmkBT/h2)3/2n_Q = (2\pi m k_B T / h^2)^{3/2} is the quantum concentration.

Derivation. Using kV/(2π)3d3k\sum_{\mathbf{k}} \to V/(2\pi)^3 \int d^3k:

ztrans=V(2π)3eβ2k2/(2m)d3k=V(2π)3(2πmβ2)3/204πu2eu2duz_{\mathrm{trans} = \frac{V}{(2\pi)^3} \int e^{-\beta \hbar^2 k^2/(2m)} d^3k = \frac{V}{(2\pi)^3} \left(\frac{2\pi m}{\beta \hbar^2}\right)^{3/2} \int_0^\infty 4\pi u^2 e^{-u^2}\,du}

=V(2π)3(2πmkBT2)3/2π3/2=V(2πmkBTh2)3/2= \frac{V}{(2\pi)^3} \left(\frac{2\pi m k_B T}{\hbar^2}\right)^{3/2} \pi^{3/2} = V \left(\frac{2\pi m k_B T}{h^2}\right)^{3/2}

\blacksquare

8.3 Rotational Partition Function

For a rigid rotor (diatomic molecule) with moment of inertia II:

zrot=J=0(2J+1)eβ2J(J+1)/(2I)z_{\mathrm{rot} = \sum_{J=0}^{\infty} (2J + 1) e^{-\beta \hbar^2 J(J+1)/(2I)}}

At high temperature (TΘrot=2/(2IkB)T \gg \Theta_{\mathrm{rot} = \hbar^2/(2Ik_B)}), the sum can be approximated By an integral:

zrotTΘrot=2IkBT2z_{\mathrm{rot} \approx \frac{T}{\Theta_{\mathrm{rot}} = \frac{2Ik_B T}{\hbar^2}}}

For a heteronuclear diatomic, we multiply by the symmetry number σ=1\sigma = 1. For a homonuclear Diatomic, σ=2\sigma = 2 (exchange of identical nuclei gives indistinguishable configurations).

8.4 Vibrational Partition Function

For a harmonic oscillator with frequency ν\nu:

zvib=n=0eβν(n+1/2)=eβν/21eβνz_{\mathrm{vib} = \sum_{n=0}^{\infty} e^{-\beta \hbar \nu (n + 1/2)} = \frac{e^{-\beta \hbar \nu / 2}}{1 - e^{-\beta \hbar \nu}}}

The mean vibrational energy is:

Evib=ν2+νeβν1\langle E_{\mathrm{vib} \rangle = \frac{\hbar \nu}{2} + \frac{\hbar \nu}{e^{\beta \hbar \nu} - 1}}

The first term is the zero-point energy.

9. The Ideal Gas

9.1 Classical Ideal Gas

For NN distinguishable particles, Z=zNZ = z^N. For NN indistinguishable particles:

Z=zNN!Z = \frac{z^N}{N!}

The factor 1/N!1/N! corrects for overcounting (Gibbs paradox).

Proof (Gibbs paradox). Without the 1/N!1/N! factor, the entropy S=NkBlnz+U/TS = Nk_B \ln z + U/T is not Extensive: mixing two identical gases gives Smix=2S+NkBln22SS_{\mathrm{mix} = 2S + Nk_B \ln 2 \neq 2S}. With 1/N!1/N!Using Stirling’s approximation:

F=NkBTln(zN)NkBTF = -Nk_B T \ln\left(\frac{z}{N}\right) - Nk_B T

S=(FT)V=NkB[ln(zN)+1]+UTS = -\left(\frac{\partial F}{\partial T}\right)_V = Nk_B \left[\ln\left(\frac{z}{N}\right) + 1\right] + \frac{U}{T}

Which is now extensive. \blacksquare

9.2 Equation of State

From the translational partition function:

Z=1N![V(2πmkBTh2)3/2]NZ = \frac{1}{N!}\left[V\left(\frac{2\pi m k_B T}{h^2}\right)^{3/2}\right]^N

F=kBTlnZ=NkBT[ln(VN(2πmkBTh2)3/2)+1]F = -k_B T \ln Z = -Nk_B T \left[\ln\left(\frac{V}{N}\left(\frac{2\pi m k_B T}{h^2}\right)^{3/2}\right) + 1\right]

P=(FV)T,N=NkBTVP = -\left(\frac{\partial F}{\partial V}\right)_{T,N} = \frac{Nk_B T}{V}

This recovers the ideal gas law PV=NkBTPV = Nk_B T.

9.3 Maxwell-Boltzmann Speed Distribution

The probability distribution for the speed vv of a molecule in an ideal gas at temperature TT:

f(v)dv=4π(m2πkBT)3/2v2emv2/(2kBT)dvf(v)\,dv = 4\pi \left(\frac{m}{2\pi k_B T}\right)^{3/2} v^2 e^{-mv^2/(2k_B T)}\,dv

Characteristic speeds:

  • Most probable speed: vp=2kBT/mv_p = \sqrt{2k_B T / m}
  • Mean speed: v=8kBT/(πm)\langle v \rangle = \sqrt{8k_B T / (\pi m)}
  • Root-mean-square speed: vrms=3kBT/mv_{\mathrm{rms} = \sqrt{3k_B T / m}}

9.4 Equipartition Theorem

Theorem 9.1 (Equipartition). Each quadratic degree of freedom in the Hamiltonian contributes 12kBT\frac{1}{2}k_B T to the average energy.

Proof. If HH contains a term aqi2aq_i^2 or bpi2bp_i^2 with a,b>0a, b \gt 0Then:

qi2=qi2eβaqi2dqieβaqi2dqi=12aβ=kBT2a\langle q_i^2 \rangle = \frac{\int q_i^2 e^{-\beta a q_i^2}\,dq_i}{\int e^{-\beta a q_i^2}\,dq_i} = \frac{1}{2a\beta} = \frac{k_B T}{2a}

So aqi2=kBT/2\langle aq_i^2 \rangle = k_B T / 2. Similarly for momentum terms. \blacksquare

This gives U=f2NkBTU = \frac{f}{2}Nk_B T and CV=f2NkBC_V = \frac{f}{2}Nk_B where ff is the number of quadratic Degrees of freedom.

9.5 Kinetic Theory of Gases

Mean Free Path

The mean free path λmfp\lambda_{\mathrm{mfp}} is the average distance a molecule travels between Collisions.

Theorem 9.2 (Mean free path). For a gas of NN hard-sphere molecules of diameter dd in volume VV:

λmfp=12πd2n\lambda_{\mathrm{mfp} = \frac{1}{\sqrt{2}\,\pi d^2 n}}

Where n=N/Vn = N/V is the number density.

Proof. A molecule of diameter dd sweeps out a cylinder of cross-section σ=πd2\sigma = \pi d^2 (per collision cross-section for identical particles, the effective cross-section is π(2d/2)2=πd2\pi(2d/2)^2 = \pi d^2But the relative velocity correction introduces the factor 2\sqrt{2}). In time Δt\Delta tThe molecule travels vΔtv\,\Delta t and sweeps volume σvΔt\sigma v\,\Delta t. The Number of collisions is nσvΔtn\sigma v\,\Delta tSo the mean free path is:

λmfp=vΔtnσvΔt=1nσ\lambda_{\mathrm{mfp} = \frac{v\,\Delta t}{n\sigma v\,\Delta t} = \frac{1}{n\sigma}}

For the correct treatment, one must use the mean relative velocity. Since both colliding molecules Are moving, the relative speed is 2\sqrt{2} times the mean speed:

λmfp=12πd2n\lambda_{\mathrm{mfp} = \frac{1}{\sqrt{2}\,\pi d^2 n}}

\blacksquare

Numerical example. For air at STP (n2.7×1025n \approx 2.7 \times 10^{25} m3^{-3}, d3.7×1010d \approx 3.7 \times 10^{-10} m):

λmfp=12π(3.7×1010)2×2.7×10256.8×108 m68 nm\lambda_{\mathrm{mfp} = \frac{1}{\sqrt{2}\,\pi (3.7 \times 10^{-10})^2 \times 2.7 \times 10^{25}} \approx 6.8 \times 10^{-8}\ \mathrm{m} \approx 68\ \mathrm{nm}}

The collision frequency is fcoll=v/λmfp500/(6.8×108)7.4×109f_{\mathrm{coll} = \langle v \rangle / \lambda_{\mathrm{mfp} \approx 500/(6.8 \times 10^{-8}) \approx 7.4 \times 10^9}} s1^{-1}.

Transport Properties

Viscosity. The shear viscosity of a dilute gas:

η=13nmvλmfp=13mvπd22\eta = \frac{1}{3} n m \langle v \rangle \lambda_{\mathrm{mfp} = \frac{1}{3} \frac{m\langle v \rangle}{\pi d^2 \sqrt{2}}}

Substituting v=8kBT/(πm)\langle v \rangle = \sqrt{8k_B T/(\pi m)}:

η=23π3/2mkBTd2\eta = \frac{2}{3\pi^{3/2}} \frac{\sqrt{mk_B T}}{d^2}

A key prediction: viscosity is independent of density for a dilute gas (Maxwell’s result, Verified experimentally). This is because λmfp1/n\lambda_{\mathrm{mfp} \propto 1/n} but the momentum Transfer per collision is proportional to the number of molecules per unit volume, giving ηn(1/n)=const\eta \propto n \cdot (1/n) = \mathrm{const}.

Thermal conductivity. For a monatomic gas:

κ=13nvλmfpf2kB=f2kBmη\kappa = \frac{1}{3} n \langle v \rangle \lambda_{\mathrm{mfp} \cdot \frac{f}{2}k_B = \frac{f}{2}\frac{k_B}{m}\eta}

Where f=3f = 3 for a monatomic gas. The ratio κ/(ηcV/m)=f/2\kappa/(\eta c_V/m) = f/2 is predicted to be a Universal constant (Eucken’s formula).

Diffusion (self-diffusion). The self-diffusion coefficient:

D=13vλmfp=13v2πd2nD = \frac{1}{3}\langle v \rangle \lambda_{\mathrm{mfp} = \frac{1}{3}\frac{\langle v \rangle}{\sqrt{2}\,\pi d^2 n}}

Theorem 9.3 (Einstein relation). The diffusion coefficient is related to mobility μ\mu by:

D=μkBTD = \mu k_B T

This is a consequence of the fluctuation-dissipation theorem.

Solution: Worked Example — Viscosity of Nitrogen

For N2_2 at T=273T = 273 K: m=4.65×1026m = 4.65 \times 10^{-26} kg, d=3.7×1010d = 3.7 \times 10^{-10} m.

η=23π3/2(4.65×1026)(1.381×1023)(273)(3.7×1010)2\eta = \frac{2}{3\pi^{3/2}} \frac{\sqrt{(4.65 \times 10^{-26})(1.381 \times 10^{-23})(273)}}{(3.7 \times 10^{-10})^2}

=23π3/21.75×10461.37×1019=216.69×1.32×10231.37×1019= \frac{2}{3\pi^{3/2}} \frac{\sqrt{1.75 \times 10^{-46}}}{1.37 \times 10^{-19}} = \frac{2}{16.69} \times \frac{1.32 \times 10^{-23}}{1.37 \times 10^{-19}}

1.15×105 Pas\approx 1.15 \times 10^{-5}\ \mathrm{Pa}\cdot s

The experimental value is η1.66×105\eta \approx 1.66 \times 10^{-5} Pa\cdotS. The discrepancy is due to The hard-sphere model being an approximation; real molecules have softer repulsive potentials.

Derivation of the Maxwell-Boltzmann Speed Distribution

Theorem 9.4. The speed distribution for molecules in an ideal gas at temperature TT is:

f(v)dv=4π(m2πkBT)3/2v2emv2/(2kBT)dvf(v)\,dv = 4\pi \left(\frac{m}{2\pi k_B T}\right)^{3/2} v^2 e^{-mv^2/(2k_B T)}\,dv

Proof. In the canonical ensemble, the probability of a molecule having momentum p\mathbf{p} is Proportional to eβp2/(2m)e^{-\beta p^2/(2m)}. The velocity distribution is:

P(v)d3v=(m2πkBT)3/2exp(mv22kBT)d3vP(\mathbf{v})\,d^3v = \left(\frac{m}{2\pi k_B T}\right)^{3/2} \exp\left(-\frac{mv^2}{2k_B T}\right)\,d^3v

To find the speed distribution, transform to spherical coordinates in velocity space and integrate Over angles:

f(v)dv=P(v)4πv2dv=4π(m2πkBT)3/2v2emv2/(2kBT)dvf(v)\,dv = P(\mathbf{v}) \cdot 4\pi v^2\,dv = 4\pi \left(\frac{m}{2\pi k_B T}\right)^{3/2} v^2 e^{-mv^2/(2k_B T)}\,dv

\blacksquare

Characteristic speeds from f(v)f(v). The most probable speed maximises v2emv2/(2kBT)v^2 e^{-mv^2/(2k_BT)}:

ddv(v2emv2/(2kBT))=0    vp=2kBTm\frac{d}{dv}\left(v^2 e^{-mv^2/(2k_BT)}\right) = 0 \implies v_p = \sqrt{\frac{2k_B T}{m}}

The mean speed:

v=0vf(v)dv=4π(m2πkBT)3/20v3emv2/(2kBT)dv=8kBTπm\langle v \rangle = \int_0^\infty v\,f(v)\,dv = 4\pi\left(\frac{m}{2\pi k_B T}\right)^{3/2}\int_0^\infty v^3 e^{-mv^2/(2k_BT)}\,dv = \sqrt{\frac{8k_B T}{\pi m}}

The RMS speed:

vrms=v2=3kBTmv_{\mathrm{rms} = \sqrt{\langle v^2 \rangle} = \sqrt{\frac{3k_B T}{m}}}

10. Quantum Statistical Mechanics

10.1 Identical Particles and Indistinguishability

Classical particles are distinguishable. Quantum particles are not. There are two types:

  • Fermions (half-integer spin): obey the Pauli exclusion principle; the total wavefunction is antisymmetric under particle exchange.
  • Bosons (integer spin): the total wavefunction is symmetric under particle exchange.

10.2 Fermi-Dirac Statistics

For fermions, each state can be occupied by at most one particle. The occupation number is ni=0n_i = 0 Or 11.

The average occupation number:

ni=1eβ(εiμ)+1=fFD(εi)\langle n_i \rangle = \frac{1}{e^{\beta(\varepsilon_i - \mu)} + 1} = f_{\mathrm{FD}(\varepsilon_i)}

Derivation from the grand canonical ensemble. The grand partition function for a single state at Energy εi\varepsilon_i:

Zi=ni=01eβni(εiμ)=1+eβ(εiμ)\mathcal{Z}_i = \sum_{n_i=0}^{1} e^{-\beta n_i(\varepsilon_i - \mu)} = 1 + e^{-\beta(\varepsilon_i - \mu)}

ni=1βlnZiμ=eβ(εiμ)1+eβ(εiμ)=1eβ(εiμ)+1\langle n_i \rangle = -\frac{1}{\beta}\frac{\partial \ln \mathcal{Z}_i}{\partial \mu} = \frac{e^{-\beta(\varepsilon_i - \mu)}}{1 + e^{-\beta(\varepsilon_i - \mu)}} = \frac{1}{e^{\beta(\varepsilon_i - \mu)} + 1}

\blacksquare

The Fermi energy εF\varepsilon_F is the chemical potential at T=0T = 0: fFD(ε)=Θ(εFε)f_{\mathrm{FD}(\varepsilon) = \Theta(\varepsilon_F - \varepsilon)}.

The Fermi temperature: TF=εF/kBT_F = \varepsilon_F / k_B.

Density of states for a 3D free electron gas:

g(ε)=V2π2(2m2)3/2εg(\varepsilon) = \frac{V}{2\pi^2}\left(\frac{2m}{\hbar^2}\right)^{3/2} \sqrt{\varepsilon}

The total number of electrons:

N=0εFg(ε)dε=V3π2(2mεF2)3/2N = \int_0^{\varepsilon_F} g(\varepsilon)\,d\varepsilon = \frac{V}{3\pi^2}\left(\frac{2m\varepsilon_F}{\hbar^2}\right)^{3/2}

10.3 Bose-Einstein Statistics

For bosons, any number of particles can occupy a single state:

ni=1eβ(εiμ)1=fBE(εi)\langle n_i \rangle = \frac{1}{e^{\beta(\varepsilon_i - \mu)} - 1} = f_{\mathrm{BE}(\varepsilon_i)}

The chemical potential for bosons must satisfy με0\mu \leq \varepsilon_0 (lowest single-particle Energy) to ensure ni0\langle n_i \rangle \geq 0.

Derivation. For a single bosonic state:

Zi=ni=0eβni(εiμ)=11eβ(εiμ)\mathcal{Z}_i = \sum_{n_i=0}^{\infty} e^{-\beta n_i(\varepsilon_i - \mu)} = \frac{1}{1 - e^{-\beta(\varepsilon_i - \mu)}}

ni=1βlnZiμ=eβ(εiμ)1eβ(εiμ)=1eβ(εiμ)1\langle n_i \rangle = -\frac{1}{\beta}\frac{\partial \ln \mathcal{Z}_i}{\partial \mu} = \frac{e^{-\beta(\varepsilon_i - \mu)}}{1 - e^{-\beta(\varepsilon_i - \mu)}} = \frac{1}{e^{\beta(\varepsilon_i - \mu)} - 1}

\blacksquare

10.4 Bose-Einstein Condensation

For an ideal Bose gas in 3D, the critical temperature is:

Tc=2π2mkB(nζ(3/2))2/3T_c = \frac{2\pi\hbar^2}{mk_B}\left(\frac{n}{\zeta(3/2)}\right)^{2/3}

Where n=N/Vn = N/V is the particle density and ζ(3/2)2.612\zeta(3/2) \approx 2.612.

Below TcT_cThe chemical potential is essentially zero (μ0\mu \approx 0), and a macroscopic Fraction of particles condense into the ground state:

N0N=1(TTc)3/2\frac{N_0}{N} = 1 - \left(\frac{T}{T_c}\right)^{3/2}

Derivation. The number of particles in excited states is:

Nex=0g(ε)dεeβε1=V(mkBT2π2)3/2ζ(3/2)N_{\mathrm{ex} = \int_0^{\infty} \frac{g(\varepsilon)\,d\varepsilon}{e^{\beta\varepsilon} - 1} = V\left(\frac{mk_B T}{2\pi\hbar^2}\right)^{3/2} \zeta(3/2)}

This has a maximum value at μ=0\mu = 0. When N>NexmaxN \gt N_{\mathrm{ex}^{\mathrm{max}}}The excess Particles must go to the ground state. Setting N=NexmaxN = N_{\mathrm{ex}^{\mathrm{max}}} at T=TcT = T_c Gives the critical temperature above. \blacksquare

10.5 Comparison of the Three Statistics

fMB=eβ(εμ),fFD=1eβ(εμ)+1,fBE=1eβ(εμ)1f_{\mathrm{MB} = e^{-\beta(\varepsilon - \mu)}, \quad f_{\mathrm{FD} = \frac{1}{e^{\beta(\varepsilon - \mu)} + 1}, \quad f_{\mathrm{BE} = \frac{1}{e^{\beta(\varepsilon - \mu)} - 1}}}}

In the classical (dilute) limit eβ(εμ)1e^{\beta(\varepsilon - \mu)} \gg 1All three reduce to the Maxwell-Boltzmann distribution. This occurs when nnQn \ll n_Q (dilute gas) or TTFT \gg T_F for Fermions.

10.6 Worked Example: Electron Gas in Metals

For copper: one conduction electron per atom, n8.5×1028n \approx 8.5 \times 10^{28} m3^{-3}.

εF=22me(3π2n)2/37.0×1019 J4.4 eV\varepsilon_F = \frac{\hbar^2}{2m_e}(3\pi^2 n)^{2/3} \approx 7.0 \times 10^{-19}\ \mathrm{J} \approx 4.4\ \mathrm{eV}

TF=εFkB51000 KT_F = \frac{\varepsilon_F}{k_B} \approx 51000\ \mathrm{K}

At room temperature (T=300T = 300 K), T/TF0.006T/T_F \approx 0.006So the gas is deeply degenerate. The heat Capacity is:

CVπ22NkBTTFC_V \approx \frac{\pi^2}{2}Nk_B\frac{T}{T_F}

This is much smaller than the classical prediction CV=32NkBC_V = \frac{3}{2}Nk_BExplaining why electrons Contribute negligibly to the heat capacity of metals at room temperature.

11. Grand Canonical Ensemble

11.1 Definition

The grand canonical ensemble describes a system that can exchange both energy and particles with A reservoir at temperature TT and chemical potential μ\mu.

The grand partition function:

Ξ=Nieβ(EiμN)\Xi = \sum_N \sum_i e^{-\beta(E_i - \mu N)}

The probability of finding the system in state ii with NN particles:

Pi,N=eβ(EiμN)ΞP_{i,N} = \frac{e^{-\beta(E_i - \mu N)}}{\Xi}

11.2 Connection to Thermodynamics

lnΞ=βPV\ln \Xi = \beta PV

This follows from the Euler relation for the grand potential ΦG=PV=FμN\Phi_G = -PV = F - \mu N.

Key relations:

  • Average particle number: N=1βlnΞμT,V\langle N \rangle = \frac{1}{\beta}\frac{\partial \ln \Xi}{\partial \mu}\bigg|_{T,V}
  • Pressure: P=1βlnΞVT,μP = \frac{1}{\beta}\frac{\partial \ln \Xi}{\partial V}\bigg|_{T,\mu}
  • Entropy: S=kB(lnΞ+βEβμN)S = k_B(\ln \Xi + \beta \langle E \rangle - \beta \mu \langle N \rangle)

11.3 Fluctuations

The number fluctuations in the grand canonical ensemble:

N2N2N2=kBTκTV\frac{\langle N^2 \rangle - \langle N \rangle^2}{\langle N \rangle^2} = \frac{k_B T \kappa_T}{V}

Where κT=1V(V/P)T\kappa_T = -\frac{1}{V}(\partial V/\partial P)_T is the isothermal compressibility. For an Ideal gas, this gives N2N2=N\langle N^2 \rangle - \langle N \rangle^2 = \langle N \rangleConsistent With Poisson …/4-statistics-and-probability/2_statistics.

12. Fluctuation-Dissipation Theorem

12.1 Energy Fluctuations

In the canonical ensemble:

E2E2=kBT2CV\langle E^2 \rangle - \langle E \rangle^2 = k_B T^2 C_V

Proof. E2E2=2lnZβ2=Uβ=kBT2CV\langle E^2 \rangle - \langle E \rangle^2 = \frac{\partial^2 \ln Z}{\partial \beta^2} = -\frac{\partial U}{\partial \beta} = k_B T^2 C_V. \blacksquare

This is a manifestation of the fluctuation-dissipation theorem: the response of the system (CVC_V) is related to the equilibrium fluctuations.

12.2 General Fluctuation-Dissipation Relation

For a general observable XX coupled to its conjugate field ff via H=fXH' = -fX:

χ=β(X2X2)\chi = \beta \left(\langle X^2 \rangle - \langle X \rangle^2\right)

Where χ=X/f\chi = \partial \langle X \rangle / \partial f is the susceptibility. This connects the Linear response of a system to its spontaneous fluctuations.

13. Blackbody Radiation

13.1 Planck Distribution

Treating electromagnetic radiation in a cavity as a gas of non-interacting photons (bosons with μ=0\mu = 0):

n(ω)=1eβω1\langle n(\omega) \rangle = \frac{1}{e^{\beta\hbar\omega} - 1}

The spectral energy density (energy per unit volume per unit frequency):

u(ω)=ω3π2c31eβω1u(\omega) = \frac{\hbar \omega^3}{\pi^2 c^3} \cdot \frac{1}{e^{\beta\hbar\omega} - 1}

Derivation. The density of photon states in a cavity of volume VV is g(ω)=Vω2/(π2c3)g(\omega) = V\omega^2/(\pi^2 c^3). Each photon has energy ω\hbar\omegaAnd the mean occupation Number is the Bose-Einstein distribution with μ=0\mu = 0:

u(ω)=g(ω)Vωn(ω)=ω2π2c3ωeβω1u(\omega) = \frac{g(\omega)}{V} \cdot \hbar\omega \cdot \langle n(\omega) \rangle = \frac{\omega^2}{\pi^2 c^3} \cdot \frac{\hbar\omega}{e^{\beta\hbar\omega} - 1}

\blacksquare

13.2 Stefan-Boltzmann Law

The total energy density:

u=0u(ω)dω=π2c30ω3dωeβω1u = \int_0^\infty u(\omega)\,d\omega = \frac{\hbar}{\pi^2 c^3} \int_0^\infty \frac{\omega^3\,d\omega}{e^{\beta\hbar\omega} - 1}

Substituting x=βωx = \beta\hbar\omega:

u=(kBT)4π23c30x3ex1dx=(kBT)4π23c3π415=π2kB4153c3T4u = \frac{(k_B T)^4}{\pi^2 \hbar^3 c^3} \int_0^\infty \frac{x^3}{e^x - 1}\,dx = \frac{(k_B T)^4}{\pi^2 \hbar^3 c^3} \cdot \frac{\pi^4}{15} = \frac{\pi^2 k_B^4}{15\hbar^3 c^3} T^4

The Stefan-Boltzmann law for radiated power per unit area:

j=c4u=σT4,σ=π2kB4603c25.67×108 Wm2K4{j = \frac{c}{4} u = \sigma T^4, \quad \sigma = \frac{\pi^2 k_B^4}{60\hbar^3 c^2} \approx 5.67 \times 10^{-8}\ \mathrm{W}\,m^{-2}\,K^{-4}}

13.3 Wien’s Displacement Law

The peak of u(λ)u(\lambda) occurs at:

λmaxT=2.898×103 mK\lambda_{\mathrm{max} T = 2.898 \times 10^{-3}\ \mathrm{m}\cdot K}

This follows from maximising u(λ)=(8πhc/λ5)(ehc/(λkBT)1)1u(\lambda) = (8\pi h c / \lambda^5)(e^{hc/(\lambda k_B T)} - 1)^{-1} With respect to λ\lambda.

13.4 Detailed Derivation of Planck’s Law

Theorem 13.1 (Planck’s law). The spectral radiance of a blackbody is:

B(ω)=ω34π3c21eβω1B(\omega) = \frac{\hbar \omega^3}{4\pi^3 c^2} \cdot \frac{1}{e^{\beta\hbar\omega} - 1}

Proof. Consider electromagnetic modes in a cavity of volume V=L3V = L^3 with periodic boundary Conditions. The allowed wavevectors are k=(2π/L)(nx,ny,nz)\mathbf{k} = (2\pi/L)(n_x, n_y, n_z) with niZn_i \in \mathbb{Z}. The number of modes with wavevector magnitude between KK and K+dkK + dk (counting two Polarisations) is:

g(k)dk=V4πk2dk(2π)3×2=Vk2π2dkg(k)\,dk = \frac{V \cdot 4\pi k^2\,dk}{(2\pi)^3} \times 2 = \frac{Vk^2}{\pi^2}\,dk

Converting to frequency using ω=ck\omega = ck and dk=dω/cdk = d\omega/c:

g(ω)dω=Vω2π2c3dωg(\omega)\,d\omega = \frac{V\omega^2}{\pi^2 c^3}\,d\omega

Each mode is a quantum harmonic oscillator with energy ω(n+1/2)\hbar\omega(n + 1/2). Since photons are Bosons with μ=0\mu = 0 (photon number is not conserved), the mean occupation number is:

n(ω)=1eβω1\langle n(\omega) \rangle = \frac{1}{e^{\beta\hbar\omega} - 1}

The energy in modes between ω\omega and ω+dω\omega + d\omega is:

dU=g(ω)dωωn(ω)=Vω3π2c3dωeβω1dU = g(\omega)\,d\omega \cdot \hbar\omega \cdot \langle n(\omega) \rangle = \frac{V\hbar\omega^3}{\pi^2 c^3} \cdot \frac{d\omega}{e^{\beta\hbar\omega} - 1}

The spectral energy density is u(ω)=(1/V)dU/dωu(\omega) = (1/V)\,dU/d\omega:

u(ω)=ω3π2c31eβω1u(\omega) = \frac{\hbar\omega^3}{\pi^2 c^3} \cdot \frac{1}{e^{\beta\hbar\omega} - 1}

\blacksquare

Historical note. Planck originally derived this result in 1900 by interpolating between the Rayleigh-Jeans law (valid at low frequencies, u(ω)ω2u(\omega) \propto \omega^2) and Wien’s law (valid At high frequencies, u(ω)ω3eβωu(\omega) \propto \omega^3 e^{-\beta\hbar\omega}). The Rayleigh-Jeans law Leads to the “ultraviolet catastrophe” — infinite total energy — which Planck resolved by Postulating that energy is quantised in units of ω\hbar\omega.

13.5 Derivation of the Stefan-Boltzmann Law

Theorem 13.2 (Stefan-Boltzmann). The total radiated power per unit area from a blackbody is:

j=σT4,σ=π2kB4603c2j = \sigma T^4, \quad \sigma = \frac{\pi^2 k_B^4}{60\hbar^3 c^2}

Proof. Integrate the spectral energy density:

u=0u(ω)dω=π2c30ω3dωeβω1u = \int_0^\infty u(\omega)\,d\omega = \frac{\hbar}{\pi^2 c^3} \int_0^\infty \frac{\omega^3\,d\omega}{e^{\beta\hbar\omega} - 1}

Substituting x=βωx = \beta\hbar\omega:

u=(kBT)4π23c30x3dxex1u = \frac{(k_B T)^4}{\pi^2 \hbar^3 c^3} \int_0^\infty \frac{x^3\,dx}{e^x - 1}

The integral 0x3/(ex1)dx=Γ(4)ζ(4)=6×π4/90=π4/15\int_0^\infty x^3/(e^x - 1)\,dx = \Gamma(4)\,\zeta(4) = 6 \times \pi^4/90 = \pi^4/15.

u=π2kB4153c3T4u = \frac{\pi^2 k_B^4}{15\hbar^3 c^3}\,T^4

The radiated power per unit area (intensity) relates to the energy density by j=cu/4j = cu/4 (the Factor of 1/41/4 accounts for the projection effect and the average of cosθ\cos\theta over the Hemisphere):

j=c4u=π2kB4603c2T4=σT4j = \frac{c}{4}u = \frac{\pi^2 k_B^4}{60\hbar^3 c^2}\,T^4 = \sigma T^4

\blacksquare

13.6 Wien’s Displacement Law

Theorem 13.3 (Wien’s displacement law). The peak of u(λ)u(\lambda) occurs at:

λmaxT=b=2.898×103 mK\lambda_{\mathrm{max} T = b = 2.898 \times 10^{-3}\ \mathrm{m} \cdot K}

Proof. Express the spectral energy density in terms of wavelength λ=2πc/ω\lambda = 2\pi c/\omega:

u(λ)=8πhcλ51ehc/(λkBT)1u(\lambda) = \frac{8\pi h c}{\lambda^5} \cdot \frac{1}{e^{hc/(\lambda k_B T)} - 1}

Setting du/dλ=0du/d\lambda = 0 and substituting x=hc/(λkBT)x = hc/(\lambda k_B T):

ddx(x5ex1)=0    5(ex1)xex=0\frac{d}{dx}\left(\frac{x^5}{e^x - 1}\right) = 0 \implies 5(e^x - 1) - xe^x = 0

This transcendental equation has the solution x4.965x \approx 4.965Giving λmaxT=hc/(4.965kB)=b\lambda_{\mathrm{max} T = hc/(4.965\,k_B) = b}. \blacksquare

Solution: Worked Example — Temperature of the Sun's Surface

The Sun’s emission peaks at λmax502\lambda_{\mathrm{max} \approx 502} nm (green). Using Wien’s law:

T=bλmax=2.898×103502×1095770 KT = \frac{b}{\lambda_{\mathrm{max}} = \frac{2.898 \times 10^{-3}}{502 \times 10^{-9}} \approx 5770\ \mathrm{K}}

The total radiated power per unit area:

j=σT4=(5.67×108)(5770)46.32×107 W/m2j = \sigma T^4 = (5.67 \times 10^{-8})(5770)^4 \approx 6.32 \times 10^7\ \mathrm{W}/m^2

With solar radius R6.96×108R_\odot \approx 6.96 \times 10^8 m, the total luminosity is:

L=4πR2j4π(6.96×108)2×6.32×1073.85×1026 WL = 4\pi R_\odot^2 \cdot j \approx 4\pi(6.96 \times 10^8)^2 \times 6.32 \times 10^7 \approx 3.85 \times 10^{26}\ \mathrm{W}

This matches the measured solar luminosity to within a few percent, validating blackbody theory.

14. The Ising Model

14.1 Definition

The Ising model is a lattice of NN spin-1/2 variables si+1,1s_i \in \\{+1, -1\\} with Hamiltonian:

H=Ji,jsisjhisiH = -J \sum_{\langle i,j \rangle} s_i s_j - h \sum_i s_i

Where JJ is the coupling constant, i,j\langle i,j \rangle denotes nearest neighbours, and hh is an External magnetic field.

  • J>0J \gt 0: ferromagnetic (spins tend to align).
  • J<0J \lt 0: antiferromagnetic (spins tend to anti-align).

14.2 Exact Solution in 1D

Theorem 14.1 (Ising, 1925). The 1D Ising model has no phase transition at T>0T \gt 0.

Proof sketch. Using the transfer matrix method, the partition function for NN spins with Periodic boundary conditions is:

Z=λ+N+λNZ = \lambda_+^N + \lambda_-^N

Where λ±=eβJcosh(βh)±e2βJsinh2(βh)+e2βJ\lambda_\pm = e^{\beta J}\cosh(\beta h) \pm \sqrt{e^{2\beta J}\sinh^2(\beta h) + e^{-2\beta J}}.

In the thermodynamic limit (NN \to \infty), Zλ+NZ \to \lambda_+^N (the larger eigenvalue dominates).

The magnetisation per spin is:

m=1βlnλ+hm = \frac{1}{\beta}\frac{\partial \ln \lambda_+}{\partial h}

For h=0h = 0: λ+=eβJ+eβJ=2cosh(βJ)\lambda_+ = e^{\beta J} + e^{-\beta J} = 2\cosh(\beta J)And m=0m = 0 for all T>0T \gt 0. There is no spontaneous magnetisation, hence no phase transition. \blacksquare

14.3 Mean-Field Approximation

Replace the interaction of spin sis_i with its neighbours by the mean field m=sm = \langle s \rangle:

HMF=JzmisihisiH_{\mathrm{MF} = -J z m \sum_i s_i - h \sum_i s_i}

Where zz is the coordination number. The self-consistency equation:

m=tanh[β(Jzm+h)]m = \tanh\left[\beta(Jzm + h)\right]

For h=0h = 0A non-zero solution exists when T<Tc=Jz/kBT \lt T_c = Jz/k_B.

The critical exponents in mean-field theory: β=1/2\beta = 1/2, γ=1\gamma = 1, δ=3\delta = 3.

14.4 Landau Theory of Phase Transitions

The Landau theory provides a phenomenological description of second-order phase transitions using a Free energy expanded in the order parameter ϕ\phi:

F(ϕ,T)=F0(T)+a(TTc)ϕ2+bϕ4+F(\phi, T) = F_0(T) + a(T - T_c)\phi^2 + b\phi^4 + \cdots

Where a>0a \gt 0 and b>0b \gt 0.

  • For T>TcT \gt T_c: the minimum is at ϕ=0\phi = 0 (disordered phase).
  • For T<TcT \lt T_c: the minimum is at ϕ=±a(TcT)/(2b)\phi = \pm\sqrt{a(T_c - T)/(2b)} (ordered phase).

Specific heat jump. The entropy S=F/TS = -\partial F/\partial T has a discontinuity at TcT_c:

ΔCP=Tc2FT2Tc+Tc=a2Tc2b\Delta C_P = -T_c \frac{\partial^2 F}{\partial T^2}\bigg|_{T_c^+}^{T_c^-} = \frac{a^2 T_c}{2b}

Limitations. Landau theory neglects fluctuations and gives incorrect critical exponents in low Dimensions. It is exact in mean-field (infinite-range) models and above the upper critical dimension du=4d_u = 4.

14.5 Scaling and Critical Exponents

Near a critical point, thermodynamic quantities follow power laws:

QuantityPower lawExponent
Order parameter (T<TcT \lt T_c)ϕ(TcT)β\phi \propto (T_c - T)^\betaβ\beta
SusceptibilityχTTcγ\chi \propto \lvert T - T_c \rvert^{-\gamma}γ\gamma
Specific heatCTTcαC \propto \lvert T - T_c \rvert^{-\alpha}α\alpha
Correlation lengthξTTcν\xi \propto \lvert T - T_c \rvert^{-\nu}ν\nu

The scaling relations (from the homogeneity hypothesis):

α+2β+γ=2(Rushbrooke)\alpha + 2\beta + \gamma = 2 \quad \mathrm{(Rushbrooke)}

γ=β(δ1)(Widom)\gamma = \beta(\delta - 1) \quad \mathrm{(Widom)}

γ=(2η)ν(Fisher)\gamma = (2 - \eta)\nu \quad \mathrm{(Fisher)}

These are verified experimentally and by renormalisation group calculations.

:::caution Common Pitfall The mean-field approximation overestimates TcT_c and gives incorrect Critical exponents. In 1D, it predicts a phase transition at Tc=Jz/kBT_c = Jz/k_BWhereas the exact Solution shows no transition at T>0T \gt 0. Mean-field theory is only reliable in high dimensions (where fluctuations are small) or for long-range interactions. :::

15. The Microcanonical Ensemble

15.1 Definition and Fundamental Postulate

The microcanonical ensemble describes an isolated system with fixed energy EEVolume VVAnd Particle number NN. The fundamental postulate of statistical mechanics states:

All accessible microstates of an isolated system are equally probable.

For a classical system, the number of microstates with energy between EE and E+δEE + \delta E is:

Ω(E,V,N)=1N!h3NE<H(q,p)<E+δEd3Nqd3Np\Omega(E, V, N) = \frac{1}{N!h^{3N}} \int_{E \lt H(\mathbf{q},\mathbf{p}) \lt E+\delta E} d^{3N}q\,d^{3N}p

The factor h3Nh^{3N} makes Ω\Omega dimensionless (and is justified by quantum mechanics), and 1/N!1/N! accounts for indistinguishability.

15.2 Connection to Thermodynamics

Definition (Microcanonical temperature). The temperature is defined by:

1T=(SE)V,N,S=kBlnΩ\frac{1}{T} = \left(\frac{\partial S}{\partial E}\right)_{V,N}, \quad S = k_B \ln \Omega

Definition (Microcanonical pressure).

P=T(SV)E,NP = T\left(\frac{\partial S}{\partial V}\right)_{E,N}

Definition (Microcanonical chemical potential).

μ=T(SN)E,V\mu = -T\left(\frac{\partial S}{\partial N}\right)_{E,V}

15.3 The Ideal Gas in the Microcanonical Ensemble

Theorem 15.1 (Sackur-Tetrode equation). The entropy of a monatomic ideal gas is:

S=NkB[ln(VN(4πmE3Nh2)3/2)+52]S = Nk_B\left[\ln\left(\frac{V}{N}\left(\frac{4\pi m E}{3Nh^2}\right)^{3/2}\right) + \frac{5}{2}\right]

Proof. For NN non-interacting particles, H=i=1Npi2/(2m)H = \sum_{i=1}^N p_i^2/(2m). The number of Microstates with total energy between EE and E+δEE + \delta E is the volume of a spherical shell in 3N3N-dimensional momentum space:

Ω=1N!h3NVN2π3N/2Γ(3N/2)(2mE)3N/23NδE2E\Omega = \frac{1}{N!h^{3N}} V^N \cdot \frac{2\pi^{3N/2}}{\Gamma(3N/2)} (2mE)^{3N/2} \cdot \frac{3N\,\delta E}{2E}

The factor (3NδE)/(2E)(3N\,\delta E)/(2E) is the shell thickness in radius. Taking the logarithm:

lnΩ=NlnVlnN!+3N2ln(2πmkBT)3Nlnh+3N2+ln(3NδE2E)\ln\Omega = N\ln V - \ln N! + \frac{3N}{2}\ln(2\pi m k_B T) - 3N\ln h + \frac{3N}{2} + \ln\left(\frac{3N\,\delta E}{2E}\right)

Using Stirling’s approximation lnN!NlnNN\ln N! \approx N\ln N - N and E=32NkBTE = \frac{3}{2}Nk_B T:

S=kBlnΩ=NkB[ln(VN(4πmE3Nh2)3/2)+52]+O(lnN)S = k_B\ln\Omega = Nk_B\left[\ln\left(\frac{V}{N}\left(\frac{4\pi m E}{3Nh^2}\right)^{3/2}\right) + \frac{5}{2}\right] + \mathcal{O}(\ln N)

The O(lnN)\mathcal{O}(\ln N) terms (from the shell thickness) are negligible compared to the O(N)\mathcal{O}(N) Terms in the thermodynamic limit. \blacksquare

This is the Sackur-Tetrode equation, which gives the absolute entropy of a monatomic ideal gas. It satisfies the third law in the sense that SS \to -\infty as T0T \to 0Indicating the Breakdown of the classical description at low temperatures.

15.4 Derivation of the Canonical Ensemble from the Microcanonical Ensemble

Theorem 15.2. A small subsystem of a large microcanonical ensemble obeys the Boltzmann Distribution.

Proof. Consider a total system with energy EtotE_{\mathrm{tot}} composed of subsystem SS (with Energy ESE_S) and reservoir RR (with energy ER=EtotESE_R = E_{\mathrm{tot} - E_S}). The probability that SS is in a specific microstate with energy ESE_S is:

P(E_S) = \frac{\Omega_R(E_{\mathrm{tot} - E_S)}{\Omega_{\mathrm{tot}(E_{\mathrm{tot})}}}}

Since the reservoir is large, expand to first order:

lnΩR(EtotES)lnΩR(Etot)ESlnΩRER\ln\Omega_R(E_{\mathrm{tot} - E_S) \approx \ln\Omega_R(E_{\mathrm{tot}) - E_S\frac{\partial \ln\Omega_R}{\partial E_R}}}

Using lnΩR/ER=1/(kBT)\partial\ln\Omega_R/\partial E_R = 1/(k_B T):

P(ES)eES/(kBT)=eβESP(E_S) \propto e^{-E_S/(k_B T)} = e^{-\beta E_S}

Normalising gives the Boltzmann distribution Pi=eβEi/ZP_i = e^{-\beta E_i}/Z. \blacksquare

Solution: Worked Example — Entropy of Mixing Revisited

Two ideal gases, each with NN particles at the same TT and PPAre separated by a partition. The partition is removed. Find ΔS\Delta S.

Before mixing: each gas occupies volume VV. The total entropy is Si=2×S(N,V,T)S_i = 2 \times S(N, V, T).

After mixing: each gas occupies volume 2V2V. The total entropy is:

Sf=S(N,2V,T)+S(N,2V,T)=2×S(N,2V,T)S_f = S(N, 2V, T) + S(N, 2V, T) = 2 \times S(N, 2V, T)

From the Sackur-Tetrode equation, the change for each gas is:

ΔSone gas=NkBln2VV=NkBln2\Delta S_{\mathrm{one\ gas} = Nk_B\ln\frac{2V}{V} = Nk_B\ln 2}

If the gases are different: ΔS=2NkBln2\Delta S = 2Nk_B\ln 2.

If the gases are identical: removing the partition does nothing observable. The total entropy is S(N,2V,T)=S(2N,2V,T)S(N, 2V, T) = S(2N, 2V, T) (using N!N! correction), and ΔS=0\Delta S = 0. The 1/N!1/N! factor in The partition function automatically resolves this paradox.

16. The Canonical Ensemble — Detailed Treatment

16.1 Derivation of Thermodynamic Quantities

The canonical partition function is Z=ieβEiZ = \sum_i e^{-\beta E_i} for a discrete spectrum, or

Z=1N!h3NeβH(q,p)d3Nqd3NpZ = \frac{1}{N!h^{3N}}\int e^{-\beta H(\mathbf{q},\mathbf{p})}\,d^{3N}q\,d^{3N}p

For a classical system.

Theorem 16.1. All thermodynamic quantities follow from lnZ\ln Z:

QuantityFormula
Internal energyU=lnZ/βU = -\partial \ln Z / \partial \beta
Helmholtz free energyF=kBTlnZF = -k_B T \ln Z
EntropyS=kB(lnZ+βU)S = k_B(\ln Z + \beta U)
PressureP=kBT(lnZ/V)β,NP = k_B T\,(\partial \ln Z/\partial V)_{\beta,N}
Chemical potentialμ=kBT(lnZ/N)β,V\mu = -k_B T\,(\partial \ln Z/\partial N)_{\beta,V}
Heat capacityCV=kBβ2(E2E2)C_V = k_B\beta^2(\langle E^2 \rangle - \langle E \rangle^2)

Proof (energy and heat capacity).

U=E=1ZiEieβEi=1ZZβ=lnZβU = \langle E \rangle = \frac{1}{Z}\sum_i E_i e^{-\beta E_i} = -\frac{1}{Z}\frac{\partial Z}{\partial \beta} = -\frac{\partial \ln Z}{\partial \beta}

E2=1ZiEi2eβEi=1Z2Zβ2\langle E^2 \rangle = \frac{1}{Z}\sum_i E_i^2 e^{-\beta E_i} = \frac{1}{Z}\frac{\partial^2 Z}{\partial \beta^2}

E2E2=2lnZβ2=Uβ=kBT2CV\langle E^2 \rangle - \langle E \rangle^2 = \frac{\partial^2 \ln Z}{\partial \beta^2} = -\frac{\partial U}{\partial \beta} = k_B T^2 C_V

\blacksquare

16.2 The Classical Partition Function for an Ideal Gas

Theorem 16.2. The classical partition function for NN indistinguishable ideal gas particles is:

Z=1N!(Vλ3)NZ = \frac{1}{N!}\left(\frac{V}{\lambda^3}\right)^N

Where λ=h/2πmkBT\lambda = h/\sqrt{2\pi m k_B T} is the thermal de Broglie wavelength.

Proof. For non-interacting particles, H=i=1Npi2/(2m)H = \sum_{i=1}^N p_i^2/(2m):

Z=1N!h3NVd3Nqd3Np  exp(βi=1Npi22m)Z = \frac{1}{N!h^{3N}}\int_V d^{3N}q \int_{-\infty}^\infty d^{3N}p\;\exp\left(-\beta\sum_{i=1}^N\frac{p_i^2}{2m}\right)

=VNN!h3N[eβp2/(2m)dp]3N= \frac{V^N}{N!h^{3N}}\left[\int_{-\infty}^\infty e^{-\beta p^2/(2m)}\,dp\right]^{3N}

Using the Gaussian integral eax2dx=π/a\int_{-\infty}^\infty e^{-ax^2}\,dx = \sqrt{\pi/a}:

=VNN!h3N(2πmβ)3N/2=1N![Vh3(2πmβ)3/2]N=1N!(Vλ3)N= \frac{V^N}{N!h^{3N}}\left(\frac{2\pi m}{\beta}\right)^{3N/2} = \frac{1}{N!}\left[\frac{V}{h^3}\left(\frac{2\pi m}{\beta}\right)^{3/2}\right]^N = \frac{1}{N!}\left(\frac{V}{\lambda^3}\right)^N

\blacksquare

From this, all ideal gas thermodynamics follows: F=NkBT[ln(V/Nλ3)+1]F = -Nk_B T[\ln(V/N\lambda^3) + 1], P=NkBT/VP = Nk_B T/V, S=NkB[ln(V/Nλ3)+5/2]S = Nk_B[\ln(V/N\lambda^3) + 5/2].

17. Problem Set

Problem 1: Entropy change in free expansion

Problem. One mole of ideal gas doubles its volume in a free expansion (no heat exchange, no Work done). Calculate ΔS\Delta S. Does this violate the second law?

Solution. For a free expansion, Q=0Q = 0 and W=0W = 0So ΔU=0\Delta U = 0 and ΔT=0\Delta T = 0 (ideal gas). The entropy change is:

ΔS=nRlnVfVi=Rln25.76 J/K\Delta S = nR\ln\frac{V_f}{V_i} = R\ln 2 \approx 5.76\ \mathrm{J}/K

This does not violate the second law. The second law states ΔSuniverse0\Delta S_{\mathrm{universe} \geq 0}. For the system, ΔS=Rln2>0\Delta S = R\ln 2 \gt 0. For the surroundings, ΔSsurr=0\Delta S_{\mathrm{surr} = 0} (no heat exchanged). So ΔSuniverse=Rln2>0\Delta S_{\mathrm{universe} = R\ln 2 \gt 0}Consistent with an Irreversible process.

If you get this wrong, revise: Section 1.4 (Clausius inequality) and Section 9.2 (ideal gas Entropy).

Problem 2: Carnot efficiency with given temperatures

Problem. A Carnot engine operates between Th=500T_h = 500 K and Tc=300T_c = 300 K, absorbing 1000 J per Cycle from the hot reservoir. Find QcQ_c, WWAnd η\eta.

Solution.

η=1TcTh=1300500=0.4\eta = 1 - \frac{T_c}{T_h} = 1 - \frac{300}{500} = 0.4

W=ηQh=0.4×1000=400 JW = \eta Q_h = 0.4 \times 1000 = 400\ \mathrm{J}

Qc=QhW=600 JQ_c = Q_h - W = 600\ \mathrm{J}

If you get this wrong, revise: Section 4.1 (Carnot cycle) and Theorem 1.1 (Carnot’s theorem).

Problem 3: Maxwell relation for a general equation of state

Problem. A gas obeys P=RT/(Vmb)a/Vm2P = RT/(V_m - b) - a/V_m^2 (van der Waals). Use a Maxwell relation to Find (S/V)T(\partial S/\partial V)_T.

Solution. Using (S/V)T=(P/T)V(\partial S/\partial V)_T = (\partial P/\partial T)_V:

(SV)T=(PT)V=RVmb\left(\frac{\partial S}{\partial V}\right)_T = \left(\frac{\partial P}{\partial T}\right)_V = \frac{R}{V_m - b}

Integrating at constant TT:

ΔS=RlnVm,fbVm,ib\Delta S = R\ln\frac{V_{m,f} - b}{V_{m,i} - b}

If you get this wrong, revise: Section 3.1 (Maxwell relation derivation) and Section 3.3 (applications).

Problem 4: Heat capacity relation for a solid

Problem. A solid has α=3×105\alpha = 3 \times 10^{-5} K1^{-1}, κT=6×1012\kappa_T = 6 \times 10^{-12} Pa1^{-1}Molar volume Vm=2.5×105V_m = 2.5 \times 10^{-5} m3^3/mol, and CP=25C_P = 25 J/(mol\cdotK). Find CPCVC_P - C_V and CVC_V.

Solution.

CPCV=TVmα2κT=300×2.5×105×(3×105)26×1012C_P - C_V = \frac{TV_m\alpha^2}{\kappa_T} = \frac{300 \times 2.5 \times 10^{-5} \times (3 \times 10^{-5})^2}{6 \times 10^{-12}}

=300×2.5×105×9×10106×1012=6.75×10126×1012=1.125 J/(molK)= \frac{300 \times 2.5 \times 10^{-5} \times 9 \times 10^{-10}}{6 \times 10^{-12}} = \frac{6.75 \times 10^{-12}}{6 \times 10^{-12}} = 1.125\ \mathrm{J}/(mol \cdot K)

CV=CP1.12523.9 J/(molK)C_V = C_P - 1.125 \approx 23.9\ \mathrm{J}/(mol \cdot K)

For a solid at room temperature, CPCVC_P - C_V is small (a few percent of CPC_P).

If you get this wrong, revise: Section 1.6 (thermodynamic response functions) and Theorem 1.2.

Problem 5: Helmholtz free energy of a paramagnet

Problem. A paramagnetic system of NN non-interacting spin-1/2 particles in a magnetic field BB Has energy levels E=±μBBE = \pm \mu_B B per particle (μB\mu_B is the Bohr magneton). Find FF, SSAnd M=(F/B)TM = -(\partial F/\partial B)_T.

Solution. Single-particle partition function: z=eβμBB+eβμBB=2cosh(βμBB)z = e^{\beta\mu_B B} + e^{-\beta\mu_B B} = 2\cosh(\beta\mu_B B).

Z=zN=2NcoshN(βμBB)Z = z^N = 2^N \cosh^N(\beta\mu_B B)

F=kBTlnZ=NkBT[ln2+lncosh(βμBB)]F = -k_B T \ln Z = -Nk_B T\left[\ln 2 + \ln\cosh(\beta\mu_B B)\right]

S=(FT)B=NkB[ln2+lncosh(βμBB)βμBBtanh(βμBB)]S = -\left(\frac{\partial F}{\partial T}\right)_B = Nk_B\left[\ln 2 + \ln\cosh(\beta\mu_B B) - \beta\mu_B B\tanh(\beta\mu_B B)\right]

M=(FB)T=NμBtanh(βμBB)M = -\left(\frac{\partial F}{\partial B}\right)_T = N\mu_B\tanh(\beta\mu_B B)

At high TT: MNμB2B/(kBT)M \approx N\mu_B^2 B/(k_B T) (Curie’s law). At T=0T = 0: M=NμBM = N\mu_B (saturation).

If you get this wrong, revise: Section 7.1 (Boltzmann distribution) and Section 7.3 (two-level System).

Problem 6: Partition function of a quantum harmonic oscillator

Problem. A 1D quantum harmonic oscillator has En=ω(n+1/2)E_n = \hbar\omega(n + 1/2). Calculate ZZ, UU CVC_VAnd SS. Find the high- and low-temperature limits.

Solution.

Z=n=0eβω(n+1/2)=eβω/21eβωZ = \sum_{n=0}^\infty e^{-\beta\hbar\omega(n+1/2)} = \frac{e^{-\beta\hbar\omega/2}}{1 - e^{-\beta\hbar\omega}}

U=lnZβ=ω2+ωeβω1U = -\frac{\partial\ln Z}{\partial\beta} = \frac{\hbar\omega}{2} + \frac{\hbar\omega}{e^{\beta\hbar\omega} - 1}

CV=UT=kB(βω)2eβω(eβω1)2C_V = \frac{\partial U}{\partial T} = k_B(\beta\hbar\omega)^2 \frac{e^{\beta\hbar\omega}}{(e^{\beta\hbar\omega} - 1)^2}

High TT (βω1\beta\hbar\omega \ll 1): UkBTU \approx k_B T, CVkBC_V \approx k_B (equipartition). Low TT (βω1\beta\hbar\omega \gg 1): Uω/2U \approx \hbar\omega/2 (zero-point energy), CVKB(βω)2eβω0C_V \approx K_B(\beta\hbar\omega)^2 e^{-\beta\hbar\omega} \to 0 exponentially.

If you get this wrong, revise: Section 8.4 (vibrational partition function) and Section 9.4 (equipartition).

Problem 7: Fermi energy of a 3D electron gas

Problem. Sodium has one conduction electron per atom, atomic mass 2323 g/mol, density 970970 Kg/m3^3. Calculate the Fermi energy εF\varepsilon_F and Fermi temperature TFT_F.

Solution. Number density: n=(ρNA/M)=(970×6.022×1023)/(0.023)=2.54×1028n = (\rho N_A / M) = (970 \times 6.022 \times 10^{23}) / (0.023) = 2.54 \times 10^{28} m3^{-3}.

εF=22me(3π2n)2/3=(1.055×1034)22×9.109×1031(3π2×2.54×1028)2/3\varepsilon_F = \frac{\hbar^2}{2m_e}(3\pi^2 n)^{2/3} = \frac{(1.055 \times 10^{-34})^2}{2 \times 9.109 \times 10^{-31}}(3\pi^2 \times 2.54 \times 10^{28})^{2/3}

(3π2n)2/3=(7.55×1029)2/3=8.28×1019 m2{(3\pi^2 n)^{2/3} = (7.55 \times 10^{29})^{2/3} = 8.28 \times 10^{19}\ \mathrm{m}^{-2}}

εF=1.113×10681.822×1030×8.28×1019=5.06×1019 J3.16 eV\varepsilon_F = \frac{1.113 \times 10^{-68}}{1.822 \times 10^{-30}} \times 8.28 \times 10^{19} = 5.06 \times 10^{-19}\ \mathrm{J} \approx 3.16\ \mathrm{eV}

TF=εFkB=5.06×10191.381×102336600 KT_F = \frac{\varepsilon_F}{k_B} = \frac{5.06 \times 10^{-19}}{1.381 \times 10^{-23}} \approx 36600\ \mathrm{K}

If you get this wrong, revise: Section 10.2 (Fermi-Dirac …/4-statistics-and-probability/2_statistics) and Section 10.6 (electron Gas in metals).

Problem 8: Bose-Einstein condensation temperature

Problem. 10410^4 rubidium-87 atoms are trapped in a harmonic potential. Estimate the BEC Transition temperature. (m=87×1.66×1027m = 87 \times 1.66 \times 10^{-27} kg.)

Solution. For a harmonic trap, the density of states is g(ε)=ε2/(2(ωˉ)3)g(\varepsilon) = \varepsilon^2 / (2(\hbar\bar\omega)^3) where ωˉ=(ωxωyωz)1/3\bar\omega = (\omega_x\omega_y\omega_z)^{1/3}. The BEC condition Is N=ζ(3)(kBTc/ωˉ)3N = \zeta(3)(k_B T_c/\hbar\bar\omega)^3:

Tc=ωˉkB(Nζ(3))1/3T_c = \frac{\hbar\bar\omega}{k_B}\left(\frac{N}{\zeta(3)}\right)^{1/3}

Assuming ωˉ=2π×100\bar\omega = 2\pi \times 100 Hz:

Tc=1.055×1034×2π×1001.381×1023×(1042.612)1/3T_c = \frac{1.055 \times 10^{-34} \times 2\pi \times 100}{1.381 \times 10^{-23}} \times \left(\frac{10^4}{2.612}\right)^{1/3}

=4.80×109×15.77.5×108 K=75 nK= 4.80 \times 10^{-9} \times 15.7 \approx 7.5 \times 10^{-8}\ \mathrm{K} = 75\ \mathrm{nK}

This is consistent with experimental BEC observations in laser-cooled atom traps.

If you get this wrong, revise: Section 10.3 (Bose-Einstein …/4-statistics-and-probability/2_statistics) and Section 10.4 (BEC).

Problem 9: Chemical potential of a classical ideal gas

Problem. Show that the chemical potential of a classical ideal gas is μ=kBTln(nλ3)\mu = k_B T\ln(n\lambda^3) Where n=N/Vn = N/V and λ\lambda is the thermal de Broglie wavelength. Discuss the sign of μ\mu.

Solution. From F=NkBT[ln(V/Nλ3)+1]F = -Nk_B T[\ln(V/N\lambda^3) + 1]:

μ=(FN)T,V=kBTln(VNλ3)=kBTln(Nλ3V)=kBTln(nλ3)\mu = \left(\frac{\partial F}{\partial N}\right)_{T,V} = -k_B T\ln\left(\frac{V}{N\lambda^3}\right) = k_B T\ln\left(\frac{N\lambda^3}{V}\right) = k_B T\ln(n\lambda^3)

When nλ31n\lambda^3 \ll 1 (classical regime, dilute gas or high TT): μ<0\mu \lt 0. When nλ31n\lambda^3 \to 1 (approaching quantum degeneracy): μ0\mu \to 0. For fermions, μ>0\mu \gt 0 in the degenerate Regime (TTFT \ll T_F).

If you get this wrong, revise: Section 9.2 (equation of state) and Section 10.5 (comparison of Statistics).

Problem 10: Entropy of a spin system

Problem. A system of N=100N = 100 non-interacting spin-1/2 particles in zero magnetic field. What Is the total entropy? If a field is applied and all spins align, what is ΔS\Delta S?

Solution. In zero field, all 2N2^N microstates are equally probable:

S=kBlnΩ=kBln(2N)=NkBln2=100×1.381×1023×0.6939.57×1022 J/KS = k_B\ln\Omega = k_B\ln(2^N) = Nk_B\ln 2 = 100 \times 1.381 \times 10^{-23} \times 0.693 \approx 9.57 \times 10^{-22}\ \mathrm{J}/K

When all spins are aligned (one microstate):

Sf=kBln1=0S_f = k_B\ln 1 = 0

ΔS=NkBln2\Delta S = -Nk_B\ln 2

This is the maximum entropy change achievable by applying a magnetic field to a spin system, and Forms the basis of magnetic cooling (adiabatic demagnetisation refrigeration).

If you get this wrong, revise: Section 5.1 (Boltzmann entropy) and Section 5.2 (Gibbs entropy).

Problem 11: Blackbody radiation in a cavity

Problem. A cavity of volume V=1V = 1 cm3^3 is maintained at T=1000T = 1000 K. Find the total Radiant energy inside and the radiation pressure on the walls.

Solution. Total energy density:

u=π2kB4153c3T4=π2(1.381×1023)415(1.055×1034)3(3×108)3×(1000)4u = \frac{\pi^2 k_B^4}{15\hbar^3 c^3}\,T^4 = \frac{\pi^2(1.381 \times 10^{-23})^4}{15(1.055 \times 10^{-34})^3(3 \times 10^8)^3} \times (1000)^4

=7.56×101615×1.17×10102×2.7×1025×1012= \frac{7.56 \times 10^{-16}}{15 \times 1.17 \times 10^{-102} \times 2.7 \times 10^{25}} \times 10^{12}

u7.56×1016 J/m3u \approx 7.56 \times 10^{-16}\ \mathrm{J}/m^3

Total energy: U=uV=7.56×1016×106=7.56×1022U = uV = 7.56 \times 10^{-16} \times 10^{-6} = 7.56 \times 10^{-22} J.

Radiation pressure: Prad=u/3=2.52×1016P_{\mathrm{rad} = u/3 = 2.52 \times 10^{-16}} Pa.

If you get this wrong, revise: Section 13.2 (Stefan-Boltzmann law) and Section 13.1 (Planck Distribution).

Problem 12: Clausius-Clapeyron application

Problem. The vapour pressure of benzene is 75 mmHg at 20°20\degreeC and 300 mmHg at 50°50\degreeC. Estimate the enthalpy of vaporisation and the normal boiling point.

Solution. From the integrated Clausius-Clapeyron equation:

lnP2P1=LvR(1T21T1)\ln\frac{P_2}{P_1} = -\frac{L_v}{R}\left(\frac{1}{T_2} - \frac{1}{T_1}\right)

ln30075=Lv8.314(13231293)\ln\frac{300}{75} = -\frac{L_v}{8.314}\left(\frac{1}{323} - \frac{1}{293}\right)

ln4=1.386=Lv8.314(3.16×104)\ln 4 = 1.386 = -\frac{L_v}{8.314}(-3.16 \times 10^{-4})

Lv=1.386×8.3143.16×10436400 J/molL_v = \frac{1.386 \times 8.314}{3.16 \times 10^{-4}} \approx 36400\ \mathrm{J}/mol

Normal boiling point (P=760P = 760 mmHg):

ln76075=364008.314(1Tb1293)\ln\frac{760}{75} = -\frac{36400}{8.314}\left(\frac{1}{T_b} - \frac{1}{293}\right)

2.313=4378(1Tb0.00341)2.313 = -4378\left(\frac{1}{T_b} - 0.00341\right)

1Tb=0.00341+2.3134378=0.00394\frac{1}{T_b} = 0.00341 + \frac{2.313}{4378} = 0.00394

Tb354 K81°CT_b \approx 354\ \mathrm{K} \approx 81\degree\mathrm{C}

(Experimental value: 80.1°80.1\degreeC, showing good agreement.)

If you get this wrong, revise: Section 6.2 (Clausius-Clapeyron equation) and Section 6.4 (worked examples).

Problem 13: Grand canonical partition function of a single orbital

Problem. A single quantum orbital at energy ε\varepsilon is in contact with a reservoir at Chemical potential μ\mu and temperature TT. Calculate N\langle N \rangle and N2N2\langle N^2 \rangle - \langle N \rangle^2 for (a) fermions and (b) bosons.

Solution.

(a) Fermions: Z=1+eβ(εμ)\mathcal{Z} = 1 + e^{-\beta(\varepsilon - \mu)}.

N=1eβ(εμ)+1=fFD\langle N \rangle = \frac{1}{e^{\beta(\varepsilon - \mu)} + 1} = f_{\mathrm{FD}}

N2=N\langle N^2 \rangle = \langle N \rangle (since N2=NN^2 = N for N=0,1N = 0, 1)

N2N2=fFD(1fFD)\langle N^2 \rangle - \langle N \rangle^2 = f_{\mathrm{FD}(1 - f_{\mathrm{FD})}}

(b) Bosons: Z=(1eβ(εμ))1\mathcal{Z} = (1 - e^{-\beta(\varepsilon - \mu)})^{-1}.

N=1eβ(εμ)1=fBE\langle N \rangle = \frac{1}{e^{\beta(\varepsilon - \mu)} - 1} = f_{\mathrm{BE}}

N2=1+eβ(εμ)(1eβ(εμ))2\langle N^2 \rangle = \frac{1 + e^{-\beta(\varepsilon - \mu)}}{(1 - e^{-\beta(\varepsilon - \mu)})^2}

N2N2=fBE(1+fBE)\langle N^2 \rangle - \langle N \rangle^2 = f_{\mathrm{BE}(1 + f_{\mathrm{BE})}}

Note: boson fluctuations are larger than fermion fluctuations at the same ε,μ,T\varepsilon, \mu, T.

If you get this wrong, revise: Section 10.2 (Fermi-Dirac), Section 10.3 (Bose-Einstein), and Section 11 (grand canonical ensemble).

Problem 14: Ising model mean-field critical temperature

Problem. For a 2D square lattice Ising model with coupling J>0J \gt 0 and h=0h = 0Use mean-field Theory to find TcT_c. The exact result (Onsager, 1944) is Tcexact=2J/(kBln(1+2))T_c^{\mathrm{exact} = 2J/(k_B\ln(1 + \sqrt{2}))}. Compare.

Solution. The coordination number is z=4z = 4. Mean-field theory gives:

TcMF=JzkB=4JkBT_c^{\mathrm{MF} = \frac{Jz}{k_B} = \frac{4J}{k_B}}

Exact result:

Tcexact=2JkBln(1+2)=2JkB×0.881=2.27JkBT_c^{\mathrm{exact} = \frac{2J}{k_B\ln(1 + \sqrt{2})} = \frac{2J}{k_B \times 0.881} = \frac{2.27J}{k_B}}

The ratio: TcMF/Tcexact=4/2.271.76T_c^{\mathrm{MF}/T_c^{\mathrm{exact} = 4/2.27 \approx 1.76}}. Mean-field theory Overestimates TcT_c by 76% in 2D, because fluctuations (neglected in mean-field) are large in two Dimensions.

If you get this wrong, revise: Section 14.3 (mean-field approximation) and the Common Pitfall Box in Section 14.

Problem 15: Deriving the Sackur-Tetrode equation

Problem. Starting from the microcanonical ensemble, derive the Sackur-Tetrode equation for the Entropy of a monatomic ideal gas. State all assumptions.

Solution. See Theorem 15.1 for the full derivation. Key assumptions:

  1. Particles are non-interacting (ideal gas).
  2. Particles are indistinguishable (Gibbs factor 1/N!1/N!).
  3. Classical phase space is quantised in units of h3Nh^{3N}.
  4. Thermodynamic limit (NN \to \infty, VV \to \infty, N/V=constN/V = \mathrm{const}).

If you get this wrong, revise: Section 15.3 (ideal gas in the microcanonical ensemble).

Problem 16: Transport coefficients from kinetic theory

Problem. Estimate the thermal conductivity of argon at STP. (m=6.63×1026m = 6.63 \times 10^{-26} kg, d=3.6×1010d = 3.6 \times 10^{-10} m, CV=32kBC_V = \frac{3}{2}k_B per atom.)

Solution. Mean free path: λmfp=1/(2πd2n)\lambda_{\mathrm{mfp} = 1/(\sqrt{2}\,\pi d^2 n)}.

With n=P/(kBT)=101325/(1.381×1023×273)=2.69×1025n = P/(k_B T) = 101325/(1.381 \times 10^{-23} \times 273) = 2.69 \times 10^{25} m3^{-3}:

λmfp=12π(3.6×1010)2×2.69×10256.5×108 m\lambda_{\mathrm{mfp} = \frac{1}{\sqrt{2}\,\pi(3.6 \times 10^{-10})^2 \times 2.69 \times 10^{25}} \approx 6.5 \times 10^{-8}\ \mathrm{m}}

Mean speed: v=8kBT/(πm)=8×1.381×1023×273/(π×6.63×1026)398\langle v \rangle = \sqrt{8k_B T/(\pi m)} = \sqrt{8 \times 1.381 \times 10^{-23} \times 273 / (\pi \times 6.63 \times 10^{-26})} \approx 398 m/s.

κ=13nvλmfp32kB=12nkBvλmfp\kappa = \frac{1}{3}n\langle v\rangle\lambda_{\mathrm{mfp} \cdot \frac{3}{2}k_B = \frac{1}{2}nk_B\langle v\rangle\lambda_{\mathrm{mfp}}}

=12×2.69×1025×1.381×1023×398×6.5×1080.019 W/(mK)= \frac{1}{2} \times 2.69 \times 10^{25} \times 1.381 \times 10^{-23} \times 398 \times 6.5 \times 10^{-8} \approx 0.019\ \mathrm{W}/(m \cdot K)

The experimental value is approximately 0.018 W/(m\cdotK) — reasonable agreement for the hard-sphere Model.

If you get this wrong, revise: Section 9.5 (kinetic theory, transport properties).

Problem 17: Landau theory specific heat jump

Problem. A system undergoes a second-order phase transition at Tc=100T_c = 100 K described by Landau theory with a=0.1a = 0.1 J/(mol\cdotK) and b=0.05b = 0.05 J/mol. Calculate the order parameter at T=90T = 90 K and the specific heat jump ΔCP\Delta C_P at TcT_c.

Solution. Order parameter below TcT_c:

ϕ=±a(TcT)2b=±0.1×102×0.05=±10±3.16\phi = \pm\sqrt{\frac{a(T_c - T)}{2b}} = \pm\sqrt{\frac{0.1 \times 10}{2 \times 0.05}} = \pm\sqrt{10} \approx \pm 3.16

Specific heat jump:

ΔCP=a2Tc2b=0.01×1000.1=10 J/(molK)\Delta C_P = \frac{a^2 T_c}{2b} = \frac{0.01 \times 100}{0.1} = 10\ \mathrm{J}/(mol \cdot K)

If you get this wrong, revise: Section 14.4 (Landau theory) and Section 6.1 (classification of Phase transitions).

Problem 18: Grand canonical fluctuations

Problem. For an ideal gas in the grand canonical ensemble, show that the relative number Fluctuation is N2N2/N=1/N\sqrt{\langle N^2 \rangle - \langle N \rangle^2}/\langle N \rangle = 1/\sqrt{\langle N \rangle}.

Solution. The grand partition function for an ideal gas factorises into single-particle Contributions. Each single-particle state contributes independently, so the particle number is a sum Of independent Bernoulli-like random variables. By the central limit theorem:

N2N2=N\langle N^2 \rangle - \langle N \rangle^2 = \langle N \rangle

(Poisson …/4-statistics-and-probability/2_statistics for an ideal gas.)

N2N2N=1N\frac{\sqrt{\langle N^2 \rangle - \langle N \rangle^2}}{\langle N \rangle} = \frac{1}{\sqrt{\langle N \rangle}}

For N=1023\langle N \rangle = 10^{23}: relative fluctuations are 1011.5\sim 10^{-11.5}Completely negligible — the grand canonical and canonical ensembles are equivalent for macroscopic systems.

If you get this wrong, revise: Section 11.3 (grand canonical fluctuations) and Section 12 (fluctuation-dissipation theorem).

Problem 19: Wien's law and stellar classification

Problem. A star has peak emission at λmax=290\lambda_{\mathrm{max} = 290} nm. (a) What is its surface Temperature? (b) What spectral class does it belong to? (c) What is the total power radiated per Square metre?

Solution.

(a) T=b/λmax=(2.898×103)/(290×109)9990T = b/\lambda_{\mathrm{max} = (2.898 \times 10^{-3})/(290 \times 10^{-9}) \approx 9990} K 10000\approx 10000 K.

(b) A surface temperature of 10000\sim 10000 K corresponds to spectral class A (white stars, like Sirius).

(c) j=σT4=(5.67×108)(10000)4=5.67×108j = \sigma T^4 = (5.67 \times 10^{-8})(10000)^4 = 5.67 \times 10^8 W/m2^2.

If you get this wrong, revise: Section 13.3 (Wien’s displacement law) and Section 13.2 (Stefan-Boltzmann law).

Problem 20: Free energy and phase equilibrium

Problem. The Gibbs free energy of a substance near its melting point is given by: Gsolid=10000+30TG_{\mathrm{solid} = -10000 + 30T} J/mol and Gliquid=9500+25TG_{\mathrm{liquid} = -9500 + 25T} J/mol (valid for TT near the melting point). Find TmT_m and LfL_f.

Solution. At the melting point, Gsolid=GliquidG_{\mathrm{solid} = G_{\mathrm{liquid}}}:

10000+30Tm=9500+25Tm-10000 + 30T_m = -9500 + 25T_m

5Tm=500    Tm=100 K5T_m = 500 \implies T_m = 100\ \mathrm{K}

Latent heat: Lf=Tm(SliquidSsolid)=Tm(Gliquid/T+Gsolid/T)L_f = T_m(S_{\mathrm{liquid} - S_{\mathrm{solid}) = T_m(-\partial G_{\mathrm{liquid}/\partial T + \partial G_{\mathrm{solid}/\partial T)}}}}

Lf=100×(3025)=500 J/molL_f = 100 \times (30 - 25) = 500\ \mathrm{J}/mol

We can verify with the Clausius-Clapeyron equation if ΔV\Delta V is known.

If you get this wrong, revise: Section 2.3 (physical meaning of potentials), Section 2.5 (equilibrium conditions), and Section 6.2 (Clausius-Clapeyron).

:::caution Common Pitfall Do not confuse the different ensembles. Use the microcanonical ensemble (NVENVE) for isolated systems, the canonical ensemble (NVTNVT) for systems in a heat bath, and the Grand canonical ensemble (μVT\mu VT) for open systems. For macroscopic systems in equilibrium, all Ensembles give the same thermodynamic results, but they differ in their fluctuation predictions. :::

:::caution Common Pitfall When applying the equipartition theorem, remember that it applies only to quadratic degrees of freedom. Vibrational modes contribute kBTk_B T (not kBT/2k_B T/2) because they Have both kinetic and potential energy terms. Electronic and rotational degrees of freedom may be “frozen out” at low temperatures when kBTk_B T is much less than the level spacing. :::

:::caution Common Pitfall The Gibbs paradox arises when classical particles are treated as Distinguishable. Always include the 1/N!1/N! factor in the partition function for identical particles. This is not an optional correction — it is required by quantum mechanics (indistinguishability of Identical particles) and ensures that entropy is extensive. :::

13. Nonequilibrium Thermodynamics

13.1 Entropy Production and the Second Law

For a system not in equilibrium, the second law takes the form:

dSdt=dSedt+dSidt0\frac{dS}{dt} = \frac{dS_e}{dt} + \frac{dS_i}{dt} \geq 0

Where dSe/dtdS_e/dt is the entropy exchange with the environment (can be positive or negative) and dSi/dt0dS_i/dt \geq 0 is the entropy production rate (always non-negative).

For coupled transport processes (heat flow Jq\mathbf{J}_q and particle flow Jn\mathbf{J}_n driven by (1/T)\nabla(1/T) and (μ/T)-\nabla(\mu/T)):

dSidt=[Jq ⁣(1T)Jn ⁣(μT)]dV0\frac{dS_i}{dt} = \int\left[\mathbf{J}_q \cdot \nabla\!\left(\frac{1}{T}\right) - \mathbf{J}_n \cdot \nabla\!\left(\frac{\mu}{T}\right)\right] dV \geq 0

13.2 Onsager Reciprocal Relations

In the linear regime (small gradients), the fluxes are linear functions of the forces:

Ji=jLijFjJ_i = \sum_j L_{ij}F_j

Onsager’s theorem: The Onsager coefficients satisfy Lij=LjiL_{ij} = L_{ji} (when the forces and fluxes are chosen as conjugate pairs). This is a consequence of microscopic reversibility and has important implications:

  • Thermoelectric effects: The Seebeck coefficient and Peltier coefficient are related: Π=ST\Pi = ST (Kelvin relation).
  • Cross-diffusion: The diffusivity of species A in a gradient of species B equals the diffusivity of B in a gradient of A.

13.3 Boltzmann Transport Equation

The Boltzmann equation describes the evolution of the distribution function f(r,v,t)f(\mathbf{r}, \mathbf{v}, t):

ft+vrf+Fmvf=(ft)coll\frac{\partial f}{\partial t} + \mathbf{v}\cdot\nabla_{\mathbf{r}}f + \frac{\mathbf{F}}{m}\cdot\nabla_{\mathbf{v}}f = \left(\frac{\partial f}{\partial t}\right)_{\text{coll}}

The collision integral is often approximated by the relaxation time approximation:

(ft)collff0τ(v)\left(\frac{\partial f}{\partial t}\right)_{\text{coll} \approx -\frac{f - f_0}{\tau(\mathbf{v})}}

Where f0f_0 is the equilibrium (Maxwell—Boltzmann) distribution and τ\tau is the relaxation time.

The HH-theorem: Define H=flnfd3vH = \int f\ln f\, d^3v. The Boltzmann equation implies dH/dt0dH/dt \leq 0With equality only at equilibrium. This is the microscopic basis of the second law.

13.4 Fick’s Law and Diffusion

Fick’s first law: J=DnJ = -D\nabla n where DD is the diffusion coefficient.

Fick’s second law (diffusion equation): n/t=D2n\partial n/\partial t = D\nabla^2 n.

Einstein relation: D=μkBTD = \mu k_B T where μ\mu is the mobility.

Green’s function solution (point source at origin, t=0t = 0):

n(r,t)=N(4πDt)3/2exp ⁣(r24Dt)n(\mathbf{r}, t) = \frac{N}{(4\pi Dt)^{3/2}}\exp\!\left(-\frac{r^2}{4Dt}\right)

The mean squared displacement: r2=6Dt\langle r^2 \rangle = 6Dt.

Worked Example 13.1: Thermal Diffusion (Soret Effect)

In a mixture of two gases with a temperature gradient, particles tend to migrate toward the cold end. The mass flux includes a thermal diffusion term:

Jn=DnnDTT\mathbf{J}_n = -D\nabla n - nD_T\nabla T

Where DTD_T is the thermal diffusion coefficient. The Soret coefficient ST=DT/DS_T = D_T/D characterises the strength of the effect.

For a 50505050 mixture of 3^3He—4^4He below 2 K, STS_T is large and positive: 3^3He migrates toward the warm end. This is exploited in 3^3He—4^4He dilution refrigerators, the workhorses of millikelvin physics.

The steady-state concentration gradient is:

nn=STT\frac{\nabla n}{n} = -S_T\,\nabla T

For ST=0.01S_T = 0.01 K1^{-1} and ΔT=0.1\Delta T = 0.1 K across a 10 cm column:

Δnn=STΔT=0.001=0.1%\frac{\Delta n}{n} = S_T \Delta T = 0.001 = 0.1\%

14. Kinetic Theory in Detail

14.1 Maxwell—Boltzmann Distribution

The velocity distribution of an ideal gas at temperature TT:

f(v)=n(m2πkBT)3/2exp ⁣(mv22kBT)f(\mathbf{v}) = n\left(\frac{m}{2\pi k_B T}\right)^{3/2}\exp\!\left(-\frac{mv^2}{2k_B T}\right)

Speed distribution (integrating over angles):

f(v)dv=4πn(m2πkBT)3/2v2exp ⁣(mv22kBT)dvf(v)\,dv = 4\pi n\left(\frac{m}{2\pi k_B T}\right)^{3/2}v^2\exp\!\left(-\frac{mv^2}{2k_B T}\right)dv

Characteristic speeds:

  • Most probable: vp=2kBT/mv_p = \sqrt{2k_BT/m}
  • Mean: v=8kBT/(πm)=2πvp\langle v \rangle = \sqrt{8k_BT/(\pi m)} = \frac{2}{\sqrt{\pi}}v_p
  • RMS: vrms=3kBT/m=3/2vpv_{\text{rms} = \sqrt{3k_BT/m} = \sqrt{3/2}\,v_p}

14.2 Mean Free Path and Collisions

The mean free path for hard-sphere molecules of diameter dd:

=12nπd2\ell = \frac{1}{\sqrt{2}\,n\pi d^2}

The factor 2\sqrt{2} accounts for the relative motion of the scattering partners.

The collision frequency: ν=v/=2nπd2v\nu = \langle v \rangle/\ell = \sqrt{2}\,n\pi d^2\langle v\rangle.

For air at STP (n2.5×1025n \approx 2.5 \times 10^{25} m3^{-3}, d3.7×1010d \approx 3.7 \times 10^{-10} m):

=12×2.5×1025×π×(3.7×1010)2=11.52×107=66 nm\ell = \frac{1}{\sqrt{2} \times 2.5 \times 10^{25} \times \pi \times (3.7 \times 10^{-10})^2} = \frac{1}{1.52 \times 10^7} = 66\ \text{nm}

ν=445 m/s66×109m=6.7×109 s1\nu = \frac{445\ \text{m}/s}{66 \times 10^{-9}\,\text{m} = 6.7 \times 10^9\ \text{s}^{-1}}

14.3 Transport Coefficients

Viscosity (gas): η=13nmv=13ρv\eta = \frac{1}{3}n m \langle v \rangle \ell = \frac{1}{3}\rho\langle v \rangle\ell.

Thermal conductivity: κ=13nvcV=13ρvcv\kappa = \frac{1}{3}n\langle v \rangle\ell\,c_V = \frac{1}{3}\rho\langle v \rangle\ell\,c_v where cvc_v is the specific heat per unit mass.

Self-diffusion: D=13vD = \frac{1}{3}\langle v \rangle\ell.

Chapman—Enskog theory gives more accurate expressions with numerical corrections:

η=516πmkBTπd2\eta = \frac{5}{16}\frac{\sqrt{\pi m k_B T}}{\pi d^2}

Worked Example 14.1: Effusion Through a Small Hole

A container of nitrogen (m=28m = 28 amu, T=300T = 300 K) has a small hole of area AA. The effusion rate (molecules per second escaping):

Φ=14nvA=14n8kBTπmA\Phi = \frac{1}{4}n\langle v\rangle A = \frac{1}{4}n\sqrt{\frac{8k_BT}{\pi m}}\,A

At P=100P = 100 Pa, T=300T = 300 K: n=P/(kBT)=100/(1.38×1023×300)=2.42×1022n = P/(k_BT) = 100/(1.38 \times 10^{-23} \times 300) = 2.42 \times 10^{22} m3^{-3}.

v=8×1.38×1023×300π×28×1.66×1027=3.31×10201.46×1025=2.27×105=476 m/s\langle v \rangle = \sqrt{\frac{8 \times 1.38 \times 10^{-23} \times 300}{\pi \times 28 \times 1.66 \times 10^{-27}}} = \sqrt{\frac{3.31 \times 10^{-20}}{1.46 \times 10^{-25}}} = \sqrt{2.27 \times 10^5} = 476\ \text{m}/s

Φ=14×2.42×1022×476×A=2.88×1024A s1\Phi = \frac{1}{4} \times 2.42 \times 10^{22} \times 476 \times A = 2.88 \times 10^{24}\,A\ \text{s}^{-1}

For A=1mm2=106m2A = 1\,\text{mm}^2 = 10^{-6}\,\text{m}^2: Φ=2.88×1018\Phi = 2.88 \times 10^{18} molecules/s.

Knudsen effusion: The ratio of effusion rates for two gases with masses m1m_1 and m2m_2:

Φ1Φ2=m2m1\frac{\Phi_1}{\Phi_2} = \sqrt{\frac{m_2}{m_1}}

This is the basis for isotope separation by gaseous diffusion.

15. Information Theory and Statistical Mechanics

15.1 Shannon Entropy

The Shannon entropy of a probability distribution {pi}\{p_i\}:

SShannon=ipilnpiS_{\text{Shannon} = -\sum_i p_i\ln p_i}

This is mathematically identical to the Boltzmann entropy (up to the constant kBk_B), providing a deep connection between information theory and thermodynamics.

Maximum entropy principle: The least biased probability distribution, given constraints (e.g., fixed mean energy), is the one that maximises the Shannon entropy. This reproduces the canonical ensemble: maximising SS subject to piEi=E\sum p_i E_i = \langle E \rangle gives the Boltzmann distribution.

15.2 Landauer’s Principle

Erasing one bit of information in a memory element necessarily dissipates at least:

EkBTln2E \geq k_B T \ln 2

Of energy as heat. This establishes a fundamental lower bound on the energy cost of computation.

Reversible computation: If no information is erased (e.g., in logically reversible operations like NOT), no energy dissipation is required in principle. This motivates research into reversible computing architectures.

15.3 Maxwell’s Demon

Maxwell’s demon appears to violate the second law by sorting fast and slow molecules, creating a temperature difference from an initially uniform gas without doing work.

Resolution (Bennett, 1982): The demon must acquire information about molecular speeds (measurement) and then erase this information to reset its memory. By Landauer’s principle, erasing the information costs at least kBTln2k_B T \ln 2 per bit, exactly compensating the entropy decrease of the gas. The second law is upheld: dSgas+dSdemon0dS_{\text{gas} + dS_{\text{demon} \geq 0}}.

Worked Example 15.1: Maximum Entropy Distribution

Find the probability distribution on {1,2,3,}\{1, 2, 3, \ldots\} that maximises S=npnlnpnS = -\sum_n p_n\ln p_n subject to the constraint nnpn=μ\sum_n n\,p_n = \mu (fixed mean).

Using Lagrange multipliers:

pn[npnlnpnλnpnβnnpn]=0\frac{\partial}{\partial p_n}\left[-\sum_n p_n\ln p_n - \lambda\sum_n p_n - \beta\sum_n n\,p_n\right] = 0

lnpn1λβn=0    pn=e1λeβn-\ln p_n - 1 - \lambda - \beta n = 0 \implies p_n = e^{-1-\lambda}\,e^{-\beta n}

Normalising npn=1\sum_n p_n = 1: pn=(1eβ)eβnp_n = (1 - e^{-\beta})\,e^{-\beta n} (geometric distribution).

The constraint μ=npn=eβ/(1eβ)=1/(eβ1)\mu = \sum n\,p_n = e^{-\beta}/(1 - e^{-\beta}) = 1/(e^\beta - 1)So β=ln(1+1/μ)\beta = \ln(1 + 1/\mu).

For μ=5\mu = 5: β=ln(1.2)=0.182\beta = \ln(1.2) = 0.182, pn=0.167×e0.182np_n = 0.167 \times e^{-0.182n}.

This shows that the exponential (geometric) distribution arises from maximum entropy with a constraint on the mean value --- a deep connection between information theory and statistical physics.

Common Pitfalls (Additional)

  1. Onsager relations require careful force-flux pairing: The reciprocal relations Lij=LjiL_{ij} = L_{ji} hold only when the forces FiF_i and fluxes JiJ_i are properly chosen as conjugate pairs (both contributing positively to dSi/dtdS_i/dt). An incorrect pairing can lead to wrong cross-coefficients.

  2. The relaxation time approximation is not exact: Setting (f/t)coll=(ff0)/τ(\partial f/\partial t)_{\text{coll} = -(f - f_0)/\tau} assumes a single relaxation time for all processes. In reality, τ\tau depends on velocity (energy), and different scattering processes have different time scales. The approximation works well for order-of-magnitude estimates but fails for quantitatively accurate transport predictions.

  3. Effusion vs. Hydrodynamic flow: Effusion (molecular flow through a small hole) occurs when the hole diameter is much smaller than the mean free path (dd \ll \ellKnudsen number 1\gg 1). For larger holes (dd \gg \ell), hydrodynamic flow (described by the Navier—Stokes equations) dominates. The transition between regimes is important in vacuum systems.

  4. Landauer’s bound is per bit, not per operation: Only logically irreversible operations (those that erase information) incur the kBTln2k_BT\ln 2 cost. Logically reversible operations (e.g., swapping two bits) have no minimum energy cost in principle, though real physical implementations always have some dissipation.

  5. Maximum entropy is not the same as most probable: The maximum entropy distribution is the least biased distribution consistent with the constraints. It may not be the distribution you would observe in a specific realisation. The ergodic hypothesis connects time averages to ensemble averages, but the convergence can be very slow for systems with long-range interactions or glassy dynamics.

Problems (Additional)

Problem 21: Thermal Conductivity of a Gas

Calculate the thermal conductivity of argon at STP using kinetic theory.

Data: m=40m = 40 amu, d=3.6×1010d = 3.6 \times 10^{-10} m, cV=(3/2)kBc_V = (3/2)k_B (monatomic), n=2.69×1025n = 2.69 \times 10^{25} m3^{-3}.

Compare with the experimental value of κ=0.0177\kappa = 0.0177 W/(m\cdotK) and comment on the discrepancy.

Solution:

Mean speed: v=8kBT/(πm)=8×1.38×1023×300/(π×40×1.66×1027)=1.59×105=399\langle v \rangle = \sqrt{8k_BT/(\pi m)} = \sqrt{8 \times 1.38 \times 10^{-23} \times 300/(\pi \times 40 \times 1.66 \times 10^{-27})} = \sqrt{1.59 \times 10^5} = 399 m/s.

Mean free path: =1/(2nπd2)=1/(1.414×2.69×1025×π×1.296×1019)=1/(1.38×107)=72.5\ell = 1/(\sqrt{2}\,n\pi d^2) = 1/(1.414 \times 2.69 \times 10^{25} \times \pi \times 1.296 \times 10^{-19}) = 1/(1.38 \times 10^7) = 72.5 nm.

κ=13ρvcv=13nmv×3kB2m=12nvkB\kappa = \frac{1}{3}\rho\langle v\rangle\ell\,c_v = \frac{1}{3}\frac{nm\langle v\rangle\ell \times 3k_B}{2m} = \frac{1}{2}n\langle v\rangle\ell\,k_B

=12×2.69×1025×399×72.5×109×1.38×1023= \frac{1}{2} \times 2.69 \times 10^{25} \times 399 \times 72.5 \times 10^{-9} \times 1.38 \times 10^{-23}

=12×2.69×1025×399×109×72.5×1.38×1023= \frac{1}{2} \times 2.69 \times 10^{25} \times 399 \times 10^{-9} \times 72.5 \times 1.38 \times 10^{-23}

=0.5×2.69×1025×3.995×102×109×1023= 0.5 \times 2.69 \times 10^{25} \times 3.995 \times 10^2 \times 10^{-9} \times 10^{-23}

=0.5×2.69×3.995×72.5×105=0.5×7789×105=0.0390 W/(mK)= 0.5 \times 2.69 \times 3.995 \times 72.5 \times 10^{-5} = 0.5 \times 7789 \times 10^{-5} = 0.0390\ \text{W}/(m\cdot\text{K})

The kinetic theory prediction (0.039) overestimates the experimental value (0.0177) by about a factor of 2.2. This discrepancy is systematic and is resolved by the Chapman—Enskog theory, which gives:

κCE=2532κsimple0.78×0.039=0.030 W/(mK)\kappa_{\text{CE} = \frac{25}{32}\kappa_{\text{simple} \approx 0.78 \times 0.039 = 0.030\ \text{W}/(m\cdot\text{K})}}

Still an overestimate; the remaining discrepancy is due to the hard-sphere model not accurately representing the real intermolecular potential of argon (which has an attractive well that reduces the effective collision cross-section at lower temperatures).

Problem 22: Boltzmann $H$-Theorem

(a) Show that for a spatially uniform gas, the Boltzmann equation with the BGK collision operator C[f]=(ff0)/τC[f] = -(f - f_0)/\tau leads to dH/dt0dH/dt \leq 0 where H=flnfd3vH = \int f\ln f\, d^3v.

(b) Identify the equilibrium state where dH/dt=0dH/dt = 0.

Solution:

(a) For a spatially uniform gas with no external forces: f/t=(ff0)/τ\partial f/\partial t = -(f - f_0)/\tau.

dHdt=ft(1+lnf)d3v=1τ(ff0)(1+lnf)d3v\frac{dH}{dt} = \int \frac{\partial f}{\partial t}(1 + \ln f)\,d^3v = -\frac{1}{\tau}\int(f - f_0)(1 + \ln f)\,d^3v

=1τ[fd3vf0d3v+flnfd3vf0lnfd3v]= -\frac{1}{\tau}\left[\int f\,d^3v - \int f_0\,d^3v + \int f\ln f\,d^3v - \int f_0\ln f\,d^3v\right]

Since fd3v=f0d3v=n\int f\,d^3v = \int f_0\,d^3v = n (number conservation):

dHdt=1τ[flnfd3vf0lnfd3v]\frac{dH}{dt} = -\frac{1}{\tau}\left[\int f\ln f\,d^3v - \int f_0\ln f\,d^3v\right]

=1τ(ff0)lnfd3v= -\frac{1}{\tau}\int (f - f_0)\ln f\,d^3v

Using the Gibbs inequality (ff0)lnfd3v0\int (f - f_0)\ln f\,d^3v \geq 0 (since xlnxx+10x\ln x - x + 1 \geq 0 with equality at x=1x = 1):

dHdt=1τ(ff0)(lnflnf0)d3v1τ(ff0)lnf0d3v\frac{dH}{dt} = -\frac{1}{\tau}\int(f - f_0)(\ln f - \ln f_0)\,d^3v - \frac{1}{\tau}\int(f - f_0)\ln f_0\,d^3v

=1τ(ff0)ln(f/f0)d3vlnf0τ(ff0)d3v= -\frac{1}{\tau}\int(f - f_0)\ln(f/f_0)\,d^3v - \frac{\ln f_0}{\tau}\int(f - f_0)\,d^3v

=1τ(ff0)ln(f/f0)d3v= -\frac{1}{\tau}\int(f - f_0)\ln(f/f_0)\,d^3v

Since xlnxx1x\ln x \geq x - 1 for x>0x > 0 (with equality at x=1x = 1), the integrand (f/f0)ln(f/f0)(f/f0)+10(f/f_0)\ln(f/f_0) - (f/f_0) + 1 \geq 0So (ff0)ln(f/f0)d3v0\int(f - f_0)\ln(f/f_0)\,d^3v \geq 0.

Therefore dHdt0\frac{dH}{dt} \leq 0. \blacksquare

(b) dH/dt=0dH/dt = 0 requires f=f0f = f_0 everywhere, i.e., the distribution is Maxwell—Boltzmann. This is the equilibrium state, as expected.

16. Statistical Mechanics of Interacting Systems

16.1 The Ising Model Revisited

The 1D Ising model was solved exactly by Ising (1925) using the transfer matrix method. The 2D Ising model was solved by Onsager (1944), providing one of the most important exact results in statistical mechanics.

Correlation functions: The spin-spin correlation function:

σiσj=tanhn(βJ)\langle\sigma_i\sigma_j\rangle = \tanh^n(\beta J)

For the 1D chain with n=ijn = |i - j|. The correlation length:

ξ=1lntanh(βJ)\xi = -\frac{1}{\ln\tanh(\beta J)}

As TTcT \to T_c^-: ξ\xi \to \infty (critical point).

Scaling near TcT_c: The correlation function takes the scaling form:

σ0σrer/ξr(d2+η)\langle\sigma_0\sigma_r\rangle \sim \frac{e^{-r/\xi}}{r^{(d-2+\eta)}}

Where η\eta is a critical exponent (η=1/4\eta = 1/4 for the 2D Ising model).

16.2 Renormalisation Group (Conceptual)

The renormalisation group (RG) provides a framework for understanding critical phenomena. The key idea: progressively integrate out short-wavelength fluctuations, rescaling, and look for fixed points.

RG flow diagram:

  1. Start with a Hamiltonian H0H_0 with coupling constants {Ki}\{K_i\}.
  2. Integrate out short-wavelength modes (thin out the lattice).
  3. Rescale lengths: x=x/bx' = x/b (b>1b > 1).
  4. Rescale spins: σ=b(d2+η)/2σ\sigma' = b^{(d-2+\eta)/2}\sigma.
  5. Repeat.

Fixed points: Values of the coupling constants that are invariant under RG transformation. Fixed points correspond to scale-invariant theories (critical points).

  • Gaussian fixed point: The mean-field critical exponents (η=0\eta = 0, ν=1/2\nu = 1/2).
  • Wilson—Fisher fixed point: The nontrivial fixed point of the ϕ4\phi^4 theory in d<4d < 4 dimensions, giving non-mean-field exponents.
  • IR-stable fixed point: Controls the low-energy (long-wavelength) physics.

** epsilon expansion:** Expand in ϵ=4d\epsilon = 4 - d. At one loop:

βu=ϵu316π2u2+\beta_u = \epsilon u - \frac{3}{16\pi^2}u^2 + \cdots

βλ=ϵλ316π2λu+\beta_\lambda = \epsilon\lambda - \frac{3}{16\pi^2}\lambda u + \cdots

Setting βu=0\beta_u = 0: u=16π2ϵ/3+O(ϵ2)u^* = 16\pi^2\epsilon/3 + O(\epsilon^2).

The critical exponents to order ϵ\epsilon:

ν=12+ϵ6+O(ϵ2)\nu = \frac{1}{2} + \frac{\epsilon}{6} + O(\epsilon^2)

For ϵ=1\epsilon = 1 (d=3d = 3): ν=2/30.667\nu = 2/3 \approx 0.667 (compare with the numerical value ν0.630\nu \approx 0.630).

16.3 Mean-Field Theory of Phase Transitions

The Landau free energy for a scalar order parameter ϕ\phi near TcT_c:

f(ϕ,T)=f0(T)+a02(TTc)ϕ2+b4ϕ4f(\phi, T) = f_0(T) + \frac{a_0}{2}(T - T_c)\phi^2 + \frac{b}{4}\phi^4

Mean-field exponents: α=0\alpha = 0 (jump in CC), β=1/2\beta = 1/2, γ=1\gamma = 1, δ=3\delta = 3, η=0\eta = 0.

These are exact above the upper critical dimension du=4d_u = 4. Below dud_uFluctuations modify the exponents (as computed by the epsilon expansion).

Ginzburg criterion: Mean-field theory is valid when the fluctuation contribution to the free energy is small compared to the mean-field part:

ξd(TcT)(4d)/21b2\xi^d \ll (T_c - T)^{-(4-d)/2}\frac{1}{b^2}

This gives a Ginzburg temperature TGT_G below which fluctuations become important. For conventional superconductors (ξ0100\xi_0 \sim 100 nm, Tc10T_c \sim 10 K): TG/Tc1014T_G/T_c \sim 10^{-14} (mean-field is excellent). For high-TcT_c superconductors (ξ01\xi_0 \sim 1 nm, Tc100T_c \sim 100 K): TG/Tc1T_G/T_c \sim 1 (fluctuations are important, explaining the broad fluctuation regime above TcT_c).

Worked Example 16.1: RG Flow for the Gaussian Model

Consider the Gaussian (free field) model: H=ddr[12(ϕ)2+12r0ϕ2]\mathcal{H} = \int d^dr\left[\frac{1}{2}(\nabla\phi)^2 + \frac{1}{2}r_0\phi^2\right].

After thinning out modes in the shell Λ/b<k<Λ\Lambda/b < |k| < \Lambda and rescaling:

  1. Integrate out short-wavelength modes: the correlation function ξ\xi transforms as ξ=ξ/b\xi' = \xi/b.
  2. The rescaled coupling: r0=b2r0r_0' = b^2 r_0 (since r0r_0 has dimensions of mass2^2 and we rescale ϕ=b(d2)/2ϕ\phi' = b^{(d-2)/2}\phi).

The RG flow for r0r_0: dr0dlnb=2r0\frac{dr_0}{d\ln b} = 2r_0 (relevant operator).

This means r0r_0 grows under RG, flowing away from the Gaussian fixed point (r0=0r_0 = 0). The fixed point is unstable, indicating that the disordered phase (r0>0r_0 > 0, ϕ=0\phi = 0 is stable) is separated from the ordered phase by the critical point.

The correlation length exponent: ξr01/2\xi \propto r_0^{-1/2}Giving ν=1/2\nu = 1/2 (the mean-field value).

Worked Examples

Example 1: Carnot efficiency

Problem. A Carnot engine operates between 500K500 \mathrm{ K} and 300K300 \mathrm{ K}. Find the maximum efficiency.

Solution. η=1TC/TH=1300/500=10.6=0.4=40%\eta = 1 - T_C/T_H = 1 - 300/500 = 1 - 0.6 = 0.4 = 40\%.

\blacksquare

Example 2: Entropy change

Problem. Find the entropy change when 2mol2 \mathrm{ mol} of ice at 0°C0°\mathrm{C} melts (ΔHfus=6.01kJ/mol\Delta H_{\text{fus}} = 6.01 \mathrm{ kJ/mol}).

Solution. ΔS=QT=nΔHfusT=2×6010273=44.0J/K\Delta S = \frac{Q}{T} = \frac{n \Delta H_{\text{fus}}}{T} = \frac{2 \times 6010}{273} = 44.0 \mathrm{ J/K}.

\blacksquare

Common Pitfalls

  • Confusing heat, temperature, and internal energy. Temperature is a state variable; heat is energy transfer due to temperature difference; internal energy is the total kinetic energy of particles. Fix: ΔU=QW\Delta U = Q - W (first law); UU is a state function, QQ and WW are path-dependent.
  • Wrong entropy interpretation. Entropy is a state function; ΔS=dQrev/T\Delta S = \int dQ_{\text{rev}}/T. Fix: The second law states ΔSuniverse0\Delta S_{\text{universe}} \geq 0 for all processes; entropy of an isolated system never decreases.
  • Confusing microstates and macrostates. Macrostate: specified by macroscopic variables. Microstate: specific arrangement of particles. Fix: S=kBlnΩS = k_B \ln \Omega where Ω\Omega is the number of microstates.

Summary

  • First law: ΔU=QW\Delta U = Q - W; conservation of energy.
  • Second law: ΔSuniverse0\Delta S_{\text{universe}} \geq 0; entropy of an isolated system never decreases.
  • Carnot efficiency: η=1TC/TH\eta = 1 - T_C/T_H (maximum possible for given temperatures).
  • Statistical mechanics: S=kBlnΩS = k_B \ln \Omega; Boltzmann distribution: pieEi/(kBT)p_i \propto e^{-E_i/(k_BT)}.

Cross-References

TopicSiteLink
[Thermodynamics]A-LevelView
[Thermodynamics]IBView
[Thermodynamics]UniversityView