B111 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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 e−Eg/2kT. 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 N=1020 the fractional width would be 10−10: 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?

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 N/2+s up and N/2−s down (spin excess 2s),

g(N,s)=N!(N/2+s)!(N/2−s)!,∑sg(N,s)=2N

For large N, Stirling's approximation turns this into a Gaussian:

g(N,s)≈g(N,0)e−2s2/N,g(N,0)≈2N2πN

so s has standard deviation N2, and the fractional spread of the magnetization is about 1N.

Why it matters

A gram of material has about 1022 particles. Fractional fluctuations of 10−11 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
  1. Count the microstates with five up. (105)=252
  2. Divide by all the states. 252210=2521024=24.6%
  3. Compare with the Gaussian formula. It's already close at N = 10: 210π=25.2%
  4. 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
  1. Turn the question into s. 0.1% of N is 1000, so the question is whether |2s| > 1000, or |s| > 500.
  2. Compare with the spread. That's exactly one standard deviation: σs=N2=500
  3. Probability. P=erfc(5002/106)=erfc(0.707)=0.32
  4. A gram of material. For N = 1022, the same 0.1% is 108 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
  1. N = 10, exact. ln⁡10!=ln⁡3628800=15.104
  2. N = 10, plain form. This comes out 13.8% low: 10ln⁡10−10=13.026
  3. N = 10, corrected form. Adding ½ ln(20π) = 2.070 brings it within 0.06%: 13.026+2.070=15.096
  4. N = 100, exact. ln⁡100!=363.739
  5. 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.
  6. 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 2N 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°.

Explain why

Why can a system that changes microstate at random still have a definite temperature, pressure and magnetization?

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.