21.02.2014 Views

Richard Thomas - FK4005 “Thermodynamik” - Solutions to ...

Richard Thomas - FK4005 “Thermodynamik” - Solutions to ...

Richard Thomas - FK4005 “Thermodynamik” - Solutions to ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 1<br />

• 1.9: What is the volume of one mole of air, at room temperature and 1 atm pressure.<br />

From the ideal gas law, we have PV = nRT. Therefore:<br />

V<br />

= nRT<br />

P<br />

V ≈ 0.025 m 3 ≈ 25 L<br />

=<br />

(1 mol)(8.31 J/mol/K)(300 K)<br />

(10 5 N/m 2 )<br />

• 1.10: Estimate the number of air molecules in an average-sized room.<br />

Consider that an average room is about 4 metres squared and 3 metres high. The number<br />

of air molecules (at the standard room temperature and pressure) is<br />

which is about 2000 moles.<br />

N =<br />

PV<br />

k B T = (105 N/m 2 )(4 × 4 × 3 m 3 )<br />

(1.38 × 10 −23 J/K)(300 K)<br />

N = 1.2 × 10 27 ≈ ×10 27<br />

• 1.11: Rooms A and B are the same size, and are connected by an open door. Room A,<br />

however, is warmer (perhaps because its windows face the sun). Which room contains the<br />

greater mass of air? Explain carefully.<br />

Pressure is the same in both because they are connected by an open doorway; if the pressure<br />

were different then a wind would blow from one room <strong>to</strong> the other. The volume of both rooms<br />

is also the same. Therefore P A V A = P B V B and, given the ideal gas law, N A kT A = N B kT B<br />

as well. Thus the cooler temperature room has the higher number of molecules, and thus<br />

the greater mass.<br />

• 1.12: Calculate the average volume per molecule for an ideal gas at room temperature and<br />

atmospheric pressure. Then take the cube root <strong>to</strong> get an estimate of the average distance<br />

between molecules. How does this distance compare <strong>to</strong> the size of a small molecule like N 2<br />

or H 2 O?<br />

The volume per molecule for an ideal gas at room temperature and atmospheric pressure is:<br />

V<br />

N<br />

= k BT<br />

P = (1.38 × 10−23 J/K)(300 K)<br />

10 5 N/m 2<br />

V<br />

N = 4.1 × 10−26 m 3 ≈ 41 nm 3<br />

The average distance between molecules can be estimated as<br />

( V<br />

N<br />

) 1/3<br />

≈ 3.5 nm 3<br />

The diameter of a molecule like N 2 or O 2 is only a few Angstroms, approximately 10×<br />

smaller than this average distance.<br />

• 1.13: A mole is approximately the number of pro<strong>to</strong>ns in a gram of pro<strong>to</strong>ns. The mass of a<br />

neutron is about the same as the mass of a pro<strong>to</strong>n, while the mass of an electron is usually<br />

negligible in comparison, so if you know the <strong>to</strong>tal number of pro<strong>to</strong>ns and neutrons in in a<br />

molecule (i.e. its “a<strong>to</strong>mic mass”), you know the approximate mass (in grams) of a mole


<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 2<br />

of these molecules. Referring <strong>to</strong> the periodic table, find the mass of each of the following:<br />

water, molecular nitrogen, lead, and quartz (SiO 2 )<br />

H 2 O = 2(1) + 1(16) = 18 grams/mol<br />

N 2 = 2(14) = 28 grams/mol<br />

Lead = Pb = 207 grams/mol<br />

SiO 2 = 1(28.08) + 2(16) = 60 grams/mol<br />

• 1.14: Calculate the mass of a mole of dry air, which is a mixture of N 2 (78% by volume),<br />

O 2 (21%) and Ar (1%).<br />

Use weighted average <strong>to</strong> calculate the mass of air:<br />

f =<br />

∑<br />

i w i f i<br />

∑ wi<br />

(w i = weights)<br />

m = 0.78m N 2<br />

+ 0.21m O2 + 0.01m Ar<br />

0.78 + 0, 21 + 0, 01<br />

From the periodic table, m N2 = 28.014 g/mol, m O2 = 32.00 g/mol, and m Ar = 39.95 g/mol<br />

Therefore, the mass of a mole of dry air:<br />

m = 0.78(28.014) + 0.21(32) + 0.01(39)<br />

m = 28.92 g/mol<br />

• 1.15: Estimate the average temperature of the air in a hot air balloon (see Fig. 1.1 in book).<br />

Assume that the <strong>to</strong>tal mass of the unfilled balloon and payload is 500 kg. What is the mass<br />

of the air inside the balloon?<br />

The upward buoyant force on the balloon is equal <strong>to</strong> the weight of the air displaced. Assuming<br />

that this force is approximately in balance with gravity, we can write:<br />

ρ 0 V g = (M + ρV )g or ρ 0 − ρ = M/V<br />

where ρ 0 is the density of the surrounding air, V is the volume of the balloon, M is the<br />

mass of the unfilled balloon and payload, and ρ is the density of the air inside the balloon.<br />

According <strong>to</strong> the ideal gas law, the density of air is:<br />

ρ = mn<br />

V = mP<br />

RT<br />

where m is the mass of one mole of air (≈29 g). This formula applies either inside or outside<br />

the balloon, with the same pressure in both places but different temperatures. Therefore,<br />

teh balance of forces implies:<br />

mP<br />

− mP<br />

RT 0 RT = M V<br />

where T and T 0 are the temperature inside and outside the balloon, respectively. Rearranging<br />

yields:<br />

1<br />

T = − 1 − M P<br />

T 0 m RV


<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 3<br />

Assume an outside air temperature of 290 K and atmospheric pressure. The volume of the<br />

balloon can be estimated from the figure. Comparing the heights of the people standing<br />

beneath, a reasonable estimate for the diameter of the balloon in the foreground is ≈15<br />

metres. This gives a volume, assuming a spherical balloon ( 3 3 πr3 ), of about 1770 m 3 . The<br />

mass of the unfilled balloon and payload is assumed <strong>to</strong> be 500 kg, so the previous expression<br />

evaluates <strong>to</strong>:<br />

1<br />

T = − 1 (500 kg) (8.31 J/K)<br />

−<br />

(290 K) (0.029 kg) (10 5 N/m 2 )(1770 m 3 )<br />

1<br />

T = − 1<br />

(290 K) − 1<br />

(1235 K) = 1<br />

(379 K)<br />

Thus, the temperature inside the balloon must be about 379 K or just over 100 ◦ C. Assuming<br />

this temperature, the mass of the air inside the balloon should be roughly:<br />

M air = mn = mPV<br />

RT<br />

M air = (0.029 kg)(105 N/m 2 )(1770 m 3 )<br />

(8.31 J/K)(379 K)<br />

= 1600 kg<br />

which s more than three times the mass of the unfilled ballon and payload.<br />

• 1.16: The Exponential atmosphere.<br />

a) Consider a horizontal slab of air whose thickness (height) is dz. If this slab is at rest,<br />

the pressure holding it up from below must balance both the pressure from above and the<br />

weight of the slab. Use this fact <strong>to</strong> find an expression for dP/dz, the variation of pressure<br />

with altitude, in terms of the density of air.<br />

This diagram shows the forces on the slab of air. P(z) is the atmospheric pressure as a<br />

function of height z, and M is the <strong>to</strong>tal mass of the slab.<br />

Because the slab of air is at rest, the net force on the slab must be zero. Thus<br />

P(z + dz)A + Mg − P(z)A = 0 ⇒ [P(z + dz) − P(z)]A = −Mg ⇒ P(z + dz) − P(z) = −Mg<br />

A<br />

Now the volume of the slab is Adz, so if the density of air is ρ(z), then M = ρ(z)Adz, and<br />

so<br />

P(z + dz) − P(z) = − ρ(z)Agdz = −ρ(z)gdz<br />

A<br />

P(z + dz) − P(z)<br />

⇒ = −ρ(z)g<br />

dz


<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 4<br />

If dz is very small, then the left hand side is the definition of the derivative dP/dz. Thus,<br />

dP<br />

dz = −ρ(z)g<br />

b. Use the ideal gas law <strong>to</strong> write the density of air in terms of pressure, temperature, and<br />

the average mass m of the air molecules. Show, then, that the pressure obeys the differential<br />

equation:<br />

called the barometric equation.<br />

dP<br />

dz = −mg kT P,<br />

We can derive this from part a by finding an expression for ρ(z). The density of the slab is<br />

equal <strong>to</strong> the mass of the slab, M divided by its volume, V . The mass, in turn, is equal <strong>to</strong><br />

the mass per molecule, m, times the number of molecules, N. Thus:<br />

ρ = mN<br />

V<br />

The ideal gas law says that PV = NkT, so that N/V = P/kT. Thus ρ = mP/kT, and<br />

dP<br />

dz = −mP kT g = −mg kT P(z)<br />

c. Assuming that the temperature of the atmosphere is independent of height, solve the<br />

barometric equation <strong>to</strong> obtain the pressure as a function of height: P(z) = P(0)e −mgz/kT .<br />

Show also that the density obeys a similar equation.<br />

For convenience, let’s write α = mg/kT, so that<br />

dP<br />

dz = −αP(z)<br />

This is one of the most basic differential equations, but if you’ve never seen it before, we<br />

can solve it by separation of variables: put the pressure on one side, and the altitude z on<br />

the other:<br />

dP<br />

= −αP(z)<br />

dz<br />

dP<br />

= −αd(z)<br />

P<br />

∫ P(z) ∫<br />

dP z<br />

= − αd(z)<br />

P(0) P 0<br />

ln P(z) − ln P(0) = −αz<br />

( ) P(z)<br />

ln = −αz<br />

P(0)<br />

P(z)<br />

= e −αz<br />

P(0)<br />

P(z) = P(0)e −αz<br />

Substituting in the definition for α gives us P(z) = P(0)e −mgz/kT as expected.


<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 5<br />

We showed in part b that ρ = mP/kT , so<br />

ρ(z) = m kT P(0)e−αz ,<br />

we could also write mP(0)/kT as ρ(0), the density at z = 0. Note that the constant α has<br />

units of m −1 ; the constant z 0 = 1/α is the length scale over which the pressure and density<br />

vary.<br />

d. Estimate the pressure, in atmospheres, at Mt. Everest. (Assume that the pressure at sea<br />

level is 1 atm.)<br />

We can write:<br />

P(z) = P(0)e −z/z 0<br />

where z0 = kT/mg and it is convenient <strong>to</strong> calculate this quantity first. Assume that T =<br />

280K. Air is 80% N 2 , which has an a<strong>to</strong>mic mass of 28, and 20% O 2 which has an a<strong>to</strong>mic<br />

mass of 32. An a<strong>to</strong>mic mass unit is 1.67 × 10 −27 kg (roughly the mass of a pro<strong>to</strong>n), so the<br />

average mass per molecule is:<br />

m = 80%(28)(1.67 × 10 −27 kg) + 20%(32)(1.67 × 10 −27 kg) = 4.8 × 10 −26 kg<br />

and so<br />

z 0 = (1.38 × 10−23 J/K)(280K)<br />

(4.8 × 10 −26 kg)(9.8 m/s 2 )<br />

= 8200 m = 8.2 km<br />

(Because this is so large, pressure and density does not vary appreciably inside a room).<br />

Now P(0) is the pressure at sea level, thus 1 atm, and so P(z) = (1atm)e z/8200m , and thus<br />

Mt. Everest = 8850m, pressure = 0.34 atm<br />

• 1.18: Calculate the rms speed of a nitrogen molecule at room temperature.<br />

We know:<br />

v rms =<br />

√<br />

3kT<br />

m<br />

One nitrogen a<strong>to</strong>m has mass 14.00 u. 1.66×10−27 kg<br />

1 u<br />

= 2.3 × 10 −26 kg, so a nitrogen molecule<br />

has (approximately) twice that mass, or m = 4.6 × 10 −26 kg. Thus<br />

v rms =<br />

√<br />

3(1.38 × 10<br />

−23<br />

J/K)(300K)<br />

4.6 × 10 −26 kg<br />

= 5200 m/s<br />

• 1.19: Suppose you have a gas containing hydrogen and oxygen molecules, in thermal equilibrium.<br />

Which molecules are moving faster, on average? By what fac<strong>to</strong>r?<br />

√<br />

The rms speed of the molecules in an ideal gas is v rms = 3kT<br />

. The ratio of the speeds of<br />

m<br />

hydrogen and oxygen at the same temperature is:<br />

√<br />

v H mO<br />

=<br />

v O m H<br />

Now oxygen molecules are sixteen times more massive than hydrogen molecules, so v H /v O =<br />

√<br />

16 = 4. So hydrogen molecules will be moving four times faster than oxygen molecules.


<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 6<br />

• 1.21: During a hails<strong>to</strong>rm, hails<strong>to</strong>nes with an average mass of 2 g and a speed of 15 m/s<br />

strike a windowpane at a 45 ◦ angle. The area of the window is 0.5 m 2 and the hails<strong>to</strong>nes hit<br />

it at a rate of 30 /s. What average pressure do they exert on the window? How does this<br />

compare <strong>to</strong> the pressure of the atmosphere?<br />

The hails<strong>to</strong>nes strike the window at intervals of 1/30 s on average. During this time period,<br />

the average force exerted by the window on the hails<strong>to</strong>ne must be:<br />

→<br />

F x= m ∆v x<br />

∆t<br />

where ∆v x is the change in the component of the hails<strong>to</strong>ne’s velocity perpendicular <strong>to</strong> the<br />

window. Assuming elastic collisions and a velocity of 15m/s at 45 ◦ , this change in velocity<br />

is 2vcos(45 ◦ ) = 21m/s. The average pressure is then<br />

→<br />

P=<br />

→<br />

F<br />

A = m∆v x<br />

A∆t<br />

=<br />

(0.002 kg)(21 m/s)<br />

(0.5 m 2 )(0.033 s)<br />

= 2.5 N/m 2 = 2.5 Pa<br />

This is smaller than atmospheric pressure by a fac<strong>to</strong>r of 40,000. (However, the instantaneous<br />

pressure during a collision is much higher, as the force is localized in time and space; this is<br />

what might cause the window <strong>to</strong> break.)<br />

• 1.22: If you poke a hole in a container full of gas, the gas will start leaking out. In this<br />

problem you will make a rough estimate of the rate at which gas escapes through a hole.<br />

a. Consider a small portion (area A) of the inside wall of a container full of gas. Show that<br />

the number of molecules colliding with this surface in a time interval ∆t is PA∆t/(2m → v x ),<br />

where P is the pressure, m the average molecular mass, and → v x is the average x velocity of<br />

those molecules that collide with the wall.<br />

As in Eq. 1.9, New<strong>to</strong>n’s Laws imply that each molecule colliding with the surface exerts an<br />

average pressure of:<br />

→<br />

P= − m∆v x<br />

A∆t<br />

For an elastic collision, ∆v x = −2v x . If there are N molecules, the <strong>to</strong>tal pressure is the sum<br />

of N terms of this form, one for each molecule; the sum over v x values can be written as N<br />

times the average, or N → v x . Therefore<br />

P = m(2N → v x )<br />

A∆t<br />

⇒ N = PA∆t<br />

2m → v x<br />

b. It’s not easy <strong>to</strong> calculate → v x , but a good enough approximation if (vx) 2 0.5 ,<br />

√<br />

where the bar<br />

now represents an average over all molecules in the gas. Show that (vx) 2 0.5 = kT/m.<br />

√<br />

This result follows directly from Eq. 1.15: kT = mvx 2 ⇒ vx 2 = kT/m<br />

c. If we now take away this small part of the wall, the molecules that would have collided<br />

with it will instead escape through the hole. Assuming that nothing enters through the hole,<br />

show that the number N of molecules inside the container as a function of time is governed<br />

by the differential equation:<br />

dN<br />

dt = − A<br />

√<br />

kT<br />

2V m N


<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 7<br />

Solve this equation (assuming constant T) <strong>to</strong> obtain a formula of the form N(t) = N(0)e −t/τ<br />

where τ is the “characteristic time” for N (and P) <strong>to</strong> drop by a fac<strong>to</strong>r of e.<br />

What we called N above is now −∆N, the change in the number of molecules in the<br />

container. Substituting this in<strong>to</strong> part (a), and bringing in part (b), gives us:<br />

−∆N = PA∆t √ m<br />

2m kT<br />

Now use the ideal gas law <strong>to</strong> eliminate P, and divide through by ∆t, taking the limit ∆t → 0<br />

<strong>to</strong> get the derivative:<br />

√<br />

(NkT/V )A∆t m ∆N<br />

−δN = = −N kTA √ m dN<br />

2m kT δt 2mV kT dt = − A<br />

√<br />

kT<br />

2V m N = −1 τ N<br />

√<br />

where τ = (2V/A) m/kT. Thus N(t) is a function whose derivative is equal <strong>to</strong> −1/τ times<br />

itself, which makes it an exponential:<br />

N(t) = N 0 e −t/τ<br />

d. Calculate the characteristic time for air at room temperature <strong>to</strong> escape from a 1-litre<br />

container punctured by a 1mm 2 hole.<br />

√ √<br />

To calculate τ we start with the quantity kT/m = RT/M, where M is the molar mass<br />

of the gas (that is, the mass of a mole of air). Assuming the gas is near room temperature:<br />

√ √ √√√ RT<br />

M = (8.3 J/mol/K)(300 K)<br />

0.029 kg/mol<br />

= 293 m/s ≈ 300 m/s<br />

A one liter bottle has volume 10 −3 m 3 , and 1 mm 2 = 10 −6 m 2 , so<br />

2V<br />

τ = √<br />

A RT/M = 2(0.001 m 3 )<br />

(10 −6 m 2 )(300 m/s) = 7 s<br />

e. The tire “going flat” I assume <strong>to</strong> mean that e t/τ ≈ 0 in the shortest time. For example,<br />

e −3 ≈ .05, which is close <strong>to</strong> 0. That means:<br />

− t √ m<br />

τ − 3 → t = 3τt = 3τ = 32V A k B T = 6V A (3.42 × 10−3 )<br />

Again, I assume V = 1 L and 1 hour = 3600 s.<br />

Calculate the area A;<br />

3600s = 6(10−3 m 3 )<br />

(3.42 × 10 −3 s/m<br />

A<br />

A = 5.7 × 10 −9 m 2 = 5.7 × 10 −3 mm 2<br />

f. Assuming that in time ∆t, all particles within the half sphere of radius v x ∆t surrounding<br />

the hole escape, since v x is on the order of several hundreds of meters per second on average<br />

it seems unlikely that the travelers could <strong>to</strong>ss the corpse out the window in a short enough<br />

time for an insignificant number of particles <strong>to</strong> escape. Of course, this hinges on the the<br />

definition of significant- if the space ship was very large, the percentage of air compared <strong>to</strong><br />

the <strong>to</strong>tal volume of the ship would be very small and perhaps termed “insignificant.”


<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 8<br />

• 1.26: A battery is connected in series <strong>to</strong> a resis<strong>to</strong>r, which is immersed in water (<strong>to</strong> prepare a<br />

nice hot cup of tea). Would you classify the flow of energy from the battery <strong>to</strong> the resis<strong>to</strong>r<br />

as “heat” or “work”? What about the flow of energy from the resis<strong>to</strong>r <strong>to</strong> the wire?<br />

Energy flowing from the battery <strong>to</strong> the resis<strong>to</strong>r should be classified as work, since it is a<br />

process that would not happen spontaneously. The flow of energy from the resis<strong>to</strong>r <strong>to</strong> the<br />

water is heat, since it is a spontaneous process.<br />

• 1.27: Give an example of a process in which no heat is added <strong>to</strong> a system but its temperature<br />

increases. Then give an example of the opposite: a process in which heat is added <strong>to</strong> a system<br />

but its temperature does not change.<br />

An example of a process in which no heat is added <strong>to</strong> a system but the temperature increases<br />

is pumping a tire full of air. A process in which heat is added <strong>to</strong> a system but its temperature<br />

remains constant is a phase change, melting a piece of ice for example.<br />

• 1.28: Estimate how long it would take <strong>to</strong> bring a cup of water <strong>to</strong> boiling temperature in<br />

a typical 600-watt microwave oven, assuming that all the energy ends up in the water.<br />

(Assume any reasonable initial temperature for the water). Explain why no heat is involved<br />

in this process.<br />

There are a few ways <strong>to</strong> approach this problem. ∆U = Q + W where, for this problem,<br />

Q = 0 so ∆U = W. Looking at the change in thermal energy (eqn 1.23) for a system of N<br />

molecules with f degrees of freedom:<br />

∆U = Nf 1 2 k∆T<br />

Assuming that the water is at 20 ◦ C at the start and it boils at 100 ◦ C, then ∆T = (100 -<br />

20) =80 ◦ C. H 2 O = 2H + O ⇒ 2 g/mol + 16 g/mol ⇒ 18 g/mol. A typical cup of water is<br />

about 200g, and so:<br />

N =<br />

(200 g) (6.02 × 10 23 molecules)<br />

(18 g/mol) (1 mol)<br />

N = 6.7 × 10 24 molecules<br />

The number of degrees of freedom, f, is not so clearly defined in the problem. There are<br />

certainly 3 translational degrees of freedom and there are 3 rotational. We do not know if<br />

the vibrational degrees of freedom are frozen out, but if we assume that they are then f = 6.<br />

∆U ≈ 6.7 × 10 24 6 2 1.38 × 10−23 73 J∆U ≈ 2.02 × 10 4 J<br />

For a 600 W oven, the “heating” rate is 600 J/s, so:<br />

∆t ≈<br />

∆U<br />

600 J/s ≈ 34 s<br />

Alternatively, we can look at the definition of a calorie. 1 calorie = 4.186 J is the amount<br />

of energy required <strong>to</strong> raise the temperature of 1 g of water by 1 ◦ C. So, for 200 g of water<br />

we need:<br />

U = (4.186 J/g/ ◦ C)(200 g)(80 ◦ C)<br />

U = 6.11 × 10 4 J


<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 9<br />

So,<br />

∆t ≈<br />

6.11 × 104<br />

600<br />

≈ 102 s<br />

Clearly, f = 6 is not correct for liquid water and there must be a larger number of degrees<br />

of freedom.<br />

Remember that flow of heat is a spontaneous process from higher T <strong>to</strong> lower T. The<br />

microwave overn is an example of electro-magnetic work.<br />

• 1.31: Imagine some helium in a cylinder with an initial volume of 1 litre and an initial<br />

pressure of 1 atm. Somehow the helium is made <strong>to</strong> expand <strong>to</strong> a final volume of 3 litres, in<br />

such a way that the pressure rises in direct proportion <strong>to</strong> its volume. (a) Sketch a graph of<br />

pressure vs volume for this process.<br />

(b) Calculate the work done on the gas during this process, assuming that there are no<br />

“other” types of work being done.<br />

The work done is just minus the area under the graph shown in (a). The easiest way <strong>to</strong><br />

compute the area is <strong>to</strong> note that the average pressure during this process is 2 atm and:<br />

W = −P∆V = −(2 atm)(2 l)<br />

W = −(2 × 10 5 Pa)(2 × 10 −3 m 3 )<br />

W = −400 J<br />

The minus sign indicates that 400 J of work is done by the gas on its surroundings.<br />

(c) Calculate the change in the helium’s energy content during this process<br />

Each helium a<strong>to</strong>m has three degrees of freedom, so at any point the thermal energy of the<br />

helium is U = 3NkT = P . The change in energy during this process is:<br />

2 V<br />

∆U = 3 2 [P fV f − P i V i ]<br />

∆U = 3 [(3 atm)(3 l) − (1 atm)(1 l)]<br />

2<br />

∆U = 12 atm l = 1200J


<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 10<br />

(d) Calculate the amount of heat added <strong>to</strong> or removed from the helium during this process.<br />

By the first law,<br />

This amount of heat enters the gas.<br />

Q = ∆U − W<br />

Q = 1200 − (−400) = 1600 J<br />

(e) Describe what you might do <strong>to</strong> cause the pressure <strong>to</strong> rise as the helium expands?<br />

To cause such an increase in pressure (and temperature) as the gas expands, you must<br />

provide heat, for example, by holding a flame under the cylinder and letting the pis<strong>to</strong>n out<br />

slowly enough <strong>to</strong> allow the pressure <strong>to</strong> rise as desired.<br />

• 1.33: An ideal gas is made <strong>to</strong> undergo the cyclic process shown in the figure. For each of the<br />

steps A, B, and C, determine whether each of the following is positive, negative, or zero: (a)<br />

the work done on the gas, (b) the change in the energy content of the gas, and (c) the heat<br />

added <strong>to</strong> the gas. Then determine the sign of each of these three quantities for the whole<br />

cycle. What does this process accomplish (in real-world terms)?<br />

The work done on the gas depends entirely on the change in volume; decreasing volume<br />

means that work is positive, while increasing volume means that work is negative. The<br />

thermal energy of the gas is directly proportional <strong>to</strong> the temperature, which is in turn<br />

proportional <strong>to</strong> PV . The heat must then be accounted for via the equation ∆U = W + Q.<br />

For branch A, the volume increases, so W < 0. PV increases as well, so the thermal energy<br />

is increasing. Since the energy increases but work flows out, there must be a flow of heat<br />

inward <strong>to</strong> compensate, and Q > 0.<br />

For branch B, there is no change in volume so W = 0. PV increases, so ∆U > 0. Because<br />

the energy is increasing, there must be a flow of heat inward.<br />

For branch C, volume and pressure are both decreasing, so W > 0 and ∆U < 0. Because<br />

work flows in and the energy still decreases, there must be a net flow of heat outward, so<br />

Q < 0. To summarize:<br />

Branch energy W Q<br />

A increases negative positive<br />

B increases zero positive<br />

C decreases positive negative<br />

During one complete cycle, PV comes back <strong>to</strong> its original value, so the thermal energy does<br />

not change. The work done on this system is positive (because branch C has a greater area


<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 11<br />

under it than branch A, and thus has more work flowing). Because the system’s energy<br />

doesn’t change, Q must be negative: heat flows out of the system.<br />

In short, this cycle transforms work in<strong>to</strong> heat; it could, for instance, be some sort of space<br />

heater. If we note, however, that this system both absorbs heat (in steps A and B) and emits<br />

heat, we can think of a more sophisticated use: in particular, we can absorb heat from one<br />

room and emit it in<strong>to</strong> the other. Similar cycles can act as refrigera<strong>to</strong>rs, but this particular<br />

cycle would not make a practical refrigera<strong>to</strong>r because the heat absorption stages are not at<br />

a lower temperature than the emission stages.<br />

• 1.34: An ideal dia<strong>to</strong>mic gas, in a cylinder with a movable pis<strong>to</strong>n, undergoes the rectangular<br />

cyclic process shown in the figure below. Assume that the temperature is always such that<br />

the rotational degrees of freedom are active but that the vibrational modes are “frozen<br />

out.” Also assume that the only type of work done on the gas is quasidiabatic compressionexpansion<br />

work.<br />

(a) For each of the four steps A through D, compute the work done om the gas, the heat<br />

added <strong>to</strong> the gas, and the change in the energy content of the gas. Express all answers in<br />

terms of P 1 , P 2 , V 1 and V 2 )Hint: compute ∆U before Q using the ideal gas law and the<br />

equipartition theorem.)<br />

For an ideal dia<strong>to</strong>mic gas at room temperature, U = 5 2 Nk BT = 5 2 PV (since PV = Nk BT)<br />

Step A:<br />

Step B:<br />

∆U A = 5 2 V ∆P = 5 2 V 1(P 2 − P 1 )<br />

W A = 0<br />

∆U B = 5 2 P∆V = 5 2 P 2(V 2 − V 1 )<br />

Q A = ∆U A − W A = 5 2 V 1(P 2 − P 1 )


<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 12<br />

W B<br />

∫ V2<br />

= − PdV = −P 2 (V 2 − V 1 ) = P 2 (V 1 − V 2 )<br />

V 1<br />

Q B = ∆U B − W B = 5 2 P 2(V 2 − V 1 ) + P 2 (V 1 − V 2 ) = 7 2 P 2(V 2 − V 1 )<br />

Step C:<br />

∆U C = 5 2 V ∆P = 5 2 V 2(P 1 − P 2 ) = − 5 2 V 2(P 2 − P 1 )<br />

W C = 0<br />

Q C = ∆U C − W C = − 5 2 V 2(P 2 − P 1 )<br />

Step D:<br />

∆U D = 5 2 P∆V = −5 2 P 1(V 2 − V 1 )<br />

W D<br />

∫ V1<br />

= − PdV = −P 1 (V 1 − V 2 ) = P 1 (V 2 − V 1 )<br />

V 2<br />

Q D = ∆U D − W D = − 5 2 P 1(V 2 − V 1 ) − P 2 (V 2 − V 1 ) = − 7 2 P 1(V 2 − V 1 )<br />

(b) Describe in words what is physically being done during each of the four steps; for example,<br />

during Step A, heat is added <strong>to</strong> the gas (from an external flame or something) while the<br />

pis<strong>to</strong>n is held fixed.<br />

In step A, the volume is held constant at V 1 , and heat is added <strong>to</strong> the gas in the cylinder,<br />

thus raising its temperature and pressure. In step B, the pis<strong>to</strong>n is moved out <strong>to</strong> increase<br />

the volume from V 1 <strong>to</strong> V 2 , and, at the same time, heat is added so as <strong>to</strong> maintain constant<br />

pressure at P 2 . In step C, the volume is held constant at V 2 , and heat is removed from the<br />

cylinder <strong>to</strong> lower the pressure from P 2 <strong>to</strong> P 1 . Finally, in step D, the gas is compressed from<br />

V 2 <strong>to</strong> V 1 , while continuing <strong>to</strong> remove heat, so that the pressure is maintained at P 1 .<br />

(c) Compute the net work done on the gas, the net heat added <strong>to</strong> the gas, and the net change<br />

in the energy of the gas during the entire cycle. Are the results as you expected? Explain<br />

briefly.<br />

For the cyclical process, we have:<br />

∆U cycle<br />

= ∆U A + ∆U B + ∆U C + ∆U D<br />

∆U D = 5 2 V 1(P 2 − P 1 ) + 7 2 P 2(V 2 − V 1 ) + − 5 2 V 2(P 2 − P 1 ) + − 7 2 P 1(V 2 − V 1 )<br />

∆U cycle = 0<br />

Similarly,<br />

W cycle = −P 2 (V 2 − V 1 ) + P 1 (V 2 − V 1 )<br />

W cycle = −(P 2 − P 1 )(V 2 − V 1 )<br />

and<br />

Q cycle = 5 2 V 1(P 2 − P 1 ) + 7 2 P 2(V 2 − V 1 ) − 5 2 V 2(P 2 − P 1 ) − 7 2 P 1(V 2 − V 1 )<br />

Q cycle = 5 2 (P 2 − P 1 )(V 1 − V 2 ) + 7 2 (P 2 − P 1 )(V 2 − V 1 )<br />

Q cycle = (P 2 − P 1 )(V 2 − V 1 )


<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 13<br />

Yes, the results are as expected. For a complete cycle, the net change in the internal energy<br />

U should be zero, since U is a function of state. Furthermore, from the first law, we have<br />

∆U = Q + W ⇒ Q = −W if ∆U = 0.<br />

• 1.38: Two identical bubbles of gas form at the bot<strong>to</strong>m of a lake, then rise <strong>to</strong> the surface.<br />

Because the pressure is much lower at the surface than at the bot<strong>to</strong>m, both bubbles expand<br />

as they rise. However, bubble A rises very quickly so that no heat is exchanged between it<br />

and the water. Meanwhile, bubble B rises slowly (impeded by a tangle of seaweed), so that<br />

it always remains in thermal equilibrium with the water (which has the same temperature<br />

everywhere). Which of the two bubbles is larger by the time they reach the surface? Explain<br />

your reasoning fully.<br />

Both bubbles are identical <strong>to</strong> begin with, so both have the same number of air molecules N<br />

inside. The pressure inside each bubble must be more-or-less equal <strong>to</strong> the pressure of the<br />

water (we ignore the effects of surface tension here), so both bubbles end up at the same<br />

pressure as well. Therefore the volume of each bubble, V = NkT/P, depends entirely on<br />

temperature: the warmer bubble will be bigger. That also means that the larger bubble will<br />

have the larger thermal energy. Now both bubbles do work on the surrounding water as they<br />

expand (W < 0) Because bubble A does not exchange heat with its environment, it loses<br />

energy and so cools down. Bubble B, on the other hand, remains at a constant temperature.<br />

Therefore, by our reasoning above, bubble B, the one that absorbs heat, will be larger.<br />

• 1.40: In problem 1.16 you calculated the pressure of the earth’s atmosphere as a function<br />

of altitude, assuming constant temperature. Ordinarily, however, the temperature of the<br />

bot<strong>to</strong>mmost 10-15 km of the atmosphere (called the troposphere) decreases with increasing<br />

altitude, due <strong>to</strong> heating from the ground (which is warmed by sunlight). If the temperature<br />

gradient |dT/dz| exceeds a certain critical value, convection will occur: Warm, low-density<br />

air will rise while cool, high-density air sinks. The decrease of pressure with altitude causes<br />

a rising air mass <strong>to</strong> expand adiabatically and thus <strong>to</strong> cool. The condition for convection <strong>to</strong><br />

occur is that the rising air mass must remain warmer than the surrounding air despite this<br />

adiabatic cooling. (a) Show that when an ideal gas expands adiabatically, the temperature<br />

and pressure are related by the differential equation:<br />

From the book:<br />

Using these and solving for V gives:<br />

dT<br />

dP = 2<br />

f + 2<br />

T<br />

P<br />

PV γ = const.<br />

V T f/2 = const.<br />

V = 1 P T (f+2)/2 = const.<br />

This can be written in terms of natural logarithms as follows:<br />

ln T (f+2)/2 − ln P = const.<br />

f + 2<br />

ln T − ln P = const.<br />

2


<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 14<br />

Now if we take a derivative:<br />

( ) f + 2 dT<br />

T − dP P = 0<br />

Simplifying this gives the desired differential equation<br />

2<br />

dT<br />

dP = 2<br />

f + 2<br />

(b)Assume that dT/dz is just at the critical value fro convection <strong>to</strong> begin, so that the<br />

vertical forces on a convecting air mass are always approximately in balance. Use the result<br />

of problem 1.16(b) <strong>to</strong> find a formula for dT/dz in this case. This result should be a constant,<br />

independent of temperature and pressure, which evaluates <strong>to</strong> approximately -10 ◦ /km. This<br />

fundamental meteorological constant is known as the dry adiabatic lapse rate.<br />

From Problem 1.16 (b):<br />

T<br />

P<br />

dP<br />

dz = − mg<br />

k B T<br />

From the answer in part (a), dT/dP can be decomposed in<strong>to</strong> the product<br />

and therefore<br />

dT<br />

dz<br />

dT<br />

dP = dT dz<br />

dz dP<br />

dz<br />

dP = 2<br />

T<br />

f + 2 P<br />

Substituting in the expression for dP/dz:<br />

dT<br />

dz<br />

(<br />

− k )<br />

BT 1<br />

mg P = 2 T<br />

f + 2 P<br />

The Ts and Ps cancel, and we are left with (after solving for dT/dz)<br />

dT<br />

dz = mg ( ) 2<br />

k B f + 2<br />

Using the mass of air, m air = 4.84 × 10 −26 kg/molecule. Substituting in all the numbers:<br />

dT<br />

dz<br />

dT<br />

dz<br />

= (4.84 × 10−26 kg/molecule)(9.8 m/s 2 )<br />

1.38 × 10 −23 J/K<br />

= .0098 K m ≈ .01 K m<br />

2<br />

5 + 2<br />

To change <strong>to</strong> K/km we just have <strong>to</strong> mutliply by 1000 m/km, and we get<br />

Which was <strong>to</strong> be shown.<br />

dT<br />

dz = 10 K<br />

km


<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 15<br />

• 2.1: Suppose you flip four fair coins.<br />

(a) Make a list of all the possible outcomes, as in Table 2.1.<br />

The number of outcomes is 2 4 = 16.<br />

TTTT THTT HTTT HHTT<br />

TTTH THTH HTTH HHTH<br />

TTHT THHT HTHT HHHT<br />

TTHH THHH HTHH HHHH<br />

(b) Make a list of all the different “macrostates” and their probabilities.<br />

0 Heads Ω = 1 P = 1/16<br />

1 Heads Ω = 4 P = 4/16<br />

2 Heads Ω = 6 P = 5/16<br />

3 Heads Ω = 4 P = 4/16<br />

4 Heads Ω = 1 P = 1/16<br />

(c) Compute the multiplicity of each macrostate using the combina<strong>to</strong>rial formula (2.6), and<br />

check that these results agree with what you got by brute force counting.<br />

Ω(0, 4) = 4! Note : 0! = 1 So, Ω = 1, P=1/16.<br />

0! 4!<br />

Ω(1, 4) = 4! So, Ω = 24, P=4/16.<br />

1! 3! 6<br />

Ω(2, 4) = 4! So, Ω = 24 , P=6/16.<br />

2! 2! 4<br />

Ω(3, 4) = 4! So, Ω = 24, P=4/16.<br />

3! 1! 6<br />

Ω(4, 4) = 4! So, Ω = 1, P=1/16.<br />

4! 0!<br />

• 2.2: Suppose you flip 20 coins. (a) How many possible outcomes “macrostates” are there?<br />

For only 2 possible states ⇒ 2 20 microstates. 2 20 = 1,048,576. Note that this is Ω(all) or<br />

Ω(<strong>to</strong>tal)<br />

(b) What is the probability of getting the sequence HTHHTTTHTHHHTHHHHTHT (in<br />

exactly that order)?<br />

Simply, this is only one macrostate out of 2 20 . Since each state is equally probable, the<br />

possibility of getting this particular one is 1/2 20 ⇒ less than one in a million.<br />

(c) What is the probability of getting 12 heads and 8 tails (in any order)=<br />

This is another macrostate:<br />

P =<br />

Ω(20, 12)<br />

Ω(all)<br />

So, the probability is about 12%<br />

• 2.3: Suppose you flip 50 coins.<br />

=<br />

20!<br />

12! (20−12)!<br />

1048576<br />

(a) How many possible outcomes (microstates) are there?<br />

= 125970<br />

1048576 = 0.12<br />

There are two outcomes for each coin, so <strong>to</strong>tal number of macrostates: Ω(all) = 2 50 =<br />

1.13 × 10 15<br />

(b) How many ways are there of getting exactly 25 heads and 25 tails?


<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 16<br />

To get exactly 25 heads:<br />

Ω(25, 50) =<br />

N!<br />

Ω(q, N) =<br />

(N − q)! q!<br />

50!<br />

= 1.26 × 1014<br />

(50 − 25)! 25!<br />

(c) What is the probability of getting exactly 25 heads and 25 tails?<br />

So, not so large.<br />

P(25) =<br />

P(25) =<br />

Ω(25, 50)<br />

Ω(all)<br />

1.26 × 1014<br />

2 50 = 0.112<br />

(d) What is the probability of getting exactly 30 heads and 20 tails?<br />

Ω(30, 50)<br />

P(30) =<br />

Ω(all)<br />

P(30) = 1 50!<br />

2 50 30! 20! = 0.042<br />

(e) What is the probability of getting exactly 40 heads and 10 tails?<br />

Ω(40, 50)<br />

P(40) =<br />

Ω(all)<br />

P(40) = 1 50!<br />

= 0.0000091 = 9.1 ×<br />

2 50 10−6<br />

40! 10!<br />

(f) What is the probability of getting exactly 50 heads and 0 tails?<br />

P(50) = 1<br />

Ω(all)<br />

= 8.9 × 10−16<br />

(g) Plot a graph of the probability of getting n heads as a function of n<br />

• 2.4: Calculate the number of possible five-card poker hands, dealt from a deck of 52 cards.<br />

(The order of cards in a hand does not matter.) A royal flush consists of the five highestranking<br />

cards (ace, king, queen, jack, 10) of any one of the four suits. What is the probability<br />

of being dealt a royal flush (on the first deal)?<br />

The number of hands:<br />

The probability of getting a royal flush:<br />

N = 52!<br />

5! 47! = 2598960<br />

P = 4!<br />

5! 47! = 2598960


<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 17<br />

• 2.5: For an Einstein solid with each of the following values of N and q, list all of the possible<br />

microstates, count them, and verify formula 2.9<br />

(a) N = 3, q = 4 : Ω(N, q) = (q+N−1)! = 15<br />

q! (N−1)!<br />

Oscilla<strong>to</strong>r Oscilla<strong>to</strong>r<br />

1 2 3 1 2 3<br />

4 0 0 0 1 3<br />

0 4 0 2 2 0<br />

0 0 4 2 0 2<br />

3 1 0 2 1 1<br />

15 states.<br />

3 0 1 0 2 2<br />

1 3 0 1 2 1<br />

0 3 1 1 1 2<br />

1 0 3<br />

(b) N = 3, q = 5 : Ω(N, q) = (q+N−1)! = 21<br />

q! (N−1)!<br />

Oscilla<strong>to</strong>r Oscilla<strong>to</strong>r<br />

1 2 3 1 2 3<br />

5 0 0 3 1 1<br />

0 5 0 2 3 0<br />

0 0 5 0 3 2<br />

4 1 0 1 3 1<br />

4 0 1 2 0 3 21 states.<br />

1 4 0 0 2 3<br />

0 4 1 1 1 3<br />

1 0 4 2 2 1<br />

0 1 4 2 1 2<br />

3 2 0 1 2 2<br />

3 0 2


<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 18<br />

(c) N = 3, q = 6 : Ω(N, q) = (q+N−1)! = 28<br />

q! (N−1)!<br />

Oscilla<strong>to</strong>r Oscilla<strong>to</strong>r<br />

1 2 3 1 2 3<br />

6 0 0 1 4 1<br />

0 6 0 2 0 4<br />

0 0 6 0 2 4<br />

5 1 0 1 1 4<br />

5 0 1 3 3 0<br />

1 5 0 3 0 3<br />

0 5 1 3 2 1<br />

28 states.<br />

1 0 5 3 1 2<br />

0 3 5 3 3 0<br />

4 2 0 0 3 3<br />

4 0 2 2 3 1<br />

4 1 1 1 3 2<br />

2 4 0 2 1 3<br />

0 4 2 1 2 3<br />

(d) N = 4, q = 2 : Ω(N, q) = (q+N−1)! = 10<br />

q! (N−1)!<br />

Oscilla<strong>to</strong>r<br />

1 2 3 4<br />

2 0 0 0<br />

0 2 0 0<br />

0 0 2 0<br />

0 0 0 2<br />

1 1 0 0<br />

10 states.<br />

1 0 1 0<br />

1 0 0 1<br />

0 1 1 0<br />

0 1 0 1<br />

0 0 1 1<br />

(e) N = 4, q = 3 : Ω(N, q) = (q+N−1)! = 20<br />

q! (N−1)!<br />

Oscilla<strong>to</strong>r Oscilla<strong>to</strong>r<br />

1 2 3 4 1 2 3 4<br />

3 0 0 0 1 0 2 0<br />

0 3 0 0 0 1 2 0<br />

0 0 3 0 0 0 2 1<br />

0 0 0 3 1 0 0 2<br />

2 1 0 0 0 1 0 2<br />

20 states.<br />

2 0 1 0 0 0 1 2<br />

2 0 0 1 1 1 1 0<br />

1 2 0 0 1 1 0 1<br />

0 2 1 0 1 0 1 1<br />

0 2 0 1 0 1 1 1<br />

(f) N = 1, q = anything<br />

Ω(N, q) = (q+N−1)!<br />

q! (N−1)!<br />

= q Oscilla<strong>to</strong>r 1: q


<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 19<br />

(g) N = anything, q = 1<br />

Ω(N, q) = (q+N−1)!<br />

q! (N−1)!<br />

= N<br />

• 2.6: Calculate the multiplicity of an Einstein solid with 30 oscilla<strong>to</strong>rs and 30 units of energy.<br />

(Do not attempt <strong>to</strong> list all the microstates)<br />

Ω(30, 30) = (q+N−1)!<br />

q! (N−1)!<br />

= 59!<br />

30! 29!<br />

= 5.91 × 1016<br />

• 2.7: For an Einstein solid with four oscilla<strong>to</strong>rs and two units of energy, represent each possible<br />

microstate as a series of dots and lines, as used in the text <strong>to</strong> prove equation 2.9<br />

N = 4, q = 2, Ω(N, q) = (q+N−1)!<br />

q! (N−1)!<br />

= 10<br />

Oscilla<strong>to</strong>r Dots and lines<br />

1 2 3 4 1 2 3 4<br />

2 0 0 0 ··<br />

0 2 0 0 ··<br />

0 0 2 0 ··<br />

0 0 0 2 ··<br />

1 1 0 0 · ·<br />

1 0 1 0 · ·<br />

1 0 0 1 · ·<br />

0 1 1 0 · ·<br />

0 1 0 1 · ·<br />

0 0 1 1 · ·<br />

10 states.<br />

• 2.8: Consider a system of two Einstein solids, A and B, each containing 10 oscilla<strong>to</strong>rs, sharing<br />

a <strong>to</strong>tal of 20 units of energy. Assume that the solids are weakly coupled, and that the <strong>to</strong>tal<br />

energy is fixed.<br />

(a) How many different macrostates are available <strong>to</strong> this system?<br />

Solid A can have anywhere between 0 and 20 units of energy. Therefore, 21 different<br />

macrostates are available <strong>to</strong> the system of weakly coupled A and B solids sharing 20 units<br />

of energy.<br />

(b) How many different microstates are available <strong>to</strong> this system?<br />

The combined system has 20 oscilla<strong>to</strong>rs and 20 units of energy. Therefore,<br />

Ω(N, q) =<br />

(q + N − 1)!<br />

q!(N − 1)!<br />

= 39! = 6.89 × 1010<br />

20! 19!<br />

(c) Assuming that this system is in thermal equilibrium, what is the probability of finding<br />

all of the energy in solid A?<br />

For the macrostate with all energy in solid A:<br />

Ω = Ω A Ω B = Ω A (10, 20)Ω B (10, 0) = 29!<br />

20! 9! = 1 × 107<br />

The probability of this macrostate is:<br />

P = 1 × 107 = 1.45 × 10−4<br />

6.89 × 10<br />

10<br />

(d) What is the probability of finding exactly half the energy in solid A?


<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 20<br />

For the macrostate with exactly half the energy in solid A:<br />

Ω = Ω A Ω B = Ω A (10, 10)Ω B (10, 10) = 19!<br />

10! 9!<br />

8.53 × 109<br />

P = = 0.124<br />

6.89 × 10<br />

10<br />

= 8.53 × 109<br />

(e) Under what circumstances would this system exhibit irreversible behaviour?<br />

If the energy was initially all in A, the system would evolve <strong>to</strong>ward half energy in A and<br />

half energy in B, and this distribution of energy would be irreversible. In other words, once<br />

the energy is evenly distributed, it is highly unlikely that the system would find itself with<br />

all the energy back in A.<br />

• 2.16: Suppose you flip 1000 coins. (a) What is the probability of getting exactly 500 heads<br />

and 500 tails? (Hint: First write down a formula for the <strong>to</strong>tal number of possible outcomes.<br />

Then, <strong>to</strong> determine the “multiplicity” of the 500-500 “macrostate”, use Sterling’s approximation.<br />

If you have a fancy calcula<strong>to</strong>r that makes Stirling’s approximation unnecessary,<br />

multiply all the numbers in this problem by a sufficient fac<strong>to</strong>r that you have <strong>to</strong> manually<br />

make this approximation.<br />

First, note that the number of possible outcomes (microstates) is 2 1000 . The probability of<br />

getting 500 heads and 500 tails is (from Sterling’s approximation):<br />

( )<br />

1000<br />

Ω(500) = = 1000!<br />

500 (500!) 2<br />

Ω(500) ≈ 10001000 e −1000√ 2π 1000<br />

(<br />

500<br />

500<br />

e −500√ 2π 500 ) 2 = 21000<br />

√<br />

500π<br />

The probability is Ω(500)/Ω(all) :<br />

Ω(500) =<br />

2 1000<br />

2 √ 1000 500π = 1<br />

√ = 0.025 500π<br />

So the chance of getting exactly 500 heads is about 2.5%, or 1 in 40.<br />

(b)What is the probability of getting exactly 600 heads and 400 tails?<br />

From Sterling’s approximation:<br />

( )<br />

1000<br />

Ω(600) = = 1000!<br />

600 600! 400!<br />

Ω(600) ≈<br />

The probability is Ω(600)/Ω(all) :<br />

1000 1000 e −1000√ 2π 1000<br />

600 600 e −600√ 2π 600 400 400 e −400√ 2π 400 = 1000 1000<br />

600 600 400 400 √ 480π<br />

Ω(600) =<br />

Ω(600) =<br />

1000 1000<br />

2 1000 600 600 400 √ 400 480π = 500 1000<br />

600 600 400 √ 400 480π = 500 600 500 400<br />

600 600 400 √ 400 480π<br />

( ) 5 600 ( ) 5 400 1<br />

√<br />

6 4 480π<br />

So the chance of getting exactly 600 heads is 4.6 × 10 −11 , much smaller than P(500)


<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 21<br />

• 2.21: Use a computer <strong>to</strong> plot formula 2.22 directly, as follows. Define z = q a /q such that<br />

(1 − z) = q b /q. Then, aside from a few constants that can be ignored, the multiplicity<br />

function is [4z(1 − z] N , where z ranges from 0 <strong>to</strong> 1 and the fac<strong>to</strong>r 4 ensures that the height<br />

of the peak is equal <strong>to</strong> 1 for any N. Plot this function for N=1, 10, 100, 1000, and 10,000.<br />

Observe how the width of the peak decreases as N increases.<br />

• 2.23: Consider a two-state paramagnet with 10 23 elementary dipoles, with half the <strong>to</strong>tal<br />

energy fixed at zero so that exactly half the dipole point up and half point down.<br />

(a) How many microstates are “accessible” <strong>to</strong> this system?<br />

With N dipoles of which exactly N/2 point up, the multiplicity of the paramagnet is:<br />

( )<br />

N N!<br />

Ω = N ⇒ ( ) ( ) N<br />

2<br />

2 ! N<br />

2 !<br />

So, taking the Sterling approximation:<br />

Ω =<br />

[ (N<br />

2<br />

N N e −N√ √<br />

2πN 2<br />

) N/2 √ ] 2<br />

= 2 N<br />

e<br />

−N/2<br />

πN<br />

πN<br />

For N = 10 23 , then, the multiplicity is roughly: 2 1023 /4 × 10 11 Since the denomina<strong>to</strong>r is<br />

merely “large,” we could just as well neglect it and say that Ω = 2 1023 , which is the number<br />

of microstates if we allow any number of dipoles <strong>to</strong> be pointing up.<br />

(b)Suppose that the microstate of this system changes a billion times per second. How many<br />

microstates will it explore in ten billion years (the age of the universe)?<br />

A year is about 3 × 10 7 s, so 10 billion years is about 3 × 10 1 7 s, or 3 × 10 2 6 ns. If the<br />

microstate of the system changes once every nanosecond, this is how many microstates the<br />

system will explore in the age of the universe. But this is a tiny fraction of the <strong>to</strong>tal number<br />

of microstates. In fact, the fraction is so small that the ratio of states not explored <strong>to</strong> states<br />

explored is 2 1023 .


<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 22<br />

(c) Is it correct <strong>to</strong> say that, if you wait long enough, a system will eventually be found in<br />

ev ery “accessible” microstate? Explain your answer, and discuss the meaning of the word<br />

“accessible.”<br />

Even if we wait for the age of the universe, the fraction of all “accessible” microstates that<br />

are actually explored by this system is so tiny that it might be more accurate <strong>to</strong> say that the<br />

system explores none of its “accessible” microstates. When we call a microstate “accessible,”<br />

therefore, we should not think that the system will ever actually be in that microstate. So<br />

what do we mean? One of the best interpretations is in terms of our ignorance of which<br />

microstates the system will actually explore in the future. Forallweknow, the system might<br />

soon be found in any of its “accessible” microstates, even though the probability of its being<br />

found in any of them is vanishingly small.<br />

• 2.24: For a single large two-state paramagnet, the multiplicty function is very sharply peaked<br />

about N ↑ = N/2 (a) Use Sterling’s approximation <strong>to</strong> estimate the height of the peak in the<br />

multiplicity function.<br />

If N = N ↑ , then N ↑ = N ↓ = N 2<br />

and the multiplicity is:<br />

Ω max =<br />

N!<br />

N ↑ ! N ↓ ! = N! ( N<br />

2 !) 2<br />

Ω max<br />

≈<br />

[ (N<br />

2<br />

N N e −N√ √<br />

2πN 2<br />

) ] N/2 2<br />

= 2<br />

e<br />

−N/2√<br />

N 2π N π N<br />

2<br />

Using Sterling’s approximation:<br />

Ω =<br />

N!<br />

N ↑ ! N ↓ ! ≈<br />

N N ↑<br />

↑ e −N ↑<br />

N N e −N√ 2πN<br />

√<br />

2πN↑ N N ↓<br />

↓ e −N ↓<br />

√<br />

2πN↓<br />

=<br />

N N ↑<br />

↑<br />

N N<br />

N N ↓<br />

↓<br />

√<br />

N<br />

2πN ↑ N ↓<br />

(b) Use the methods discussed in the lectures <strong>to</strong> derive a formula for the multiplicity function<br />

in the vicinity of the peak, in terms of x ≡ N ↑ − (N/2). Check that your formula agrees<br />

with your answer <strong>to</strong> part (a) when x = 0<br />

Using x ≡ N ↑ − (N/2), we can rearrange for N ↑ :<br />

and solve for N ↓ :<br />

N ↑ = N 2 + x<br />

N ↓ = N − N ↑<br />

⇒ N ↓ = N − N 2 − x ⇒ N ↓ = N 2 − x<br />

Using the equation obtained from Sterlings approximation:<br />

N N √<br />

N<br />

Ω =<br />

2πN ↑ N ↓<br />

N N ↑<br />

↑<br />

N N ↓<br />

↓<br />

setting N ↑ = (N/2) + x and N ↓ = (N/2) − x:<br />

Ω =<br />

N N<br />

( N<br />

2 + x) N/2+x ( N<br />

2 − x) N/2−x<br />

√<br />

N<br />

2π ( N<br />

2 + x) ( N<br />

2 − x)


<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 23<br />

Rearranging ...<br />

Ω =<br />

[ (N<br />

2<br />

N<br />

N<br />

) ] 2 N/2 (N<br />

− x<br />

2<br />

+ 2 x) x ( [<br />

N<br />

− 2 x) −x √ (N ) ] 2<br />

2π<br />

2 − x<br />

2<br />

Apply the logarithmic approximation <strong>to</strong> this equation:<br />

) 2<br />

− x 2 ]<br />

lnΩ ≈ N lnN − N [ (N<br />

2 ln 2<br />

√<br />

N<br />

2π − 1 [ (N ) 2<br />

]<br />

2 ln − x 2<br />

2<br />

+ ln<br />

( ) ( )<br />

N N<br />

− x ln<br />

2 + x + x ln<br />

2 − x<br />

Nothing yet has been assumed about the size of x relative <strong>to</strong> N but if x ≪ N, the logarithms<br />

containing two terms can be expanded:<br />

ln<br />

[ (N<br />

2<br />

) 2<br />

− x 2 ]<br />

( ) N<br />

ln<br />

2 ± x<br />

Using these expressions, we get:<br />

( ) N 2<br />

[<br />

= ln + ln 1 −<br />

2<br />

( ) [ N<br />

= ln + ln<br />

2<br />

1 ± 2x<br />

N<br />

( ) 2x 2<br />

]<br />

N<br />

] ( ) N<br />

≈ ln<br />

2<br />

( ) N<br />

≈ 2 ln −<br />

2<br />

± 2x<br />

N<br />

( ) 2x 2<br />

N<br />

lnΩ = N ln N − N ln N 2 + 2x2<br />

N − x ln N 2 − 2x2<br />

N + x ln N 2 − 2x2<br />

√ N<br />

N<br />

2π − ln N 2 + 2x2<br />

+ ln<br />

N 2<br />

√<br />

lnΩ = N ln 2 − 2x2 2<br />

N + ln πN − 2x2<br />

N 2<br />

The last term is clearly negligible and can be neglected. Taking the exponential:<br />

e ln Ω ≈ e N +ln√ ln2−2x2 2<br />

N πN<br />

√<br />

2<br />

Ω = 2 N /N<br />

for x ≪ N<br />

πN e−2x2<br />

This is a Gaussian function, peaked at x = 0. Clearly, when x = 0:<br />

Ω = 2 N √<br />

2<br />

πN<br />

which is the same result obtained in part (a).<br />

(c) How wide is the peak in the multiplicity function?<br />

The Gaussian function falls off <strong>to</strong> 1/e of its peak value when:<br />

2x 2<br />

N = 1 ⇒ x = √<br />

N<br />

2<br />

But the width of the peak will be 2x so: width = √ 2N


<strong>Richard</strong> <strong>Thomas</strong> - <strong>FK4005</strong> <strong>“Thermodynamik”</strong> - <strong>Solutions</strong> <strong>to</strong> Räknövningar 24<br />

(d) If you flip one million coins. Would you be surprised <strong>to</strong> obtain 501,000 heads and 499,999<br />

tails? Would you be surprised <strong>to</strong> obtain 510,000 heads and 490,000 tails? Explain.<br />

Here, N = 10 6 x = N 2 + 103 . The half-width of the peak in the multiplicity function would<br />

be √ 500000 ≈ 700. So an excess of 1000 heads is only a little beyond the point where the<br />

Gaussian has fallen off <strong>to</strong> 1/e of its maximum value. It would nit be <strong>to</strong>o surprising <strong>to</strong> obtain<br />

approximately this many heads, though it would be surprising <strong>to</strong> obtain an excess of exactly<br />

1000. Conversely, an excess of 10,000 heads lies fay outside the peak in the multiplicity<br />

function. At this point the Gaussian has fallen off <strong>to</strong> e 200 ≈ 10 −87 of its maximum value. If<br />

a result close <strong>to</strong> this was achieved, it’s likely that there is a problem with the coins!

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!