Chapter 4 Practice Problems

Working through Chapter 4 problems on two-state systems, using the Boltzmann distribution and partition functions to nail expectation values and energy variance.

I think it’s absolutely essential to work through problems to get a grip on the concepts!

Example 4.3 A two-state system

A two-state system, one that has only two states.

One has energy 0, the other has energy ε (>0)

What is the expectation value of this system’s energy?

Earlier, we said that “the probability that an object at temperature T has energy ε” is

Equation from the original notes

we said.

That is, here the two states are

(at temperature T) the probability of having energy 0

Equation from the original notes

(at temperature T) the probability of having energy ε

Equation from the original notes

We also have to do the normalization.

Let’s just normalize it as we would in quantum mechanics, right? First, write out the normalization condition,

Equation from the original notes

My first reaction was, “Darn, it’s not working…” But wait — this actually already tells us the missing constant!!!

Solve it for $\mathrm{blah}=1/(1+e^{-\varepsilon/(k_BT)})$. Dividing each raw weight by their total does the same job.

So we can also normalize like this. In the next picture, read the terms on the right as the unnormalized weights before division:

Equation from the original notes

Let’s build it out.

Equation from the original notes

By expressing the probabilities as a partition function like this, normalization is done, and we can also compute the average.

Equation from the original notes

Prob 4.2 For the two-state system described in Example 4.3,

derive an expression for the variance of the energy.

Equation from the original notes

EX 4.4 : Isothermal atmosphere (air)

Roughly estimate the molecular number density in an isothermal atmosphere as a function of height.

For one specified molecular state of energy E at temperature T, the Boltzmann weight is

Equation from the original notes

Let’s assume 1 gas molecule. And let’s say the energy here is only the potential energy mgz.

Equation from the original notes

Equation from the original notes

Now let’s say there are many molecules, and compare horizontal layers of equal thickness. The next picture’s n(z) can be read as number density, or as the count in such a fixed-size layer.

Time to cancel the subscription on our “1 molecule” assumption, go go

Equation from the original notes

At z=0 that number density should equal n(0).

So I’ll rewrite the constant like this!!!

Equation from the original notes

Done.

The higher you go, the more it drops off — whoosh~~~ it drops off~ — at the rate of the Boltzmann factor

Equation from the original notes

, that’s what it’s saying.

(Actually, since the real atmosphere isn’t isothermal, they say it’s a bit different, and it’s covered in detail in Chapter 12!)

Prob 4.3

A system contains $N$ distinguishable, noninteracting two-state constituents. Each constituent has energy 0 or $\Delta$; $N$ counts the constituents, not the number of microstates of the whole system.

Show that the number of arrangements Ω(E) such that the whole system has energy E = rΔ (r is an integer) is given by the following expression

Equation from the original notes

Each of the N is either 0 or Δ, and total energy being rΔ means that r of them are in the energy-Δ state.

That is, the number of ways of choosing r out of N is the number of microstates for E = rΔ!

Equation from the original notes

From this system, remove energy $s\Delta$, so the number of excited constituents falls from $r$ to $r-s$. For the large-system approximation below, both $r$ and $N-r$ must be large, and $s$ must be small compared with both of them. The restriction $s\ll r$ alone is not enough near the top of the energy range.

Equation from the original notes

Show this.

Equation from the original notes

means that out of N, (r-s) are in the energy state Δ.

That is,

Equation from the original notes

Equation from the original notes

We need to find an approximate expression for this, so we’ll use Stirling’s approximation.

Taking ln of both sides first,

Equation from the original notes

Now let’s approximate the right-hand side. Before the long original sheet, here’s a way to keep track of the approximation:

$$ \frac{\Omega((r-s)\Delta)}{\Omega(r\Delta)} =\frac{r!}{(r-s)!}\frac{(N-r)!}{(N-r+s)!} =\prod_{j=0}^{s-1}\frac{r-j}{N-r+j+1}. $$

Replacing each numerator by $r$ and denominator by $N-r$ gives the leading ratio $[r/(N-r)]^s$. The error in its logarithm is of order $s^2/r+s^2/(N-r)$; making that small is a sufficient condition for a good relative approximation to the ratio. The original sheet’s colourful Stirling substitutions need the cancellation warning at the end of this post; individual “+0” terms aren’t separate valid substitutions.

Equation from the original notes

The temperature T of the system is

Equation from the original notes

Show this. For the temperature at the original reservoir energy, use $1/(k_BT)=\partial\ln\Omega(E)/\partial E$ at fixed $N$. Stirling’s leading approximation gives

$$ \frac{1}{k_BT}\simeq\frac{1}{\Delta}\ln\frac{N-r}{r},\qquad E=r\Delta. $$

The next drawings differentiate an already approximated shifted count $\Omega(E-s\Delta)$. That shifts the point where the derivative is evaluated; dropping the small $s$ terms is a further large-reservoir approximation, not an exact identity. The unshifted count above gets the intended leading result directly.

Equation from the original notes

Equation from the original notes


Heads-up. The figures here are the original notes, slips and all. A few things to watch for:

  • On the long Stirling sheet, the colourful “+0” substitutions don’t each match Stirling’s formula term by term. Only their total works out, because $N=r+(N-r)$.

Questions or corrections?

Did a step lose you, or does a number look off? Email me or use the contact page. Include the note title and the step or figure you mean.

Feedback goes to me privately by email; it is not posted as a public comment.