This set practises the thermal fluctuations of Chapter VI of Wen's notes (the fluctuation of any parameter from the curvature of the free energy, and the fluctuations of energy and of particle number) and the Bose gases of Chapter VII: the photon gas and the ideal Bose gas with its condensate. The problems follow MIT's Problem Set 6 (dated March 9, 2005), in our own words. MIT publishes no solutions for the problem sets of this course, so the hints and the solutions here are our own.
Several things differ from MIT's sheet. Its dates are left out. MIT's Problem 1 is stated in full on the sheet and is given here as MIT sets it, in our words; MIT's small sketch of it is described in words instead of reproduced. Our additions to it are marked where they stand: the box for the curvature of the free energy in part (a), the numbers of part (c) and the choices of part (d). MIT's Problems 2, 3 and 4 point to problems in a textbook (K. Huang, Statistical Mechanics) by number only. The textbook is not used here. Problems 2 and 3 are our own problems: energy fluctuations of a collection of two-level atoms (Chapter VI), and the fluctuations of the number of bosons in one level, for photons and for a condensate (Chapters VI and VII). In Problem 4 MIT adds a question of its own: by what factor does the total number of photons in the universe change after the expansion? The setup of Problem 4 and its parts (a), (b), (d) and (e) are ours, a photon gas in a slowly expanding universe, built so that MIT's question applies; part (c) is MIT's question, rewritten.
How to answer#
Work each problem on paper first. Then type your result in the answer box and press Check. A number box accepts any value within the tolerance written next to it. A formula box takes plain typing, for example a*exp(-b/(kB*T))/(1 + c)^2, and accepts every correct way of writing the answer with the letters of that box. Write the symbols exactly as the box names them: kB stands for , eps for , nbar for , Ti for , sqrt is the square root and exp the exponential; the other letters (N, L, T, s) are typed as they are.
MIT's sheet gives no points. The points are ours: 20 for Problem 1, 15 each for Problems 2 and 3, and 20 for Problem 4, 70 points in all; every split between parts is ours too. Parts that ask you to show something have no box: open the solution and mark yourself. If you are stuck, open the hints one at a time. Each part ends with its full solution. Try before you open it: an answer given after its solution was opened earns no points. Your score is kept in this browser only.
The notation is that of the lecture notes. is Boltzmann's constant, the temperature, , the free energy and the heat capacity at fixed volume. A bar or angle brackets mark an average. In Problem 1, is the position of the wall and the number of molecules on each side. In Problem 2, is the energy of the excited state of one atom and the number of atoms. In Problem 3, is the number of bosons in one level and its average. In Problem 4, is the constant of the notes in (an energy density constant, not the Stefan–Boltzmann constant of a radiating surface), and the subscripts i (initial) and f (final) mark the start and the end of the expansion.
Problem 1#
The jitter of a sliding wall between two gases
A closed box of size is split into two halves by a wall, so that each half is a cube . The wall can slide freely along the long direction of the box. Each half holds an ideal gas of molecules, and the whole box sits in a heat bath that keeps both gases at the temperature . (MIT's sheet has a small sketch: the long box seen from the side, the upright wall in the middle with a double arrow showing that it slides left and right, and an axis along the box.) Let be the position of the wall, measured from the left end of the box (our choice of origin), so that its average is . The size of the wall's thermal jitter is
In words
capital delta x equals the square root of the average of the quantity x minus x bar, all squared, x bar equals the average of x
(a)5 points
(Our addition.) The probability of a wall position is proportional to , where is the free energy of the two gases together when the wall is at . Find the curvature at . It plays the part of the stiffness of a spring that holds the wall in the middle.
Hint
When the wall is at , the left gas has the volume and the right gas . Use for each gas.
Hint
, minus the net force of the two gases on the wall. Differentiate once more with , and remember that and .
Solution
The idea. The wall is a parameter that can fluctuate, with the free energy of the two gases as its potential. Expand that free energy to second order about the middle.
The force on the wall
For each gas . With and ,
In words
partial A sub tot over partial x equals L squared the quantity minus capital P one plus capital P two, equals minus capital N k B T the quantity 1 over x minus 1 over the quantity 2 L minus x
which is zero at , where the two pressures are equal: the middle is the equilibrium position.
The curvature
In words
partial squared A sub tot over partial x squared equals capital N k B T the quantity 1 over x squared plus 1 over the quantity 2 L minus x, all squared, equals 2 capital N k B T over L squared at x equals L
This is the same curvature as in the notes' ideal gas, (reading 1, p. 47), once for each gas and multiplied by because .
Check
Units: is an energy, and an energy over a length squared is a force per length, the unit of a spring constant. In terms of the pressure of each gas, the stiffness is .
(b)5 points
Find the fluctuation of the position of the wall.
Hint
Use the general rule of the notes for a parameter that can fluctuate: the mean square deviation is divided by the curvature of the free energy.
Solution
The idea. Fluctuation is times the response: the softer the spring, the larger the jitter.
The rule
In words
the average of the quantity x minus x bar, all squared equals k B T over the quantity partial squared A over partial x squared evaluated at x bar
The wall
With the curvature of part (a),
In words
the average of the quantity x minus x bar, all squared equals k B T L squared over the quantity 2 capital N k B T, equals L squared over the quantity 2 capital N, capital delta x equals L over the square root of 2 capital N
The temperature drops out: a hotter gas pushes harder, which stiffens the spring exactly as much as the extra thermal energy shakes it.
Check
The relative jitter is the of the notes' volume fluctuations, (reading 1, p. 47), with molecules pushing on the wall in place of . Exactly, is proportional to , and its variance is (for , ); for a large this is .
(c)5 points
(Our numbers.) Take cm, with air at atm ( Pa) and K in each half, treated as an ideal gas. Give in picometres (1 pm m; tolerance 1%).
Hint
First find from with .
Solution
The idea. Count the molecules, then use part (b).
The number of molecules
in each half.
The jitter
m m pm.
Check
This is a few hundred times smaller than an atom: the jitter of a macroscopic wall is far too small to see, which is why a piston in a cylinder seems to stand still. The stiffness of part (a) is N/m, a stiff spring indeed.
(d)5 points
(MIT's question; the choices are ours.) Does your result depend on the mass of the wall?
Solution
The idea. In classical statistical mechanics the Boltzmann factor of the wall splits into a kinetic part and a part that depends on the position.
Position and momentum separate
The energy of the wall is plus the free energy of the gases, which depends on only. The probability of a position and a momentum is then the product of and . Integrating over leaves a factor that does not depend on , so the distribution of positions, and , does not contain .
What the mass does
The mass sets the speed of the wall, (equipartition), and so how fast it wanders: a heavy wall drifts slowly to and fro, a light one quickly. Both cover the same range of positions. The answer does not depend on the mass, as long as the wall moves classically: when is small next to times the frequency of its oscillation, quantum mechanics changes this, but for a macroscopic wall that does not happen at any ordinary temperature.
Problem 2#
Energy fluctuations of two-level atoms (our own problem)
MIT's sheet gives only the number of a textbook problem here. The problem below is our own, on energy fluctuations, a subject of Chapter VI of the notes.
Take atoms, each with two states only: a ground state of energy and an excited state of energy (our model). The atoms do not interact, and they are held at the temperature by a heat bath, so that their total energy fluctuates.
(a)3 points
Find the average energy .
Hint
Write the partition function of one atom first, with its two states; the atoms are independent, so their average energies add.
Solution
The idea. Each atom contributes times its probability of being excited.
One atom
The partition function of one atom is , so the probability of the excited state is .
All atoms
In words
capital E bar equals capital N epsilon p equals capital N epsilon over the quantity e to the power beta epsilon plus 1
Check
At low temperature : every atom is in its ground state. At high temperature : the two states become equally likely, and no temperature can excite more than half the atoms.
(b)4 points
Find the mean square fluctuation directly from the probabilities of the states.
Hint
For one atom, and , where is its energy. Then use that the atoms are independent.
Hint
The variances of independent quantities add: the total is times the variance of one atom.
Solution
The idea. One atom is a two-valued random variable; the total energy is a sum of independent copies.
One atom
The energy of one atom is with the probability and with , so .
All atoms
In words
the average of the quantity capital E minus capital E bar, all squared equals capital N epsilon squared p the quantity 1 minus p, equals capital N epsilon squared e to the power beta epsilon over the quantity e to the power beta epsilon plus 1, all squared
using .
Check
At high temperature and the result is : coin flips of size . At low temperature it vanishes, as .
(c)3 points
Show that your result equals , with , as the notes' general rule for energy fluctuations says.
Hint
Differentiate of part (a) with respect to , using .
Solution
The idea. Two routes, one answer: the direct count of part (b) and the curvature of the entropy behind the rule of the notes.
The rule
In words
the average of the quantity capital E minus capital E bar, all squared equals k B T squared capital C sub V
The heat capacity
, the Schottky heat capacity of two-level atoms. So , the result of part (b).
Check
The rule says a large heat capacity means large energy fluctuations. Here has its peak near , and so does .
(d)3 points
(Our numbers.) Take atoms with . Give the relative fluctuation , with , as a decimal (tolerance 1%).
Hint
Write the ratio with : . Then put in .
Solution
The idea. The ratio depends only on and .
The numbers
, so on average atoms are excited, and .
Check
The notes' estimate would give for atoms: the fluctuation here is twelve times larger.
(e)2 points
(Our addition.) What happens to at low temperature, , for a fixed ?
Solution
The idea. The energy is times the number of excited atoms, a count that becomes small.
The limit
For , , and is the average number of excited atoms. When it falls to a few, the energy fluctuates by a large fraction of itself; at the fluctuation exceeds the mean. The rule assumes that every particle shares the energy; here only the excited ones carry it, so it is their number that counts. Part (d) is an example.
Problem 3#
How much the number of bosons in one level fluctuates (our own problem)
MIT's sheet gives only the number of a textbook problem here. The problem below is our own, on the fluctuations (Chapter VI) of the Bose gases of Chapter VII.
In a gas of bosons that do not interact, each level is an independent subsystem. The probability that a level of energy holds bosons is
In words
capital P (n) equals e to the power minus beta n the quantity epsilon minus mu, end of power, the quantity 1 minus e to the power minus beta the quantity epsilon minus mu, end of power, n equals 0, 1, 2, and so on
where is the chemical potential; for photons (reading 2, p. 49). Its average is .
(a)5 points
Find the mean square fluctuation of the number of bosons in the level, written with alone.
Hint
Write . The average is with ; one more derivative gives the variance.
Hint
. Write the result in terms of using .
Solution
The idea. For a distribution of the form , the derivatives of in give the average and the variance.
Average and variance
With , and . With ,
In words
the average of the quantity n minus n bar, all squared equals e to the power y over the quantity e to the power y minus 1, all squared equals n bar the quantity 1 plus n bar
since .
Check
For a nearly empty level, , the variance is , the Poisson value of rare, independent arrivals. For a crowded level, , it is : the number fluctuates by as much as its own size. At : and .
(b)6 points
Now take a whole black-body gas of photons in a box, at the temperature . Its total number of photons fluctuates. Find the ratio as a decimal (tolerance 1%). You may use and .
Hint
The levels are independent, so the variances add: over all levels and both polarisations. Turn both sums into integrals over , as for the photon density in the notes.
Hint
The common factors cancel in the ratio, which becomes over . Integrate the numerator by parts, using .
Solution
The idea. Sum the variance of part (a) over every level, exactly as the average is summed to give the photon density.
Sum over levels
With and , each level has and . The sum over levels and polarisations is the same integral for both (reading 2, p. 50), and its prefactor cancels in the ratio:
In words
the average of the quantity capital N minus capital N bar, all squared over capital N bar equals the quantity the integral from 0 to infinity of d x x squared e to the power x over the quantity e to the power x minus 1, all squared, all over the quantity the integral from 0 to infinity of d x x squared over the quantity e to the power x minus 1
The numerator
By parts, . (The boundary term vanishes at both ends: near zero.)
The ratio
.
Check
The ratio is more than 1: the photon number of a black body fluctuates more than a Poisson count of the same mean, because of the term of the crowded low-energy levels. It is not much more, because most photons sit in levels with below 1. The relative fluctuation is , which falls as , as the notes' rule for large systems says.
(c)4 points
(Our addition.) Below the condensation temperature of an ideal Bose gas, in the grand canonical ensemble of the notes, the lowest level holds bosons on average, a large number. Take . According to part (a), how large is the fluctuation of the number of bosons in that level?
Solution
The idea. The condensate is one level with a huge , so the term of part (a) wins.
The size
With , and : the number in the condensate would fluctuate by 100%. (With the average is , . The notes, p. 58, write , from a sum written with where is meant: a slip, since their own graph there takes .)
What it means
This is not what a real condensate does. The grand canonical ensemble lets the gas trade bosons freely with a reservoir, and the cheapest place to put or take them is the level at . A trapped gas of atoms has a fixed total number, and then the condensate can only change by trading atoms with the excited levels, which makes its fluctuation far smaller than . The averages of the grand canonical ensemble are still right; its fluctuation of the condensate is not.
Problem 4#
Photons in an expanding universe (setup ours, part c MIT's)
MIT's sheet gives the number of a textbook problem here and adds one question of its own, part (c) below: by what factor does the total number of photons in the universe grow or shrink after the expansion? The setup and the other parts are ours, built so that MIT's question applies.
Treat the radiation that fills the universe as a black-body photon gas in a large box of volume whose walls move outwards as the universe expands, so that every length grows by the same factor. The expansion is slow, so the gas stays in equilibrium, and no heat flows into the box from outside (our assumptions). From the notes, the photon gas has
In words
U equals sigma V T to the power 4, capital P equals U over the quantity 3 V, capital N equals kappa V ( k B T over the quantity h bar c, ) cubed, kappa equals 1 over pi squared, times the integral from 0 to infinity of d x x squared over the quantity e to the power x minus 1, equals 0.2436
(the notes print on p. 50, where the integral gives ). During the expansion every length grows by the factor , so .
(a)4 points
Find the final temperature in terms of the initial temperature and .
Hint
No heat flows in, so the energy changes only by the work the gas does on the moving walls: .
Hint
Put and into and separate the variables: you get a relation between and .
Solution
The idea. A slow expansion without heat is a reversible adiabatic one: energy goes only into work.
Energy balance
gives , that is
In words
d T over T equals minus one third d V over V which gives V T cubed equals const, T sub f equals T sub i ( V sub i over V final ) to the power one third equals T sub i over s
Check with single photons
Each level's energy is (reading 2, p. 52): when every length grows by , every wavelength grows by and every photon energy falls by . A Planck spectrum at with every energy divided by is a Planck spectrum at . This is the cooling of the cosmic background radiation as the universe expands, in inverse proportion to its scale factor, met in 8.286.
(b)4 points
Find the ratio of the final to the initial energy of the photon gas.
Hint
Use with part (a).
Solution
The idea. Combine with .
The ratio
.
Check
The lost energy is the work done on the walls: with gives . Each photon keeps existing but loses energy as its wavelength stretches.
(c)4 points
(MIT's question.) By what factor does the total number of photons change in this expansion? Give as a decimal (tolerance 1%).
Hint
is proportional to . What did part (a) say about that product?
Solution
The idea. The number of photons is times , and part (a) found unchanged.
The factor
. The number of photons neither grows nor shrinks: the box holds just as many photons, each with of its former energy, spread over times the volume, so the number density falls as .
Check
In the picture of single photons, a slow expansion stretches every level without moving photons between levels: each occupation number stays what it was, so their sum stays the same. Nothing in a photon gas conserves the number of photons in general (walls absorb and emit them), but a slow expansion of the gas alone does.
(d)4 points
(Our numbers.) Today the cosmic background radiation has K. Give its number of photons per cubic centimetre (tolerance 1%), and the temperature it had when every length in the universe was times smaller than now, in kelvin (tolerance 1%), on the assumptions above.
Hint
Use in SI units, then divide by to go from per m³ to per cm³. For the temperature, run part (a) backwards.
Solution
The idea. One formula for the density, and the result for the past.
The density
m⁻¹. Cubed, m⁻³, and times , m⁻³, or photons per cm³.
The past
From then to now every length grew by , so the temperature then was K K. The number density was then times larger, about per cm³, but a region that has grown with the universe holds the same number of photons now as then.
Check
The 8.286 lesson on black-body radiation gives the same density, about 410 photons per cm³ today, from the same formula.
(e)4 points
(Our addition.) The entropy of black-body radiation is (from and at a fixed volume, with at ; stated by us). Give the entropy per photon, , as a decimal (tolerance 1%). Use .
Hint
Divide by times , with . Everything but numbers cancels.
Solution
The idea. Both and are proportional to , so their ratio is a pure number.
The ratio
In words
capital S over the quantity capital N k B, equals the quantity four thirds times pi squared over 15, all over kappa equals 4 pi squared over 45 times pi squared over the quantity 2 zeta (3), equals 2 pi to the power 4 over the quantity 45 zeta (3), equals 3.602
Check
This is part (c) once more, from the other side: a slow expansion without heat keeps the entropy fixed, and since each photon carries a fixed entropy of , the number of photons stays fixed too. In cosmology the same ratio lets one count the entropy of the universe by counting its photons.