This set practises the canonical ensemble of Chapter I of Wen's notes: the Boltzmann factor, the partition function and the free energy, equipartition and the classical ideal gas, and the spin entropy and Curie's law of the first supplement. The problems follow MIT's Problem Set 2 (February 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 due date is left out. MIT's Problems 2, 4 and 5 point to problems in the course textbook (K. Huang, Statistical Mechanics) by number only. The textbook is not used here. Problem 4 is our own problem: the sheet gives only the pointer, and our problem is on the Maxwell distribution of speeds from the same chapter of Wen's notes. In Problem 2 MIT adds a part (c) of its own, the equipartition of kinetic and potential energy for particles in a harmonic potential: the setup and parts (a) and (b) of Problem 2 are ours, built so that MIT's part (c) applies, and part (c) is MIT's, rewritten. In Problem 5 MIT adds three remarks (the air is an ideal gas, the combination is a constant whose value is to be found, and the entropy per particle does not depend on the height): the setup and the questions of Problem 5 are ours, an atmosphere in which the entropy per molecule is the same at every height, built so that MIT's remarks apply. Problems 1 and 3 are stated in full on MIT's sheet and are given here as MIT sets them. Our additions to them are marked: part (d) of Problem 1 (a number), the entropy box and the field of Problem 3(a), and the reading of Problem 3(b) with a monatomic gas at a fixed volume. The numbers of Problems 4 and 5 are ours too.
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; type decimals, not fractions. A formula box takes plain typing, for example sqrt(m*g)/kB, and accepts every correct way of writing the answer with the letters of that box. Write the symbols exactly as the box names them: muB stands for , kB for , hbar for , w for , gam for , Bf for and pi for ; the other letters (g, B, T, N, m, x) are typed as they are.
MIT's sheet gives no points, so the points are ours: 20 for Problem 1, 20 for Problem 2, 25 for Problem 3, 15 for Problem 4 and 20 for Problem 5, 100 points in all, split between the parts as shown. 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 Wen's notes. is the temperature, Boltzmann's constant and . is the partition function, the free energy, the mean energy and the entropy. In Problems 1 and 3, is the g-factor of the spin, the Bohr magneton and the magnetic field; in Problem 5, is the acceleration of gravity. is a probability in Problem 1 and the pressure in Problem 5. Angle brackets are averages in the canonical ensemble.
Problem 1#
Curie's law from the canonical ensemble
One spin 1/2 sits in a magnetic field along . Its two states have the energies
In words
capital E ( capital S sub z equals plus one half ) equals plus g mu sub B capital B over 2, capital E ( capital S sub z equals minus one half ) equals minus g mu sub B capital B over 2
so the state with the spin along the field has the higher energy (for an electron the magnetic moment points against the spin). The spin is in contact with a heat bath at the temperature .
(a)6 points
Find the probability that the spin is in the state , and the probability that it is in the state .
Hint
In the canonical ensemble each state has a weight . The probabilities are the weights divided by their sum.
Hint
There are only two states here. Divide the numerator and the denominator by the weight of the state you want, so that each probability has the form .
Solution
The idea. A system in contact with a heat bath is found in a state of energy with a probability proportional to the Boltzmann factor. With two states the sum is easy.
The Boltzmann weights
The probability of a state is its weight divided by the partition function,
In words
capital P sub n is proportional to e to the power minus capital E sub n over k B capital T, end of power
Here the two weights are and , and their sum is the partition function of one spin, .
The two probabilities
Dividing each weight by :
In words
capital P ( one half ) equals the quantity e to the power minus g mu sub B capital B over 2 k B capital T, end of power, all over the quantity e to the power minus g mu sub B capital B over 2 k B capital T, end of power, plus e to the power g mu sub B capital B over 2 k B capital T, end of power, equals 1 over the quantity e to the power g mu sub B capital B over k B capital T, end of power, plus 1, capital P (- one half ) equals 1 over the quantity e to the power minus g mu sub B capital B over k B capital T, end of power, plus 1
Check the result
The two add up to 1, since . At both are ; at the spin sits in the lower state, ; at very high temperature both tend to again.
(b)5 points
Find the average spin .
Hint
. Write both probabilities with the weights , where : then they have the same denominator, .
Hint
A difference of two exponentials over their sum is a hyperbolic tangent. Watch the sign: which state is more likely?
Solution
The idea. Average over the two states with the probabilities of part (a).
The average
With the weights ,
In words
the average of capital S sub z equals one half the quantity e to the power minus g mu sub B capital B over 2 k B capital T, end of power, minus e to the power g mu sub B capital B over 2 k B capital T, end of power, all over the quantity e to the power minus g mu sub B capital B over 2 k B capital T, end of power, plus e to the power g mu sub B capital B over 2 k B capital T, end of power, equals minus one half tanh g mu sub B capital B over the quantity 2 k B capital T
Check the result
The size of never exceeds , the value of a fully aligned spin, which it reaches when . The spin points against the field on average, so the magnetic moment points along it. Supplement 1 finds the same tanh law for the moment of spins by counting states at fixed energy (Section 1.2.3, p. 4).
(c)5 points
The spin susceptibility is defined on MIT's sheet as
In words
chi equals the average of capital S sub z over capital B evaluated at capital B goes to 0
Find .
Hint
For a small argument, .
Solution
The idea. For a weak field the tanh is linear in , so has a finite limit.
The weak-field limit
With for small :
In words
the average of capital S sub z is approximately minus one half g mu sub B capital B over the quantity 2 k B capital T, chi equals minus g mu sub B over the quantity 4 k B capital T
The susceptibility falls as : this is Curie's law.
Check the result
The moment of one spin is . For spins that is the moment Supplement 1 finds by counting states,
In words
script capital M equals g squared mu sub B squared capital N over the quantity 4 k B capital T, times capital B
Units: is in J/T, so is in 1/T, as a spin (a pure number) per field must be.
(d)4 points
(Our addition.) An electron spin () sits in a field T at K. The Bohr magneton is J/T and J/K. What is the size of the average spin? Give a decimal.
Hint
First the ratio . Then use the exact result of part (b), not the weak-field one: check how small the ratio is.
Solution
The idea. Put the numbers into the tanh of part (b).
The numbers
The ratio is , and
In words
the absolute value of the average of capital S sub z equals one half tanh 0.6717 equals 0.2931
Check the result
The weak-field law of part (c) would give , 15% too high: at one kelvin a field of one tesla is no longer weak, and the spin is already 59% polarised ().
Problem 2#
Equipartition in a harmonic trap (setup and parts (a) and (b) ours)
MIT's sheet points here to a textbook problem and adds a part (c) of its own, on the equipartition of kinetic and potential energy in a harmonic potential. The setup and parts (a) and (b) below are ours, built so that MIT's part (c) applies.
identical atoms of mass move in one isotropic harmonic trap of angular frequency . They do not interact with each other, and they are treated as classical particles. Label their coordinates and momenta , with running from 1 to ; the energy is the sum of over all (our setup). The gas is in contact with a heat bath at the temperature .
(a)7 points
Find the classical partition function of one atom, with the phase-space measure of Wen's notes and . (For the identical atoms, .)
Hint
The integral factorises into six Gaussian integrals: three over momenta and three over coordinates.
Hint
. Use it with for a momentum and for a coordinate; the masses cancel in the product.
Solution
The idea. In a classical partition function the momenta and the coordinates are integrated separately, and for a quadratic energy every integral is a Gaussian.
The six integrals
For one direction, the momentum integral gives and the coordinate integral ; their product is . Three directions and the measure give
In words
capital Q one equals 1 over h cubed, times ( 2 pi k B capital T over omega ) cubed equals ( k B capital T over the quantity h bar omega, ) cubed
Check the result
is a pure number, as a partition function must be. It is the number of oscillator levels, spaced by , that lie below : the classical treatment needs .
(b)6 points
From , find the mean energy of the gas and its heat capacity .
Hint
. Only the power of in matters: .
Solution
The idea. The mean energy is minus the derivative of with respect to ; is a power of .
The mean energy
, so, with the relation of Chapter I,
In words
capital E equals minus partial over partial beta log capital Q
we get
In words
capital E equals 3 capital N over beta equals 3 capital N k B capital T, capital C equals d capital E over d capital T equals 3 capital N k B
Check the result
Each of the quadratic terms in the energy carries , which part (c) shows. A free monatomic gas has only the kinetic terms and the heat capacity (Chapter I, p. 9). The factor changes the entropy, not the energy.
(c)7 points
(MIT's part.) Show the equipartition of the energy: for every ,
In words
the average of p sub i squared over the quantity 2 m, equals the average of one half m omega squared q sub i squared equals one half k B capital T
Hint
The Boltzmann weight is a product of one factor for each and one for each . In the average of all the other factors cancel between numerator and denominator.
Hint
What is left is a ratio of two one-dimensional integrals. Write it as minus the derivative of the logarithm of , as Wen does for a free particle.
Solution
The idea. Each quadratic term in the energy has its own Gaussian factor in the Boltzmann weight, and the mean of a quadratic term over a Gaussian does not depend on its coefficient.
The kinetic energy
All factors other than the one of cancel, so
In words
the average of p sub i squared over the quantity 2 m, equals the quantity the integral of d p sub i p sub i squared over the quantity 2 m, times e to the power minus beta p sub i squared over 2 m, end of power, all over the quantity the integral of d p sub i e to the power minus beta p sub i squared over 2 m, end of power, equals minus d over d beta log the square root of 2 pi m over beta, end of root, equals 1 over the quantity 2 beta, equals k B capital T over 2
The potential energy
The same steps with in place of and in place of :
In words
the average of one half m omega squared q sub i squared equals minus d over d beta log the square root of 2 pi over the quantity beta m omega squared, end of root, equals 1 over the quantity 2 beta, equals k B capital T over 2
Check the result
The averages add up to , the energy of part (b). Neither nor appears: a stiffer trap squeezes the atoms closer to the centre but leaves their mean potential energy unchanged.
Problem 3#
Cooling by adiabatic demagnetization
spins 1/2, each with the two levels of Problem 1, sit in a magnetic field . They do not interact with each other.
(a)12 points
At first the spin system has the temperature . The field is then lowered slowly to zero, with the spins isolated from everything else. What temperature does the spin system reach? MIT's hint: in this slow (adiabatic) process the entropy does not change.
To find out, first write the entropy per spin, , as a function of alone (our addition). Then find the temperature the spins reach when the field is lowered from to a smaller value (our addition), and let go to zero.
Hint
For independent spins, with . Then and .
Hint
If the entropy depends on and only through , what has to stay fixed while changes?
Solution
The idea. The entropy of independent spins depends on the field and the temperature only through their ratio. An adiabatic change keeps the entropy, so it keeps .
The entropy per spin
With , the mean energy is and . So
In words
capital S over the quantity capital N k B, equals the quantity capital E minus capital A, all over the quantity capital N k B capital T, equals log (2 cosh x) minus x tanh x, x equals g mu sub B capital B over the quantity 2 k B capital T
Constant entropy
falls steadily from at towards 0 as grows, so a fixed entropy means a fixed , that is a fixed . Lowering the field from to gives
In words
capital T sub f equals capital T capital B sub f over capital B
and as the temperature of the spins goes to zero.
Check the result
At the entropy is per spin, two equally likely states, and for large it goes to 0, all spins in the lower level. In a real paramagnetic salt the spins feel a small field from their neighbours even at , so the temperature stops near instead of reaching zero. That is how this method reaches millikelvin temperatures.
(b)13 points
Now the spins in the field are in thermal contact with a classical ideal gas of particles in a volume . We take the particles monatomic and fixed (our reading; MIT's sheet does not say). At first both have the temperature , and . The field is lowered slowly to zero, and spins and gas stay at a common temperature. What temperature does the gas reach? Give as a decimal.
Hint
Now the total entropy, spins plus gas, is constant. What is the spin entropy at the start, when , and at the end, when ?
Hint
The gas entropy at fixed and depends on the temperature through (Chapter I, p. 11). The gas has to give up exactly the entropy the spins gain.
Solution
The idea. The spins start almost perfectly ordered and end completely disordered, so they gain the entropy . In a slow process the total entropy stays the same, so the gas loses , and the gas can only lose entropy by cooling.
The spin entropy
At the start , and the entropy of part (a) is close to 0: nearly every spin is in the lower level. At the end , both levels have the same energy, and the spin entropy is at any temperature.
The gas entropy
The entropy of the ideal gas is
In words
capital S equals capital N k B the quantity five halves plus log capital V over the quantity capital N lambda cubed
with , so at fixed and it changes by . Constant total entropy gives
In words
three halves capital N k B log capital T sub f over capital T equals minus capital N k B log 2, capital T sub f over capital T equals 2 to the power minus two thirds equals 0.630
Check the result
The ratio does not depend on , or the first temperature, only on the counts: two states per spin against three momentum directions per atom. A gas at fixed pressure instead of fixed volume would have and end at of its first temperature. The first condition matters: with a weaker field the spins would start with some entropy already and the cooling would be smaller.
Problem 4#
The Maxwell distribution of speeds (our own problem)
MIT's sheet gives only the number of a textbook problem here. The problem below is our own, on the Maxwell distribution of Chapter I of Wen's notes.
In a classical ideal gas at the temperature , the fraction of molecules with a speed between and is proportional to
In words
e to the power minus beta m v squared over 2, end of power, v squared d v
where is the mass of a molecule.
(a)3 points
Find the most probable speed , where this distribution has its maximum.
Hint
Set the derivative of with respect to to zero.
Solution
The idea. The factor grows and the exponential falls; the maximum is where their logarithmic slopes cancel.
The maximum
gives
In words
v sub p equals the square root of 2 k B capital T over m, end of root
Check the result
Units: J/kg = m²/s², so is a speed. It grows with the temperature and falls with the mass.
(b)4 points
Find the mean speed .
Hint
Normalise first: with .
Hint
and .
Solution
The idea. Average over the normalised distribution; both integrals are standard Gaussian moments.
The two integrals
With ,
In words
the average of v equals the quantity one half a squared, all over the quantity one quarter the square root of pi over a cubed, end of root, equals 2 over the square root of pi a equals the square root of 8 k B capital T over the quantity pi m, end of root
Check the result
lies between of and of the root mean square speed: the long tail of fast molecules pulls the mean above the peak.
(c)4 points
Nitrogen molecules have the mass u, with kg. What is their mean speed at K, in m/s? Use J/K.
Hint
Use the result of part (b), with the mass in kilograms.
Solution
The idea. Put the numbers into part (b).
The numbers
kg, and
In words
the average of v equals the square root of 8 times 1.3806 times 10 to the power minus 23 times 300 over the quantity pi times 4.649 times 10 to the power minus 26, end of root, metres per second equals 476.3 metres per second
Check the result
The most probable speed is m/s and the root mean square speed m/s, in the ratio of part (b). All three are comparable to the speed of sound in air, about 350 m/s at this temperature, as they should be: sound is carried by the molecules' own motion.
(d)4 points
What fraction of the molecules move faster than , twice the most probable speed? Give a decimal. You may use the complementary error function, , with .
Hint
Change to the variable , so the distribution becomes . Check that it is normalised.
Hint
Integrate from 2 to infinity by parts, with as the part you integrate.
Solution
The idea. In the variable the distribution has no parameters left, so the fraction is a pure number, the same for every gas at every temperature.
Integrate by parts
, so the fraction above is
In words
capital F (s) equals e r f c (s) plus 2 over the square root of pi, times s e to the power minus s squared, capital F (2) equals 0.004678 plus 0.041334 equals 0.0460
Check the result
: every molecule is faster than zero, so the distribution is normalised. About 4.6% of the molecules move faster than twice the most probable speed, and the tail falls off like beyond.
Problem 5#
An atmosphere with the same entropy per molecule at every height (setup and questions ours)
MIT's sheet points here to a textbook problem and adds three remarks: the air is an ideal gas, the combination is just a constant whose value is to be found, and the entropy per particle does not depend on the height . MIT also suggests doing part (b) before part (a). The setup and the questions below are ours, built so that these remarks apply.
Air near the ground is stirred by convection: a parcel of air that rises expands slowly without exchanging heat, so the entropy per molecule is the same at every height. Treat the air as a classical ideal gas of molecules of mass in the uniform gravity , with , where is the number of molecules per volume. Each molecule has the heat capacity at fixed volume, constant over the range of temperatures here, and with . The entropy per molecule is (our statement; for a monatomic gas it is Wen's ideal-gas entropy of Chapter I, p. 11, with ). The air is at rest, so its pressure falls with the height as (the standard balance of forces on a thin layer, stated by us).
(a)6 points
Find the temperature gradient in terms of , , and .
Hint
Follow MIT's suggestion and do part (b) first: it gives how and change together.
Hint
Divide by , so that . Then replace by a multiple of , using part (b).
Solution
The idea. Hydrostatic balance fixes how fast the pressure falls; constant entropy ties the temperature to the pressure. Together they give how fast the temperature falls.
Pressure against height
Dividing the balance by :
In words
d log capital P over d z equals minus m g over the quantity k B capital T
Use part (b)
With , , so , and
In words
d capital T over d z equals minus the quantity gamma minus 1, all over gamma, times m g over k B
Check the result
The right side does not depend on or : the temperature falls linearly with the height, which is why MIT calls "just a constant". Units: is (kg m/s²)/(J/K) = K/m, a temperature per length. For (a gas with a very large heat capacity) the atmosphere becomes isothermal.
(b)6 points
Use the hint of MIT's sheet, that the entropy per particle does not depend on the height: along the atmosphere is proportional to a power of . Find the exponent in , in terms of .
Hint
Keep fixed and eliminate with : then is constant.
Hint
That is . Write in terms of , using and .
Solution
The idea. Constant entropy per molecule is one relation between and ; the ideal-gas law turns it into a relation between and .
Constant entropy
With , . Fixed means , and from and we get :
In words
capital P is proportional to capital T to the power gamma over the quantity gamma minus 1, end of power
Check the result
For a monatomic gas and ; then fixed is fixed with , the condition for constant entropy from Wen's formula. It is also the familiar adiabatic law written with instead of .
(c)4 points
Find the value of the constant for air. Air is mostly nitrogen and oxygen, molecules of two atoms; at the temperatures of the atmosphere they rotate freely, but their vibrations are not excited. Give a decimal.
Hint
Count the quadratic terms in the energy of one molecule that are active: three for its motion, and the rotations about the two axes across the molecule. Each gives to .
Hint
Then , and .
Solution
The idea. Equipartition gives from the active degrees of freedom, and the constant is .
Count the degrees of freedom
Three directions of motion and two rotations give five quadratic terms, so and ; . Then
In words
the quantity gamma minus 1, all over gamma equals k B over small c sub P equals two sevenths equals 0.2857
Check the result
The rotation about the axis of the molecule does not count: its energy levels are far above , as Chapter I explains for rotations whose level spacing exceeds (p. 10). (Wen's p. 10 writes per molecule for air; that is . Three translations and two rotations give , as his table of rotation and vibration temperatures on the same page implies.) A monatomic gas would give .
(d)4 points
(Our numbers.) Take the mean mass of an air molecule as u, with kg, m/s² and J/K. By how many kelvin per kilometre does the temperature fall with the height?
Hint
Use part (a) with the constant of part (c), and convert from kelvin per metre to kelvin per kilometre.
Solution
The idea. Put the numbers into part (a).
The numbers
K/m, and
In words
minus d capital T over d z equals two sevenths times 0.03422 kelvin per metre equals 9.78 kelvin per kilometre
Check the result
This is what meteorologists call the dry adiabatic lapse rate, the rate for rising dry air. The average measured fall in the lower atmosphere is smaller, because rising moist air releases heat when its water vapour condenses, which this ideal-gas model leaves out.