(a) S is entropy, units J/K (joule per kelvin). It is a macroscopic, thermodynamic quantity.
(b) kB is Boltzmann's constant, 1.380649×10−23J/K. Its whole job is to carry the units.
(c) Ω is the multiplicity — a pure number, the count of microstates matching the macrostate. A count has no units.
ln of a pure number is a pure number, so lnΩ is dimensionless. All the J/K in S comes from kB. ✔
Recall Solution L1.2
ΔS=SY−SX=kB(ln32−ln8)=kBln832=kBln4.
Why the subtraction becomes a ratio:lna−lnb=ln(a/b) — logarithms turn division into subtraction. Since 4=22, ln4=2ln2≈1.386. So ΔS≈1.386kB. ✔
Figure s01 (below): a bar chart of Ω(n)=(n4) against the number of heads n=0,1,2,3,4. The bars form a symmetric "bell": short at the ends (1,1), tall in the middle (peak 6, coloured orange). Look at how the orange bar towers over the end bars — that height is the multiplicity, and taller means higher entropy lnΩ. The figure is here to make "the middle macrostate has the most microstates" something you see, not just compute.
Recall Solution L2.1
The number of ways to choose which r of 4 coins are heads is the binomial coefficient(r4)=r!(4−r)!4! (this is just "how many distinct arrangements have r heads"):
0 heads: (04)=1
1 head: (14)=4
2 heads: (24)=6
3 heads: (34)=4
4 heads: (44)=1
Total =1+4+6+4+1=16=24 ✔ (every coin independently H or T).
The peak is "2 heads" with Ω=6, so S/kB=ln6≈1.792. The bell shape in the figure shows why the middle macrostate dominates. ✔
Recall Solution L2.2
The multiplicity of a gas factorizes into a position part and a momentum part: Ω∝(position volume)×(momentum-shell volume). Only the position part changes here.
Momentum part is unchanged. In free expansion into vacuum the gas does no work (pext=0) and exchanges no heat, so its total kinetic energy E is unchanged. The momentum-shell volume depends only on E (it is the surface ∑pi2=2mE), so with E fixed the momentum count is identical before and after. This is why the process is also isothermal for an ideal gas (E depends only on T).
Position part doubles per particle. Doubling the accessible volume doubles each particle's position choices, so Ω→2NΩ (each of N particles independently gains a factor 2).
ΔS=kBln(2NΩ)−kBlnΩ=kBNln2=Rln2.
Numerically ΔS=8.314×0.693147=5.76J/K. ✔
This equals the textbook nRln(Vf/Vi) with n=1,Vf/Vi=2 — the counting picture reproduces classical thermodynamics.
(a) Each spin is independently up/down, so choosing whichn of the N are up gives Ω(n)=(nN)=n!(N−n)!N!.
(b)(nN) peaks at n=N/2=50. There Ω=(50100)≈1.0089×1029, so
kBS=ln(50100)=66.78.(c)Stirling's approximation comes in two grades. The crude form lnm!≈mlnm−m handles huge factorials but loses the sub-leading piece. The refined form keeps one more term:
lnm!≈mlnm−m+21ln(2πm).
Substitute this refined form into ln(N/2N)=lnN!−2ln(N/2)!. The leading mlnm−m pieces collapse to Nln2 (the same crude answer), and the three 21ln(2πm) terms combine:
21ln(2πN)−2⋅21ln(2π2N)=21ln(2πN/2)22πN=21lnπN2=−21ln2πN.
That is exactly the correction term — now derived, not quoted. So ln(N/2N)≈Nln2−21ln(πN/2). With N=100:
100ln2−21ln(50π)=69.315−2.531=66.78.
The two agree to two decimals — Stirling is superb even at N=100. ✔ (For real gases N∼1023, where exact factorials are impossible and Stirling is essential.)
Take the log, keeping every factor explicit (nothing hidden in a "const"):
kBS=NlnV−Nlnh3−lnN!+23Nln(2πmE)−lnΓ(23N).
Now apply Stirling to bothlnN!≈NlnN−N and lnΓ(23N)≈23Nln23N−23N. Group terms:
kBS=NlnNV+23Nln((3N/2)2πmE)+25N−3Nlnh.
Recognising E=23NkBT and tidying gives the famous Sackur–Tetrode form
S=NkB[ln(NV(3Nh24πmE)3/2)+25],
in which Planck's constant h sits inside the log — that is where quantum mechanics enters the entropy of a classical gas, and it is why S has an absolute zero-point (the Third Law of Thermodynamics).
(a) Extensivity test: scale V→λV,N→λN,E→λE. Inside the bracket NV→NV (intensive) and NE→NE (intensive), so the whole bracket is unchanged; only the prefactor NkB→λNkB. Hence S→λS. Extensive ✔ — the −lnN! is what converted lnVN into Nln(V/N), replacing V by the intensive density ratio V/N.
(b) Without 1/N!: the −NlnN from Stirling disappears, leaving kBS⊃NlnV instead of Nln(V/N). Scaling now gives λNln(λV)=λNlnV+λNlnλ, an extraλNlnλ term that has no business being there. Mixing two identical gas boxes (λ=2) then predicts a spurious entropy of mixing ΔS=2NkBln2=0 even though nothing physical happened — Gibbs' paradox. The 1/N! removes it. ✔
See Gibbs Paradox & Indistinguishability.
Figure s02 (below): the entropy S/kB=ln(nN) plotted against energy E/(Nε) (which equals the fraction of up-spins). The curve rises from the left, reaches a single peak at E/(Nε)=1/2 (marked green, where T→+∞), then falls back to zero on the right. The blue-shaded rising side is where ∂S/∂E>0 so T>0; the red-shaded falling side is where ∂S/∂E<0 so T<0. Watch the slope flip sign at the peak — that sign flip is negative temperature.
Recall Solution L5.1
(a)S/kB=ln(nN)=lnn!(N−n)!N!.
(b)Why we may treat n as continuous:Ω(n) jumps by discrete steps, but for N large the fractional change from n to n+1 is tiny (∼1/N), so the staircase is smooth on the scale that matters and we may differentiate. Using the refined Stirling form (as derived in L3.1) on each factorial,
dndln(nN)=lnnN−n(valid for 1≪n≪N−1).Edge caution: at n=0 or n=N this derivative diverges (ln of 0 or ∞) and the continuous approximation fails — there Ω=1, S=0 exactly, and one must treat the ends discretely. Away from the edges the formula is excellent.
Since E=nε, ∂E∂=ε1dnd, so
T1=εkBlnnN−n.
If n<N/2: nN−n>1, ln(⋅)>0, so T>0 (normal). Adding energy adds microstates.
At n=N/2: ln1=0, 1/T=0, so T→+∞ — multiplicity is maximal, entropy peaks.
If n>N/2: nN−n<1, ln(⋅)<0, so T<0. Adding energy now removes microstates (∂S/∂E<0). Negative temperature — hotter than any positive T. See Negative Temperature & Spin Systems. ✔
(c)N=1000,n=750 (well away from the edges, so the formula applies): nN−n=750250=31, so ln31=−1.0986.
T1=εkB(−1.0986)⇒T=kBε⋅−1.09861=−0.9102kBε.
So T≈−0.910ε/kB — negative, as predicted. ✔ The figure shows S(E) rising, peaking at E=Nε/2, then falling; n=750 lives on the falling (T<0) side.
Recall Solution L5.2
If each of NA molecules has W=3/2 independent orientational choices, the total multiplicity is Ω=WNA (independent choices multiply). Then
S0=kBln(WNA)=NAkBlnW=Rln23.
Numerically S0=8.314×ln1.5=8.314×0.405465=3.37J/(mol⋅K). ✔
This matches the experimental ≈3.4 J/(mol·K) beautifully — a striking confirmation that S=kBlnΩ literally counts orientational disorder, and that the Third Law of Thermodynamics (S→0) requires a perfectly ordered crystal, which ice is not.