lecture7
lecture7
dE = T dS − pdV (2)
We can write this because dE is an exact differential. Comparing (2) and (4) and
matching the coefficients of dS and dV , we have
!
∂E
= T
∂S V
!
∂E
= −p (5)
∂V S
The subscripts indicate what is held constant when the partial derivative is taken.
Now note that the second derivatives of E are independent of the order of differ-
entiation:
∂ 2E ∂ 2E
= (6)
∂V ∂S ∂S∂V
or ! ! ! !
∂ ∂E ∂ ∂E
= (7)
∂V S ∂S V ∂S V ∂V S
Plugging in (5), we obtain
! !
∂T ∂p
=− (8)
∂V S
∂S V
or
pdV = d(pV ) − V dp (10)
Plug this into (2):
or
d(E + pV ) = T dS + V dp (12)
We can write this as
dH = T dS + V dp (13)
where
H ≡ E + pV (14)
The function H is called the “enthalpy.” It depends on the independent variables
S and p:
H = H(S, p) (15)
The enthalpy is a state function, so we can write
! !
∂H ∂H
dH = dS + dp (16)
∂S p
∂p S
2
Since
∂ 2H ∂ 2H
= (18)
∂p∂S ∂S∂p
we obtain ! !
∂T ∂V
= (19)
∂p S
∂S p
or
dF = −SdT − pdV (21)
where
F ≡ E − TS (22)
The function F is called the “Helmholtz free energy.” When you hear physicists talk
about “free energy,” they are usually referring to F . F depends on the independent
variables T and V :
F = F (T, V ) (23)
and ! !
∂F ∂F
dF = dT + dV (24)
∂T V
∂V T
∂ 2F ∂ 2F
= (26)
∂V ∂T ∂T ∂V
implies ! !
∂S ∂p
= (27)
∂V T
∂T V
3
• Independent variables T and p: In order to obtain T and p as independent
variables, we perform a Legendre transformation on (2) to replace dS and dV with
dT and dp:
dE = T dS − pdV = d(T S) − SdT − d(pV ) + V dp (28)
or
dG = −SdT + V dp (29)
where we have introduced
G ≡ E − T S + pV (30)
G is called the “Gibbs free energy.” We could also write
G = H − TS (31)
or
G = F + pV (32)
G has independent variables T and p. Experimentally these are the easiest to set.
So the Gibbs free energy is usually what is being dealt with experimentally.
G = G(T, p) (33)
and ! !
∂G ∂G
dG = dT + dp (34)
∂T p
∂p T
∂ 2G ∂ 2G
= (36)
∂p∂T ∂T ∂p
implies ! !
∂S ∂V
− = (37)
∂p T
∂T p
4
Summary of Maxwell relations and thermodynamic functions
! !
∂T ∂p
= − (38)
∂V S
∂S V
! !
∂T ∂V
= (39)
∂p S
∂S p
! !
∂S ∂p
= (40)
∂V ∂T
!T !V
∂S ∂V
− = (41)
∂p T
∂T p
These are Maxwell’s relations which we derived starting from the fundamental relation
dE = T dS − pdV (42)
appear paired in (42) and when one cross multiplies the Maxwell relations. In other words
the numerator on one side is conjugate to the denominator on the other side. To obtain
the correct sign, note that if the two variables with respect to which one differentiates
5
are the same variables S and V which occur as differentials in (42), then the minus sign
that occurs in (42) also occurs in the Maxwell relation. Any one permutation away from
these particular variables introduces a change of sign. For example, consider the Maxwell
relation (39) with derivatives with respect to S and p. Switching from p to V implies
one sign change with respect to the minus sign in (42); hence there is a plus sign in (39).
We also summarize the thermodynamic functions:
E = E(S, V ) (49)
H = H(S, p) = E + pV (50)
F = F (T, V ) = E − T S (51)
G = G(T, p) = E − T S + pV (52)
(53)
dE = T dS − pdV (54)
dH = T dS + V dp (55)
dF = −SdT − pdV (56)
dG = −SdT + V dp (57)
Notice that the conjugate variables are always paired up. The sign changes when one
changes the independent variable compared to the fundamental relation (42).
Phase Transitions and the Clausius–Clapeyron Equation
Let me try to give some idea of why these thermodynamic functions are useful. We
know from classical mechanics and electromagnetism that energy is a very useful concept
because it is conserved, and because systems try to minimize their energy. Now we have
“generalized energies” such as H, F , and G. Chemists like enthalpy because in the lab
pressure rather than volume is kept constant. Note that dH = T dS + V dp, so if pressure
is constant which means dp = 0, then dH = T dS = dQ which is why enthalpy is thought
of as heat. When physicists refer to free energy, they usually mean the Helmholtz free
energy F = E − T S because they can calculate this starting from the Hamiltonian.
However, experimentally it is the Gibbs free energy G = E − T S + pV that is relevant.
Physicists often speak about minimizing the free energy. Consider water and ice. If we
were to just consider minimizing the internal energy E which is the sum of the kinetic
and potential energies, then ice would be the lowest energy state. Water molecules have
less kinetic energy in ice than in water. Also the water molecules are, on average, farther
from each other in ice than in water, so their potential energy of interaction is less in ice
than in water. But ice only exists at low temperatures. Why is that? Because at high
temperatures the free energy of water is lower than that of ice. If we consider constant
pressure and hence the Gibbs free energy, then we want to minimize
G = E − T S + pV (58)
At high temperatures the second term −T S is important. Water molecules have a much
higher entropy in their liquid state than in their solid state. More entropy means more
6
microstates in phase space which improves the chances of the system being in a liquid
microstate. (Just like buying more lottery tickets improves your chances of winning.)
The higher entropy of the liquid offsets the fact that Ewater > Eice . At low temperatures
−T S is less important, so Ewater > Eice matters and the free energy for ice is lower than
that of water. The transition temperature Tm between ice and water is given by
We can actually use this relation to derive an interesting relation called the Clausius–
Clapeyron equation. Remember I told you that water is unusual because ice expands and
because the slope of the phase boundary between ice and water is negative (dp/dT < 0).
These facts are related through the Clausius–Claperyon equation. (See Reif 8.5 for more
details.)
Phase Diagram of Water
Pressure
(atm)
218 Liquid Critical
Point
Solid
Vapor
0.006
Triple Point
273 647
Temperature ( K )
Let us consider the general case where a substance (like water) has 2 phases (like liquid
and solid) with a first order transition between them. Along the phase–equilibrium line
these two phases have equal Gibbs free energies:
Here gi (T, p) = Gi (T, p)/ν is the Gibbs free energy per mole of phase i at temperature
T and pressure p. If we move a little ways along the phase boundary, then we have
7
where s is the molar entropy and v is the molar volume. So (62) becomes
8
Thus the Clausius–Clapeyron equation (66) can be written
dp ∆S L12
= = (68)
dT ∆V T ∆V
If V refers to the molar volume, then L12 is the latent heat per mole; if V refers to the
volume per gram, then L12 is the latent heat per gram. In most substances, the latent
heat is used to melt the solid into a liquid. However, if you put heat into liquid 3 He when
it is on the melting line, it will form solid because solid 3 He has more entropy than liquid
3
He.
Examples of using the Maxwell relations
Let’s give some examples where the Maxwell relations can be used. Suppose we want
to calculate (∂E/∂V )T . We start with our usual fundamental relation
dE = T dS − pdV (69)
So we have !
∂p
dS = dV (74)
∂T V
and
dE = T dS − pdV
!
∂p
= T dV − pdV (75)
∂T V
Hence ! !
∂E ∂p
=T −p (76)
∂V T
∂T V
9
Let’s take a moment to consider what this means physically. We know that gas cools
when it expands, and that the pressure rises when it is heated. There must be some
connection between these two phenomena. Microscopically we can think of the kinetic
energy of the gas molecules. Macroscopically, eq. (76) gives the relation. If we hold
the volume fixed and increase the temperature, the pressure rises at a rate (∂p/∂T )V .
Related to that fact is this: if we increase the volume, the gas will cool unless we pour
some heat in to maintain the temperature, and (∂E/∂V )T dV tells us the amount of heat
needed to maintain the temperature. (Notice that for an ideal gas ∂E/∂V = 0.) Equation
(76) expresses the fundamental relation between these two effects. Notice that we didn’t
need to know the microscopic interactions between the gas particles in order to deduce
the relationship between the amount of heat needed to maintain a constant temperature
when the gas expands, and the pressure change when the gas is heated. That’s what
thermodynamics does; it gives us relationships between macroscopic quantities without
having to know about microscopics.
Aside: Notice that !
∂E
p 6= − (77)
∂V T
as one might expect. Rather
! !
∂E ∂p
p=− +T (78)
∂V T
∂T V
However,
dE = T dS − pdV (79)
implies that !
∂E
p=− (80)
∂V S
It matters what is kept constant! Recall from (25) that
∂F
p=− (81)
∂V T
Specific Heats
Consider a homogeneous substance whose volume V is the only relevant external pa-
rameter. We want the relation between the molar specific heat cV at constant volume and
the molar specific heat cp at constant pressure. We found this relation earlier for an ideal
gas (cp = cV + R), but now we want the general relation. This is a useful relation because
theoretical calculations are usually done at constant volume and experimental measure-
ments are done at constant pressure. This is also a nice illustration of the usefulness of
the Maxwell relations and other identities and definitions.
The heat capacity at constant volume is given by
! !
dQ ∂S
CV = =T (82)
dT V
∂T V
10
and the heat capacity at constant pressure is
! !
dQ ∂S
Cp = =T (83)
dT p
∂T p
This is a relation between CV and Cp but it involves derivatives which are not easily
measured. However we can use Maxwell’s relations to write this relation in terms of
quantities that are measurable. In particular (41) is
! !
∂S ∂V
=− (89)
∂p T
∂T p
The change of volume with temperature at constant pressure is related to the “volume
coefficient of expansion” α (sometimes called the coefficient of thermal expansion):
!
1 ∂V
α≡ (90)
V ∂T p
Thus !
∂S
= −V α (91)
∂p T
11
The derivative (∂p/∂T )V is also not easy to measure since measurements at constant
volume are difficult. It is easier to control T and p. So let’s write
! !
∂V ∂V
dV = dT + dp (92)
∂T p
∂p T
z = z(x, y) (95)
and ! !
∂z ∂z
dz = dx + dy (96)
∂x y
∂y x
Thus
∂x (∂z/∂y)x
=− (98)
∂y (∂z/∂x)y
or, since z was kept constant
!
∂x (∂z/∂y)x
=− (99)
∂y z
(∂z/∂x)y
This sort of relation between partial derivatives is used extensively in thermodynamics.
Returning to (94), we note that the numerator is related to the expansion coefficient
α. The denominator measures the change in the volume of the substance with increasing
pressure at constant temperature. The change of the volume will be negative, since the
volume decreases with increasing pressure. We can define the “isothermal compressibil-
ity” of the substance: !
1 ∂V
κ≡− (100)
V ∂p T
12
The compressibility is a measure of how squishy the substance is. Hence (94) becomes
! ∂V
∂p ∂T Vα α
= − ∂V p = − = (101)
∂T V
−V κ κ
∂p T
Hence ! !
1 ∂V 1 νR νR 1
α= = = = (106)
V ∂T p
V p νRT T
Next we calculate the compressibility κ. At constant temperature the equation of state
yields
pdV + V dp = 0 (107)
Hence !
∂V V
=− (108)
∂p T
p
and !
1 V 1
κ=− − = (109)
V p p
Thus (103) becomes
α2 (1/T )2 Vp
Cp − CV = V T =VT = = νR (110)
κ 1/p T
or, per mole,
cp − cV = R (111)
which agrees with our previous result.
Limiting properties of the specific heat as T → 0
13
The third law of thermodynamics asserts that as the temperature approaches abso-
lute zero, the entropy S of a system smoothly approaches some limiting constant So ,
independent of all parameters of the system. This is just a statement that the number
of states at low temperatures is very small. In the case of a nondegenerate ground state,
there is just one state and S(T = 0) = 0. So, in general,
as T → 0, S → So (112)
This implies that the derivative (∂S/∂T ) remains finite as T → 0. In other words, it
does not go to infinity. (Technically speaking, the derivatives appearing in (82) and (83)
remain finite as T goes to 0.) So one can conclude that the heat capacity goes to 0 as
T → 0:
∂S
C=T → 0 as T → 0 (113)
∂T
or more precisely,
as T → 0, CV → 0 and Cp → 0 (114)
The fact that the heat capacity goes to 0 at zero temperature merely reflects the fact
that the system settles into its ground state as T → 0. If we recall that
!
∂E
CV = (115)
∂T V
then reducing the temperature further will not change the energy since the energy has
bottomed out. Notice that we need CV (T ) → 0 as T → 0 in order to guarantee proper
convergence of the integral in
Z T CV (T ′ ) ′
S(T ) − S(0) = dT (116)
0 T′
The entropy difference on the left must be finite, so the integral must also be finite.
14