You are on page 1of 13

Thermodynamics

Lecture notes
Claude Dion
HT-2004
Warning!
These lecture notes are intended to be used by me, your teacher, during class,
to help me remember what I have to say. You are free to use them to prepare
for class, help you study, nd out what happened when you werent there,
or whatever else, but they should not be used as a substitute for the course
book
1
. They are incomplete (I sometimes may have put just a few words as
reminders for myself) and may contain errors.
1
D. V. Schroeder, An Introduction to Thermal Physics (Addison Wesley Longman, San
Francisco, 1999).
Chapter 1
Energy in Thermal Physics
1.1 Thermal Equilibrium
(Video of balloon expanding.) What is happening? Heat makes the bal-
loon expand. Pressure inside. Same as in classical mechanics:

F = 0 at
equilibrium.
Exchanged quantity Type of equilibrium
volume mechanical
(Video of milk in coee.) What is happening? Mixing of the two liquids.
Exchanged quantity Type of equilibrium
volume mechanical
particles diusive
Relaxation time. Spontaneous. Not shown: temperature.
Temperature from human experience: sensation of hot and cold. How does a
mercury thermometer work? What exactly are we measuring? Just like the
balloon: expansion of a substance.
Exchanged quantity Type of equilibrium
volume mechanical
particles diusive
energy thermal
1
CHAPTER 1. ENERGY IN THERMAL PHYSICS 2
Equilibrium does not mean that things are static: small uctuations around
the equilibrium point happen.
Temperature: The tendency of an object to give up energy to another. If
energy ows spontaneously from A to B when they are in contact, then A is
at a higher temperature than B. If no energy ows, then the objects are in
thermal equilibrium.
0
th
law of thermodynamics: If A is in thermal equilibrium with B, and B is
in thermal equilibrium with C, then C is also in thermal equilibrium with A.
This is why a thermometer works.
Quantication of temperature: the Celsius scale. (Figure 1.3) Pressure goes
to zero at 273

C; absolute zero; absolute temperature scale, unit: kelvin.


Problems: 1.7, 1.8
1.2 The Ideal Gas
The experimental evidence concerning the behavior of gases with respect to
temperature was summarized by the ideal gas law:
PV = Nk
B
T (1.1)
= nRT (1.2)
with k
B
= 1.3806505(24)10
23
J/K the Boltzmann constant, R = 8.314472(15) Jmol
1
K
1
the gas constant. One mole is given by Avogadros number N
A
= 6.0221415(10)
10
23
mol
1
.
Validity: low density (average space between molecules molecule size).
The volume of the molecules themselves is neglected.
Problems: 1.9 1.12, 1.17
We now take the example of an ideal gas to show that indeed thermal equi-
librium is reached by an exchange of energy.
(Drawing of a cylinder with a piston, see gure 1.4. Note that this is one of
the favorite systems to study thermodynamics.) Start with a single molecule
of velocity v. Collisions with the walls are elastic, so speed is constant. Walls
are perfectly smooth, so mirror-like reections.
What is the relation between pressure and (kinetic) energy? P = F/A =
F/L
2
. What is the force the particle exerts on the piston? Mostly zero,
CHAPTER 1. ENERGY IN THERMAL PHYSICS 3
except when there is a collision. Well consider the average pressure.
P =
F
x, on piston
A
=
F
x, on molecule
A
=
m
_
v
x
t
_
A
To consider only collisions with the piston, we take
t =
2L
v
x
i.e., the time for one round-trip. The x component of the velocity changes
from +v
x
to v
x
, so v
x
= 2v
x
. We thus get
P =
m
A
_
2v
x
2L/v
x
_
=
mv
2
x
AL
=
mv
2
x
V
One v
x
comes from the fact that higher velocity equals stronger collision, the
other from the fact that collisions are more frequent. We see also that the
pressure is related to the kinetic energy.
We consider that we have N identical molecules with random positions and
directions. They do not collide with each other, only with the walls (is that
actually necessary?). We get
PV = mv
2
1x
+ mv
2
2x
+ mv
2
3x
+ . . .
or, considering that uctuations will be small because of the number of
molecules,
PV = Nmv
2
x
If with plug this in the ideal gas law, we get
k
B
T = mv
2
x
1
2
k
B
T =
1
2
mv
2
x
=
p
2
x
2m
This is just in x, but the same must hold for y and z,
1
2
mv
2
x
=
1
2
mv
2
y
=
1
2
mv
2
z
=
1
2
k
B
T
so the total average translational kinetic energy is
K
trans
=
1
2
mv
2
=
1
2
m
_
v
2
x
+ v
2
y
+ v
2
z
_
=
3
2
k
B
T
CHAPTER 1. ENERGY IN THERMAL PHYSICS 4
QED: we have a relation between (kinetic) energy and temperature.
From this, we can also get the average (not exactly) speed of molecules in
the gas:
v
2
=
3k
B
T
m
v
rms

_
v
2
=

3k
B
T
m
Example for N
2
at room temperature:
v
rms
=

_
3 1.381 10
23
JK
1
298 K
4.665 10
26
kg
= 514 m/s
Does this mean that a molecule a one wall of the room will hit the opposite
wall in a few hundredth of a second? Lets calculate the mean free path:
the average distance a molecule travels before hitting another one. Consider
all molecules are frozen except one, and are spheres of radius r, or that the
traveling molecule is of radius 2r and the other are point particles (gure
1.17). The molecule sweeps a cylinder of radius 2r, and when the volume of
this cylinder is equal to the total volume divided by number of molecules, it
is likely the molecule will have hit another one, so
(2r)
2

V
N

1
4r
2
V
N
For air, lets say r = 1.5

A = 1.5 10
10
m, and
V
N
=
k
B
T
P
=
1.381 10
23
JK
1
298 K
1 atm
=
1.381 10
23
JK
1
298 K
101325 Pa
= 4.06 10
26
m
3
so

1
4 (1.5 10
10
m)
2
4.06 10
26
m
3
= 1.44 10
7
m
Time between collisions:
t =

v


v
rms
=
1.44 10
7
m
514 m/s
= 2.80 10
10
s
The molecules are going very fast but they are colliding very frequently with
other, close by molecules.
Problems: 1.19 1.22
CHAPTER 1. ENERGY IN THERMAL PHYSICS 5
1.3 Equipartition of Energy
Equipartition theorem: At a temperature T, the average value of each
quadratic term in the expression for the total energy is
1
2
k
B
T.
Example: for a harmonic oscillator
E =
p
2
2m
+
1
2
kx
2
so its average energy is k
B
T
Quadratic terms are related to degrees of freedom: translational motion
1
2
mv
2
x
,
1
2
mv
2
y
,
1
2
mv
2
z
rotation
1
2
I
x

2
x
,
1
2
I
y

2
y
,
1
2
I
x
z
2
z
(with I the moment of inertia around an axis). Note that for a diatomic
molecule there are only two rotational degrees of freedom (because of quan-
tum mechanics).
Vibrations in general count as two degrees of freedom. However, at some tem-
peratures some vibrational degrees of freedom are frozen out (no quantum
of vibration). Intermolecular interaction energies are not nice quadratic
functions.
For thermal processes (no nuclear, chemical, . . . processes), we get
U
thermal
= Nf
1
2
k
B
T
where f is the number of degrees of freedom.
1.4 Heat and Work
What is energy? (See Feynmans description.) Energy is not temperature:
temperature is only the tendency of an object to give out (or receive) energy.
Usually, when an object gains energy, it has a higher temperature, but not
always.
CHAPTER 1. ENERGY IN THERMAL PHYSICS 6
Energy is one of the fundamental concepts of physics. The total energy of
the universe never changes: law of conservation of energy. If an object
gains energy, another one must lose energy. However, energy can take many
forms: kinetic, electrostatic, gravitational, mass (E = mc
2
), . . .
There are many ways a system can gain or lose energy, and in thermody-
namics we classify these processes in two classes: heat and work.
Heat is the ow of energy coming from a dierence of temperature, e.g., a
radiator that heats the room, the Sun that heats the Earth (although the
mechanism is very dierent). Conduction is by molecular contact; convec-
tion by the bulk motion of a gas or a liquid; radiation by electromagnetic
waves.
Work is every other way of putting energy in a system. Some examples:
pushing a piston (remember the model of gure 1.4), stirring a cup of coee,
running a current through a resistor. It goes both ways: pushing the piston
to compress the gas is doing work on the system; the piston being pushed
out by the gas is the system doing work on something else (the atmosphere,
perhaps: think of the balloon expanding).
Heat and work refer to the transfer of energy. A system has energy, not
heat or work.
Using U for the total energy of a system, Q for the heat entering the sys-
tem and W for work being done on the system, we have from the law of
conservation of energy
U = Q + W
This relation is called the rst law of thermodynamics.
Problems: 1.261.29
1.5 Compression Work
We will often consider work in the form of compression of a gas, for instance
by a piston. From classical mechanics:
W =

F dr
which, for the piston, we start with
W = Fx
CHAPTER 1. ENERGY IN THERMAL PHYSICS 7
where x is positive when the piston moves inwards. We want to express the
force as a pressure, i.e., to use PA. We must assume that the gas is always
in internal equilibrium, i.e., that pressure is well dened at all times. This is
only the case if the piston does not move too fast (relaxation time small with
respect to the movement of the piston). This slow volume change is called
quasistatic. Thus
W = PAx = PV
if the pressure doesnt change: innitesimal changes in volume. The pressure
must change for a large enough V , so what do we do? We accumulate a
series of innitesimal changes, i.e., we integrate.
W =
_
V
f
V
i
P(V )dV
Problems: 1.31, 1.33, 1.34
Compression of an Ideal Gas
If you pump air in a tire, you will feel its temperature rise, because of the
compression of the gas. If you pump very slowly, heat will escape to the
surroundings and the temperature will not rise as much. We will consider
two extremes: isothermal compression, where the temperature doesnt
change (heat ows out quickly) and adiabatic compression, where there
is no exchange of heat (e.g., the system is isolated or insulated).
Isothermal compression is most likely also quasistatic, so we can use the
previous formula with the ideal gas law P = Nk
B
T/V . (See isotherm as P
vs V , gure 1.11.) The work done is
W =
_
V
f
V
i
P(V )dV = Nk
B
T
_
V
f
V
i
1
V
dV
= Nk
B
T (ln V
f
ln V
i
) = Nk
B
T ln
V
i
V
f
Since we are doing work on the gas and the temperature stays the same,
heat must be owing out. According to the equipartition theorem, for an
ideal gas (no interaction, only translational degrees of freedom) U is directly
proportional to T. So
Q = U W = 0 W = Nk
B
T ln
V
f
V
i
CHAPTER 1. ENERGY IN THERMAL PHYSICS 8
The work we do by compressing the gas ends up as heat in the environment.
If we now consider adiabatic compression (but still in a quasistatic way), then
U = Q + W = W
so the internal energy goes up. Again, for an ideal gas U T, so T .
(Show adiabat on P vs V curve, gure 1.12.)
Problems: 1.37
1.6 Heat Capacities
We go further on the relation between heat and temperature.
Heat capacity denition:
C
Q
T
It depends on the quantity of matter, so we use the specic heat capacity
c
C
m
Problem: it depends on what happens when the heat is transferred (work or
no work)
C =
Q
T
=
U W
T
One possibility: consider W = 0, so no expansion/compression PV = 0.
We get the heat capacity at constant volume
C
V

_
U
T
_
V
=
_
U
T
_
V
In most real life cases, objects expand as they are heated. They do work
on the surroundings, so W < 0 C > C
V
. We thus consider the heat
capacity at constant pressure
C
P

_
U (PV )
T
_
P
=
_
U
T
_
P
+ P
_
V
T
_
P
Last term compensates for energy lost as work. For solids and liquids
V/T is usually small.
CHAPTER 1. ENERGY IN THERMAL PHYSICS 9
Heat capacities can be measured, or taken from tabulated data, or theoreti-
cally predicted. Lets see if we can do it for an ideal gas.
Consider a system that stores energy only in quadratic degrees of freedom
U =
1
2
Nfk
B
T
so
C
V
=
_
U
T
_
V
=

T
_
Nfk
B
T
2
_
=
Nfk
B
2
For a monoatomic gas f = 3, so C
V
=
3
2
Nk
B
; for one mole we get C
V
=
3
2
R = 12.5 J/K. (Compare to tabulated values.)
For a diatomic or polyatomic molecule, f is bigger; consider also that some
degrees of freedom are frozen at some T (see gure 1.13).
For a solid, there are six degrees of freedom per atom (3 kinetic + 3 potential),
so we have
6
2
R = 3R per mole. This is the rule of Dulong and Petit. All
degrees of freedom freeze out at low T, so C
V
0 as T 0. (See gure
1.14.)
Lets look at C
P
for an ideal gas. First term is the same. Second is
P
_
V
T
_
P
= P

T
_
Nk
B
T
P
_
P
= Nk
B
so
C
P
= C
V
+ Nk
B
= C
V
+ nR
For one mole of a monoatomic gas
C
P
=
5
2
R = 20.786 J/K
which is exactly the value obtained for noble gases
1
Problems: 1.41, 1.44
1
See P.W. Atkins, Physical Chemistry, 4th ed. (Freeman, New York, 1990), table 2.10,
or C. Nordling and J.

Osterman, Physics Handbook for Science and Engineering, 7th ed.
(Studentlitteratur, Lund, 2004), table 1.5 (with the proper conversion for 1 mole).
CHAPTER 1. ENERGY IN THERMAL PHYSICS 10
Latent Heat
Adding heat does not always increase temperature. During a phase trans-
formation (s l g) T = 0, so
C =
Q
T
=
Q
0
=
Then, the amount of heat needed to make the phase transition is the latent
heat
L
Q
m
By convention it is assumed that P = const. (usually 1 atm) and no other
work.
Some numbers: latent heat for melting ice is 333 J/g, for boiling water
2260 J/g (energy for bringing water from 0

C to 100

C is 420 J/g).
Problems: 1.47, 1.48
Enthalpy
Constant-pressure processes are very common and it can be bothersome to
always have to consider compression or expansion work.
Lets take the example of the combustion of hydrogen:
H
2
+
1
2
O
2
H
2
O
The chemical energy is easy to consider: we break a HH bond and half a OO
bond, and form two OH bonds. But is that the only thing to consider? Look
at the number of molecules. We have to consider the fact that in addition
to the energy of the chemical reaction, we have the atmosphere doing some
work while collapsing to take the place of the missing molecules (and the
fact that water is liquid at room temperature).
So in addition to the internal energy U of a system, lets consider also the
work needed to make room for it, PV . We thus dene enthalpy:
H U + PV
Its the total energy needed to crate the system ab nihilo.
CHAPTER 1. ENERGY IN THERMAL PHYSICS 11
Like for U, it is interesting to consider changes in enthalpy. At constant
pressure, we get
H + H = U + U + P (V + V )
= (U + PV ) + (U + PV )
= H + (U + PV )
so
H = U + PV
From the rst law of thermodynamics
U = Q + W = Q + (PV ) + W
other
so
H = Q + W
other
So if no other work is done, enthalpy gives directly the heat added to the
system.
Raising the temperature of a system at constant pressure:
C
P
=
_
H
T
_
P
Going back to the combustion of hydrogen, we have from a table that the
reaction as an enthalpy of formation H = 286 kJ (at room temperature
and pressure). This is how much energy you can get out of the combustion.
You can also nd the enthalpy change for phase transformations. For in-
stance, for boiling water H = 40660 Jmol
1
. 1 mole H
2
O is 18 grams, so
for 1 gram we have 2260 J (same as latent heat). Not all the energy ends up
in the steam:
PV = P (V
f
V
i
) P
_
RT
P
0
_
= RT
= 8.314 JK
1
373 K = 3100 J
which is 8% of the energy.
Problems: 1.50, 1.51, 1.52, 1.54

You might also like