B11 · Lesson 1 · Counting states: multiplicity and the binary model system
Why large systems behave predictably
A transistor's leakage current doubles every 10 °C or so. A resistor's noise voltage grows as the square root of its temperature. A semiconductor's carrier density depends on . All of these come from one idea: a large system wanders at random among all the quantum states it can reach, and almost all of those states look the same from outside. Thermal physics is the art of counting them. This course builds temperature, entropy and the Boltzmann factor from counting, then uses them for noise, radiation, heat flow, thermoelectrics and semiconductor statistics. It starts with the simplest system worth counting: N independent spins, each up or down.
- N spins, each up or down at random. The stems count the multiplicity, the number of arrangements with m spins up, divided by its largest value; the dashed curve is the Gaussian approximation.
- Raise N: the peak's width grows only as √N while the range grows as N, so as a fraction of the range the peak gets sharper and sharper.
- At the fractional width would be : the system is essentially certain to have half its spins up. That certainty about a random system is what makes thermodynamics work.
Predict
Toss 100 fair coins. Which is more likely: exactly 50 heads, or any particular ordered sequence like HTHH...T?
Every particular sequence has probability , the same as any other. But "50 heads" is a macrostate made of sequences (microstates), so it's that many times more likely, about 8% in all. Thermal physics always works this way: microstates are equally likely, and macrostates differ only in how many microstates they contain.
Name it
Microstates and macrostates
A microstate is a complete quantum state of the system; a macrostate is what you measure (total magnetization, energy, pressure). The multiplicity g is the number of microstates in a macrostate.
The fundamental assumption
A closed system in equilibrium is equally likely to be in any of its accessible microstates. Everything else in the course follows from this and from counting.
The binary model system
N independent spins, each with moment ±m along a field. With up and down (spin excess 2s),
For large N, Stirling's approximation turns this into a Gaussian:
so s has standard deviation , and the fractional spread of the magnetization is about .
Why it matters
A gram of material has about particles. Fractional fluctuations of are invisible, so the most probable macrostate is, to any measurement, the only one. That's why thermodynamic quantities have definite values. In small systems, like a few electrons on a nanoscale capacitor or the charge on a single transistor's gate, the fluctuations come back, as noise.
Worked example
Ten spins: how many microstates have exactly five up, and what fraction of all states is that?
Show the solution
- Count the microstates with five up.
- Divide by all the states.
- Compare with the Gaussian formula. It's already close at N = 10:
- At N = 100. The exact share is 7.96% and the approximation 7.98%.
Answer 252 of the 1024 microstates have exactly five up, 24.6% of all states.
Worked example
A million spins: how likely is the magnetization to be off from zero by more than 0.1% of its maximum?
Show the solution
- Turn the question into s. 0.1% of N is 1000, so the question is whether |2s| > 1000, or |s| > 500.
- Compare with the spread. That's exactly one standard deviation:
- Probability.
- A gram of material. For N = , the same 0.1% is standard deviations, and the probability is erfc(7 × 10⁷): zero for every practical purpose.
Answer about 0.32, since for a million spins 0.1% of the maximum is exactly one standard deviation.
Worked example
How good is Stirling's approximation? Compare ln N! with N ln N − N, and with the corrected form N ln N − N + ½ ln(2πN), for N = 10 and N = 100.
Show the solution
- N = 10, exact.
- N = 10, plain form. This comes out 13.8% low:
- N = 10, corrected form. Adding ½ ln(20π) = 2.070 brings it within 0.06%:
- N = 100, exact.
- N = 100, both forms. The plain form gives 360.517, now only 0.89% low, and the corrected form gives 363.739 to six figures.
- Why the plain form is good enough. Its error is the ½ ln(2πN) term, which grows only as a logarithm while ln N! grows as N ln N. For a mole of spins the plain form is wrong in about the twenty-second figure, which is why thermal physics can use it without a second thought.
Answer the plain form is 13.8% low at N = 10 and 0.89% low at N = 100; the corrected form is within 0.06% at N = 10 and matches to six figures at N = 100.
Check
How many microstates of 12 spins have spin excess 2s = 2 × 1?
Check
Using the Gaussian approximation, what's g(N, s)/g(N, 0) for N = 2000 and s = 20?
Check
For large N, what fraction of all microstates have exactly half the spins up? (N = 100, Gaussian approximation.)
Check
What's the standard deviation of s for N = 1000000 spins?
Check
What's the probability that the magnetization of N = 10000 spins differs from zero by more than a fraction 0.005 of its maximum (|2s| > fN)?
Check
In how many ways can n = 2 identical energy quanta be shared among N = 4 oscillators?
Check
40 spins point up or down at random.
(a)
What's the exact probability that N/2 + 2 of them point up?
(b)
What does the Gaussian approximation give for the same probability?
Check
N spins with spin excess 2s, in the Gaussian approximation.
Step 1
What is ln g(N, s)?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
At what s has g fallen to 1/e of its peak?
Explain why
Why can a system that changes microstate at random still have a definite temperature, pressure and magnetization?
Each measurable quantity is shared by an enormous number of microstates, and for a large system nearly all the accessible microstates give nearly the same value. Counting them shows the multiplicity is a peak whose width, as a fraction of the range, shrinks as . With particles the system almost never visits microstates whose measured values differ noticeably from the peak, so the quantity behaves as if it were fixed even though the microstate keeps changing. Only in small systems do the fluctuations become large enough to see, and then they appear as noise.
Practice
Keep practicing
10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.