This set practises four lessons. Problem 1 uses the Maxwell relations, Problem 2 the Carnot cycle, and Problems 4 and 5 the canonical ensemble and its examples. Problem 3 needs only heat capacities and the entropy change of a slow heat flow, from the lesson on entropy, temperature and the second law. The problems follow MIT's Problem Set 7, in our own words.
MIT publishes its solutions to this set. The hints and solutions here are rewritten from MIT's: they follow MIT's method in our own words, cite MIT's solutions at the printed page, and were checked again by an independent calculation. Where MIT's solutions have a slip, the solution here says so in brackets.
A few things differ from MIT's sheet. The due date is left out. MIT's sheet gives no points: all the points here are ours. MIT's two drawings (the container of Problem 1 before and after, and the pendulum of Problem 4) are described in words. Some boxes are our additions, each marked as such: the change of the energy with volume in Problem 1(b), the entropy change as a number in Problem 3(b), the example with numbers in Problem 4(a) and the number of states in a level in Problem 5(b). Where MIT asks an open question ("which quantities are conserved?", "is it positive or negative?") the choices in the box are our wording. The comparison with two bodies simply put in contact (Problem 2), the second argument in Problem 4(b) and the estimate of the size of the atom in Problem 5(c) are ours too. Both PDFs have printed page numbers: "p. 1" to "p. 3" of the sheet and "p. 1" to "p. 5" of the solutions are those numbers.
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 2*K*exp(-A/(k*T)), and accepts every correct way of writing the answer with the letters of that box. Type sqrt(...) for a square root and exp(...) for an exponential. Write the symbols as the box names them: Ti for , V0 for , TH and TC for and , C0 for . Capital and small letters are different symbols: in Problem 4, k is Boltzmann's constant and K is the stiffness of the wire.
The points per problem and per part are ours. Parts that ask for an argument 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 lessons: is the internal energy, is Boltzmann's constant, and a small amount of heat is written . Two letters change their meaning between problems, as on MIT's sheet: and are the constants of the gas in Problem 1 and the constants of the two heat capacities in Problem 3. MIT's sheet calls the kinetic energy of the pendulum , the same letter as the temperature; here is always the temperature and the kinetic energy is written out. The final temperature of Problem 1 is written here, where MIT's solutions write T with a small f, close to the capital F of the final temperature in Problem 2, to keep the two apart when the page is read aloud.
Problem 1#
Free expansion of a gas
A classical gas of atoms (single atoms, not molecules) is not ideal. Its equation of state is
In words
capital P ( capital T, V) equals capital N k capital T over the quantity V minus b capital N, minus a ( capital N over V ) squared
where and are positive constants. The term takes away the volume that the other atoms occupy. The term lowers the pressure because the atoms attract each other at long range (the van der Waals attraction). Neither term changes the heat capacity at constant volume, which stays that of an ideal gas of single atoms, .
The gas is in a container of negligible mass that is isolated from its surroundings. A partition keeps the gas in one third of the container's volume , where it is in equilibrium at the temperature . Then a hole is opened in the partition. The gas streams into the empty part, an irreversible process, and in the end fills the whole volume . (MIT's sheet shows the container before, with the gas in the left third, and after, with the gas everywhere.)
(a)5 points
Which thermodynamic quantities are conserved in this process? In the box, choose the quantity of the gas (other than the number of atoms) that is the same before and after.
Hint
Use the first law. Does heat enter the gas? Is work done on it? Remember that the gas pushes against nothing when it flows into the empty part.
Solution
The idea. The first law keeps the books: the energy of the gas changes only by heat and by work.
No heat, no work
The container is isolated, so no heat enters: . The walls do not move and the gas expands into empty space, so nothing does work on the gas: . Then
In words
capital delta capital E equals Q plus W equals 0
The internal energy is conserved. So is the number of atoms.
Check: what is not conserved
The entropy is not conserved, although no heat flows: the process is irreversible, and holds only for slow, reversible changes. The entropy of the isolated gas rises. Whether the temperature changes is the question of part (b): for an ideal gas it does not (the lesson on the first law), for this gas it does.
(b)15 points
Find the temperature of the gas once it has come to equilibrium again in the volume .
The first box is our addition, a step on the way: how the energy of this gas changes with its volume at fixed temperature. In the second box use the letters , , , and .
Hint
The energy is a function of state, so compare in the two equilibrium states: before and after. You need to know how depends on both and .
Hint
Start from and write in terms of and . The coefficient of is the heat capacity . The coefficient of holds the derivative of with respect to at fixed , which a Maxwell relation turns into a derivative of the pressure.
Hint
Integrate to get up to a constant, then set the energy at equal to the energy at .
Solution
The idea. The energy is the same before and after, and it is a function of state. Find from the equation of state and the heat capacity, then solve for the final temperature.
The differential of the energy
Write the entropy as a function of and in the combined first and second laws:
In words
d capital E equals capital T d S minus capital P d V equals capital T ( partial S over partial capital T ) sub V d capital T plus the quantity capital T ( partial S over partial V )_ capital T minus capital P, d V
The coefficient of is the heat capacity at constant volume, . For the coefficient of , the Maxwell relation that comes from the Helmholtz free energy (see the lesson) gives
In words
( partial S over partial V )_ capital T equals ( partial capital P over partial capital T ) sub V equals capital N k over the quantity V minus b capital N
Multiplied by this is the first term of the pressure. Subtracting leaves only the attraction term, with its sign reversed:
In words
( partial capital E over partial V )_ capital T equals capital T ( partial capital P over partial capital T ) sub V minus capital P equals a ( capital N V ) squared, d capital E equals three halves capital N k d capital T plus a ( capital N V ) squared d V
This is the first box. The constant has dropped out: taking volume away from the atoms does not change the energy.
The energy function
Each term depends on one variable only, so the integration is direct:
In words
capital E ( capital T, V) equals three halves capital N k capital T minus a capital N squared over V plus constant
The first term is the kinetic energy of the atoms. The second is the potential energy of their attraction: it is negative, and it is larger in size when the gas is dense.
Before and after
Set the energy at equal to the energy at . The constant cancels.
In words
three halves capital N k capital T sub i minus a capital N squared over the quantity V nought over 3, equals three halves capital N k capital T end minus a capital N squared over V nought which gives three halves capital N k the quantity capital T end minus capital T sub i, equals minus 2 a capital N squared over V nought
In words
capital T end equals capital T sub i minus four thirds a over k, times capital N over V nought
The gas cools. The atoms move apart against their attraction, the potential energy rises by , and the kinetic energy pays for it.
Check the result
Units: is an energy (it is a term of ), so is an energy per atom divided by , a temperature. Limit: with the temperature does not change, as for the ideal gas. The result holds while the drop is small compared with : the equation of state is a model for a gas, and it does not describe a gas cooled until it turns liquid.
Problem 2#
Use of a Carnot cycle
Two identical bodies have the same heat capacity , which does not depend on temperature. At the start they are at different temperatures, and (with ). A Carnot engine is run between them, in a great many very small cycles, until both bodies have the same temperature .
(a)10 points
Find in terms of and .
Hint
The two bodies are not heat baths: each small cycle takes a little heat from the hot body, which cools a little, and gives a little heat to the cold body, which warms a little. During one small cycle the two temperatures are nearly fixed.
Hint
A Carnot cycle is reversible. What does that say about the entropy lost by the hot body and the entropy gained by the cold body in one small cycle? Write each as and add up from the start to the end.
Solution
The idea. The engine is reversible, so the total entropy of the two bodies does not change. That one condition fixes the final temperature.
One small cycle
In a small Carnot cycle the entropy that leaves the hot body equals the entropy that enters the cold body: . A body with heat capacity whose temperature changes by takes in the heat , so its entropy changes by .
Adding up
The hot body goes from down to , the cold body from up to :
In words
the integral from capital T sub H to capital T sub F of C nought d capital T over capital T equals minus the integral from capital T sub C to capital T sub F of C nought d capital T over capital T which gives log capital T sub F over capital T sub H equals minus log capital T sub F over capital T sub C equals log capital T sub C over capital T sub F
In words
capital T sub F over capital T sub H equals capital T sub C over capital T sub F which gives capital T sub F equals the square root of capital T sub H capital T sub C
The final temperature is the geometric mean of the two starting temperatures.
Check the result
The result is a temperature, it lies between and , and for it gives that same temperature. A number: bodies at 400 K and 100 K end at K K. Put in contact with no engine they would end at the ordinary mean, 250 K (our comparison). The engine leaves them colder, because it carries energy away as work.
(b)10 points
Find the total work that the engine does on the outside world in this process. Is it positive or negative?
Hint
Over a whole number of cycles the engine itself returns to its starting state. So the work it delivers is the heat it took from the hot body minus the heat it gave to the cold body.
Hint
The heat that a body with a constant heat capacity gives up or takes in is times its change of temperature. Use your and look for a perfect square.
Solution
The idea. Energy is conserved: what the hot body loses and the cold body does not gain has left as work.
Heat out minus heat in
In words
W out equals the absolute value of Q sub H minus the absolute value of Q sub C equals the integral from capital T sub F to capital T sub H of C nought d capital T minus the integral from capital T sub C to capital T sub F of C nought d capital T equals C nought the quantity the quantity capital T sub H minus capital T sub F, all minus the quantity capital T sub F minus capital T sub C
A perfect square
With :
In words
W out equals C nought the quantity capital T sub H minus 2 the square root of capital T sub H capital T sub C plus capital T sub C, equals C nought the quantity the square root of capital T sub H minus the square root of capital T sub C, all squared greater than 0
A square cannot be negative, and it is zero only when the two bodies start at the same temperature. The engine does positive work on the outside world.
Check the result
Units: a heat capacity times a temperature is an energy. The number of part (a): for 400 K and 100 K the work is K . Our comparison agrees: with no engine both bodies would end at 250 K, with the engine at 200 K, and the energy missing from the two bodies is K . No other way of bringing the two bodies to a common temperature delivers more work: the total entropy cannot fall, so and , and the work is largest for the reversible engine, which reaches that lower bound (the lesson on heat engines).
Problem 3#
Cooling liquid helium
In an experiment, liquid helium at 1.0 K is to be cooled further. It is brought into contact with a paramagnetic salt that starts at a lower temperature . The heat capacity of the liquid is with erg K⁻⁴. The heat capacity of the salt is with erg K. (The erg is the energy unit of MIT's sheet: 1 erg J.) Helium and salt together are isolated from the rest of the universe, thermally and mechanically, and no work is done.
(a)10 points
What must the starting temperature of the salt be, if helium and salt are to end together at 0.5 K? Give it in kelvin.
Hint
Nothing else takes part, and no work is done. So the heat that the salt takes in is the heat that the helium gives up.
Hint
The heat that a body takes in as its temperature changes is the integral of its heat capacity over temperature. The heat capacities change with temperature, so they must stay inside the integrals.
Solution
The idea. Energy balance: heat into the salt plus heat into the helium is zero.
The two heats
In words
Q sub S equals minus Q sub L : the integral over capital T nought of to the power one half, end of power, b capital T to the power minus 2 d capital T equals minus the integral over 1 of to the power one half, end of power, a capital T cubed d capital T
Here the temperatures are written as plain numbers of kelvin. The integrals are
In words
b the quantity 1 over capital T nought minus 2, equals a over 4, times the quantity 1 minus 1 over 16, equals 15 over 64, times a
Solving for the temperature
In words
1 over capital T nought equals 2 plus 15 over 64, times a over b equals 2 plus 15 over 64 times 128 over 15 equals 4, capital T nought equals 0.25 kelvin
Check the result
The salt starts colder than the final 0.5 K, as it must. The heat itself: the helium gives up erg, and the salt, warming from 0.25 K to 0.5 K, takes in erg. That is 0.030 J.
(b)10 points
Find the net change of the entropy of the universe in this process. MIT asks for the answer in terms of the parameters and : write every temperature as a plain number of kelvin (1, and your ), so that the result is a number times plus a number times .
The second box is our addition: the same entropy change as a number, in units of erg/K.
Hint
The real process is irreversible, but entropy is a function of state. For each body alone, imagine its temperature changed slowly from its starting value to 0.5 K, and add up .
Hint
For each body , so . Mind the signs: one body warms and one cools.
Solution
The idea. The entropy change of each body depends only on its first and last state. Compute it along a slow path, where , and add the two.
Salt and helium
In words
capital delta S equals capital delta S sub S plus capital delta S sub L equals the integral over one quarter of to the power one half, end of power, b capital T to the power minus 3 d capital T plus the integral over 1 of to the power one half, end of power, a capital T squared d capital T equals b over 2, times the quantity 16 minus 4, all plus a over 3, times the quantity one eighth minus 1
In words
capital delta S equals 6 b minus 7 over 24 a
With the units put back, the first term is divided by K² and the second is times K³: both are an energy per kelvin.
The number (our addition)
With MIT's values, erg/K and erg/K, so
In words
capital delta S equals the quantity 90 minus 37.3, all times 10 to the power 4 equals 52.7 times 10 to the power 4 (in erg over K)
which is 0.0527 J/K.
Check the result
The helium loses entropy and the salt gains more than the helium loses, so the total rises, as the second law demands of heat flowing from a warmer body to a colder one. The same heat, erg, leaves the helium at temperatures between 1 K and 0.5 K and enters the salt at temperatures between 0.25 K and 0.5 K: each bit of heat enters at a lower temperature than it left, so is larger on the way in.
Problem 4#
Torsional pendulum
A torsional pendulum is a disc that hangs on a wire and turns about the wire, twisting it. Its position is the angle through which it has turned. (MIT's sheet shows the disc on its wire, with marked as the angle of a line on the disc.) To measure a certain physical quantity one must know the angle at which the pendulum is in equilibrium, which is the angle where its potential energy is lowest:
In words
V( theta ) equals one half capital K the quantity theta minus theta nought, all squared, kinetic energy equals one half capital I theta dot squared, theta dot is defined as d theta over d t
Here is the stiffness of the wire and the moment of inertia of the disc. The pendulum is in thermal equilibrium with its surroundings at the temperature , and that limits how precisely can be found.
(a)12 points
Find the root-mean-square uncertainty of a measurement of that comes from classical thermal noise.
The second box is our addition: the size of this uncertainty for a wire of stiffness N m per radian at K, in microradians. Use J/K.
Hint
The pendulum is a small system in contact with a heat bath: use the canonical ensemble. Write down its energy as a function of and .
Hint
The probability density is proportional to . Look at how it depends on : compare with the Gaussian density of the probability lessons and read off the variance.
Solution
The idea. In the canonical ensemble the probability density is up to a constant. For this pendulum the exponent is quadratic, so the density is Gaussian and the answer can be read off.
The energy function
In words
H equals one half capital I theta dot squared plus one half capital K the quantity theta minus theta nought, all squared
The canonical density
In words
p( theta, theta dot ) is proportional to exp ( minus H over the quantity k capital T, ) equals exp ( minus theta dot squared over the quantity 2 the quantity k capital T over capital I, ) exp ( minus the quantity theta minus theta nought, all squared over the quantity 2 the quantity k capital T over capital K, )
(The canonical density of the lesson is a density in the coordinate and its momentum, here and . The momentum is times a constant, so the density in and has the same form. This remark is ours.)
Two things stand out, as MIT's solutions note. The density is a product of a function of and a function of , so the two are statistically independent. And each factor is a Gaussian. The factor in has mean and variance , so
In words
the average of the quantity theta minus theta nought, all squared to the power one half equals the square root of k capital T over capital K, end of root
The number (our addition)
In words
the square root of k capital T over capital K, end of root, equals the square root of 1.381 times 10 to the power minus 23 joules per kelvin times 300 kelvin over the quantity 4.0 times 10 to the power minus 9 newton metres, end of root, equals 1.02 times 10 to the power minus 6 radians
About one microradian. A single reading of the angle cannot place better than this, however good the instrument.
Check the result
Units: is an energy and is an energy per radian squared, so the ratio is an angle squared. The result says that the mean potential energy is , the same share that each quadratic term of the energy of the classical oscillators gets in the lesson on examples. A stiffer wire or a colder room gives a sharper angle. The moment of inertia does not appear.
(b)8 points
Find , the mean of the product of the angle and the angular velocity.
Hint
Look at the density of part (a) again. What does it say about how and are related? What is the mean of a product of two such variables?
Hint
Find the mean of from its own factor of the density, which is symmetric about a certain value.
Solution
The idea. For independent variables the mean of a product is the product of the means.
Product of the means
The density of part (a) is a product, so and are statistically independent and
In words
the average of theta theta dot equals the average of theta the average of theta dot equals theta nought times 0 equals 0
The factor in is a Gaussian centred on zero: the disc is as likely to be turning one way as the other.
Check the result (our addition)
A second argument gives the same answer. The product is the time derivative of . In equilibrium the mean of does not change with time, so the mean of its rate of change is zero. Note that the rms values of the two factors are not zero: the mean of a product of rms size at least vanishes because positive and negative products are equally likely.
Problem 5#
The hydrogen atom
In the simplest model of hydrogen, the bound states of the electron are labelled by three quantum numbers: ; ; and . The energy of a state depends on only:
In words
epsilon sub n equals minus capital A over n squared, capital A equals 13.6 electronvolts
(a)10 points
Find the ratio of the number of atoms in the first excited energy level to the number in the lowest energy level, at the temperature . (MIT's hint: mind the difference between energy levels and states of the system.) Then evaluate it for K and for K.
The ratios are far too small for an ordinary number box. Write each as and give . Use eV/K.
Hint
In the canonical ensemble each state has the probability . A level is all the states with the same energy: its probability is the probability of one of its states times the number of them.
Hint
List the states with : every allowed pair of and . In the ratio of the two levels the partition function cancels.
Hint
For the numbers: the logarithm to base 10 of is . Do not forget the factor in front of the exponential.
Solution
The idea. Boltzmann factors belong to states. To compare levels, multiply each Boltzmann factor by the number of states in the level.
Counting states
The lowest level, , has the energy and a single state: , . The first excited level, , has the energy and four states: one with , and three with ().
The ratio
In words
the quantity capital N the quantity minus capital A over 4, all over the quantity capital N (- capital A ), equals the quantity 4 exp of the quantity capital A over 4 k capital T, all over the quantity exp of the quantity capital A over k capital T, equals 4 exp ( minus three quarters capital A over the quantity k capital T, )
The numbers
In temperature units K. At 300 K the exponent is , and at 1000 K it is :
In words
4 e to the power minus 394.6 equals 10 to the power minus 170.76 is approximately 1.75 times 10 to the power minus 171 (300 kelvin ), 4 e to the power minus 118.4 equals 10 to the power minus 50.81 is approximately 1.6 times 10 to the power minus 51 (1000 kelvin )
(MIT's solutions print at 300 K. With MIT's own conversion, 1 meV for 11.6 K, the formula gives , about 23 times smaller, so the printed value looks like a slip. The value at 1000 K agrees with MIT's.)
Check the result
At high temperature the exponential tends to 1 and the ratio to 4, the ratio of the numbers of states: when is far above the gap, every state is equally likely. At these two temperatures is more than a hundred times smaller than the gap of 10.2 eV, and the ratio is so small that in any laboratory sample of gas in thermal equilibrium not one atom would be found in the excited level. The numbers are very sensitive: rounding to three figures, K, makes the ratio at 300 K smaller by about a third, which is why the box asks for the exponent .
(b)6 points
To find the actual fraction of the atoms in any given state one needs the partition function. Show that the partition function diverges, even when the unbound states are left out.
The box is our addition, a step on the way: the number of states in the level with quantum number .
Hint
For a given there are values of . Add them up for to .
Hint
Write the partition function as a sum over levels, each with its number of states. Then look at the size of the Boltzmann factors for large : what do the energies tend to?
Solution
The idea. The energies crowd towards zero from below, so the Boltzmann factors of the high levels do not die away, while the number of states per level keeps growing.
States per level
In words
the sum over l equals 0 of to the power n minus 1, end of power, the quantity 2 l plus 1, equals 1 plus 3 plus 5 plus and so on plus the quantity 2 n minus 1, equals n squared
The partition function
For one atom, with the unbound states left out,
In words
Z equals the sum over states of exp ( minus capital E sub state over the quantity k capital T, ) equals the sum from n equals 1 to infinity of n squared exp ( alpha over n squared ), alpha is defined as capital A over the quantity k capital T
Since , every exponential is larger than 1. So
In words
Z greater than the sum from n equals 1 to infinity of n squared, which diverges
A sum that is larger than a divergent sum of positive terms diverges. The partition function is infinite at every temperature.
Check the result
The number of states: gives 1 and gives 4, as counted in part (a). The divergence comes from the upper end of the sum: the terms themselves grow as , so they do not even tend to zero.
(c)4 points
Statistical mechanics seems to fail for one of the simplest systems in nature. Any ideas why? Write down your thoughts, then open the solution and compare.
Hint
Which states cause the divergence? Think about how large an atom in such a state would be, and what else there is in a real gas.
Solution
The idea. The trouble lies in the model, an electron and a proton alone in infinite empty space, and not in statistical mechanics.
MIT's answer
MIT's solutions make three points. The Coulomb potential is unusual in that it has infinitely many bound states below zero energy. In the real world this is changed by walls (think of the levels of a particle in a box) or by other atoms nearby. And for hydrogen atoms in the space between the stars, where neighbours are far away, the reason they are found in low states probably has more to do with a lack of ways to excite them, so that they are not in thermal equilibrium, than with neighbouring atoms.
How large the troublesome states are (our addition)
An estimate shows how harmless the divergence is in practice. Cut the sum off at a largest quantum number . The lowest state contributes , and the high levels contribute about . At 300 K, . The high levels match the single lowest state only when , that is for of about . The size of a state grows roughly as times the Bohr radius (as shown in 8.04 Problem Set 10, Problem 6(d)), and the Bohr radius is m (lesson on the hydrogen atom), so such an atom would be about m across. Long before that, the electron meets the wall of the container or another atom, and the model of one electron around one proton no longer applies. With any reasonable cut-off, practically every atom is in the lowest state at room temperature, as part (a) found.