Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Problem set — partition functions

Problem set: partition functions

Exam-style problems. Work them with a pen before touching a computer; problem 5 is meant to be finished in the laboratory, and problems 6 and 7 are challenges. Solutions and marking rubrics live with the instructor material and are deliberately not on this site.

Take kB=1.381×10−23 J K−1\kB = 1.381 \times 10^{-23}\ \mathrm{J\,K^{-1}}, h=6.626×10−34 J sh = 6.626 \times 10^{-34}\ \mathrm{J\,s}, μB=9.274×10−24 J T−1\mu_{\mathrm{B}} = 9.274 \times 10^{-24}\ \mathrm{J\,T^{-1}} and 1 eV=1.602×10−19 J1\ \mathrm{eV} = 1.602 \times 10^{-19}\ \mathrm{J} throughout. Write β=1/(kBT)\beta = 1/(\kB T).

Problem 1 — the mean energy from Z

(a) Starting from Z=∑se−βEsZ = \sum_s e^{-\beta E_s} and Ps=e−βEs/ZP_s = e^{-\beta E_s}/Z, show that

U=∑sEsPs=−∂ln⁡Z∂β.U = \sum_s E_s P_s = -\frac{\partial \ln Z}{\partial \beta} .

(b) Use it to find the mean energy of a two-level system with levels 0 and Δ\Delta, and check your result against module 11’s.

(c) A system has three non-degenerate levels at 0, ε\varepsilon and 2ε2\varepsilon. Find ZZ and UU, and give UU in the limits kBT≪ε\kB T \ll \varepsilon and kBT≫ε\kB T \gg \varepsilon.

(d) Every energy level of a system is shifted by the same constant E0E_0. What happens to ZZ, to UU and to the probabilities PsP_s? Which of these is physical?

(e) Show that UU can also be written U=kBT2 ∂ln⁡Z/∂TU = \kB T^2\, \partial \ln Z/\partial T.

Problem 2 — fluctuations and heat capacity

(a) Show that ∂2ln⁡Z/∂β2=⟨E2⟩−⟨E⟩2\partial^2 \ln Z/\partial\beta^2 = \langle E^2 \rangle - \langle E \rangle^2.

(b) Using U=−∂ln⁡Z/∂βU = -\partial \ln Z/\partial\beta and the chain rule, show that the same quantity equals kBT2CV\kB T^2 C_V. State where the assumption of fixed levels is used.

(c) Explain why (b) guarantees CV≥0C_V \ge 0 for every system in canonical equilibrium.

(d) For NN independent, identical subsystems, show that σE/∣U∣∝N−1/2\sigma_E/|U| \propto N^{-1/2}, and find the constant of proportionality in terms of one subsystem’s σ1\sigma_1 and u1u_1.

(e) A paramagnet of NN moments at μB=kBT\mu B = \kB T: find σE/∣U∣\sigma_E/|U| in terms of NN, and evaluate it for N=104N = 10^{4} and N=1022N = 10^{22}.

Problem 3 — the entropy of the Boltzmann distribution

(a) Show that F=−kBTln⁡ZF = -\kB T \ln Z satisfies −(∂F/∂T)V,N=(U−F)/T-(\partial F/\partial T)_{V,N} = (U - F)/T.

(b) Substituting ln⁡Ps=−βEs−ln⁡Z\ln P_s = -\beta E_s - \ln Z, show that

−kB∑sPsln⁡Ps=kB(ln⁡Z+βU).-\kB \sum_s P_s \ln P_s = \kB \left(\ln Z + \beta U\right) .

(c) Hence show that F=U−TSF = U - TS with SS the Gibbs entropy of (b).

(d) Show that with fixed levels dS=dU/T\mathrm{d}S = \mathrm{d}U/T, and explain why this, together with (b), identifies SS as the thermodynamic entropy rather than a new quantity.

(e) A system has a doubly degenerate ground level and nothing else within 100 kBT100\,\kB T. What are ZZ, FF and SS as T→0T \to 0? Comment on the result.

(f) “F=−kBTln⁡ZF = -\kB T \ln Z is the definition of the free energy.” Write two or three sentences correcting this statement.

Problem 4 — the paramagnet, both ways

NN independent spin-1/2 moments μ\mu sit in a field BB; each has energy −μB-\mu B (along the field) or +μB+\mu B (against it). Write x=μB/(kBT)x = \mu B/(\kB T).

(a) Find zz, ln⁡ZN\ln Z_N, UU and the magnetization MM from U=−MBU = -MB.

(b) Show that for x≪1x \ll 1, M≈Nμ2B/(kBT)M \approx N\mu^2 B/(\kB T) (Curie’s law), and that M→NμM \to N\mu for x≫1x \gg 1. For electron moments in 2 T2\ \mathrm{T}, below what temperature does the Curie law overestimate MM by more than 10%10\%?

(c) Now isolate the paramagnet with exactly nn moments against the field. Write U(n)U(n) and S(n)=kBln⁡(Nn)S(n) = \kB \ln\binom{N}{n}, and sketch SS against UU over the whole range of UU.

(d) Using Stirling’s approximation, show that β=(1/kB) ∂S/∂U=ln⁡[(N−n)/n]/(2μB)\beta = (1/\kB)\,\partial S/\partial U = \ln[(N - n)/n]/(2\mu B). Where is β=0\beta = 0, and where is it negative?

(e) Show that inverting (d) for n<N/2n < N/2 reproduces the canonical ratio n/(N−n)=e−2xn/(N - n) = e^{-2x} of part (a).

(f) A paramagnet with n=0.8Nn = 0.8N is put in contact with a large body at 300 K300\ \mathrm{K}. Using dStot/kB=(β1−β2) dU1\mathrm{d}S_{\mathrm{tot}}/\kB = (\beta_1 - \beta_2)\,\mathrm{d}U_1, decide which way energy flows, and explain in one sentence why “negative temperature is colder than absolute zero” is wrong.

Problem 5 — where module 01’s thermometer fails

This problem is meant to be finished in the laboratory.

(a) For a harmonic oscillator with levels ℏω(n+1/2)\hbar\omega(n + 1/2), derive zz, UU and CC, and show that U→kBTU \to \kB T and C→kBC \to \kB for kBT≫ℏω\kB T \gg \hbar\omega.

(b) Show that, measured above the ground state, the temperature of an oscillator with mean energy UU is T=ℏω/[kBln⁡(1+ℏω/U)]T = \hbar\omega / [\kB \ln(1 + \hbar\omega/U)], and that for U≫ℏωU \gg \hbar\omega this is U/kB+ℏω/(2kB)U/\kB + \hbar\omega/(2\kB).

(c) Run module 01’s simulation (equilibrium.simulate_energy_exchange) for two solids of 40 oscillators at energies of 0.05, 0.1, 0.2, 0.5, 1, 2, 5 and 10 quanta per oscillator, with 8 seeds each. For each energy, compare module 01’s equipartition temperature with (b)'s, and find the energy per oscillator below which the two differ by more than 10%10\%.

(d) Reconstruct the oscillator’s C(T)C(T) from ln⁡z\ln z alone with partition.thermo_from_z. Measure the order of the stencil by refining the step, and find the step below which the error starts to grow. Explain the growth.

(e) Module 01’s model specification listed “low temperature” as a failure mode. State, in terms of kBT\kB T and ℏω\hbar\omega, where that failure begins.

Problem 6 — isomers and vacancies (challenge)

(a) A molecule exists as isomer A, whose ground level is at energy 0 with degeneracy gAg_A, and isomer B, whose ground level is at Δ\Delta with degeneracy gBg_B; excited levels of both lie far above kBT\kB T. Treating the molecule as one system, show that in equilibrium [B]/[A]=(gB/gA) e−Δ/(kBT)[B]/[A] = (g_B/g_A)\, e^{-\Delta/(\kB T)}.

(b) Now include the vibrational excitations of each isomer, with partition functions zAz_A and zBz_B measured from each isomer’s own ground level. Show that [B]/[A]=(zB/zA) e−Δ/(kBT)[B]/[A] = (z_B/z_A)\, e^{-\Delta/(\kB T)}, and explain why a “floppier” isomer (lower vibrational frequencies) can be favoured at high temperature even if its ground level is higher.

(c) A lattice site is either occupied (energy 0) or vacant (energy EvE_{\mathrm{v}}). Find the vacant fraction as a function of TT. For Ev=1.28 eVE_{\mathrm{v}} = 1.28\ \mathrm{eV}, evaluate it at 1356 K1356\ \mathrm{K} and compare with module 11’s estimate e−Ev/kBTe^{-E_{\mathrm{v}}/\kB T}.

(d) Find the vacancies’ contribution to the heat capacity of a crystal of NN sites, and the temperature at which it peaks. Why is this peak never observed in copper?

Problem 7 — Sackur–Tetrode from Z (challenge, advanced)

Take as given that one particle of mass mm in a volume VV has z=V/λ3z = V/\lambda^3, with λ=h/2πmkBT\lambda = h/\sqrt{2\pi m\kB T}.

(a) Show that U=32NkBTU = \tfrac32 N\kB T follows from either ZN=zNZ_N = z^N or ZN=zN/N!Z_N = z^N/N!.

(b) With ZN=zNZ_N = z^N, compute SS and show that S(2N,2V)−2S(N,V)=2NkBln⁡2S(2N, 2V) - 2S(N, V) = 2N\kB\ln 2. Explain why this is unphysical, and how it relates to module 08’s Gibbs paradox.

(c) With ZN=zN/N!Z_N = z^N/N! and Stirling’s approximation, derive S=NkB[ln⁡(V/(Nλ3))+5/2]S = N\kB[\ln(V/(N\lambda^3)) + 5/2].

(d) Evaluate λ\lambda and S/(NkB)S/(N\kB) for argon (m=39.95 um = 39.95\ \mathrm{u}) at 300 K300\ \mathrm{K} and 1 bar1\ \mathrm{bar}, and compare with the measured standard molar entropy, 154.8 J mol−1 K−1154.8\ \mathrm{J\,mol^{-1}\,K^{-1}}.

(e) Show that the ideal-gas law follows from P=−(∂F/∂V)T,NP = -(\partial F/\partial V)_{T,N}, and explain why the N!N! does not affect it.