This set practises the first week of the course: counting states and the entropy of the statistical ensembles supplement, and the canonical ensemble and the free energy of Chapter I, with its stretched chain and ideal gas. The problems follow MIT's Problem Set 1 of February 2, 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 1 and 4 are only pointers to problems in a textbook (Huang's Statistical Mechanics), named by number, with no title. The textbook is not used here: Problems 1 and 4 are our own problems, on topics of the first week (counting the states of an Einstein solid, and the canonical ensemble of a gas in a gravitational field). MIT's Problems 2 and 3 also point to a textbook problem, but MIT replaces its questions with its own, parts (a) to (d), about a hanging chain of links of length . The setup of the chain in Problems 2 and 3 is ours, built so that MIT's questions apply; the questions are MIT's, rewritten. Our additions to them are marked where they stand: the worked numbers of Problem 2(a), part (e) of Problem 2, and the polymer numbers and number boxes of Problems 3(c) and 3(d). The choice boxes of Problems 3(a) and 3(d) are also ours.
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; give it as a decimal. A formula box takes plain typing, for example q*log(N) - N, 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 , lam for , sigma for , and log for the natural logarithm; the other letters (N, q, y, L, a, m, g, T) are typed as they are.
MIT's sheet gives no points, so the points here are ours: 25 for each problem, 100 points in all. 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 Boltzmann's constant, the temperature and . is a number of states, the entropy, the partition function and the free energy. Two results of the notes are used throughout: the temperature of an isolated system follows from its entropy as a function of its energy,
In words
1 over T equals partial S( capital E ) over partial capital E
and a system in a heat bath has the free energy and mean energy
In words
capital Q equals the sum over n of e to the power minus capital E sub n over k B T, end of power, capital A equals minus k B T log capital Q, capital E bar equals minus partial over partial beta log capital Q
For large numbers Stirling's formula, , is enough (the notes give the next terms in Supplement 1, Eq. (1.2.5)).
Problem 1#
Counting the states of an Einstein solid (our own problem)
MIT's sheet gives only the number of a textbook problem here. The problem below is our own, on counting states and the temperature of an isolated system.
A simple model of a solid (Einstein's) treats it as independent quantum harmonic oscillators, all with the same angular frequency . An oscillator in its -th level has the energy , with The solid is isolated, with total energy
In words
capital E equals the quantity q plus capital N 2, h bar omega, q equals n one plus n two plus and so on plus n sub N
so that quanta of energy are shared among the oscillators. A state of the solid is a list .
(a)4 points
Take a tiny solid of oscillators sharing quanta. How many states does it have?
Hint
List the states by the value of . If , the other two oscillators share 4 quanta: in how many ways?
Hint
Two oscillators sharing quanta can do it in ways. Add these up for to .
Solution
The idea. Count the lists of three whole numbers that add up to 4.
Count by the first oscillator
If , the other two share quanta, which they can do in ways (). So the number of states is .
Check the result
A second count: write the 4 quanta as 4 dots and separate the three oscillators by 2 bars, so that two dots, a bar, one dot, a bar and one dot stand for . Every state is one arrangement of 4 dots and 2 bars in a row of 6, and there are of them.
(b)5 points
Now take any and . How many states does the solid have?
Hint
Use the second count of part (a): dots and bars in a row. Which positions do the bars take?
Solution
The idea. Quanta are not labelled: a state says only how many quanta each oscillator has. So count arrangements of identical dots and bars.
Dots and bars
The quanta and the walls between neighbouring oscillators make a row of places. A state is a choice of the places that hold walls:
In words
capital gamma (q, capital N ) equals q plus capital N minus 1 choose q equals the quantity q plus capital N minus 1, factorial over the quantity q factorial the quantity capital N minus 1, factorial
Check the result
For , it gives , as in part (a). The other choices give 81, 35 and 4. counts the quanta as if they were labelled; has one wall too many.
(c)6 points
Let and both be large. Use Stirling's formula, and replace by and by , to find the entropy as a function of and .
Hint
Take the logarithm of : . Apply to each term.
Hint
The terms cancel, because .
Solution
The idea. The entropy is the logarithm of the count of part (b); Stirling's formula turns the factorials into smooth functions.
Stirling's formula
With the replacements, . Each term is , and the three cancel:
In words
S over k B equals the quantity q plus capital N, log of the quantity q plus capital N, minus q log q minus capital N log capital N equals q log the quantity q plus capital N, all over q plus capital N log the quantity q plus capital N, all over capital N
Check the result
Both terms of the second form are positive, and the expression is symmetric in and , as the count with dots and bars is. For it gives , against the exact : the difference, about 5, grows only like , while the entropy grows like .
(d)6 points
Use to find the mean number of quanta per oscillator, , as a function of .
Hint
By the energy formula, at fixed . So .
Hint
The derivative of with respect to is a single logarithm. Set it equal to and solve for .
Solution
The idea. The temperature measures how fast the entropy grows as quanta are added.
The derivative
From part (c), . So
In words
1 over T equals 1 over the quantity h bar omega, times partial S over partial q equals k B over the quantity h bar omega, times log the quantity q plus capital N, all over q
Solve for q/N
gives , so
In words
q over capital N equals 1 over the quantity e to the power h bar omega over k B T, end of power, minus 1, capital E equals capital N h bar omega the quantity one half plus 1 over the quantity e to the power h bar omega over k B T, end of power, minus 1
This is Planck's mean occupation number, found here from counting alone. The canonical ensemble gives the same result for one oscillator in a heat bath.
Check the result
At high temperature, , and : each oscillator has energy , the classical value for a kinetic and a potential quadratic term. At low temperature, , : the quanta die out exponentially.
(e)4 points
For a solid at the temperature where (our number), what is the mean number of quanta per oscillator? Give it to three decimals.
Hint
Put into part (d). Do not use either of the two limits: is neither large nor small.
Solution
The idea. Evaluate the exact result of part (d).
The number
, so .
Check the result
The two limits give and ; the true value lies between them, as it must.
Problem 2#
A hanging chain with a weight, as an isolated system
MIT's sheet points to a textbook problem here but asks its own four questions, (a) to (d), about a hanging chain. The setup below is ours, so that MIT's questions apply; the questions are MIT's.
A chain of links, each of length , hangs from a hook in the ceiling. The joints are free and the chain is one-dimensional: each link points either straight down or straight up. The links have no mass. A weight of mass hangs from the lower end. If links point down and point up, the length of the chain, measured downward from the hook to the weight, is
In words
L equals the quantity capital N sub d minus capital N sub u, a, capital N sub d plus capital N sub u equals capital N
Take the potential energy of the weight to be zero when it is at the level of the hook, and neglect its motion: the energy of the chain with its weight is the weight's potential energy, which depends on only. The chain and the weight form an isolated system. As MIT asks, assume that the ceiling does not block the chain, so links may point up past the hook.
(a)5 points
How many states does the chain have when its length is ? Write it with , and . Then, as a check (our numbers): how many states are there for and ?
Hint
A length fixes and . Solve the two equations of the setup for them.
Hint
Then count the ways to choose which of the links point up.
Solution
The idea. A state is a list of directions. The length fixes how many of each there are, but not which links they are.
Count
From and : and . The number of states is the number of ways to pick the upward links:
In words
capital gamma (L) equals capital N choose capital N sub u, capital N sub d equals one half the quantity capital N plus L over a, capital N sub u equals one half the quantity capital N minus L over a
This binomial coefficient is divided by the factorials of and . It is zero unless is an even whole number between and .
The numbers
For , : , and .
Check the result
Summed over all lengths, must give , the number of all lists of directions, and it does by the binomial theorem. The largest is at ; the fully stretched chain, , has a single state.
(b)6 points
Find the entropy and the energy of the chain when its length is . Take large and , as MIT does, and keep the entropy to order .
Hint
Write and with , and apply Stirling's formula to .
Hint
You should reach . Expand the bracket for small , using .
Solution
The idea. The entropy is times the logarithm of the count of part (a). Nearly all states have a length near zero, so the entropy is close to and falls quadratically as the chain is stretched.
Stirling's formula
With and , :
In words
S over k B equals log capital gamma is approximately capital N log 2 minus capital N 2, times the quantity the quantity 1 plus x, log of the quantity 1 plus x, plus the quantity 1 minus x, log of the quantity 1 minus x, x equals L over the quantity capital N a
Small extension
, so the bracket is and
In words
S(L) is approximately k B the quantity capital N log 2 minus L squared over the quantity 2 capital N a squared
The energy
The weight is a distance below the hook, so
In words
capital E (L) equals minus m g L
Check the result
At the entropy is , the logarithm of all states, as in Wen's chain (Chapter I, p. 5): to leading order, fixing the length at zero costs no entropy. The quadratic drop is the Gaussian shape of the binomial distribution, up to a slowly varying factor.
(c)5 points
Find the temperature of the chain when its length is .
Hint
Both and depend on only. Use the chain rule: .
Solution
The idea. The temperature of an isolated system is set by how its entropy changes with its energy. Here both change only through the length.
The chain rule
and , so
In words
1 over T equals the quantity d S over d L, all over the quantity d capital E over d L, equals k B L over the quantity capital N m g a squared, T equals capital N m g a squared over the quantity k B L
Check the result
Units: kg (m/s²) m²/(J/K · m) = K. A short chain is hot: at a high temperature the entropy wins over the weight, and the chain stays crumpled near . Because the ceiling does not block the chain, may also be negative (the weight above the hook); then , the negative temperature of a system whose number of states falls as its energy rises, as for the spins of the statistical ensembles supplement.
(d)5 points
Find the length of the chain in terms of . Show that, for a fixed and a small force , the length is proportional to the force.
Hint
Solve part (c) for .
Solution
The idea. Invert the temperature. The chain then behaves as a spring whose stiffness is set by the temperature.
Solve for the length
In words
L equals capital N a squared over the quantity k B T, times m g
At fixed this is proportional to the force : Hooke's law, with a spring constant that grows with the temperature.
When it holds
The result came from the small-extension entropy of part (b), so it needs , which is : the work the force does on one link is small compared with the thermal energy. That is what MIT's "small force" means here.
Check the result
Units: m² N/J = m. A hotter chain is shorter for the same weight, because the entropy, which favours , weighs more against the energy.
(e)4 points
(Our addition.) Keep the full entropy of part (b), before its expansion, and find the exact length. For and , what is ? Give it to two decimals.
Hint
Differentiate the bracket of the full entropy with respect to . You should get a logarithm of .
Hint
is the inverse of the hyperbolic tangent.
Solution
The idea. The same chain rule as part (c), with the entropy kept to all orders in .
The exact temperature
From the full entropy, , and , so . With :
In words
1 over T equals k B over the quantity m g a, times inverse tanh L over the quantity capital N a, L equals capital N a tanh m g a over the quantity k B T
The numbers
. The linear law of part (d) would give , 8% too long.
Check the result
For , the tanh is close to its small argument, which gives part (d). For , : the chain hangs straight, and no force can make it longer. This is the same tanh as for the magnetic moment of spins in a field (statistical ensembles supplement, Curie's law).
Problem 3#
The chain without a weight in a heat bath
MIT's sheet points to the same textbook problem, now with , and asks its own four questions, (a) to (d). We use the chain of Problem 2 without the weight. Its links have no energy of any kind, so every state of the chain has the energy zero. The chain is in contact with a heat bath at temperature , and its ends are held so that its length is .
(a)5 points
Find the partition function of the chain at length .
Hint
is the sum of over the states the chain can be in. Which states are those at a fixed length, and what is for each?
Solution
The idea. At fixed length the sum runs only over the states with that length, and each contributes .
The sum
In words
capital Q (L) equals the sum over n: length L of e to the power minus capital E sub n over k B T, end of power, equals the sum over n: length L of 1 equals capital gamma (L) equals capital N choose capital N sub u
with and as in Problem 2(a). It does not depend on : with every , the Boltzmann factors are all 1.
Check the result
If the length were free as well, the sum would run over all states and give ; is then the probability of the length in the bath.
(b)6 points
Find the free energy of the chain, for large and , to order .
Hint
, and you found for these conditions in Problem 2(b).
Solution
The idea. With no energy, the free energy is : all of it is entropy.
The free energy
In words
capital A (T, L) equals minus k B T log capital gamma (L) is approximately minus capital N k B T log 2 plus k B T L squared over the quantity 2 capital N a squared
Check the result
with the entropy of Problem 2(b), as it must be for . It rises with : stretching the chain costs free energy, though not energy, as in Wen's chain (Chapter I, pp. 5–6).
(c)7 points
The tension of the chain is , as MIT defines it. Find , and show that for a small tension the length is proportional to . Then (our addition) take a polymer of segments of length nm at K, held at nm: what is the tension, in piconewtons?
In words
tau equals partial capital A over partial L
Hint
Differentiate the result of part (b). Only the term depends on .
Hint
For the numbers, at 300 K is about J. Keep every length in metres.
Solution
The idea. The tension is the slope of the free energy. Since the free energy is all entropy, the force is an entropic force, as in a rubber band.
The tension
In words
tau equals k B T over the quantity capital N a squared, times L, L equals capital N a squared over the quantity k B T, times tau
So for small , with the same spring constant as Problem 2(d), where played the part of . The exact slope of the free energy is , which is linear while , that is while .
The numbers
J J and m² m², so N N pN.
Check the result
The extension is , small enough for the linear law (the exact tanh law differs by 0.3%). Forces of a fraction of a piconewton are what optical tweezers measure on single long molecules, where such entropic springs are seen.
(d)7 points
When we pull the chain we do work on it, yet its internal energy is always . Where does the energy go? Is energy still conserved? Then (our addition): how much heat goes into the bath when the polymer of part (c) is pulled slowly from to nm, in units of ?
Hint
The chain is in a heat bath. As it is stretched its entropy falls. What must happen to the bath's entropy, and what does that take?
Hint
For the number, integrate from to with the tension of part (c).
Solution
The idea. The first law holds for the chain as for anything else. With fixed at zero, every joule of work must leave as heat, and the bath takes it.
Energy conservation
For a slow stretch at fixed , with the work done on the chain and the heat it gives to the bath. Since always,
In words
delta capital Q out equals tau d L equals d capital A equals minus T d S
The work goes into the bath as heat. The chain's entropy falls by , the bath's rises by : total entropy is unchanged in a slow stretch, and energy is conserved. Wen makes the same argument for the fully stretched chain (Chapter I, p. 6). If the chain is allowed to shrink back slowly, doing work on whatever holds its end, it takes the same heat back from the bath. (A real rubber band that contracts quickly, with no time to take heat in, cools instead.)
The numbers
, so .
Check the result
It equals times the entropy drop of Problem 2(b), , in units of : . It is small compared with , the cost of pulling the chain all the way straight.
Problem 4#
An ideal gas in a gravitational field (our own problem)
MIT's sheet gives only the number of a textbook problem here. The problem below is our own, on the canonical ensemble and the ideal gas of Chapter I.
identical molecules of mass fill a very tall vertical cylinder of cross-section area , in contact with a heat bath at temperature . Gravity points down, and a molecule at height above the floor has the potential energy . Take the cylinder as infinitely tall, treat the gas as classical and ideal, and ignore the molecules' internal motions. As in Chapter I, the partition function of identical, non-interacting molecules is
In words
capital Q equals capital Q one ^ capital N over the quantity capital N !, capital Q one equals the integral of d cubed p d cubed r over h cubed, times e to the power minus beta epsilon ( vector p, vector r ), the integral of d p over h, times e to the power minus beta p squared over 2 m, end of power, equals 1 over lambda
where is the energy of one molecule and the thermal wavelength.
(a)7 points
Find the one-molecule partition function , in terms of , , , , and .
Hint
The energy is . The integral splits into three momentum integrals, two integrals across the cylinder and one over the height.
Hint
The integral of from to infinity is a length. Which one?
Solution
The idea. The energy is a sum of terms in separate variables, so the integral is a product of one-dimensional integrals.
The integrals
The three momentum integrals give , the two across the cylinder give , and the height gives
In words
the integral from 0 to infinity of d z e to the power minus m g z over k B T, end of power, equals k B T over the quantity m g, is defined as ell
so
In words
capital Q one equals sigma ell over lambda cubed equals sigma k B T over the quantity m g lambda cubed
Check the result
Compare a box of volume , where (Chapter I, p. 11): the tall cylinder acts as a box of height . is a pure number, as it must be: is a volume.
(b)6 points
Find the mean energy per molecule, , and from it the heat capacity of the gas.
Hint
Write with every factor of shown: and . Only these matter for .
Solution
The idea. Each power of in adds per molecule to the mean energy, through the logarithm.
Differentiate
, so and
In words
capital E bar equals minus partial log capital Q over partial beta equals five halves capital N over beta equals five halves capital N k B T, C equals d capital E bar over d T equals five halves capital N k B
Check the result
Split it: is the kinetic energy, by equipartition, and the rest, , is the mean potential energy, as part (c) confirms. The gravitational field raises the heat capacity from to : heating the gas also lifts it.
(c)6 points
Find the mean height of a molecule. Then (our numbers) evaluate it for nitrogen molecules, u, at K with m/s², in kilometres. (Earth's atmosphere is neither isothermal nor in a uniform field, so this is only the model.)
Hint
The probability of a height between and is proportional to the Boltzmann factor . Normalise it and take the mean.
Hint
The unified atomic mass unit is kg.
Solution
The idea. The heights follow an exponential distribution with the scale of part (a).
The mean
In words
the average of z equals the quantity the integral from 0 to infinity of z e to the power minus z over ell, end of power, d z, all over the quantity the integral from 0 to infinity of e to the power minus z over ell, end of power, d z, equals ell equals k B T over the quantity m g
The numbers
kg kg, so m m km.
Check the result
, the mean potential energy found in part (b). Lighter molecules spread higher: for helium (4.003 u) the same formula gives about 64 km.
(d)6 points
Show that the pressure on the floor equals the weight of the gas divided by the area, .
Hint
Find the number density from the distribution of heights of part (c), with molecules in all. Near the floor the gas is an ideal gas, so its pressure is .
Solution
The idea. The density falls exponentially with height. The pressure at the floor must hold up all the gas above it.
The density
Normalising molecules over the column, : the barometric formula.
The pressure
In words
capital P (0) equals n(0) k B T equals capital N over the quantity sigma ell, times k B T equals capital N over sigma, times k B T over the quantity k B T over m g, equals capital N m g over sigma
This is the weight of the gas, , spread over the floor.
Check the result
A second route: a thin layer of gas between and is at rest, so the pressure below it exceeds the pressure above it by its weight per area, . With this gives , and integrating over the whole column gives again. The result does not depend on .