You are on page 1of 24

Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 1

1.9: What is the volume of one mole of air, at room temperature and 1 atm pressure.
From the ideal gas law, we have PV = nRT. Therefore:
V =
nRT
P
=
(1 mol)(8.31 J/mol/K)(300 K)
(10
5
N/m
2
)
V 0.025 m
3
25 L
1.10: Estimate the number of air molecules in an average-sized room.
Consider that an average room is about 4 metres squared and 3 metres high. The number
of air molecules (at the standard room temperature and pressure) is
N =
PV
k
B
T
=
(10
5
N/m
2
)(4 4 3 m
3
)
(1.38 10
23
J/K)(300 K)
N = 1.2 10
27
10
27
which is about 2000 moles.
1.11: Rooms A and B are the same size, and are connected by an open door. Room A,
however, is warmer (perhaps because its windows face the sun). Which room contains the
greater mass of air? Explain carefully.
Pressure is the same in both because they are connected by an open doorway; if the pressure
were dierent then a wind would blow from one room to the other. The volume of both rooms
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
as well. Thus the cooler temperature room has the higher number of molecules, and thus
the greater mass.
1.12: Calculate the average volume per molecule for an ideal gas at room temperature and
atmospheric pressure. Then take the cube root to get an estimate of the average distance
between molecules. How does this distance compare to the size of a small molecule like N
2
or H
2
O?
The volume per molecule for an ideal gas at room temperature and atmospheric pressure is:
V
N
=
k
B
T
P
=
(1.38 10
23
J/K)(300 K)
10
5
N/m
2
V
N
= 4.1 10
26
m
3
41 nm
3
The average distance between molecules can be estimated as
_
V
N
_
1/3
3.5 nm
3
The diameter of a molecule like N
2
or O
2
is only a few Angstroms, approximately 10
smaller than this average distance.
1.13: A mole is approximately the number of protons in a gram of protons. The mass of a
neutron is about the same as the mass of a proton, while the mass of an electron is usually
negligible in comparison, so if you know the total number of protons and neutrons in in a
molecule (i.e. its atomic mass), you know the approximate mass (in grams) of a mole
Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 2
of these molecules. Referring to the periodic table, nd the mass of each of the following:
water, molecular nitrogen, lead, and quartz (SiO
2
)
H
2
O = 2(1) + 1(16) = 18 grams/mol
N
2
= 2(14) = 28 grams/mol
Lead = Pb = 207 grams/mol
SiO
2
= 1(28.08) + 2(16) = 60 grams/mol
1.14: Calculate the mass of a mole of dry air, which is a mixture of N
2
(78% by volume),
O
2
(21%) and Ar (1%).
Use weighted average to calculate the mass of air:
f =

i
w
i
f
i

w
i
(w
i
= weights)
m =
0.78m
N
2
+ 0.21m
O
2
+ 0.01m
Ar
0.78 + 0, 21 + 0, 01
From the periodic table, m
N
2
= 28.014 g/mol, m
O
2
= 32.00 g/mol, and m
Ar
= 39.95 g/mol
Therefore, the mass of a mole of dry air:
m = 0.78(28.014) + 0.21(32) + 0.01(39)
m = 28.92 g/mol
1.15: Estimate the average temperature of the air in a hot air balloon (see Fig. 1.1 in book).
Assume that the total mass of the unlled balloon and payload is 500 kg. What is the mass
of the air inside the balloon?
The upward buoyant force on the balloon is equal to the weight of the air displaced. As-
suming that this force is approximately in balance with gravity, we can write:

0
V g = (M + V )g or
0
= M/V
where
0
is the density of the surrounding air, V is the volume of the balloon, M is the
mass of the unlled balloon and payload, and is the density of the air inside the balloon.
According to the ideal gas law, the density of air is:
=
mn
V
=
mP
RT
where m is the mass of one mole of air (29 g). This formula applies either inside or outside
the balloon, with the same pressure in both places but dierent temperatures. Therefore,
teh balance of forces implies:
mP
RT
0

mP
RT
=
M
V
where T and T
0
are the temperature inside and outside the balloon, respectively. Rearranging
yields:
1
T
=
1
T
0

M
m
P
RV
Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 3
Assume an outside air temperature of 290 K and atmospheric pressure. The volume of the
balloon can be estimated from the gure. Comparing the heights of the people standing
beneath, a reasonable estimate for the diameter of the balloon in the foreground is 15
metres. This gives a volume, assuming a spherical balloon (
3
3
r
3
), of about 1770 m
3
. The
mass of the unlled balloon and payload is assumed to be 500 kg, so the previous expression
evaluates to:
1
T
=
1
(290 K)

(500 kg)
(0.029 kg)
(8.31 J/K)
(10
5
N/m
2
)(1770 m
3
)
1
T
=
1
(290 K)

1
(1235 K)
=
1
(379 K)
Thus, the temperature inside the balloon must be about 379 K or just over 100

C. Assuming
this temperature, the mass of the air inside the balloon should be roughly:
M
air
= mn =
mPV
RT
M
air
=
(0.029 kg)(10
5
N/m
2
)(1770 m
3
)
(8.31 J/K)(379 K)
= 1600 kg
which s more than three times the mass of the unlled ballon and payload.
1.16: The Exponential atmosphere.
a) Consider a horizontal slab of air whose thickness (height) is dz. If this slab is at rest,
the pressure holding it up from below must balance both the pressure from above and the
weight of the slab. Use this fact to nd an expression for dP/dz, the variation of pressure
with altitude, in terms of the density of air.
This diagram shows the forces on the slab of air. P(z) is the atmospheric pressure as a
function of height z, and M is the total mass of the slab.
Because the slab of air is at rest, the net force on the slab must be zero. Thus
P(z + dz)A + Mg P(z)A = 0 [P(z + dz) P(z)]A = Mg P(z + dz) P(z) =
Mg
A
Now the volume of the slab is Adz, so if the density of air is (z), then M = (z)Adz, and
so
P(z + dz) P(z) =
(z)Agdz
A
= (z)gdz

P(z + dz) P(z)


dz
= (z)g
Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 4
If dz is very small, then the left hand side is the denition of the derivative dP/dz. Thus,
dP
dz
= (z)g
b. Use the ideal gas law to write the density of air in terms of pressure, temperature, and
the average mass m of the air molecules. Show, then, that the pressure obeys the dierential
equation:
dP
dz
=
mg
kT
P,
called the barometric equation.
We can derive this from part a by nding an expression for (z). The density of the slab is
equal to the mass of the slab, M divided by its volume, V . The mass, in turn, is equal to
the mass per molecule, m, times the number of molecules, N. Thus:
=
mN
V
The ideal gas law says that PV = NkT, so that N/V = P/kT. Thus = mP/kT, and
dP
dz
=
mP
kT
g =
mg
kT
P(z)
c. Assuming that the temperature of the atmosphere is independent of height, solve the
barometric equation to obtain the pressure as a function of height: P(z) = P(0)e
mgz/kT
.
Show also that the density obeys a similar equation.
For convenience, lets write = mg/kT, so that
dP
dz
= P(z)
This is one of the most basic dierential equations, but if youve never seen it before, we
can solve it by separation of variables: put the pressure on one side, and the altitude z on
the other:
dP
dz
= P(z)
dP
P
= d(z)
_
P(z)
P(0)
dP
P
=
_
z
0
d(z)
ln P(z) ln P(0) = z
ln
_
P(z)
P(0)
_
= z
P(z)
P(0)
= e
z
P(z) = P(0)e
z
Substituting in the denition for gives us P(z) = P(0)e
mgz/kT
as expected.
Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 5
We showed in part b that = mP/kT , so
(z) =
m
kT
P(0)e
z
,
we could also write mP(0)/kT as (0), the density at z = 0. Note that the constant has
units of m
1
; the constant z
0
= 1/ is the length scale over which the pressure and density
vary.
d. Estimate the pressure, in atmospheres, at Mt. Everest. (Assume that the pressure at sea
level is 1 atm.)
We can write:
P(z) = P(0)e
z/z
0
where z0 = kT/mg and it is convenient to calculate this quantity rst. Assume that T =
280K. Air is 80% N
2
, which has an atomic mass of 28, and 20% O
2
which has an atomic
mass of 32. An atomic mass unit is 1.67 10
27
kg (roughly the mass of a proton), so the
average mass per molecule is:
m = 80%(28)(1.67 10
27
kg) + 20%(32)(1.67 10
27
kg) = 4.8 10
26
kg
and so
z
0
=
(1.38 10
23
J/K)(280K)
(4.8 10
26
kg)(9.8 m/s
2
)
= 8200 m = 8.2 km
(Because this is so large, pressure and density does not vary appreciably inside a room).
Now P(0) is the pressure at sea level, thus 1 atm, and so P(z) = (1atm)e
z/8200m
, and thus
Mt. Everest = 8850m, pressure = 0.34 atm
1.18: Calculate the rms speed of a nitrogen molecule at room temperature.
We know:
v
rms
=

3kT
m
One nitrogen atom has mass 14.00 u.
1.6610
27
kg
1 u
= 2.3 10
26
kg, so a nitrogen molecule
has (approximately) twice that mass, or m = 4.6 10
26
kg. Thus
v
rms
=

3(1.38 10
23
J/K)(300K)
4.6 10
26
kg
= 5200 m/s
1.19: Suppose you have a gas containing hydrogen and oxygen molecules, in thermal equi-
librium. Which molecules are moving faster, on average? By what factor?
The rms speed of the molecules in an ideal gas is v
rms
=
_
3kT
m
. The ratio of the speeds of
hydrogen and oxygen at the same temperature is:
v
H
v
O
=

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

16 = 4. So hydrogen molecules will be moving four times faster than oxygen molecules.
Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 6
1.21: During a hailstorm, hailstones with an average mass of 2 g and a speed of 15 m/s
strike a windowpane at a 45

angle. The area of the window is 0.5 m


2
and the hailstones hit
it at a rate of 30 /s. What average pressure do they exert on the window? How does this
compare to the pressure of the atmosphere?
The hailstones strike the window at intervals of 1/30 s on average. During this time period,
the average force exerted by the window on the hailstone must be:

Fx
= m
v
x
t
where v
x
is the change in the component of the hailstones velocity perpendicular to the
window. Assuming elastic collisions and a velocity of 15m/s at 45

, this change in velocity


is 2vcos(45

) = 21m/s. The average pressure is then

P
=

F
A
=
mv
x
At
=
(0.002 kg)(21 m/s)
(0.5 m
2
)(0.033 s)
= 2.5 N/m
2
= 2.5 Pa
This is smaller than atmospheric pressure by a factor of 40,000. (However, the instantaneous
pressure during a collision is much higher, as the force is localized in time and space; this is
what might cause the window to break.)
1.22: If you poke a hole in a container full of gas, the gas will start leaking out. In this
problem you will make a rough estimate of the rate at which gas escapes through a hole.
a. Consider a small portion (area A) of the inside wall of a container full of gas. Show that
the number of molecules colliding with this surface in a time interval t is PAt/(2m

v
x
),
where P is the pressure, m the average molecular mass, and

v
x
is the average x velocity of
those molecules that collide with the wall.
As in Eq. 1.9, Newtons Laws imply that each molecule colliding with the surface exerts an
average pressure of:

P
=
mv
x
At
For an elastic collision, v
x
= 2v
x
. If there are N molecules, the total pressure is the sum
of N terms of this form, one for each molecule; the sum over v
x
values can be written as N
times the average, or N

v
x
. Therefore
P =
m(2N

v
x
)
At
N =
PAt
2m

v
x
b. Its not easy to calculate

v
x
, but a good enough approximation if (v
2
x
)
0.5
, where the bar
now represents an average over all molecules in the gas. Show that (v
2
x
)
0.5
=
_
kT/m.
This result follows directly from Eq. 1.15: kT = mv
2
x
v
2
x
=
_
kT/m
c. If we now take away this small part of the wall, the molecules that would have collided
with it will instead escape through the hole. Assuming that nothing enters through the hole,
show that the number N of molecules inside the container as a function of time is governed
by the dierential equation:
dN
dt
=
A
2V

kT
m
N
Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 7
Solve this equation (assuming constant T) to obtain a formula of the form N(t) = N(0)e
t/
where is the characteristic time for N (and P) to drop by a factor of e.
What we called N above is now N, the change in the number of molecules in the
container. Substituting this into part (a), and bringing in part (b), gives us:
N =
PAt
2m
_
m
kT
Now use the ideal gas law to eliminate P, and divide through by t, taking the limit t 0
to get the derivative:
N =
(NkT/V )At
2m
_
m
kT
N
t
= N
kTA
2mV
_
m
kT
dN
dt
=
A
2V

kT
m
N =
1

N
where = (2V/A)
_
m/kT. Thus N(t) is a function whose derivative is equal to 1/ times
itself, which makes it an exponential:
N(t) = N
0
e
t/
d. Calculate the characteristic time for air at room temperature to escape from a 1-litre
container punctured by a 1mm
2
hole.
To calculate we start with the quantity
_
kT/m =
_
RT/M, where M is the molar mass
of the gas (that is, the mass of a mole of air). Assuming the gas is near room temperature:

RT
M
=

_
(8.3 J/mol/K)(300 K)
0.029 kg/mol
= 293 m/s 300 m/s
A one liter bottle has volume 10
3
m
3
, and 1 mm
2
= 10
6
m
2
, so
=
2V
A
_
RT/M
=
2(0.001 m
3
)
(10
6
m
2
)(300 m/s)
= 7 s
e. The tire going at I assume to mean that e
t/
0 in the shortest time. For example,
e
3
.05, which is close to 0. That means:

3 t = 3t = 3 = 3
2V
A

m
k
B
T
=
6V
A
(3.42 10
3
)
Again, I assume V = 1 L and 1 hour = 3600 s.
3600s =
6(10
3
m
3
)
A
(3.42 10
3
s/m
Calculate the area A;
A = 5.7 10
9
m
2
= 5.7 10
3
mm
2
f. Assuming that in time t, all particles within the half sphere of radius v
x
t surrounding
the hole escape, since v
x
is on the order of several hundreds of meters per second on average
it seems unlikely that the travelers could toss the corpse out the window in a short enough
time for an insignicant number of particles to escape. Of course, this hinges on the the
denition of signicant- if the space ship was very large, the percentage of air compared to
the total volume of the ship would be very small and perhaps termed insignicant.
Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 8
1.26: A battery is connected in series to a resistor, which is immersed in water (to prepare a
nice hot cup of tea). Would you classify the ow of energy from the battery to the resistor
as heat or work? What about the ow of energy from the resistor to the wire?
Energy owing from the battery to the resistor should be classied as work, since it is a
process that would not happen spontaneously. The ow of energy from the resistor to the
water is heat, since it is a spontaneous process.
1.27: Give an example of a process in which no heat is added to a system but its temperature
increases. Then give an example of the opposite: a process in which heat is added to a system
but its temperature does not change.
An example of a process in which no heat is added to a system but the temperature increases
is pumping a tire full of air. A process in which heat is added to a system but its temperature
remains constant is a phase change, melting a piece of ice for example.
1.28: Estimate how long it would take to bring a cup of water to boiling temperature in
a typical 600-watt microwave oven, assuming that all the energy ends up in the water.
(Assume any reasonable initial temperature for the water). Explain why no heat is involved
in this process.
There are a few ways to approach this problem. U = Q + W where, for this problem,
Q = 0 so U = W. Looking at the change in thermal energy (eqn 1.23) for a system of N
molecules with f degrees of freedom:
U = Nf
1
2
kT
Assuming that the water is at 20

C at the start and it boils at 100

C, then T = (100 -
20) =80

C. H
2
O = 2H + O 2 g/mol + 16 g/mol 18 g/mol. A typical cup of water is
about 200g, and so:
N =
(200 g)
(18 g/mol)
(6.02 10
23
molecules)
(1 mol)
N = 6.7 10
24
molecules
The number of degrees of freedom, f, is not so clearly dened in the problem. There are
certainly 3 translational degrees of freedom and there are 3 rotational. We do not know if
the vibrational degrees of freedom are frozen out, but if we assume that they are then f = 6.
U 6.7 10
24
6
2
1.38 10
23
73 JU 2.02 10
4
J
For a 600 W oven, the heating rate is 600 J/s, so:
t
U
600 J/s
34 s
Alternatively, we can look at the denition of a calorie. 1 calorie = 4.186 J is the amount
of energy required to raise the temperature of 1 g of water by 1

C. So, for 200 g of water


we need:
U = (4.186 J/g/

C)(200 g)(80

C)
U = 6.11 10
4
J
Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 9
So,
t
6.11 10
4
600
102 s
Clearly, f = 6 is not correct for liquid water and there must be a larger number of degrees
of freedom.
Remember that ow of heat is a spontaneous process from higher T to lower T. The
microwave overn is an example of electro-magnetic work.
1.31: Imagine some helium in a cylinder with an initial volume of 1 litre and an initial
pressure of 1 atm. Somehow the helium is made to expand to a nal volume of 3 litres, in
such a way that the pressure rises in direct proportion to its volume. (a) Sketch a graph of
pressure vs volume for this process.
(b) Calculate the work done on the gas during this process, assuming that there are no
other types of work being done.
The work done is just minus the area under the graph shown in (a). The easiest way to
compute the area is to note that the average pressure during this process is 2 atm and:
W = PV = (2 atm)(2 l)
W = (2 10
5
Pa)(2 10
3
m
3
)
W = 400 J
The minus sign indicates that 400 J of work is done by the gas on its surroundings.
(c) Calculate the change in the heliums energy content during this process
Each helium atom has three degrees of freedom, so at any point the thermal energy of the
helium is U =
3
2
NkT =
P
V
. The change in energy during this process is:
U =
3
2
[P
f
V
f
P
i
V
i
]
U =
3
2
[(3 atm)(3 l) (1 atm)(1 l)]
U = 12 atm l = 1200J
Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 10
(d) Calculate the amount of heat added to or removed from the helium during this process.
By the rst law,
Q = U W
Q = 1200 (400) = 1600 J
This amount of heat enters the gas.
(e) Describe what you might do to cause the pressure to rise as the helium expands?
To cause such an increase in pressure (and temperature) as the gas expands, you must
provide heat, for example, by holding a ame under the cylinder and letting the piston out
slowly enough to allow the pressure to rise as desired.
1.33: An ideal gas is made to undergo the cyclic process shown in the gure. For each of the
steps A, B, and C, determine whether each of the following is positive, negative, or zero: (a)
the work done on the gas, (b) the change in the energy content of the gas, and (c) the heat
added to the gas. Then determine the sign of each of these three quantities for the whole
cycle. What does this process accomplish (in real-world terms)?
The work done on the gas depends entirely on the change in volume; decreasing volume
means that work is positive, while increasing volume means that work is negative. The
thermal energy of the gas is directly proportional to the temperature, which is in turn
proportional to PV . The heat must then be accounted for via the equation U = W +Q.
For branch A, the volume increases, so W < 0. PV increases as well, so the thermal energy
is increasing. Since the energy increases but work ows out, there must be a ow of heat
inward to compensate, and Q > 0.
For branch B, there is no change in volume so W = 0. PV increases, so U > 0. Because
the energy is increasing, there must be a ow of heat inward.
For branch C, volume and pressure are both decreasing, so W > 0 and U < 0. Because
work ows in and the energy still decreases, there must be a net ow of heat outward, so
Q < 0. To summarize:
Branch energy W Q
A increases negative positive
B increases zero positive
C decreases positive negative
During one complete cycle, PV comes back to its original value, so the thermal energy does
not change. The work done on this system is positive (because branch C has a greater area
Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 11
under it than branch A, and thus has more work owing). Because the systems energy
doesnt change, Q must be negative: heat ows out of the system.
In short, this cycle transforms work into heat; it could, for instance, be some sort of space
heater. If we note, however, that this system both absorbs heat (in steps A and B) and emits
heat, we can think of a more sophisticated use: in particular, we can absorb heat from one
room and emit it into the other. Similar cycles can act as refrigerators, but this particular
cycle would not make a practical refrigerator because the heat absorption stages are not at
a lower temperature than the emission stages.
1.34: An ideal diatomic gas, in a cylinder with a movable piston, undergoes the rectangular
cyclic process shown in the gure below. Assume that the temperature is always such that
the rotational degrees of freedom are active but that the vibrational modes are frozen
out. Also assume that the only type of work done on the gas is quasidiabatic compression-
expansion work.
(a) For each of the four steps A through D, compute the work done om the gas, the heat
added to the gas, and the change in the energy content of the gas. Express all answers in
terms of P
1
, P
2
, V
1
and V
2
)Hint: compute U before Q using the ideal gas law and the
equipartition theorem.)
For an ideal diatomic gas at room temperature, U =
5
2
Nk
B
T =
5
2
PV (since PV = Nk
B
T)
Step A:
U
A
=
5
2
V P =
5
2
V
1
(P
2
P
1
)
W
A
= 0
Q
A
= U
A
W
A
=
5
2
V
1
(P
2
P
1
)
Step B:
U
B
=
5
2
PV =
5
2
P
2
(V
2
V
1
)
Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 12
W
B
=
_
V
2
V
1
PdV = P
2
(V
2
V
1
) = P
2
(V
1
V
2
)
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
)
Step C:
U
C
=
5
2
V P =
5
2
V
2
(P
1
P
2
) =
5
2
V
2
(P
2
P
1
)
W
C
= 0
Q
C
= U
C
W
C
=
5
2
V
2
(P
2
P
1
)
Step D:
U
D
=
5
2
PV =
5
2
P
1
(V
2
V
1
)
W
D
=
_
V
1
V
2
PdV = P
1
(V
1
V
2
) = P
1
(V
2
V
1
)
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
)
(b) Describe in words what is physically being done during each of the four steps; for example,
during Step A, heat is added to the gas (from an external ame or something) while the
piston is held xed.
In step A, the volume is held constant at V
1
, and heat is added to the gas in the cylinder,
thus raising its temperature and pressure. In step B, the piston is moved out to increase
the volume from V
1
to V
2
, and, at the same time, heat is added so as to maintain constant
pressure at P
2
. In step C, the volume is held constant at V
2
, and heat is removed from the
cylinder to lower the pressure from P
2
to P
1
. Finally, in step D, the gas is compressed from
V
2
to V
1
, while continuing to remove heat, so that the pressure is maintained at P
1
.
(c) Compute the net work done on the gas, the net heat added to the gas, and the net change
in the energy of the gas during the entire cycle. Are the results as you expected? Explain
briey.
For the cyclical process, we have:
U
cycle
= U
A
+ U
B
+ U
C
+ U
D
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
)
U
cycle
= 0
Similarly,
W
cycle
= P
2
(V
2
V
1
) + P
1
(V
2
V
1
)
W
cycle
= (P
2
P
1
)(V
2
V
1
)
and
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
)
Q
cycle
=
5
2
(P
2
P
1
)(V
1
V
2
) +
7
2
(P
2
P
1
)(V
2
V
1
)
Q
cycle
= (P
2
P
1
)(V
2
V
1
)
Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 13
Yes, the results are as expected. For a complete cycle, the net change in the internal energy
U should be zero, since U is a function of state. Furthermore, from the rst law, we have
U = Q + W Q = W if U = 0.
1.38: Two identical bubbles of gas form at the bottom of a lake, then rise to the surface.
Because the pressure is much lower at the surface than at the bottom, both bubbles expand
as they rise. However, bubble A rises very quickly so that no heat is exchanged between it
and the water. Meanwhile, bubble B rises slowly (impeded by a tangle of seaweed), so that
it always remains in thermal equilibrium with the water (which has the same temperature
everywhere). Which of the two bubbles is larger by the time they reach the surface? Explain
your reasoning fully.
Both bubbles are identical to begin with, so both have the same number of air molecules N
inside. The pressure inside each bubble must be more-or-less equal to the pressure of the
water (we ignore the eects of surface tension here), so both bubbles end up at the same
pressure as well. Therefore the volume of each bubble, V = NkT/P, depends entirely on
temperature: the warmer bubble will be bigger. That also means that the larger bubble will
have the larger thermal energy. Now both bubbles do work on the surrounding water as they
expand (W < 0) Because bubble A does not exchange heat with its environment, it loses
energy and so cools down. Bubble B, on the other hand, remains at a constant temperature.
Therefore, by our reasoning above, bubble B, the one that absorbs heat, will be larger.
1.40: In problem 1.16 you calculated the pressure of the earths atmosphere as a function
of altitude, assuming constant temperature. Ordinarily, however, the temperature of the
bottommost 10-15 km of the atmosphere (called the troposphere) decreases with increasing
altitude, due to heating from the ground (which is warmed by sunlight). If the temperature
gradient |dT/dz| exceeds a certain critical value, convection will occur: Warm, low-density
air will rise while cool, high-density air sinks. The decrease of pressure with altitude causes
a rising air mass to expand adiabatically and thus to cool. The condition for convection to
occur is that the rising air mass must remain warmer than the surrounding air despite this
adiabatic cooling. (a) Show that when an ideal gas expands adiabatically, the temperature
and pressure are related by the dierential equation:
dT
dP
=
2
f + 2
T
P
From the book:
PV

= const.
V T
f/2
= const.
Using these and solving for V gives:
V =
1
P
T
(f+2)/2
= const.
This can be written in terms of natural logarithms as follows:
ln T
(f+2)/2
ln P = const.
f + 2
2
ln T ln P = const.
Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 14
Now if we take a derivative:
_
f + 2
2
_
dT
T

dP
P
= 0
Simplifying this gives the desired dierential equation
dT
dP
=
2
f + 2
T
P
(b)Assume that dT/dz is just at the critical value fro convection to begin, so that the
vertical forces on a convecting air mass are always approximately in balance. Use the result
of problem 1.16(b) to nd a formula for dT/dz in this case. This result should be a constant,
independent of temperature and pressure, which evaluates to approximately -10

/km. This
fundamental meteorological constant is known as the dry adiabatic lapse rate.
From Problem 1.16 (b):
dP
dz
=
mg
k
B
T
From the answer in part (a), dT/dP can be decomposed into the product
dT
dP
=
dT
dz
dz
dP
and therefore
dT
dz
dz
dP
=
2
f + 2
T
P
Substituting in the expression for dP/dz:
dT
dz
_

k
B
T
mg
_
1
P
=
2
f + 2
T
P
The Ts and Ps cancel, and we are left with (after solving for dT/dz)
dT
dz
=
mg
k
B
_
2
f + 2
_
Using the mass of air, m
air
= 4.84 10
26
kg/molecule. Substituting in all the numbers:
dT
dz
=
(4.84 10
26
kg/molecule)(9.8 m/s
2
)
1.38 10
23
J/K
2
5 + 2
dT
dz
= .0098
K
m
.01
K
m
To change to K/km we just have to mutliply by 1000 m/km, and we get
dT
dz
= 10
K
km
Which was to be shown.
Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 15
2.1: Suppose you ip four fair coins.
(a) Make a list of all the possible outcomes, as in Table 2.1.
The number of outcomes is 2
4
= 16.
TTTT THTT HTTT HHTT
TTTH THTH HTTH HHTH
TTHT THHT HTHT HHHT
TTHH THHH HTHH HHHH
(b) Make a list of all the dierent macrostates and their probabilities.
0 Heads = 1 P = 1/16
1 Heads = 4 P = 4/16
2 Heads = 6 P = 5/16
3 Heads = 4 P = 4/16
4 Heads = 1 P = 1/16
(c) Compute the multiplicity of each macrostate using the combinatorial formula (2.6), and
check that these results agree with what you got by brute force counting.
(0, 4) =
4!
0! 4!
Note : 0! = 1 So, = 1, P=1/16.
(1, 4) =
4!
1! 3!
So, =
24
6
, P=4/16.
(2, 4) =
4!
2! 2!
So, =
24
4
, P=6/16.
(3, 4) =
4!
3! 1!
So, =
24
6
, P=4/16.
(4, 4) =
4!
4! 0!
So, = 1, P=1/16.
2.2: Suppose you ip 20 coins. (a) How many possible outcomes macrostates are there?
For only 2 possible states 2
20
microstates. 2
20
= 1,048,576. Note that this is (all) or
(total)
(b) What is the probability of getting the sequence HTHHTTTHTHHHTHHHHTHT (in
exactly that order)?
Simply, this is only one macrostate out of 2
20
. Since each state is equally probable, the
possibility of getting this particular one is 1/2
20
less than one in a million.
(c) What is the probability of getting 12 heads and 8 tails (in any order)=
This is another macrostate:
P =
(20, 12)
(all)
=
20!
12!
(2012)!
1048576
=
125970
1048576
= 0.12
So, the probability is about 12%
2.3: Suppose you ip 50 coins.
(a) How many possible outcomes (microstates) are there?
There are two outcomes for each coin, so total number of macrostates: (all) = 2
50
=
1.13 10
15
(b) How many ways are there of getting exactly 25 heads and 25 tails?
Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 16
To get exactly 25 heads:
(q, N) =
N!
(N q)! q!
(25, 50) =
50!
(50 25)! 25!
= 1.26 10
14
(c) What is the probability of getting exactly 25 heads and 25 tails?
P(25) =
(25, 50)
(all)
P(25) =
1.26 10
14
2
50
= 0.112
So, not so large.
(d) What is the probability of getting exactly 30 heads and 20 tails?
P(30) =
(30, 50)
(all)
P(30) =
1
2
50
50!
30! 20!
= 0.042
(e) What is the probability of getting exactly 40 heads and 10 tails?
P(40) =
(40, 50)
(all)
P(40) =
1
2
50
50!
40! 10!
= 0.0000091 = 9.1 10
6
(f) What is the probability of getting exactly 50 heads and 0 tails?
P(50) =
1
(all)
= 8.9 10
16
(g) Plot a graph of the probability of getting n heads as a function of n
2.4: Calculate the number of possible ve-card poker hands, dealt from a deck of 52 cards.
(The order of cards in a hand does not matter.) A royal ush consists of the ve highest-
ranking cards (ace, king, queen, jack, 10) of any one of the four suits. What is the probability
of being dealt a royal ush (on the rst deal)?
The number of hands:
N =
52!
5! 47!
= 2598960
The probability of getting a royal ush:
P =
4!
5! 47!
= 2598960
Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 17
2.5: For an Einstein solid with each of the following values of N and q, list all of the possible
microstates, count them, and verify formula 2.9
(a) N = 3, q = 4 : (N, q) =
(q+N1)!
q! (N1)!
= 15
Oscillator Oscillator
1 2 3 1 2 3
4 0 0 0 1 3
0 4 0 2 2 0
0 0 4 2 0 2
3 1 0 2 1 1
3 0 1 0 2 2
1 3 0 1 2 1
0 3 1 1 1 2
1 0 3
15 states.
(b) N = 3, q = 5 : (N, q) =
(q+N1)!
q! (N1)!
= 21
Oscillator Oscillator
1 2 3 1 2 3
5 0 0 3 1 1
0 5 0 2 3 0
0 0 5 0 3 2
4 1 0 1 3 1
4 0 1 2 0 3
1 4 0 0 2 3
0 4 1 1 1 3
1 0 4 2 2 1
0 1 4 2 1 2
3 2 0 1 2 2
3 0 2
21 states.
Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 18
(c) N = 3, q = 6 : (N, q) =
(q+N1)!
q! (N1)!
= 28
Oscillator Oscillator
1 2 3 1 2 3
6 0 0 1 4 1
0 6 0 2 0 4
0 0 6 0 2 4
5 1 0 1 1 4
5 0 1 3 3 0
1 5 0 3 0 3
0 5 1 3 2 1
1 0 5 3 1 2
0 3 5 3 3 0
4 2 0 0 3 3
4 0 2 2 3 1
4 1 1 1 3 2
2 4 0 2 1 3
0 4 2 1 2 3
28 states.
(d) N = 4, q = 2 : (N, q) =
(q+N1)!
q! (N1)!
= 10
Oscillator
1 2 3 4
2 0 0 0
0 2 0 0
0 0 2 0
0 0 0 2
1 1 0 0
1 0 1 0
1 0 0 1
0 1 1 0
0 1 0 1
0 0 1 1
10 states.
(e) N = 4, q = 3 : (N, q) =
(q+N1)!
q! (N1)!
= 20
Oscillator Oscillator
1 2 3 4 1 2 3 4
3 0 0 0 1 0 2 0
0 3 0 0 0 1 2 0
0 0 3 0 0 0 2 1
0 0 0 3 1 0 0 2
2 1 0 0 0 1 0 2
2 0 1 0 0 0 1 2
2 0 0 1 1 1 1 0
1 2 0 0 1 1 0 1
0 2 1 0 1 0 1 1
0 2 0 1 0 1 1 1
20 states.
(f) N = 1, q = anything
(N, q) =
(q+N1)!
q! (N1)!
= q Oscillator 1: q
Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 19
(g) N = anything, q = 1
(N, q) =
(q+N1)!
q! (N1)!
= N
2.6: Calculate the multiplicity of an Einstein solid with 30 oscillators and 30 units of energy.
(Do not attempt to list all the microstates)
(30, 30) =
(q+N1)!
q! (N1)!
=
59!
30! 29!
= 5.91 10
16
2.7: For an Einstein solid with four oscillators and two units of energy, represent each possible
microstate as a series of dots and lines, as used in the text to prove equation 2.9
N = 4, q = 2, (N, q) =
(q+N1)!
q! (N1)!
= 10
Oscillator Dots and lines
1 2 3 4 1 2 3 4
2 0 0 0
0 2 0 0
0 0 2 0
0 0 0 2
1 1 0 0
1 0 1 0
1 0 0 1
0 1 1 0
0 1 0 1
0 0 1 1
10 states.
2.8: Consider a system of two Einstein solids, A and B, each containing 10 oscillators, sharing
a total of 20 units of energy. Assume that the solids are weakly coupled, and that the total
energy is xed.
(a) How many dierent macrostates are available to this system?
Solid A can have anywhere between 0 and 20 units of energy. Therefore, 21 dierent
macrostates are available to the system of weakly coupled A and B solids sharing 20 units
of energy.
(b) How many dierent microstates are available to this system?
The combined system has 20 oscillators and 20 units of energy. Therefore,
(N, q) =
(q + N 1)!
q!(N 1)!
=
39!
20! 19!
= 6.89 10
10
(c) Assuming that this system is in thermal equilibrium, what is the probability of nding
all of the energy in solid A?
For the macrostate with all energy in solid A:
=
A

B
=
A
(10, 20)
B
(10, 0) =
29!
20! 9!
= 1 10
7
The probability of this macrostate is:
P =
1 10
7
6.89 10
10
= 1.45 10
4
(d) What is the probability of nding exactly half the energy in solid A?
Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 20
For the macrostate with exactly half the energy in solid A:
=
A

B
=
A
(10, 10)
B
(10, 10) =
19!
10! 9!
= 8.53 10
9
P =
8.53 10
9
6.89 10
10
= 0.124
(e) Under what circumstances would this system exhibit irreversible behaviour?
If the energy was initially all in A, the system would evolve toward half energy in A and
half energy in B, and this distribution of energy would be irreversible. In other words, once
the energy is evenly distributed, it is highly unlikely that the system would nd itself with
all the energy back in A.
2.16: Suppose you ip 1000 coins. (a) What is the probability of getting exactly 500 heads
and 500 tails? (Hint: First write down a formula for the total number of possible outcomes.
Then, to determine the multiplicity of the 500-500 macrostate, use Sterlings approx-
imation. If you have a fancy calculator that makes Stirlings approximation unnecessary,
multiply all the numbers in this problem by a sucient factor that you have to manually
make this approximation.
First, note that the number of possible outcomes (microstates) is 2
1000
. The probability of
getting 500 heads and 500 tails is (from Sterlings approximation):
(500) =
_
1000
500
_
=
1000!
(500!)
2
(500)
1000
1000
e
1000

2 1000
_
500
500
e
500

2 500
_
2
=
2
1000

500
The probability is (500)/(all) :
(500) =
2
1000
2
1000

500
=
1

500
= 0.025
So the chance of getting exactly 500 heads is about 2.5%, or 1 in 40.
(b)What is the probability of getting exactly 600 heads and 400 tails?
From Sterlings approximation:
(600) =
_
1000
600
_
=
1000!
600! 400!
(600)
1000
1000
e
1000

2 1000
600
600
e
600

2 600 400
400
e
400

2 400
=
1000
1000
600
600
400
400

480
The probability is (600)/(all) :
(600) =
1000
1000
2
1000
600
600
400
400

480
=
500
1000
600
600
400
400

480
=
500
600
500
400
600
600
400
400

480
(600) =
_
5
6
_
600
_
5
4
_
400
1

480
So the chance of getting exactly 600 heads is 4.6 10
11
, much smaller than P(500)
Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 21
2.21: Use a computer to plot formula 2.22 directly, as follows. Dene z = q
a
/q such that
(1 z) = q
b
/q. Then, aside from a few constants that can be ignored, the multiplicity
function is [4z(1 z]
N
, where z ranges from 0 to 1 and the factor 4 ensures that the height
of the peak is equal to 1 for any N. Plot this function for N=1, 10, 100, 1000, and 10,000.
Observe how the width of the peak decreases as N increases.
2.23: Consider a two-state paramagnet with 10
23
elementary dipoles, with half the total
energy xed at zero so that exactly half the dipole point up and half point down.
(a) How many microstates are accessible to this system?
With N dipoles of which exactly N/2 point up, the multiplicity of the paramagnet is:
=
_
N
N
2
_

N!
_
N
2
_
!
_
N
2
_
!
So, taking the Sterling approximation:
=
N
N
e
N

2N
_
_
N
2
_
N/2
e
N/2

N
_
2
= 2
N

2
N
For N = 10
23
, then, the multiplicity is roughly: 2
10
23
/4 10
11
Since the denominator is
merely large, we could just as well neglect it and say that = 2
10
23
, which is the number
of microstates if we allow any number of dipoles to be pointing up.
(b)Suppose that the microstate of this system changes a billion times per second. How many
microstates will it explore in ten billion years (the age of the universe)?
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
microstate of the system changes once every nanosecond, this is how many microstates the
system will explore in the age of the universe. But this is a tiny fraction of the total number
of microstates. In fact, the fraction is so small that the ratio of states not explored to states
explored is 2
10
23
.
Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 22
(c) Is it correct to say that, if you wait long enough, a system will eventually be found in
ev ery accessible microstate? Explain your answer, and discuss the meaning of the word
accessible.
Even if we wait for the age of the universe, the fraction of all accessible microstates that
are actually explored by this system is so tiny that it might be more accurate to say that the
system explores none of its accessible microstates. When we call a microstate accessible,
therefore, we should not think that the system will ever actually be in that microstate. So
what do we mean? One of the best interpretations is in terms of our ignorance of which
microstates the system will actually explore in the future. Forallweknow, the system might
soon be found in any of its accessible microstates, even though the probability of its being
found in any of them is vanishingly small.
2.24: For a single large two-state paramagnet, the multiplicty function is very sharply peaked
about N

= N/2 (a) Use Sterlings approximation to estimate the height of the peak in the
multiplicity function.
If N = N

, then N

= N

=
N
2
and the multiplicity is:

max
=
N!
N

! N

!
=
N!
_
N
2
!
_
2

max

N
N
e
N

2N
_
_
N
2
_
N/2
e
N/2
_
2
N
2
_
2
= 2
N

2
N
Using Sterlings approximation:
=
N!
N

! N

!

N
N
e
N

2N
N
N

e
N

_
2N

N
N

e
N

_
2N

=
N
N
N
N

N
N

N
2N

(b) Use the methods discussed in the lectures to derive a formula for the multiplicity function
in the vicinity of the peak, in terms of x N

(N/2). Check that your formula agrees


with your answer to part (a) when x = 0
Using x N

(N/2), we can rearrange for N

:
N

=
N
2
+ x
and solve for N

:
N

= N N

= N
N
2
x N

=
N
2
x
Using the equation obtained from Sterlings approximation:
=
N
N
N
N

N
N

N
2N

setting N

= (N/2) + x and N

= (N/2) x:
=
N
N
_
N
2
+ x
_
N/2+x
_
N
2
x
_
N/2x

_
N
2
_
N
2
+ x
_ _
N
2
x
_
Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 23
Rearranging . . .
=
N
_
_
N
2
_
2
x
2
_
N/2 _
N
2
+ x
_
x
_
N
2
x
_
x

_
N
2
_
_
N
2
_
2
x
2
_
Apply the logarithmic approximation to this equation:
ln N lnN
N
2
ln
_
_
N
2
_
2
x
2
_
xln
_
N
2
+ x
_
+ xln
_
N
2
x
_
+ ln

N
2

1
2
ln
_
_
N
2
_
2
x
2
_
Nothing yet has been assumed about the size of x relative to N but if x N, the logarithms
containing two terms can be expanded:
ln
_
_
N
2
_
2
x
2
_
= ln
_
N
2
_
2
+ ln
_
1
_
2x
N
_
2
_
2 ln
_
N
2
_

_
2x
N
_
2
ln
_
N
2
x
_
= ln
_
N
2
_
+ ln
_
1
2x
N
_
ln
_
N
2
_

2x
N
Using these expressions, we get:
ln = N ln N N ln
N
2
+
2x
2
N
xln
N
2

2x
2
N
+ xln
N
2

2x
2
N
+ ln

N
2
ln
N
2
+
2x
2
N
2
ln = N ln 2
2x
2
N
+ ln

2
N

2x
2
N
2
The last term is clearly negligible and can be neglected. Taking the exponential:
e
ln
e
N ln2
2x
2
N
+ln

2
N
= 2
N

2
N
e
2x
2
/N
for x N
This is a Gaussian function, peaked at x = 0. Clearly, when x = 0:
= 2
N

2
N
which is the same result obtained in part (a).
(c) How wide is the peak in the multiplicity function?
The Gaussian function falls o to 1/e of its peak value when:
2x
2
N
= 1 x =

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

2N
Richard Thomas - FK4005 Thermodynamik - Solutions to Raknovningar 24
(d) If you ip one million coins. Would you be surprised to obtain 501,000 heads and 499,999
tails? Would you be surprised to obtain 510,000 heads and 490,000 tails? Explain.
Here, N = 10
6
x =
N
2
+ 10
3
. The half-width of the peak in the multiplicity function would
be

500000 700. So an excess of 1000 heads is only a little beyond the point where the
Gaussian has fallen o to 1/e of its maximum value. It would nit be too surprising to obtain
approximately this many heads, though it would be surprising to obtain an excess of exactly
1000. Conversely, an excess of 10,000 heads lies fay outside the peak in the multiplicity
function. At this point the Gaussian has fallen o to e
200
10
87
of its maximum value. If
a result close to this was achieved, its likely that there is a problem with the coins!

You might also like