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 — entropy and multiplicity

Problem set: entropy and multiplicity

Exam-style problems. Work them with a pen before touching a computer; the last two are meant to be finished numerically. Solutions and marking rubrics live with the instructor material and are deliberately not on this site.

Take kB=1.381×10−23 J K−1k_B = 1.381 \times 10^{-23}\ \mathrm{J\,K^{-1}} throughout.

Problem 1 — counting by hand

Six distinguishable coins are flipped.

(a) List, or count systematically, Ω(6,n)\Omega(6,n) for every nn from 0 to 6, and confirm that they sum to 26.

(b) State, in one sentence, the assumption that lets you convert this list of counts into a list of probabilities.

(c) Which is more probable: exactly 3 heads, or exactly 5 heads? By what factor?

Problem 2 — the even split and its width

A two-state system has NN objects.

(a) Explain, without computing anything, why Ω(N,n)\Omega(N,n) must be symmetric under n→N−nn \to N-n.

(b) For N=400N = 400, use the Gaussian approximation to estimate the range of nn that contains roughly 68%68\% of the total probability (one standard deviation either side of the peak).

(c) Repeat for N=40,000N = 40{,}000. Express both ranges as a fraction of NN, and state what happens to that fraction as NN grows.

(d) A friend claims that because σ=N/2\sigma = \sqrt{N}/2 grows with NN, “the system becomes less predictable as it gets bigger.” Explain what is wrong with this reading of the formula.

Problem 3 — entropy from multiplicity

A macrostate has multiplicity Ω\Omega.

(a) A macrostate has Ω=1\Omega = 1. State its entropy, and describe a physical macrostate of a two-state system for which this is true.

(b) Two independent, non-interacting subsystems have multiplicities Ω1=1020\Omega_1 = 10^{20} and Ω2=1030\Omega_2 = 10^{30}. Find the multiplicity and the entropy of the combined system.

(c) A textbook claims “entropy measures disorder.” Using the isotope-crystal example from the module page, construct a short argument for why this claim, stated without qualification, is misleading. Your argument should not merely assert the conclusion — it should use the multiplicity of the two macrostates being compared.

Problem 4 — Stirling and extensivity

(a) Write down the two-term and three-term versions of Stirling’s approximation to ln⁡N!\ln N!, and state which additional physical information the three-term version captures that the two-term version does not.

(b) Using the asymptotic result ln⁡Ω(N,N/2)=Nln⁡2−12ln⁡(πN/2)+O(1/N)\ln\Omega(N,N/2) = N\ln 2 - \tfrac12\ln(\pi N/2) + O(1/N), estimate the relative size of the sub-leading term compared to the leading term at N=103N = 10^3 and at N=1020N = 10^{20}.

(c) A student argues: “Since entropy is S=kBln⁡ΩS = k_B \ln \Omega and ln⁡Ω(N,N/2)\ln\Omega(N,N/2) is not exactly proportional to NN, entropy is never really extensive.” Evaluate this claim precisely, distinguishing what is exact from what is a large-NN limit.

Problem 5 — subsystems and the second law

Two independent two-state subsystems, AA and BB, each have N=200N=200 objects.

(a) Subsystem AA starts at its own peak, nA=100n_A = 100. Subsystem BB starts at nB=180n_B = 180. Using ln⁡Ω(N,n)=ln⁡N!−ln⁡n!−ln⁡(N−n)!\ln\Omega(N,n) = \ln N! - \ln n! - \ln(N-n)! (you may use a calculator or Stirling’s approximation), find ln⁡ΩA\ln\Omega_A and ln⁡ΩB\ln\Omega_B in their initial macrostates.

(b) The subsystems are now allowed to relax. BB moves to its own peak, nB=100n_B = 100, while AA, weakly coupled to BB, is nudged to nA=96n_A = 96. Find the new ln⁡ΩA\ln\Omega_A and ln⁡ΩB\ln\Omega_B, and hence ΔSA\Delta S_A and ΔSB\Delta S_B in units of kBk_B.

(c) Show explicitly that ΔSA<0\Delta S_A < 0 while ΔSA+ΔSB>0\Delta S_A + \Delta S_B > 0, and explain why this is entirely consistent with everything derived in this module.

(d) State precisely what physical assumption would be violated if AA and BB were not independent — i.e. if the objects in AA could also interact with the objects in BB directly.

Problem 6 — computational

Using the module’s laboratory notebook and thermolab.multiplicity:

(a) For N∈{102,103,104,105}N \in \{10^2, 10^3, 10^4, 10^5\}, compute peak_relative_width(N) and verify the N−1/2N^{-1/2} scaling by fitting the exponent on log-log axes.

(b) Run sample_two_box starting from every object in one box, for N=200N=200 and N=800N=800. Measure how many steps it takes each trajectory to first reach within 5%5\% of the even split, and comment on how that compares with NN itself.

(c) Run at least 20 independent realisations of sample_two_box for N=400N=400, each for the same number of steps, and measure the late-time occupancy fraction in each. Confirm that the spread across realisations is consistent with the Gaussian width σ/N=1/(2N)\sigma/N = 1/(2\sqrt N) predicted in the derivation.

(d) State one claim from the module page that your simulation results support, and one claim that they do not — and cannot — establish on their own.