TNK LAB

Two Einstein Solids: Counting Microstates

Solid A (NA oscillators) and Solid B (NB oscillators) are in thermal contact, sharing a fixed pool of q indistinguishable energy quanta. For every way to split q between the two solids, count how many microscopic arrangements — the multiplicity Ω — each split allows. The split with the most arrangements is the one you'll actually find the system in.

Most Likely Split

qA* (peak): -
Ωtotal at peak: -
P(qA*): -

Sanity Check

Σ Ωtotal: -
C(q+NA+NB−1, q): -

Multiplicity of One Einstein Solid

$$\Omega(N,q) = \binom{q+N-1}{q} = \frac{(q+N-1)!}{q!\,(N-1)!}$$
The number of ways to deal q indistinguishable energy quanta among N distinguishable oscillators (the standard "stars and bars" count). For the combined system with a fixed total q,
$$\Omega_{\text{total}}(q_A) = \Omega(N_A,\,q_A)\cdot\Omega(N_B,\,q-q_A)$$
Every microstate of the combined system is equally likely (the fundamental assumption of statistical mechanics), so the split with the largest Ωtotal is overwhelmingly the one you'll observe — and that margin grows sharper the larger NA and NB get. Try cranking NA, NB up and watch the bar chart collapse to a single spike.
$$S = k_B \ln\Omega, \qquad S_{\text{total}} = S_A + S_B$$
Entropy is just the log of multiplicity, so it inherits the same maximization: Stotal peaks at exactly the split with the largest Ωtotal. But being a log, S stays a normal, human-sized number even where Ω itself has grown too large to write out.
Why does the sum equal a single binomial coefficient?
$$\sum_{q_A=0}^{q}\Omega(N_A,q_A)\,\Omega(N_B,q-q_A) = \binom{q+N_A+N_B-1}{q}$$
Summing the split-by-split counts is the same as directly counting the ways to deal q quanta among all NA+NB oscillators at once, ignoring which solid each one belongs to — a combinatorial identity (Vandermonde's convolution for "stars and bars"), not a coincidence. The Sanity Check panel verifies it numerically for whatever NA, NB, q you've dialed in.

System

Solid A
NA = 3
Energy
Solid B
NB = 3

q = 6 energy quanta, shared between the two solids in every possible way — each row in the table below is one such split.

Multiplicity Table

qA ΩA qB ΩB Ωtotal = ΩAΩB SA/kB SB/kB Stotal/kB
Σ Ωtotal = C(q+NA+NB−1, q) -

Ωtotal vs. qA

Ωtotal(qA), relative to its peak
Most likely split

Bar height is Ωtotal normalized to its own peak (always safe to plot, however large NA, NB, q get) — hover a bar for the actual Ωtotal value. The exact numbers live in the table above.

Entropy vs. qA

SA/kB = ln ΩA
SB/kB = ln ΩB
Stotal/kB = SA+SB

Unlike Ωtotal, entropy is a log, so it stays a normal, human-sized number no matter how large NA, NB, q get — and Stotal peaks at exactly the same qA as Ωtotal does above.