Beruflich Dokumente
Kultur Dokumente
and
Units
Symbols
in
italic
or
script fonts
are
used
for
physical
quantities
and
in
bold
font
for
vectors
or
matrices.
Roman
font
symbols
are
used
for
labels
and
units
e.g.
A
is
the
Helmholtz
free
energy,
but
A
is
a
label
(e.g.
of
the
left
compartment
in
Fig.
1.1);
W
is
the
amount
of
work,
but
W
is
a
unit
of
power
[1
W
=
1
J/s].
For
the
few
symbols
that
have
multiple
meanings
(e.g.,
a),
the
most
common
one
is
listed
first.
SI
units
for
the
corresponding
physical
quantities
are
given
in
brackets
when
appropriate.
Symbols
Latin
alphabet
A
A
a
B
B
b
C
c
D
d
d
E
F
F
f
f
G
g
g
H
h
h
i,
j
K
k
ii
iii
iv
Abbreviations
FE
QED
rxn
vdW
fundamental
equation
quod
erat
demonstrandum
(Latin
for
which
was
to
be
demonstrated)
reaction
van
der
Waals
Chapter
1.
Introduction
1.1
What
is
Thermodynamics?
The
term
thermodynamics
comes
from
the
Greek
words
o+,
meaning
heat
dynamics
(motion).
Definitions
of
the
term
include:
The
branch
of
physical
science
that
deals
with
the
relations
between
heat
and
other
forms
of
energy
(such
as
mechanical,
electrical
or
chemical
ener-
gy)
and,
by
extension,
the
relationships
and
interconvertibility
of
all
forms
of
energy.
[New
Oxford
American
Dictionary]
The
first
two
definitions
contain
terms
that
require
their
own
definitions
(heat
and
equilibrium,
respectively)
while
the
third
is
extremely
general
but
also
a
bit
less
informative.
It
is
clear
from
these
definitions,
however,
that
thermo-
dynamics
is
a
general
tool
applicable
to
many
types
of
physical
systems.
For
exam-
ple,
while
we
will
not
be
dealing
with
systems
of
this
type
here,
thermodynamic
principles
can
be
used
to
analyze
properties
of
black
holes
in
astrophysics.
The
power
of
thermodynamics
is
that
it
generates
useful
relationships
that
are
both
rigorous
and
widely
applicable,
from
a
small
number
of
postulates
supported
by
experimental
observations.
Strong
justification
for
the
postulates
is
provided
by
using
them
to
make
concrete
predictions,
which
are
then
verified
by
comparisons
against
real-world
data.
In
this
book,
the
focus
is
primarily
on
classical
thermodynamics
of
fluids
and
solids
at
conditions
for
which
external
magnetic,
electrical
and
gravitational
fields
have
negligible
influence
on
the
properties
of
the
systems
of
interest.
Some
refer-
ences
will,
however,
be
made
to
the
microscopic
basis
of
thermodynamic
proper-
ties,
even
though
one
can
obtain
all
the
relations
of
classical
thermodynamics
Material
from
Essential
Thermodynamics,
Drios
Press
(2011),
A.Z.
Panagiotopoulos
Hawking,
S.
W.,
Particle
Creation
by
Black
Holes,
Commun.
math.
Phys.,
43:199-220
(1975).
Chapter 1. Introduction
What
is
the
solubility
of
a
pollutant
in
water
and
in
the
fat
tissue
of
river
fish?
What
is
the
maximum
amount
of
electricity
that
can
be
obtained
from
a
ge-
othermal
reservoir?
Figure
1.1
Experimental
layout
for
measuring
equality
of
thermometric
tem-
peratures
at
equilibrium.
Chapter 1. Introduction
PV = a + b
(1.1)
The
linear
relationship
of
Eq.
1.1
is
only
valid
for
a
limited
range
of
thermometric
temperatures
and
breaks
down
at
low
temperatures
(hence
the
dashed
line
in
the
figure).
Setting
the
values
for
constants
a
and
b
effectively
defines
a
thermometric
temperature
scale;
a
particularly
simple
and
appealing
choice
is
b
=
0,
for
which
the
temperature
scale
becomes
the
thermodynamic
temperature
T.
In
this
case,
a
is
identified
as
the
ideal
gas
constant
and
has
the
value
R
=
8.3145
J/(mol
K).
Eq.
1.1
then
becomes:
PV = RT
(1.2)
(1.3)
Movable
/
Rigid:
If
system
boundaries
are
deformable,
then
the
shape
of
the
system
can
change
and
its
volume
is
not
constant;
in
the
opposite
case
the
vol-
ume
of
the
system
is
fixed.
Adiabatic
/
diathermal:
Experiments
on
systems
similar
to
the
two-compart-
ment
insulated
container
shown
in
Fig.
1.1
have
demonstrated
that
different
materials
and
wall
thicknesses
result
in
substantially
different
rates
of
tem-
perature
equalization
on
the
two
sides
of
the
partition.
An
idealized
limiting
case
is
that
of
a
partition
that
does
not
allow
any
observable
changes
in
tem-
perature
of
the
compartments,
as
long
as
no
other
energy
input
is
provided
to
them.
In
this
limiting
case,
the
boundary
is
characterized
as
adiabatic
(a
tech-
nical
term
meaning
not
allowing
passage).
The
conceptual
opposite
of
an
ad-
iabatic
boundary
is
denoted
as
diathermal
(e.g.,
a
thin
metal
wall).
A
system
surrounded
by
rigid,
impermeable
and
adiabatic
boundaries
is
isolat-
ed.
This
classification
of
boundaries
seems
somewhat
arbitrary.
How
rigid
does
a
boundary
have
to
be
to
qualify
as
such?
Are
the
thin
walls
of
a
soda
can
sufficient-
ly
rigid?
Even
the
apparently
simple
question
of
whether
a
system
is
open
or
closed
cannot
really
be
answered
unless
some
characteristic
time
of
interest
is
first
defined.
To
illustrate
this
point,
consider
the
following
example.
Example
1.1
A
small,
hermetically
sealed
glass
capsule
contains
He
gas
at
a
pressure
of
P
=
2
bar;
the
environment
is
air
at
atmospheric
pressure.
The
capsule
glass
walls
have
a
thickness
of
0.1
cm.
Is
this
system
closed
or
open?
Clearly,
the
initial
reaction
would
be
to
think
of
a
sealed
glass
capsule
as
a
closed
system.
However,
one
may
recall
that
helium
seems
to
be
able
to
escape
from
apparently
sealed
environments,
such
as
the
interior
of
rubber
party
bal-
loons
(which
deflate
after
a
few
hours).
Analysis
of
this
problem
requires
the
cal-
culation
of
a
characteristic
time
for
diffusion
through
the
l
=
0.1
cm
glass
walls.
The
diffusion
coefficient
of
He
through
glass
is
D
=
8109
cm2/s
at
T
=
300
K.
Dimen-
sional
analysis
(which
simply
means
combining
D
and
l
so
that
the
result
has
units
of
time)
gives
t
=
l
2/ D ,
so
that:
l2
0.1 0.1!cm 2
t= =
= 1.2 10 6 !s! !14!d
9
2
D
8
10
!cm
/s
!
What
can
we
conclude
from
this
calculation?
If
the
time
scale
of
interest
is
much
less
than
14
days,
closed-system
thermodynamic
analysis
is
appropriate.
Closed-
system
analysis
predicts
that
the
final
pressure
inside
the
capsule
remains
at
P
=
Chapter 1. Introduction
2
bar;
this
is
in
agreement
with
observations
at
short
times.
However,
if
the
time
scale
of
observation
is
much
greater
than
14
days,
the
system
can
be
analyzed
as
an
open
system
with
respect
to
the
He
gas.
The
final
pressure
depends
on
whether
sufficient
time
is
allowed
for
diffusion
through
the
glass
walls
of
O2
and
N2
from
the
outside.
The
interior
pressure
is
likely
to
drop
to
a
very
low
value
and
then
eventually
recover
(after
many
years
the
diffusion
of
O2
and
N2
is
much
slower
that
that
of
He)
to
match
the
external
pressure
and
composition.
In
general,
correct
thermodynamic
analysis
will
lead
to
agreement
with
exper-
imental
observations
if
the
assumptions
made
when
performing
the
thermody-
namic
analysis
(closed
/
open
system,
diathermal
/
adiabatic,
etc.)
are
consistent
with
the
real
system
and
time
scale
of
interest.
mentioned
in
the
previous
paragraph
that
some
systems
do
not
reach
equilibrium
states
even
after
a
long
time;
a
typical
example
is
common
silicate
glass.
In
a
non-
equilibrium
system,
additional
information,
such
as
the
thermal
history
of
the
ma-
terial,
is
also
necessary
to
characterize
its
state.
/ = Fdx
dW
(2.1)
In
Eq.
2.1,
the
amount
of
work
is
an
inexact
differential
(denoted
by
a
d
with
a
slash
through
it),
meaning
that
the
total
amount
of
work
between
two
specified
posi-
tions
generally
depends
on
the
path,
since
the
force
itself
depends
on
the
path.
The
total
amount
of
work
produced
for
a
finite
displacement
is:
Material
from
Essential
Thermodynamics,
Drios
Press
(2011),
A.Z.
Panagiotopoulos
(2.2)
W = F dx
!
On
the
schematic
diagram
of
Fig.
2.1,
the
force
is
higher
when
the
system
moves
to
the
right
relative
to
when
it
moves
to
the
left.
This
type
of
behavior
is
called
hysteresis
and
occurs
in
sys-
tems
that
have
dissipation
or
friction.
Even
when
well
lubricated,
real
me-
chanical
systems
are
never
completely
free
of
friction;
internal
gradients
of
pressure
or
temperature
also
result
in
Figure
2
.1
F
orce
v
ersus
d
isplacement
f
or
a
hysteretic
behavior.
Figure
2.2
Schematic
illustration
of
Joules
experimental
setup
for
conversion
of
mechanical
energy
into
heat.
The
reverse
experiment,
using
a
fluid
to
produce
mechanical
work,
can
also
be
devised.
Such
work
production
is
accompanied
by
a
lowering
of
the
fluids
temper-
ature.
Consider
a
piston
of
mass
m
confining
a
pure
gas
of
temperature
T0
and
pressure
P0
in
an
insulated
cylinder,
with
vacuum
on
the
other
side
of
the
piston
(Fig.
2.3).
Let
us
assume
also
that
mg
<
P0A,
where
A
is
the
cross-sectional
area,
so
that
the
weight
of
the
piston
does
not
balance
the
pressure
from
the
gas.
A
stop
blocks
the
piston
from
moving.
If
the
stop
is
suddenly
removed,
the
gas
will
ex-
pand;
if
there
is
enough
gas,
the
piston
will
reach
the
top
of
the
tank,
as
shown
in
Fig.
2.3,
right
side.
What
is
the
work
interaction
between
the
piston
and
the
gas?
Clearly,
work
is
done
on
the
piston
by
the
gas.
The
net
amount
of
work
needed
to
lift
the
piston
can
be
found
from
Eq.
2.2,
10
Figure
2.3
Piston
and
cylinder
in
insulated
tank.
W
= F dz = mgh
! on!piston
(2.3)
where
z
is
the
vertical
position.
One
can
also
obtain
the
amount
of
work
performed
on
the
gas
as
it
expands:
W
= PA dz = P dV
! on!gas
(2.4)
The
negative
sign
is
present
here
because
we
use
the
convention
that
work
is
posi-
tive
if
it
is
added
to
a
system
and
negative
if
it
is
produced
by
a
system.
The
pres-
sure
of
the
gas
becomes
lower
as
it
moves
up,
so
that
the
integral
of
Eq.
2.4
re-
quires
some
effort
to
evaluate.
Because
of
imbalance
between
the
force
of
gravity
pulling
the
piston
down
and
the
force
exerted
by
the
gas,
the
piston
will
initially
accelerate
upwards.
However
the
container
wall
eventually
stops
the
piston
and
the
final
equilibrium
state
is
reached
with
the
gas
at
some
Tf
and
Pf .
The
system
can
be
taken
from
the
initial
state
(T0
,
P0)
to
the
same
final
state
(Tf
,
Pf)
in
a
different
way.
Instead
of
letting
the
piston
accelerate
upwards
to
hit
the
top
wall
and
come
to
an
abrupt
stop
there,
a
process
can
be
devised
to
gradually
move
it
up
by
lifting
a
pile
of
sand.
At
the
initial
state
shown
in
Fig.
2.4,
the
weight
of
the
sand
and
piston
just
about
balance
the
pressure
of
the
gas.
By
gradually
re-
11
moving
a
few
grains
at
a
time,
the
piston
can
be
lifted
to
the
top
of
the
container.
In
order
to
ensure
that
the
final
state
is
the
same
as
before,
a
large
constant-volume
reservoir
at
Tf
,
the
final
temperature
of
the
experiment
in
Fig.
2.3,
is
placed
in
con-
tact
with
the
gas
when
the
piston
has
reached
the
top.
Since
thermodynamic
sys-
tems
of
one
chemical
component
are
fully
defined
by
n+2
=
3
variables
at
equilib-
rium,
specifying
the
amount
of
gas,
its
final
volume
and
final
temperature
also
sets
the
final
pressure
to
the
same
value
as
previously.
However,
by
the
time
the
piston
has
reached
the
top
of
the
cylinder,
more
work
has
been
performed
by
the
gas
in
this
case
relative
to
that
of
Fig.
2.3.
In
addition
to
lifting
the
piston,
the
gas
has
lift-
ed
some
sand,
as
shown
in
Fig.
2.4.
Where
did
the
extra
work
for
lifting
the
sand
come
from?
It
must
have
come
from
heat
interactions
with
the
reservoir.
This
and
many
other
similar
experiments
establish
that
a
form
of
energy
is
transferred
when
temperature
differentials
exist
between
parts
of
a
composite
system.
When
this
form
of
energy
is
transferred
into
a
substance,
its
temperature
increases.
We
now
know
that
this
energy
is
stored
as
kinetic
and
potential
energy
of
molecules,
but
at
the
time
of
Joules
experiments
the
molecular
hypothesis
for
the
composition
of
matter
was
not
yet
accepted.
However,
for
classical
thermody-
namics,
the
precise
nature
of
this
energy
is
immaterial:
what
is
important
is
that
it
can
be
obtained
from
macroscopic
mechanical
energy
in
a
precisely
quantifiable
fashion.
12
!E = Q +W
work
and
heat
sign
convention
(2.5)
Figure
2.5
Mass
in
a
gravita-
tional
field.
Potential
energy
is
due
to
the
position
of
a
system
in
a
force
field
for
example,
mass
in
a
gravitational
field
or
charge
in
an
electrostatic
potential.
For
a
mass
m
in
a
gravitational
field
(Fig.
2.5),
the
force
is:
(2.6)
!F = mg
The
work
performed
by
the
gravitational
field
when
the
mass
moves
from
height
z1
to
z2
is:
W = 2 mgdz = mg(z1 z2 )
z1
!
(2.7)
d2x
du
dx
Ekin = Fdx !!!,!!!!where!!F = m 2 = m !!!!!!and!!!!u =
dx = udt
dt
dt
dt
!
u
f
du
1
!!Ekin = m udt = mudu = muf2
dt
2
0
!
(2.8)
13
/ + dW
/
!dU = dQ
(2.9)
In
writing
Eq.
2.9,
we
have
assumed
that
there
are
no
changes
in
kinetic
or
poten-
tial
energy
of
the
system.
Even
though
the
energy
is
a
function
of
thermodynamic
state
(hence
it
has
a
proper
differential
dU),
both
heat
and
work
terms
depend
on
the
path
taken
and
are
thus
represented
by
inexact
differentials.
In
some
cases,
the
distinction
between
internal
and
potential
energy
can
be
somewhat
arbitrary.
For
example,
a
simple
linear
spring
(Fig.
2.6),
exerts
a
force
on
its
environment
that,
for
small
extensions,
follows
the
equation
F
=
k(x
x0),
where
x
is
the
instantaneous
position
of
the
end
of
the
spring
and
x0
is
the
length
at
rest.
The
energy
change,
E,
of
the
spring
is
equal
to
the
work
input
into
the
sys-
tem
when
the
spring
end
moves
from
position
x0
to
x1:
x
x
k
(2.10)
E = W = 1 F dx = 1 k(x x0 )dx E = (x1 x0 )2
x0
x0
2
!
!
This
change
in
energy
can
be
considered
to
be
the
change
in
potential
or
internal
energy
of
the
spring,
depending
on
whether
we
adopt
a
macroscopic
(mechanical)
or
molecular
point
of
view.
First
Law,
closed
systems,
differential
form
14
x0
F dx =
x0
k
k(x x0 )dx = (x x0 )2
2
500
N
W =
(0.2 0.1)2 ! m2 = 2.5!J
2
m
!
The
work
is
negative
because
the
rubber
band
has
produced
work
on
the
envi-
ronment
when
the
end-point
was
moved.
From
a
First
Law
balance,
U = Q +W U = CT = W T =
W 2.5!J
=
C 5!J/K
T = 0.5!K
!
!
The
quickest
way
to
detect
a
temperature
change
for
a
rubber
band
being
released
from
a
stretched
state
is
to
use
your
lips
feel
free
to
try
this
experiment
at
home,
using
appropriate
eye
protection.
The
potential
energy
of
the
rubber
band
was
considered
part
of
its
internal
ener-
gy
U
in
this
example.
This
is
because
the
elastic
response
is
due
to
molecular-level
changes
within
the
rubber
band.
Example
2.2
Work
and
Heat
of
Vaporization
Calculate
the
work
and
heat
requirements
for
the
process
of
vaporization
of
1
mol
of
liquid
water
from
a
closed
container
at
two
temperatures,
T
=
298
K
and
373
K.
Vaporization
for
pure
components
takes
place
at
constant
pressure,
called
the
va-
por
pressure
in
vaporization,
heat
input
is
not
accompanied
by
a
temperature
increase,
only
a
change
of
physical
state.
Properties
of
water
and
other
substances
can
be
obtained
from
the
NIST
Chemistry
WebBook,
as
explained
in
Appendix
I.
The
environment
is
at
atmospheric
pressure,
Patm
=
101
kPa.
Transformation
of
liquid
into
vapor
is
accompanied
by
a
large
volume
change,
so
the
closed
container
needs
to
have
flexible
walls
or
be
equipped
with
a
movable
piston
to
allow
for
expansion,
as
shown
in
Fig.
2.7.
The
vapor
pressure,
liquid
and
vapor
energies,
and
volumes
at
298
K
are
obtained
from
the
NIST
WebBook
as:
P VP = 3.1417!kPa!
U L = 1.8772!kJ/mol;!!!U V = 43.397!kJ/mol
V = 0.0181!l/mol;!!V V = 787.36!l/mol
! L
An
issue
to
be
considered
in
this
problem
is
the
work
to
push
back
the
atmos-
phere.
Clearly,
the
piston
experiences
a
different
pressure
on
the
left,
!P VP ,
than
on
15
F = (Patm P VP )A ,
!
where
A
is
the
area
of
the
piston.
The
force
is
constant
as
the
liquid
vaporizes
because
the
pressures
on
the
two
sides
of
the
piston
do
not
change.
The
net
work
required
to
move
the
piston
from
the
initial
to
the
final
volume
is
Wtotal = Fx = (Patm P VP )A x =
(Patm P VP )V =
= (101 3.14)103 Pa
Figure
2.7
Vaporization
in
a
closed
container
(volumes
a re
not
drawn
to
scale).
However,
this
work
is
not
equal
to
the
work
performed
on
the
system
most
of
it
is
performed
on
the
atmosphere.
The
work
performed
on
the
system
is
At
the
normal
boiling
point
(T
=
373
K),
the
total
work
required
Wtotal
=
0,
as
the
pressures
on
the
two
sides
of
the
piston
are
equal.
The
heat
required
is:
Q = U +Wsys = U + P VP V =
= (45.14 7.54)!+101(30.27 0.02)103 kJ/mol =
16
drogen
bonds
in
the
case
of
water.
As
seen
in
this
example,
the
internal
energy
change
is
an
order
of
magnitude
greater
than
the
P VPV
term.
u2
!!!!!!!Rate!of!energy
d
U + m + gz =
dt
2
net!input!to!the!system
(2.11)
ui2
Emass!flow = m i U i + + gzi
2
i=1
!
(2.12)
!
The
energy
net
input
to
the
system
contains
heat
and
work
terms,
as
well
as
flow
terms.
Work
and
heat
flows
are
represented
by
arrows
in
Fig.
2.8.
The
rate
of
work
input
into
the
system
is
denoted
by
W
;
this
work
input
could
be
in
the
form
of
elec-
trical
energy,
or
mechanical
work
through
the
action
of
pumps,
compressors,
or
pistons.
The
rate
of
heat
input
into
the
system
is
denoted
by
Q
.
The
rate
of
energy
input
due
to
the
streams
flowing
in
and
out
of
the
system,
assuming
that
the
quan-
tities
m
i
are
algebraic
mass
flow
rates
(positive
for
input
streams
and
negative
for
output),
is:
Ui
is
the
specific
energy
(on
a
mass
basis)
of
stream
i.
However,
there
is
one
addi-
tional
energy
input
that
is
not
as
obvious.
It
has
to
do
with
the
work
required
to
17
E
= Pin Vin PoutVout = Pin V!in min Pout V!out mout
! PV !work
in Pout V!out m
out
E
= PinV!in m
! PV !work
(2.13)
u2
U
+
m
+ gz = Q + W + Emass!flow + E PV !work
dt
2
u2
i U i + Pi V i + i + gzi
= Q + W + m
2
i=1
(2.14)
!
The
combination
U
+
PV
is
defined
as
a
new
thermodynamic
function
called
the
enthalpy
H.
In
Chapter
5,
we
will
show
that
the
enthalpy
is
also
a
fundamental
equation
with
the
same
information
content
as
the
energy
U.
At
the
moment,
however,
we
consider
this
as
just
a
convenient
way
to
write
the
energy
balance
equation
for
an
open
system.
The
final
result
is:
u2
ui2
d
i H i + + gzi
U + m + gz = Q + W + m
dt
2
2
i=1
(2.15)
18
Often,
the
kinetic
and
potential
energy
terms
are
small;
if
these
terms
can
be
ignored,
the
open-system
energy
balance
becomes
(now
written
on
a
molar
basis):
First
Law,
dU
open
systems,
= Q + W + H in N in H out N out
(2.16)
dt
diff.
form,
entering
leaving
streams
streams
!
no
kinetic
or
potential
en-
In
Eq.
2.16,
we
have
split
the
sum
over
all
input
and
output
streams
into
two
ergy
changes
terms,
the
first
a
summation
over
entering
streams,
N in ,
and
the
second
over
leav-
!
ing
streams,
N out ,
with
all
flows
taken
as
positive.
Another
useful
way
to
write
Eq.
!
2.16
is
by
multiplying
all
terms
by
dt
to
obtain:
/ + dW
/ +
dU = dQ
entering!
streams
H in dN in
leaving!
streams
H out dN out
(2.17)
!
For
steady-state
operation,
the
left-hand
side
of
Eqs.
2.16
or
2.17
(the
change
of
energy
for
the
contents
of
the
open
system
of
interest)
is
zero.
A
further
simpli-
fication
can
be
obtained
for
the
very
special
case
of
an
open
system
at
steady
state,
which
has
only
a
single
stream
of
flow
rate
N
entering
and
leaving.
For
this
highly
restrictive
case,
the
First
Law
balance
takes
a
particularly
simple
form,
which
may
be
familiar
to
you
from
Materials
and
Energy
Balances
or
other
introductory
courses:
Q + W
N H out H in = NH
= Q + W H =
(2.18)
N
!
If
the
properties
of
entering
and
leaving
streams
do
not
vary
over
the
time
pe-
riod
of
interest,
Eq.
2.16
can
be
integrated
to
give
the
analog
of
Eq.
2.5:
First
Law,
open
systems,
integral
form,
no
kinetic
or
potential
en-
ergy
changes
U = Q +W +
entering
streams
Nin H in
leaving
streams
Nout H out
(2.19)
As
previously,
for
a
steady-state
process,
the
change
in
the
contents
of
an
open
sys-
tem
is
zero,
so
the
left-hand
side
of
Eq.
2.19
vanishes.
It
is
important
here
to
discuss
the
various
forms
of
the
open-system
First
Law
balance
that
have
just
been
presented.
For
example,
Eqs.
2.18
and
2.19
may
at
first
appear
to
be
quite
confusing,
given
that
2.18
has
a
change
of
enthalpy
on
the
left-
hand
side,
while
2.19
has
a
change
of
energy.
However,
the
change
of
enthalpy
in
Eq.
2.18
is
of
the
material
flowing
through
the
open
system,
while
the
change
of
energy
of
Eq.
2.19
is
of
the
open
system
itself.
Eq.
2.18
relies
on
several
assump-
tions
(steady
state,
single
input-output),
while
2.19
is
more
general,
assuming
only
constant
properties
of
the
entering
and
leaving
streams
over
the
period
of
interest.
Of
course,
the
most
general
form
of
the
First
Law
balance
for
open
systems
is
Eq.
19
2.15,
which
does
not
require
any
assumptions
this
also
makes
it
the
most
diffi-
cult
expression
to
use
in
practice.
Example
2.3
Vaporization
in
an
open
system
Repeat
the
calculations
of
Example
2.2,
now
considering
a
steady-state
flow
pro-
cess
producing
1
mol/s
of
steam
from
liquid
water
at
its
vapor
pressure.
Let
us
consider
a
flow
process
(Fig.
2.10)
with
input
and
output
streams
at
the
conditions
of
Example
2.2.
Since
input
and
output
streams
are
at
the
same
pressure,
no
pumping
is
required
to
operate
this
process
and
the
work
input
is
zero.
A
steady-state
differ-
ential
First
Law
balance
gives:
dU
V
= Q + W + NH L NH
dt
Q = N H V H L
!
Figure
2.10
Vaporization
in
an
open
system.
mol
kJ
kJ
45.87 1.88
= 43.99 !!at!298!K!!
s
mol
s
mol
kJ
kJ
Q =1
48.20 7.54
= 40.66 !!at!373!K
s
mol
s
!
Q =1
The
amounts
of
heat
required
for
the
open-system
process
are
equal
(within
nu-
merical
precision)
to
the
corresponding
quantities
for
the
closed-system
process
of
Example
2.2;
there
is
no
real
difference
between
the
two
processes
other
than
accounting
for
the
P VPV
term.
When
considering
a
closed-system
process,
this
term
appears
as
work
explicitly
produced
by
the
expanding
system.
In
an
open
system,
this
work
is
contained
in
the
enthalpy
of
the
flowing
exit
stream.
Example
2.4
Thermodynamic
Analysis
of
the
Human
Heart
A
simplified
schematic
diagram
of
the
human
heart
is
shown
in
Fig.
2.11.
Blood
from
the
body
enters
the
heart
in
point
A,
at
pressure
PA
=
0.66
kPa
above
atmos-
pheric.
The
pressure
difference
from
the
ambient
pressure
is
defined
as
gauge
Inspired
by
problem
13.10
in
Levenspiel,
O.,
Understanding
Engineering
Thermo,
Prentice-
Hall (1996).
20
pressure.
Blood
exits
the
right
ventricle
in
point
B
on
its
way
to
the
lungs,
at
gauge
pressure
PB
=
2.9
kPa.
Oxygenated
blood
returns
from
the
lungs
in
point
C
at
gauge
pressure
PC
=
1.0
kPa
and
is
in
turn
returned
to
the
circulatory
system
through
ar-
tery
D
at
gauge
pressure
PD
=
13
kPa.
The
normal
blood
flow
rate
(at
rest)
is
3
!V = 90!cm /s .
The
diameters
of
the
veins
and
arteries
are
dA
=
3.0
cm,
dB
=
2.5
cm,
dC
=
2.8
cm
and
dD
=
2.0
cm.
Calculate
the
minimum
power
required
for
operation
of
the
heart,
assuming
no
heat
effects
(!Q = 0 )
and
a
constant
density
of
blood,
=
1
g/cm3.
Since
it
is
not
clear
that
we
can
neglect
kinetic
energy
terms,
we
start
with
a
full
First
Law
bal-
ance
(Eq.
2.15).
At
steady
state,
the
time
differ-
ential
on
the
left-hand
side
of
Eq.
2.15
is
zero.
We
also
do
not
have
significant
potential
energy
changes,
as
the
arteries
and
veins
all
enter
the
heart
at
roughly
the
same
height,
so
gravitation-
al
energy
changes
can
be
neglected.
4
u2
0 = Q + W + m i U i + Pi V i + i + gzi
2
i=1
(i)
Figure
2.11
Schematic
diagram
of
circulation
in
the
human
heart.
m
iUi = 0
!i=1
We
can
obtain
the
velocities
from
the
relationship:
2
D
V = uA = u
4
!
u=
4V
2
; uA =
490!cm3 /s!
2
3.14! !3.0 cm
= 12.7
cm
m
= 0.127
s
s
m
m
m
Similarly,
we
get
uB = 0.183! , uC = 0.146!
and
uD = 0.286! .
s !
s
s
!
!
= V = V /V ,
we
obtain:
Now
substituting
in
Eq.
(i),
and
using
!m
4
u2
u2 u2 + u2 u2
i Pi V i + i = V PA PB + PC PD m
A B C D
W = m
2
2
i=1
21
cm3
m3
W = 90
106
0.66 2.9+1.013 103 Pa
s
cm3
2
2
2
2
kg 0.127 0.183 + 0.146 0.286 m2
J
0.09
W = (+1.282+ 0.004) = 1.286!W
2
s
2
s
s
!
Most
of
the
work
is
needed
for
increasing
the
pressure
(PV
term);
the
change
in
kinetic
energy
of
the
blood
is
negligible.
The
overall
efficiency
of
mammalian
hearts
is
about
15%,
so
the
actual
power
requirement
is
around
9
W
this
is
the
chemical
energy
that
needs
to
be
provided
in
the
form
of
ATP
to
the
muscle
tissue
driving
the
heart.
The
energy
requirement
per
day
is
9
W86400
s/d
800
kJ/d
190
kcal/d.
IG
!U = NU (T )
(2.21)
IG
Here,
we
have
written
!U (T )
to
emphasize
that
the
molar
energy
in
the
ideal
gas
state
is
a
function
of
temperature.
The
internal
energy
of
ideal
gases
contains
contributions
from
kinetic
energy
of
translation
of
the
molecules
in
space,
as
well
as
rotational
and
vibrational
mo-
tions.
It
is
a
function
of
temperature
because
molecules
travel
faster
and
rotational
and
vibrational
motions
store
more
energy
at
higher
temperatures.
22
Now
let
us
consider
heating
an
ideal
gas
in
a
container
with
rigid
walls
(so
that
no
work
is
performed,
d/W
=
0 ).
Assuming
that
we
can
neglect
the
walls
heat
capac-
ity,
we
can
write
from
a
differential
First
Law
balance
on
this
closed
system:
/ = NCVIGdT
dU IG = dQ
!
We
have
defined
a
new
quantity,
the
heat
capacity
at
constant
volume:
(2.22)
IG
dU
(2.23)
C
dT
!
The
heat
capacity
of
ideal
gases
can
be
measured
experimentally
quite
accu-
rately
for
relatively
simple
systems
it
can
also
be
predicted
theoretically
to
a
high
level
of
accuracy.
For
example,
for
simple
monoatomic
gases
(e.g.
He
or
Ar)
the
heat
capacity
at
constant
volume
is
IG
V
C IG = 3R /2!!(monoatomic!gases)
! V
(2.24)
U
CV
(2.25)
T V
!
Constant
volume
properties
are
sometimes
called
isochoric.
Heat
capacities
of
real
systems
can
be
measured
directly
and
can
also
be
determined
indirectly
from
the
ideal-gas
values
and
the
volumetric
properties.
Now
let
us
consider
the
case
of
heating
an
ideal
gas,
but
at
constant
pressure
rather
than
constant
volume.
A
differential
First
Law
balance
on
a
container
fitted
with
a
piston
to
maintain
constant
pressure
gives:
/ + dW
/ = dQ
/ PdV
!dU = dQ
23
We
have
used
Eq.
2.2
to
obtain
d/W,
with
the
force
F
=
PA,
so
that
Fdx
=
PdV.
Since
pressure
is
constant,
we
can
rearrange
this
expression
to
obtain:
!U = Q PV Q = (U + PV ) = H [constant-P]
(2.26)
C PIG
dH
d IG
d IG
=
U + PV =
U + RT = CVIG + R
dT
dT
dT
(2.27)
!
As
seen
in
Eq.
2.27,
for
ideal
gases,
the
relationship
between
the
heat
capacities
at
constant
pressure
and
constant
volume
is
particularly
simple.
The
heat
capacity
at
constant
pressure
for
ideal
gases
is
a
function
of
temperature
only
(not
density
or
pressure),
just
as
was
the
case
for
the
heat
capacity
at
constant
volume,
C IG
V .
In
the
general
case,
for
systems
that
cannot
be
described
as
ideal
gases,
the
heat
ca-
pacity
at
constant
pressure
is
again
defined
as
the
temperature
derivative
of
en-
thalpy:
H
1 H
(2.28)
CP =
=
N T N ,P T P
!
In
general,
the
heat
capacity
at
constant
pressure
is
greater
than
the
heat
ca-
pacity
at
constant
volume,
but
the
relationship
between
the
two
is
a
non-trivial
function
of
the
volumetric
properties
of
the
system.
Adiabatic
expansion
of
ideal
gases
follows
simple
expressions
that
are
useful
for
analysis
of
many
physical
systems.
The
derivations
below
are
valid
only
for
ideal
gases.
The
differential
change
of
energy,
assuming
uniform
pressure
P
during
the
expansion
and
no
change
in
kinetic
or
potential
energy
is:
/ + dW
/ = PdV
dU = dQ
!
The
change
in
energy
can
also
be
obtained
from
Eq.
2.22
(with
N
constant):
RT
dU = PdV NCVIGdT = NPdV = NPd
!
RT
CVIGdT = PdV = RdT +
dP
P
!
(2.29)
The
relationships
of
Eq.
2.29
can
be
integrated
in
three
different
ways,
depending
on
the
selection
of
independent
variables.
In
particular,
eliminating
pressure
from
the
first
equation
and
integrating
from
initial
conditions
(labeled
0)
to
a
final
state
(unlabeled)
we
obtain:
24
RT
dT
dV
CVIGdT = PdV CVIGdT =
dV CVIG
= R
V
T
V
!
V
T V CVIG V
=
= =
(2.30)
T0 V 0
V0
V0
!
In
writing
the
last
equality
in
Eq.
2.30,
we
have
taken
into
account
the
fact
that
the
number
of
moles
N
is
constant
in
this
process,
so
that
ratios
of
specific
and
total
volumes
are
the
same.
We
have
also
defined
the
ratio
of
the
heat
capacities
as
= C P /CV .
Eliminating
volume
from
Eq.
2.29
and
integrating
we
obtain:
!
RT
dT
dP
dT
dP
CVIGdT = RdT +
dP (CVIG + R)
=R
C PIG
=R
P
T
P
T
P
!
R
IG
T P CP P
= =
T0 P0
P0
!
(2.31)
PdV = C dT =
IG
V
CVIG
VdP =
! R
CVIG
R
IG
CV + R
R
P V
=
P0 V 0
d(PV ) =
CVIG
R
(PdV +VdP)
dP
dV
PdV C
= C PIG
P
V
IG
V
V
=
V0
PV = const.
(2.32)
Once
again,
N
is
constant
in
this
process,
so
that
ratios
of
specific
and
total
volumes
are
the
same.
The
amount
of
work
performed
on
an
ideal
gas
during
adiabatic
compression
can
be
obtained
from
an
integral
First
Law
balance,
if
the
heat
capaci-
ty
is
independent
of
temperature:
U = Q +W W = NCVIG T
!
(2.33)
25
Figure
2.12.
Vessel
being
filled
(i)
Note
that
dU
and
N
refer
to
the
vessel
and
are
changing
as
it
is
being
filled,
while
Hin
and
dNin refer
to
the
incoming
stream,
which
has
constant
properties.
For
this
particular
example,
dN
= dNin
because
there
is
only
one
input
stream
and
any
change
in
the
contents
of
the
vessel
comes
from
that
stream;
this
is
not
generally
the
case.
Since
the
heat
capacity
CP
is
independent
of
temperature
(and
thus
also
is
CV
=
CP
R),
we
can
express
the
enthalpy
and
energy
at
any
temperature
T
in
terms
of
reference
values
H0
and
U0
at
temperature
T0:
T
A
convenient
choice
for
First
Law
balances
involving
ideal
gases
is
to
set
T0
=
0 and
U0
=
0,
which
results
in
U(T)
=
CVT
and
H(T)
=
CPT.
Even
though
such
a
choice
is
nev-
er
made
in
thermodynamic
tables
of
real
fluids
because
the
absolute
zero
in
tem-
perature
cannot
be
reached,
any
observable
quantities
(such
as
the
temperature
of
the
vessel
in
this
example)
are
independent
of
this
choice
of
reference
states.
Substituting
U
and
H
into
expression
(i)
above
and
using
=
CP/CV
,
we
obtain:
T
N
T T
dN
dT
= f
ln f = ln in f
Ti T T
N
Ni
Tin Ti
in
N
Tf = Tin i (Tin Ti )
Nf
!
26
m
U = Q +W = mgh = 40!kg! !9.81! ! !0.20!m!= 78.48!J
s2
!
27
so that
kJ
! !0.078!kJ!=!344.95!kJ
Uf = U0 + U = ! 17.914!mol! !19.260!
mol
U
344.95!kJ
kJ
= 19.256
The
final
molar
energy
is:
U f = f =
N 17.914!mol
mol
!
The
final
density
is
half
the
initial,
f
=
0.5895.71
mol/m3
=
447.86
mol/m3.
From
the
known
internal
energy
and
density,
an
isochoric
query
of
the
NIST
tables,
with
some
trial-and-error
to
find
an
appropriate
temperature
range,
gives:
U = NCVIG T Tf = T0
Tf = 300
mgh
NCVIG
= T0
RT0mgh0
PoAh0CVIG
= T0
RT0mg
PoACVIG
= 299.83!K!!
V T
1 299.83
Pf = P0 0 f = 2!MPa
= 0.9994!MPa
Vf T0
2 300
!
The
error
under
the
assumption
of
ideal
gases
is
about
10
K
relative
to
the
more
accurate
calculation
given
earlier.
The
final
pressure,
on
the
other
hand,
is
within
2%
of
the
value
obtained
from
accurate
volumetric
data.
28
Figure
2.14.
Schematic
for
Example
2.7
29
dU
1 NH
2 H2 = H1
= 0 = Q + W + NH
! dt
where
N
is
the
flow
rate
of
CO2 .
The
enthalpy
for
P1 =
150
bar,
T1 =
20
C
can
be
found
from
the
NIST
chemistry
WebBook,
using
either
isothermal
or
isobaric
table
lookup
we
obtain
H1
=
10.926
kJ/mol
.
Now
we
need
to
find
the
temperature
for
which
H2
=
10.926
kJ/mol
at
P2
=
20
bar.
This
calls
for
an
isobaric
property
calculation.
This
enthalpy
is
found
to
corre-
spond
to
a
mixture
of
saturated
liquid
and
gas
at:
T2
=
19.5
C
This
is
a
temperature
at
which
hydrates
can
indeed
form.
(b)
The
enthalpy
at
T2 =
10
C,
P2 =
20
bar
is
obtained
as
H2 =
20.722
kJ/mol.
An
isobaric
calculation
at
P1 =
150
bar
gives
the
desired
initial
temperature
to
match
this
specific
enthalpy
as:
T1
=
104.4
C
(c)
The
updated
steady-state,
open
system
balance
on
the
pipeline
now
reads:
dU
1 H 2 ) Q = H 2 H 1
= 0 = Q + W + N(H
N
! dt
Q
= !(!20.722 !10.926)!kJ/mol!=!+!9.796!kJ/mol
(heating
required)
!N
Example
2.8
Air
rifle
A
compressed-air
rifle
operates
as
follows.
The
air
chamber
of
volume
V0
=
10
cm3
initially
contains
air
at
P0
=
3
bar
(absolute)
and
0
=
25
C.
Releasing
the
trigger
ac-
celerates
a
projectile
of
mass
m
=
2
g
through
the
horizontal
barrel
of
cross
section
A
=
0.3
cm2
and
length
l
=
50
cm.
(a)
Calculate
the
velocity
of
the
projectile
as
it
exits
the
barrel.
(b)
After
exiting
the
barrel,
the
projectile
hits
a
wall
and
stops.
Calculate
its
tem-
perature
after
the
impact.
Air
can
be
considered
an
ideal
gas
with
CV
=
20.8
J/(mol
K).
The
projectile
has
heat
capacity
CV
=
0.126
J/(g
K).
The
atmosphere
is
at
Patm
=
1
bar.
30
Referring
to
Fig.
2.15,
the
initial
volume
of
the
compressed
gas
is
V0
=
10
cm3;
the
final
volume
just
before
the
projectile
has
exited
the
barrel
is
Vf = (10 + 0.3 50)!cm 3 = 25!cm 3 .
!
(a)
We
will
assume
that
there
is
no
heat
transfer
to
or
from
the
gas
as
it
expands
(adiabatic
system)
and
that
there
is
no
friction
with
the
walls
of
the
barrel.
We
can
obtain
the
final
temperature
from
the
relationship
between
temperature
and
volume
for
adiabatic
expansion
of
an
ideal
gas,
Eq.
2.30:
Tf V
f
=
T V
0
! 0
R
CV
25
Tf = 298!K!
10
8.314
20.8
= !206.6!K
The
work
performed
by
the
gas
can
be
obtained
from
a
First
Law
balance
between
initial
and
final
states,
U = Q +W W = U = NCV T =
P0V0
RT0
CV T
3105 !Pa!! !10106 !m3
J
!20.8!
(206.6 298)!K!=! 2.30!J
J
mol!K
8.314!
!298!K
mol!K
!
This
work
is
negative
because
it
was
produced
by
the
gas
on
the
environment.
The
energy
goes
into
increasing
the
kinetic
energy
of
the
projectile
and
in
pushing
back
the
atmosphere
to
understand
why
this
term
should
be
taken
into
account,
consider
a
firing
of
the
rifle
in
space;
the
net
force
on
the
projectile
would
have
been
greater
in
this
case,
thus
resulting
in
greater
final
velocity
of
the
projectile.
On
earth,
a
First
Law
balance
for
the
system
projectile
+
atmosphere
gives:
Figure
2.15.
Schematic
for
Example
2.8
31
2!(W + Patm V )
1
E = Q +W = mu2 Patm V u =
2
m
=
!
For
the
system
projectile
+
atmosphere,
W
=
+
2.30
J,
as
this
represents
work
input.
(b)
We
will
assume
here
that
all
the
kinetic
energy
of
the
projectile
is
turned
into
heat
when
the
projectile
hits
the
wall.
Then
1
0.002!kg! !28.32 !m 2 /s 2
U = mCV T = mu2 T =
= 3.18!K
2
2
2!g!
0.126!J/(g!K)
!
Example
2.9
Turbine
power
generation
A
turbine
is
used
to
generate
power
from
low-pressure
steam
obtained
from
a
so-
lar
collector
at
in
=
200
C
and
Pin
=
3
bar
at
a
rate
of
0.12
kg/s.
The
outlet
of
the
turbine
is
saturated
vapor
at
out
=
140
C.
If
the
heat
losses
of
the
turbine
are
3
kW,
obtain
the
power
(in
kW)
that
the
turbine
generates.
Steady-state,
First
Law
balance
on
the
turbine
gives
dU
kg
kJ
W = +3!kW + 0.12 (2733.4! !2865.9) = !12.9!kW
s
kg
!
Final state
The
last
two
of
these
examples
(sugar
dissolving
in
water,
but
oil
separating
from
water)
illustrate
that
it
is
not
always
obvious
which
direction
(mixing
or
de-
mixing)
corresponds
to
spontaneous
change.
However,
once
the
spontaneous
change
direction
has
been
established,
it
is
impossible
to
convert
a
system
in
the
final
state
column
back
to
the
initial
state
without
the
action
of
an
external
agent.
For
example,
sugar
crystals
will
not
precipitate
out
of
solution
unless
the
water
is
evaporated.
Material
from
Essential
Thermodynamics,
Drios
Press
(2011),
A.Z.
Panagiotopoulos
36
3.1 Reversibility
37
3.1
Reversibility
Clearly,
all
processes
observed
naturally
are
spontaneous
and
thus
irreversi-
ble.
Spontaneous
changes
define
the
direction
of
the
arrow
of
time
and
are
rigor-
ously
analyzed
through
the
Second
Law
of
thermodynamics,
which
is
formally
in-
troduced
in
3.2.
By
eliminating
friction
and
all
gradients
of
temperature
or
pres-
sure,
and
by
performing
changes
at
an
infinitesimally
slow
rate,
one
can
approxi-
mate
an
idealized
reversible
process.
A
process
in
a
system
going
from
an
initial
to
a
final
state
is
formally
defined
as
reversible
if
the
system
can
be
brought
back
to
its
initial
state
from
the
final
state
with
no
change
to
any
part
of
the
universe.
Re-
versibility
is
an
idealized
abstraction
that
can
be
approximated
in
real
processes,
if
care
is
taken
to
avoid
friction,
internal
or
external
gradients
of
temperature,
pres-
sure,
or
composition,
as
well
as
any
conversion
of
mechanical
work
into
heat.
In
reversible
processes,
forces
across
any
boundary
exact-
ly
balance
at
all
times.
Pro-
cesses
take
an
infinitely
long
time
to
complete,
be-
cause
rates
of
heat
transfer,
macroscopic
flow
of
mate-
rial,
and
component
diffu-
sion
are,
respectively,
pro-
Figure
3.1
Rupture
of
a
partition
in
an
insulated
con-
portional
to
gradients
of
tainer.
temperature,
pressure,
and
chemical
potentials
(the
latter
defined
in
Chapter
5).
Consider
the
process
schematically
illustrated
in
Fig.
3.1.
A
thin
wall
separates
two
sides
of
an
insulated
container
in
the
initial
state
(A);
the
left-hand
side
con-
tains
a
gas
and
the
right-hand
side
is
evacuated.
The
wall
is
removed
and
the
gas
expands
to
fill
all
available
space.
After
some
time,
the
gas
reaches
a
new
equilibri-
um
state,
(B).
A
First
Law
balance
on
the
total
contents
of
the
container
gives
U
=
Q
/
+
W
/
=
0.
If
the
gas
is
ideal,
its
energy
depends
only
on
the
temperature,
and
T
=
0,
but
this
is
not
an
essential
characteristic
of
the
process;
for
real
gases,
the
tem-
perature
of
state
B
can
be
lower
or
higher
than
that
of
state
A.
We
can
return
the
gas
to
its
original
state
A
by
using
a
piston
to
compress
it
back
to
the
original
volume,
as
shown
in
Fig.
3.2.
For
this
reverse
process,
the
change
of
en-
Figure
3.2
Reversing
the
effect
of
expansion.
ergy
of
the
gas
is
the
same
38
as
previously,
U
=
0
=
Q
+
W
Q
=
W
;
since
we
clearly
need
to
provide
work
to
compress
the
gas,
the
re-
verse
process
is
only
pos-
sible
if
we
remove
heat
from
the
system.
If
some-
how
we
could
convert
all
Figure
3.3
Reversible
expansion.
of
the
heat
removed
into
work,
then
the
overall
pro-
cess
has
no
net
effect
on
the
environment
and
would
have
been
reversible
accord-
ing
to
the
definition
above.
However,
countless
experiments
have
shown
that
complete
conversion
of
heat
into
work
is
impossible;
we
thus
conclude
that
the
original
process
!A B
was
indeed
irreversible.
We
now
consider
a
different
process
(Fig.
3.3)
starting
from
the
same
initial
state
A
as
previously,
with
final
state
C
of
the
same
volume
as
B.
However,
we
now
perform
an
adiabatic
process
(!Q = 0 ),
using
a
well-lubricated,
frictionless
piston
to
obtain
work
from
the
expanding
gas.
The
amount
of
work
produced
by
the
gas
can
be
calculated
from:
V
WAC = C P dV
VA
!
Gases
generally
cool
as
they
expand
adiabatically,
so
that
the
final
tempera-
ture
will
be
TC
<
TA.
For
the
reverse
process
of
adiabatic
compression,
we
need
to
input
work,
which
in
the
absence
of
friction
will
be
equal
in
magnitude
and
oppo-
site
in
sign,
WCA
=
WA C.
Thus,
there
is
no
overall
net
effect
of
the
process
ACA
on
either
system
or
its
environment.
This
process
is
reversible.
This,
however,
is
not
true
for
all
substances.
3.1 Reversibility
39
The
Second
Law
can
be
stated
in
a
variety
of
equivalent
ways;
in
the
following,
we
use
a
traditional
approach
that
expresses
it
in
terms
of
heat
fluxes
around
heat
engines.
Heat
engines
are
devices
that
exchange
heat
and
work
with
their
envi-
ronment
in
processes
that
leave
no
net
effects
on
the
engines.
An
internal
combus-
tion
engine
undergoing
a
full
cycle
of
compression-ignition-expansion
is
a
classic
example
of
such
a
device.
However,
living
cells,
photovoltaic
arrays,
and
distilla-
tion
columns
can
also
be
considered
as
heat
engines,
provided
that
no
net
changes
accumulate
within
the
devices
over
the
period
of
interest.
Analysis
of
heat
engines
becomes
particularly
simple
if
they
exchange
heat
with
heat
reservoirs
large
enough
so
that
their
temperature
can
be
considered
con-
stant,
irrespective
of
the
amount
of
heat
exchanged
with
the
engines.
In
essence,
this
implies
that
the
amount
of
energy
exchanged
is
small
relative
to
the
total
heat
capacity
of
the
reservoirs.
Practical
approximations
of
heat
reservoirs
include
the
atmosphere,
rivers,
or
the
sea,
when
considered
over
short
enough
periods
of
time
so
that
their
temperature
does
not
vary
significantly.
Electrical
power
plants
are
usually
built
near
large
bodies
of
water
precisely
so
that
they
can
use
them
as
heat
reservoirs.
We
will
assume
that
heat
reservoirs
do
not
perform,
or
require,
any
work
in
the
process
of
interest.
The
Kelvin-Planck
postulate
(statement
of
the
Second
Law)
is
that:
It
is
not
possible
for
a
heat
engine
that
interacts
with
a
single
heat
reservoir
to
convert
all
the
heat
transferred
from
the
reservoir
into
work.
In
other
words,
heat
cannot
be
completely
converted
into
work.
However,
the
re-
verse
of
this
process,
converting
work
entirely
into
heat,
is
perfectly
possible.
Fig.
3.4
depicts
a
process
that
is
impossible
according
to
the
Kelvin-Planck
statement
of
the
Second
Law,
assum-
ing
that
the
signs
of
the
flows
of
heat
Q
and
work
W
are
as
indicated
by
the
arrows.
If
|Q|
=
|W|,
such
a
device
does
not
violate
the
First
Law,
as
a
trivial
balance
around
the
en-
gine
demonstrates.
No
such
device
has
ever
been
con- Figure
3.4
An
impossible
process.
structed,
despite
efforts
by
many
people
since
the
dawn
of
technological
civilization.
The
practical
value
of
being
able
to
extract
useful
en-
ergy
in
the
form
of
electricity
or
mechanical
work
by
cooling
the
sea
or
the
atmos-
phere
would
be
enormous;
fossil
fuel
use
could
then
be
reduced
to
zero
and
a
prac-
tically
inexhaustible
supply
of
energy
would
become
available
to
humanity.
Na-
ture,
however,
does
not
permit
such
a
device
ever
to
function.
Even
in
microscopic
systems,
where
spontaneous
fluctuations
occur
that
seem
to
result
in
mechanical
work
being
produced
at
the
expense
of
the
thermal
energy
of
a
reservoir
(e.g.
Brownian
motion
of
small
particles),
the
Second
Law
is
found
to
hold
when
the
av-
erage
behavior
of
a
system
is
determined
over
long
times.
Devices
that
violate
the
Kelvin-Planck
statement
of
the
Second
Law
40
First
or
Second
Laws
which
thus
can
never
be
constructed
are
called
perpetual
motion
machines
of
the
first
or
second
kind,
respectively.
Q = QCB
! CA
This
is
the
case
since
we
can
always
adjust
the
size
of
the
heat
engine,
or
how
many
engine
cycles
are
performed
per
unit
of
time.
First
Law
balance
around
the
system
composed
of
the
engines
A+B
then
gives
the
net
work
input
as:
The
net
heat
input
is:
W = WB WA
!
41
Q = QHA QHB = W
!
If
W
<
0,
then
Net
work
is
being
produced
by
the
two
engines
by
removing
heat
from
the
hot
res-
ervoir.
This
is
equivalent
to
a
perpetual
motion
machine
of
the
second
kind,
violat-
ing
the
Kelvin-Plank
postulate,
so
it
is
an
impossibility.
Therefore,
we
must
have:
W 0 Q 0 QHA QHB
!
for
any
two
heat
engines
operating
between
two
specific
temperatures
H
and
C
.
The
arguments
of
the
previous
paragraph
also
apply
to
the
special
case
of
re-
versible
heat
engines,
known
as
Carnot
engines.
For
reversible
engines
we
can
simply
switch
the
role
of
A
and
B
at
will,
which
gives:
rev
rev
rev
rev
QHA
QHB
!!and!! QHB
QHA
rev
rev
QHA
= QHB
This
implies
that
for
any
reversible
heat
engine
that
operates
between
H
and
C
the
ratio
of
heat
fluxes
is
a
universal
function
of
the
two
temperatures:
QHrev
QCrev
= f (H ,C )
!
The
specific
form
of
the
function
in
Eq.
3.1
can
now
be
determined,
by
consider-
ing
a
cascade
of
heat
engines
operating
be-
tween
a
high
temperature
H,
an
interme-
diate
temperature
M
and
a
low
tempera-
ture
C,
as
shown
in
Fig.
3.6.
On
the
left
side,
two
Carnot
engines,
1
and
2,
are
used
between
H and
M
and
between
M
and
C
,
respectively.
On
the
right
side,
a
single
engine
3
operates
directly
between
H
and
C.
We
can
adjust
the
heat
flows
for
en-
gines
1
and
2
so
that
the
same
amount
of
heat
is
taken
and
removed
from
the
in-
termediate-temperature
reservoir
at
M,
and
we
can
also
adjust
engine
3
so
that
the
same
amount
of
heat
is
removed
from
the
hot
reservoir
as
for
engine
1.
Since
these
are
Carnot
(reversible)
engines,
we
must
have
that
|W1|
+
|W2|
=
|W3|.
Therefore,
the
(3.1)
Figure
3.6
Thermal
engines
operating
between
three
heat
reservoirs.
42
same
amount
of
heat
is
dumped
to
the
cold
reservoir
on
the
two
sides
of
the
cas-
cade:
QC = QC
QM / f (M ,C ) = QH / f (H ,C )
QH
QH
f (H ,M ) f (M ,C ) = f (H ,C )
f (M ,C ) f (H ,M ) f (H ,C )
!
Since
this
relationship
is
valid
for
any
temperatures
H,
M,
and
C,
the
func-
tional
form
of
f
must
be:
!
g(H )
f (H ,C ) =
g(C )
(3.2)
The
function
g()
is
universal
for
all
Carnot
engines.
Its
form
can
be
obtained
from
analysis
of
the
operation
of
any
reversible
heat
engine.
When
this
analysis
is
performed
for
engines
that
have
ideal
gases
as
working
fluids
(see
4.1),
we
ob-
tain
a
particularly
simple
relationship:
g()
=
T,
where
T
is
the
temperature
that
was
defined
through
the
ideal-gas
equation
of
state
in
2.4.
This
remarkable
prop-
erty
provides
a
connection
between
the
efficiency
of
reversible
engines
and
the
ideal-gas
temperature
scale.
The
absolute
temperature
scale
T
is
of
fundamental
importance
in
thermodynamics.
Given
that
f (H,C)
=
TH/TC,
we
can
now
show
that
reversible
heat
flows
occur-
ring
to
and
from
constant-temperature
reservoirs
are
linked
in
a
particularly
sim-
ple
way.
The
heat
flows
for
the
cold
and
hot
reservoirs
are
of
opposite
signs,
so
Eq.
3.1
can
be
expressed
as:
QHrev
QCrev
TH
TC
QHrev
TH
QCrev
TC
= 0
(3.3)
The
efficiency
of
a
Carnot
engine
that
draws
heat
from
a
hot
reservoir
and
produces
work
(left
side
of
Fig.
3.5)
is
defined
as
the
fraction
of
heat
removed
from
the
hot
reservoir
that
is
obtained
from
the
device
as
work.
From
a
First
Law
bal-
ance
around
a
reversible
engine,
we
have:
Carnot
Engine
efficiency
T
QHrev + QCrev +W = 0 QHrev C QHrev = W
TH
!
rev
!
W
QHrev
TH TC
TH
(3.4)
43
The
efficiency
is
between
0
and
1,
the
latter
value
being
a
theoretical
limit
that
can
only
be
asymptotically
approached
if
TC0
or
TH+.
Real
engines,
of
course,
operate
with
efficiencies
lower
than
those
of
reversible
engines,
since
oth-
erwise
an
irreversible
engine
could
be
combined
with
a
Carnot
engine
operating
in
reverse,
resulting
in
a
violation
of
the
Second
Law.
The
performance
of
real
en-
gines
operating
between
reservoirs
of
given
temperatures
is
not
the
same
for
all
irreversible
engines
it
varies
(sometimes
greatly),
depending
on
their
design
and
internal
losses.
The
reversible
engine
efficiency
provides
a
common
upper
limit
for
all
real
engines.
Example
3.1
Efficiency
of
geothermal
power
production
In
many
parts
of
the
world,
especially
near
edges
of
tectonic
plates,
relatively
high
temperatures
can
be
reached
by
drilling
to
moderate
depths.
Taking
advantage
of
these
high
temperatures
has
been
proposed
as
one
possible
technology
for
energy
generation
without
production
of
greenhouse
gases.
Assuming
that
heat
can
be
withdrawn
from
hot
rock
at
H
=
200
C
and
that
cooling
is
available
at
C
=
50
C,
what
is
the
maximum
possible
fraction
of
heat
removed
that
can
be
converted
to
electricity?
The
maximum
possible
fraction
of
heat
conversion
into
work
takes
place
using
a
reversible
Carnot
engine,
which
has
efficiency:
T T
200 50
rev = H C =
= 32%
TH
200 + 273
!
Note
that
only
absolute
temperatures
[in
K]
can
be
used
in
the
expression
for
;
however,
the
difference
between
two
temperatures
in
C
is
the
same
as
the
corre-
sponding
absolute
temperature
difference
in
K,
so
the
thermometric
temperature
values
can
be
used
in
the
numerator.
For
engines
operating
as
refrigeration
cycles
(right
side
of
Fig.
3.5,
p.
40),
with
heat
removed
from
the
cold
reservoir
through
the
net
input
of
work,
a
measure
of
performance
different
from
is
appropriate.
In
such
cases,
we
are
interested
in
the
amount
of
heat
removed
from
the
cold
side
(the
interior
of
the
refrigerator,
or
the
inside
of
a
building
in
the
case
of
air
conditioning)
per
unit
of
work
input.
The
coefficient
of
performance,
,
is:
! = !
!
QC
W
QC
QC QH
rev !=
QCrev
QCrev
T
+ H QCrev
TC
TC
TH TC
(3.5)
44
outside
air.
In
this
case,
the
coefficient
of
performance
is
defined
as
the
ratio
of
heat
output
(into
the
building)
over
the
work
input:
!=!
QH
W
QH
QC QH
rev =
QHrev
T
C QHrev + QHrev
TH
TH
TH TC
(3.6)
The
two
coefficients
of
performance
defined
in
Eqs.
3.5
and
3.6
can
be
greater
than
1,
if
the
difference
between
hot
and
cold
temperatures
is
smaller
than
the
ab-
solute
value
of
the
cold
or
hot
temperature,
respectively.
Practical
power
and
re-
frigeration
cycles
are
discussed
in
Chapter
4.
Example
3.2
Air
conditioner
theoretical
efficiency
Calculate
the
maximum
possible
coefficient
of
performance
for
an
air
conditioning
unit
operating
between
an
indoor
temperature
of
68
F
and
outdoor
temperature
of
104
F.
We
first
need
to
convert
thermometric
to
absolute
temperatures:
C
=
68
F
C
=
293
K;
C
=
104
F
TH
=
313
K.
The
maximum
possible
coefficient
of
performance
is:
rev
!=!
QCrev
W
TC
TH TC
293
= 14.6
313 293
Q rev
S
(3.7)
T
!
For
a
differential
change
of
state
during
a
reversible
process,
the
temperature
of
the
system
is
effectively
constant,
so
we
can
write:
Q rev
dS =
T
!
(3.8)
45
The
overall
entropy
change
for
a
general
process
that
involves
temperature
changes
along
its
path
is:
definition
of
entropy
rev
B Q
S = SB S A =
A T
!
(3.9)
irr
U U A = WAD
! D
Adding
these
two
expressions
we
obtain
rev
irr
T(S S )+WDA
+WAD
= 0
! A D
46
irr
rev
rev
+WDA
< 0 ,
then
T(S A SD ) = QDA
> 0 ;
the
overall
cycle
has
received
If
WAD
!
!
!
heat
input
from
a
single
reservoir
at
T
and
has
produced
net
work.
This
is
a
viola-
tion
of
the
Kelvin-Planck
postulate
and
therefore
impossible.
The
case
rev
W irr +WDA
= 0 implies
that
T(S A SD ) = Q rev = 0 and
the
final
state
could
be
re-
! AD
!
turned
to
the
initial
state
with
no
net
effect
on
the
environment;
this
contradicts
the
original
statement
that
the
process
AD
was
irreversible.
Therefore,
we
must
have,
for
any
irreversible
process
in
an
isolated
closed
system
from
state
AD,
T(S A SD ) < 0 ,
or
equivalently:
(3.10)
irr
rev
irr
rev
+WDA
> 0 WAD
> WDA
In
addition,
we
must
have
WAD
.
By
changing
the
!
direction
of
the
reversible
process
from
DA
to
AD
we
then
obtain:
rev
W irr > WAD
!!
! AD
(3.11)
Since
the
universe
can
be
considered
a
closed
isolated
system,
Eq.
3.10
is
the
mathematical
equivalent
of
the
Clausius
statement
of
the
Second
Law,
the
entropy
of
the
universe
tends
to
a
maximum.
Eq.
3.11
states
that
the
algebraic
work
amount
is
always
greater
for
an
irreversible
process.
If
the
reversible
process
re-
rev
!>!0! )
then
the
irreversible
process
requires
more
work
input;
quires
work
( WAD
!
rev
!<!0! ),
Eq.
3.11
suggests
that
the
ir-
if
the
reversible
process
produces
work
( WAD
!
reversible
process
will
produce
less
work
it
may
even
require
work
input!
Re-
versible
processes
are
the
best
of
all
possible
processes
in
achieving
a
given
task
with
the
least
expenditure
of
useful
work
and
in
extracting
the
maximum
possible
amount
of
useful
work
out
of
a
given
change
of
state.
Entropy
has
been
just
derived
from
analysis
of
heat
and
work
flows
in
reversi-
ble
heat
engines;
however,
once
it
has
been
established
that
entropy
is
a
proper
thermodynamic
function,
it
can
be
expressed
for
any
equilibrium
state
in
terms
of
any
convenient
thermodynamic
variables.
This
provides
the
starting
point
for
de-
velopment
of
thermodynamic
identities
through
the
formal
approach
described
in
Chapter
5.
Let
us
take
a
look
again
at
the
differential
form
of
the
First
Law
of
ther-
modynamics,
written
for
a
closed
system
undergoing
a
reversible
process:
rev
rev
!dU = Q + W
(3.12)
47
(3.13)
Eq.
3.13
has
only
proper
thermodynamic
state
functions
on
both
sides,
contain-
ing
no
inexact
differentials
involving
heat
or
work
amounts.
Changes
in
state
func-
tions
are
independent
of
the
path,
so
the
equation
is
valid
for
all
processes,
re-
versible
or
irreversible.
In
irreversible
processes,
the
first
term
(TdS )
is
not
equal
to
the
amount
of
heat,
and
the
second
term,
(PdV )
does
not
equal
the
amount
of
work;
but
their
sum
still
gives
the
change
in
system
energy.
Example
3.3
Entropy
change
for
an
ideal
gas
10
mol
of
an
ideal
gas
with
CV
=
20.8
J/mol
at
T0
=
300
K
and
P0
=
0.3
MPa
occupy
the
left
half
of
an
insulated
vessel,
as
shown
in
Fig.
3.8.
The
other
half
is
evacuated.
At
time
t
=
0,
a
1
kW
electrical
heating
element
is
turned
on.
After
30
s,
the
parti-
tion
dividing
the
vessel
ruptures
and
the
heating
element
is
turned
off.
Calculate
(a)
the
final
temperature
Tf
and
pressure
Pf
of
the
gas
in
the
vessel
and
(b)
the
en-
tropy
change
of
the
gas
during
this
process.
The
final
temperature
of
the
gas
can
be
obtained
from
a
First
Law
balance
on
the
contents
of
the
vessel:
U = NCV T = Q + W Tf = T0 +
Q
NCV
30!s! !1000!J/s
Tf = 300!K! +
= 444!K
10!mol! 20.8!J/(mol!K)
!
Pf Vf
RTf
P0V0
RT0
Pf = P0
V0Tf
Vf T0
444!K
Pf = 0.3!MPa
= !0.222!MPa
2! !300!K
!
The
entropy
change
cannot
be
directly
obtained
from
the
definition
(Eq.
3.9),
as
this
is
not
a
reversible
pro-
cess.
Instead,
it
can
be
obtained
from
Eq.
3.13:
Figure
3.8
Schematic
of
pro-
cess
for
Example
3.3.
1
P
dU = TdS PdV dS = dU + dV
T
T
!
NCV
C
T
V
NR
S
R
dS =
dT +
dV
= V dT + dV = CV ln f + Rln f
T
V
N
T
V
T0
V0
!
Valid
for
any
process
in
a
closed
system
48
S
444
J
J
= 20.8ln
+ 8.314ln2 !
= (8.16 +5.76)!
N
300
mol!K
mol!K
J
J
S = 10!mol! 13.9
S = 139!
mol!K
K
!
!
The
entropy
change
is,
of
course,
greater
than
zero
during
this
irreversible
pro-
cess.
Using
the
same
approach
as
in
Example
3.3,
it
is
easy
to
prove
that
the
general
relationship
for
the
entropy
change
of
an
ideal
gas
with
temperature-independent
heat
capacities
during
a
process
that
takes
it
from
(T0 ,P0 ,V 0 ) (Tf ,Pf ,V f ) is:
Entropy
change
for
an
ideal
gas
S
!
IG
= CV ln
Tf
T0
+ Rln
Vf
V0
= C P ln
Tf
T0
Rln
Pf
P0
(3.14)
Eq.
3.14
is
of
general
applicability
to
changes
of
state
for
ideal
gases
the
pro-
cess
does
not
have
to
be
reversible,
at
constant
temperature
or
at
constant
pres-
sure.
Example
3.4
Forging
A
common
process
in
metallurgy
is
to
immerse
a
red-hot
item
(e.g.
a
blade
being
forged)
in
water
to
harden
it.
Let
us
consider
a
process
in
which
a
1
kg
steel
blade
at
1
=
800
C
is
immersed
in
a
large
vessel
filled
with
water
at
2
=
25
C
and
imme-
diately
quenched.
Assuming
that
steel
has
heat
capacity
CV
=
460
J/(kg
K),
inde-
pendent
of
temperature,
calculate
the
entropy
changes
during
this
process
of
(a)
the
steel
blade,
(b)
the
water,
and
(c)
the
universe.
Assume
that
there
is
enough
water
in
the
vessel
so
that
its
temperature
does
not
increase
appreciably
during
the
process
of
immersion.
The
entropy
change
of
the
steel
blade
in
this
irreversible
process
can
be
calculated
from
Eq.
3.13,
ignoring
the
small
volume
change
of
the
solid
as
it
cools
down:
dU = TdS PdV
!
NC dT
1
dS = dU = V
T
T
C
T
Sblade = N V dT = NCV ln f
T
T0
!
J
273+ 25
J
Sblade = 1!kg! !460!
!ln
= 589!
kg!K 273+ 800
K
!
49
Even
though
this
is
an
irreversible
process,
the
blades
entropy
goes
down
the
blade
is
not
an
isolated
system,
so
Eq.
3.10
does
not
apply.
For
the
water,
we
are
not
given
enough
information
to
calculate
its
temperature
change;
since
the
process
is
clearly
irreversible,
it
would
seem
that
we
cannot
use
the
definition
of
entropy
change
(Eq.
3.9)
however,
this
is
not
true!
Even
though
the
overall
process
is
irreversible
because
of
the
large
temperature
difference
be-
tween
the
blade
and
the
water,
we
can
devise
a
thought
experiment
in
which
the
heat
transfer
to
the
water
is
done
in
a
reversible
manner.
The
amount
of
heat
transferred
is:
J
Q = U blade = NCV T = 1!kg 460!
(25 800)!K!=!356!kJ
kg!K
!
The
entropy
change
for
the
water
in
a
reversible
process
with
the
same
Q
is:
Q rev
356!kJ
J
Swater =
=
= 1196!
T
(273+ 25)!K
K
!
The
entropy
change
of
the
universe
is:
J
J
Suniverse = Swater + Sblade = (589+1196) = +607
K
K
!
Once
again,
the
entropy
change
of
the
universe
is
positive,
as
it
should
be
for
an
overall
irreversible
process.
leaving
streams
Nout S out
entering
streams
Nin S in 0 (3.15)
Why
are
the
terms
for
the
entering
and
leaving
streams
in
Eq.
3.15
of
opposite
sign
relative
to
Eqs.
2.16
or
2.19
(p.
18),
the
First
Law
balance
for
open
systems?
50
Eqs.
2.16
and
2.19
are
written
from
the
point
of
view
of
the
system,
which
gains
the
streams
that
enter
and
loses
the
streams
that
leave.
By
contrast,
Eq.
3.15
rep-
resents
a
balance
for
the
entropy
of
the
universe.
For
the
universe,
streams
enter-
ing
the
system
are
lost
and
streams
exiting
the
system
are
gained.
A
similar
re-
lationship
can
also
be
written
as
a
differential
(rate
of
change):
leaving
streams
N out S out
entering
streams
N in S in 0
(3.16)
For
reversible
processes,
Eqs.
3.15-3.16
become
equalities,
with
their
right-
hand
side
equal
to
zero.
For
other
special
cases,
specific
terms
can
be
set
to
zero,
significantly
simplifying
the
equations.
For
example,
the
term
Ssystem
is
zero
at
steady
state,
as
there
is
no
net
change
in
the
system.
Another
example
of
simplifi-
cation
is
for
an
adiabatic
process,
for
which
we
can
set
Senv =
0,
since
no
heat
flows
into
the
environment.
The
fact
that
entropy
generation
is
non-negative
for
all
feasible
processes
im-
poses
significant
constraints
on
the
amount
of
work
that
can
be
produced
from
(or
is
required
for)
specific
processes.
When
performing
a
thermodynamic
analysis,
a
typical
approach
is
to
apply
in
turn
a
First
Law
balance
followed
by
a
Second
Law
balance,
as
illustrated
in
the
examples
that
follow.
Example
3.5
Feasibility
of
a
process
An
inventor
is
proposing
a
black
box
device
for
producing
electrical
power
that
operates
on
a
stream
of
compressed
air
at
P1
=
4
bar,
T1
=
300
K.
The
input
stream
is
split
into
two
equal
flows
of
P2
=
P3
=
1
bar
at
T2
=
280
K
and
T3
=
260
K,
respectively.
The
claim
is
made
that
power
is
produced
at
a
steady-state
rate
of
W
=
3.4
kJ/mol
of
air
flowing
through
the
device.
Assuming
that
unlimited
heat
exchange
with
the
environment
at
Tenv
=
300
K
is
allowed,
you
are
asked
to
provide
an
analysis
of
the
thermodynamic
feasibility
of
such
a
device.
Assume
that
air
can
be
approximated
as
an
ideal
gas
with
CP
=
29.1
J
/(mol
K),
independent
of
temperature.
First,
we
apply
an
integral
First
Law
balance
on
this
open
system
over
the
pe-
riod
of
time
it
takes
for
1
mol
of
air
to
flow
through
the
device,
which
is
as-
sumed
to
be
at
steady
state.
The
flow
of
streams
2
and
3
is
half
the
flow
of
stream
1.
We
use
a
refer-
ence
state
for
the
enthalpy
51
such that H = C PT .
U
= 0 = Q +W + NH 1
!steady!state
T +T
N
N
H 2 H 3 Q = W NC P T1 2 3
2
2
2
J
260+ 280
Q = (3400)!J! 1!mol!
!
!29.1!
300
K != 2527!J
mol!K
2
!
Since
the
heat
calculated
from
the
systems
point
of
view
is
positive,
heat
flows
from
the
environment
to
the
system
during
this
process.
We
must
now
check
whether
the
entropy
generation
rate
for
the
universe
is
non-negative.
We
use
Eq.
3.14
(p.
48)
to
calculate
the
entropy
change
of
the
ideal
gas
streams
and
take
into
account
that
the
flow
of
heat
into
the
environment
is
the
opposite
of
the
value
cal-
culated
from
First
Law
balance
on
the
system:
Suniverse =
leaving!
entering!
steady!state
!
= !
streams
streams
Q N
N
Q N
+ S 2 + S 3 N S1 =
+ (S 2 S 1 + S 3 S 1 )
Tenv 2
2
Tenv 2
TT
PP
Q N
+ C P ln 2 3 Rln 2 3 =
Tenv 2
T12
P12
2527!J 1!mol
J
260 280
J
1
!+!
29.1!
ln
8.314
ln 2 =
2
300!K
2
mol!K
mol!K 4
300
J
J
!!!!!!!!!!!!!!!!!!!!!!!!!!! 8.42 3.09!+11.53 ! = +0.02!
K
K
!
The
entropy
change
of
the
universe
is
positive,
so
operation
of
the
device
is
possi-
ble
as
described.
However,
since
the
entropy
change
is
small
relative
to
the
terms
of
which
it
consists,
the
device
is
operating
near
the
thermodynamic
limit
for
re-
versible
processes.
Example
3.6
Solar
power
generation
Solar
collectors
are
used
to
heat,
continuously
and
at
steady
state,
a
molten
salt
stream
from
200
C
to
600
C
at
a
flow
rate
of
12
kg/s.
The
hot
stream
generates
electrical
power
by
a
complex
process
and
then
returns
to
the
solar
collectors.
What
is
the
maximum
amount
of
power
that
can
be
produced?
Assume
that
the
environment
is
at
20
C.
The
heat
capacity
of
the
molten
salt
at
constant
pressure
is
CP
=
0.8
kJ/(kg
K),
independent
of
temperature.
52
The
system
of
interest
is
the
power
plant
that
uses
the
salt
stream.
We
label
the
hot
stream
H
and
the
cold
one
C.
An
open-system
First
Law
balance
for
this
sys-
tem
gives:
dU
=0
dt
H HC )
= Q + W + N(H
steady!state
W = Q + NC P (TC TH )
!
The
maximum
amount
of
work
is
produced
in
a
reversible
process,
for
which
Suniverse = 0 =
leaving!
entering!
steady!state
streams
streams
T C
T
Q
ln C
+ N(S C SH ) Q = Tenv N C P dT = Tenv NC
P
T
Tenv
TH
H T
T
T ln H +T T
W = NC
P
env
C
H
TC
273+ 600
kg
kJ
W = 12 0.8
293!ln
+ 200 600 K!!= 2.12!MW
s
kg!K
273+ 200
!
The
power
is
negative
because
it
is
being
produced
by
the
power
plant.
53
For
reversible
operation
of
the
steam
turbine,
we
must
have:
reversible!process
steady!state
adiabatic
The
properties
of
steam
at
the
entrance
of
the
turbine
(T1
=
900
K
and
P1
=
8
MPa)
can
be
obtained
from
the
NIST
WebBook
as
follows:
kJ
kJ
H 1 = 3707! !!!!!S 1 = 7.095
kg
kg!K
!
We
now
need
to
find
the
pressure
for
which
S2
=
S1
=
7.095
kJ/(kg
K)
at
T2
=
430
K.
With
a
bit
of
trial-and-error
with
respect
to
the
pressure
range,
we
can
obtain
from
the
NIST
WebBook
P2
=
0.31
MPa,
H2
=
2775
kJ/kg.
A
First
Law
balance
on
the
tur-
bine
now
gives:
dU
= 0 = Q + W + N(H
1 H2 )
dT
!steady!state
W
103 !kJ/s
N =
=
H 2 H 1 (2775 3707)!!kJ/kg
!
Example
3.8
Work
for
evacuating
a
tank
kg
N = 1.073
s
!
54
V1
V
! 0
P1
P0
N1
N0
The
instantaneous
pressure
difference
across
the
piston
is
P
P0,
where
P
is
the
pressure
within
the
expanding
volume
on
the
left
side.
The
total
work
required
to
move
the
piston
to
the
right
is:
V
V0 N RT
1
V1
V1
W = 0 (P P0 )dV =
dV + P0(V0 V1 ) = N1RT ln
V1
V0
+ P0(V0 V1 )
V PV PV
P V
W N1
=
RT ln 1 + 0 0 0 1 = RT ln + RT 0 1 = RT ln + RT RT
N0 N0
V0 N0
N0
N1
W
W
=
= ln +1
RTN0 P0V0
55
W
W
=
= 1 W = P0V0
for
complete
evacuation.
!
N0RT P0V0
!
In
other
words,
the
minimum
work
for
complete
evacuation
is
the
work
to
push
back
the
atmosphere
by
a
volume
equal
to
the
original
tank
volume.
n
the
case
of
pressurization,
a
more
meaningful
measure
than
the
work
per
mole
initially
in
the
tank
is
the
work
per
mole
of
compressed
air,
obtained
by
dividing
the
full
expression
above
by
=
N1/N0,
W
W
1
=
= ln + 1
RTN1 P1V0
For
=
10,
this
equation
gives
W/(RTN1)
=
1.403.
The
work
required
is
positive
(work
input
to
the
system)
for
both
lowering
and
increasing
the
tank
pressure
to
a
value
different
than
atmospheric.
(b)
Adiabatic
operation
Here,
we
will
use
the
expressions
obtained
in
2.4
for
adiabatic
compression
and
expansion
of
an
ideal
gas.
Even
though
we
did
not
state
so
at
the
time,
adiabatic
operation
(Q
=
0)
at
internal
equilibrium
implies
also
a
reversible
operation,
since
the
entropy
change
of
the
universe
for
such
a
process
is
zero.
As
previously,
we
find
V1
so
that
P1
=
P0
after
expansion.
From
Eq.
2.31,
with
ini-
tial
volume
and
pressure
V1
and
P0
and
final
values
V0
and
P1
:
V
== 0
P
V1
! 0
P1
V1
V0
= 1/ =
CV /C P
P
R/C
= 1 = P
T
P
! 0 0
The
work
performed
on
the
gas
during
the
expansion
is,
from
Eq.
2.32:
T1
T
R/C
Ugas = Q +Wgas Wgas = N1CV T = N1CV (T1 T0 ) = N1T1CV 1 0 = N1T1CV 1 P
T1
!
The
net
work
required
is
the
sum
of
the
work
performed
on
the
gas
and
the
work
to
push
back
the
atmosphere,
56
R/C P
) + P (V V )
0
N1T1CV
PV
PV
PV C
W
R/C P
=
1
+ 0 0 0 1 = 1 0 V
N0RT0
N0RT0
N0RT0 N0RT0
P0V0R
W
W
1/
=
=
+1 1/
RT0N0 P0V0
1
V
1 +1 1
V0
For
air,
=7/5=1.4,
so
that
for
=
0.1
we
obtain
W/(RTN0)
=
0.574.
A
little
less
work
is
required
for
adiabatic
evacuation
than
for
isothermal
one.
At
the
limit
0,
this
expression
also
gives
W
=
P0V0,
as
for
the
isothermal
case.
For
adiabatic
pressurization,
the
work
per
mole
of
compressed
air
is:
1/
W
W V0 W
W
11/ 1
1/
=
=
=
+11/
=
+ 1/ 1
RT N
1
RT N P V V1 RT0N0
1
! 0 1
! 0 1 1 0
For
=
10,
this
expression
gives
W
/
(RTN1)
=
1.520,
a
little
more
than
in
the
iso-
thermal
case.
S = kB ln (N ,V ,U )
!
(3.17)
57
N
N!
N (N 1)(N M +1)
(3.18)
= M!(N M)! =
12M
M
!
There
is
only
1
state
with
internal
energy
U
=
0.
States
with
U
=
1
have
one
ball
at
level
+1
and
the
others
at
level
0,
so
for
N
=
10,
there
are
10
such
states.
States
with
energy
U
=
2
may
have
1
ball
at
+2
and
the
others
at
0,
or
2
balls
at
+1,
so
there
are:
10
+10 = 55
2
!
such
states.
We
can
similarly
obtain
(3 )= 220;
(4 )= 715,
(5 )= 2002,
and
so
on.
Note
that
the
number
of
microstates
increases
rapidly
with
the
total
energy
of
the
system.
This
is
generally
the
case
for
most
systems.
Now
we
are
in
a
position
to
show
that
S
defined
microscopically
from
Eq.
3.17
has
the
two
key
properties
associated
with
the
entropy
of
classical
thermodynam-
ics:
1.
58
59
Fig.
3.14
shows
the
number
of
configurations
for
a
square-lattice
chain
of
5
beads.
Without
loss
of
generality,
we
have
fixed
the
configuration
of
the
first
two
beads
of
the
chain
to
be
in
the
horizontal
direction,
with
the
second
bead
to
the
right
of
the
first.
This
reduces
the
total
number
of
configurations
by
a
factor
of
4;
such
a
multi-
plicative
factor
simply
shifts
the
value
of
S
obtained
from
Eq.
3.17
by
a
constant
factor,
akin
to
the
reference
state
for
the
entropy.
The
last
bond
is
shown
in
multi-
ple
configurations
(arrows),
along
with
their
number
and
energy:
!2(1)
for
the
top
left
image
means
there
are
2
configurations,
each
of
energy
1.
Overall,
counting
configurations
of
the
same
energy:
(U=0)
=
3+2+2+3+2+2+3=17
;
(U=1)
=
2+1+1+1+1+2=8
The
number
of
microscopic
configurations
and
energy
levels
increases
rapidly
with
chain
length.
Theoretical
and
Monte
Carlo
computer
simulation
techniques
are
used
for
determining
the
properties
of
models
of
this
type
for
longer
chains.
Figure
3.14
Configurations
for
a
two-dimensional
chain
of
5
beads
60
The
basic
postulate
of
statistical
mechanics
implies
that
the
probability
of
any
microstate
,
P ,
is
the
same
as
that
of
any
other
microstate
in
the
constant
N ,V ,U
ensemble:
1
P =
at
constant
N,
V
and
U
(3.19)
!
From
this
postulate,
we
can
now
simply
derive
another
famous
expression,
the
Gibbs
entropy
formula,
by
substituting
Eq.
3.19
into
Eq.
3.17:
Gibbs
entropy
formula
S = kB
!
P lnP
(3.20)
all!micro+
states!
The
Gibbs
entropy
formula
can
be
shown
to
be
valid
even
for
systems
not
at
constant
energy
U,
volume
V,
and
number
of
particles
N.
This
is
in
contrast
to
Eq.
3.17,
which
is
only
valid
at
constant
for
microstates
at
constant
U
V
and
N.
For
ex-
ample,
in
5.6
we
prove
Eq.
3.20
for
systems
at
constant
N,
V,
and
T.
C IG = CVIG + R
! P
It
is
highly
desirable
to
obtain
a
general
relationship
between
the
two
heat
capaci-
ties,
C = (U / T )V and
C P = (H / T )P
,
! V
!
for
non-ideal
gases,
liquids
and
solids.
In
the
present
chapter,
we
develop
a
formal
approach
that
allows
us
to
obtain
such
relationships
between
thermodynamic
de-
rivatives
in
a
systematic
fashion.
An
important
consideration
in
developing
thermodynamic
relationships
and
methods
for
determining
derived
thermodynamic
functions
such
as
the
energy,
enthalpy,
or
entropy,
is
the
preservation
of
information
content
as
one
moves
from
one
function
to
another.
In
the
rest
of
this
chapter,
we
demonstrate
how
all
these
functions,
when
expressed
in
terms
of
their
natural
variables,
are
essential-
ly
equivalent
to
each
other
and
encompass
all
available
information
about
equilib-
rium
states
of
a
system.
These
equivalent,
complete
descriptions
of
thermodynam-
ic
properties
are
called
fundamental
equations
and
are
the
main
topic
of
the
pre-
sent
chapter.
79
80
states
in
such
systems
are
the
total
volume
V,
number
of
moles
of
each
component,
N1,
N2,
Nn,
temperature
T
and
pressure
P.
The
total
entropy
S
can
also
be
specified
and
controlled
with
some
effort,
namely
by
performing
reversible
processes
and
using
the
definition
developed
in
Ch.
3,
to
measure
entropy
changes.
S = Q rev /T
!
(4.1)
This
expression
suggests
that
the
volume
and
entropy
constitute
a
good
set
of
variables
for
describing
the
energy
U
of
a
closed
system.
More
formally,
we
write:
U
U
U = U(S,V ) dU =
dS +
dV
S V
V S
!
(4.2)
U
U
S = T
and
V = P
S
!
!
(4.3)
To
obtain
the
full
expression
for
U
as
a
function
also
of
the
amount
of
material
in
a
system
in
addition
to
S
and
V,
we
need
to
augment
Eq.
4.2
by
additional
varia-
bles,
namely
the
amount
of
material
of
each
component
present
in
the
system.
For
this
purpose,
we
define
an
additional
partial
derivative,
written
here
for
a
one-
component
system:
81
U
(4.4)
N S ,V
!
This
derivative
defines
an
important
new
thermodynamic
variable,
the
chemi-
cal
potential
of
a
component.
The
chemical
potential
is
an
intensive
variable
that
has
units
of
specific
energy,
[J/mol].
Its
physical
interpretation
in
classical
thermo-
dynamics
is
somewhat
obscure
when
compared
to
the
two
other
more
intuitively
understood
first-order
derivatives
of
the
energy
function
given
by
Eqs.
4.3.
How-
ever,
the
chemical
potential
plays
just
as
fundamental
a
role
in
thermodynamics
as
temperature
and
pressure.
(4.5)
More
generally,
for
a
multicomponent
system,
one
needs
n+2
variables
to
fully
characterize
the
state
of
a
system.
When
the
function
of
interest
is
the
total
energy
U,
these
variables
can
be
selected
to
be
the
total
entropy,
S,
volume,
V
and
amount
of
moles
for
each
component
present,
{N} N1 ,N2 ,Nn :
(4.6)
funda-
mental
equation
82
U
i
Ni S ,V ,N
ji
!
(4.7)
In
this
equation,
Nji
indicates
that
the
number
of
moles
of
all
components
other
than
i
are
kept
constant;
more
explicitly,
N1 ,N2 , Ni1 ,Ni+1,
Nn
are
constant
while
Ni
varies.
Because
the
chemical
potential
definition
implies
an
open
system
to
which
a
component
is
added,
its
value
depends
on
the
reference
state
for
energy
for
the
corresponding
component
and
thus
is
not
directly
measurable,
unlike
the
first
two
derivatives
of
Eq.
4.6,
temperature
and
pressure.
Eq.
4.6
is
the
single
most
important
equation
of
this
book
and
is
known
as
the
fundamental
equation
of
thermodynamics
(abbreviated
FE).
It
links
the
key
quan-
tities
of
the
First
and
Second
Laws
and
provides
the
starting
point
for
understand-
ing
equilibrium
and
stability
as
well
as
for
deriving
thermodynamic
relations.
S,
V
and
{N},
the
variables
in
which
the
function
U
is
expressed
in
this
representation,
are
all
extensive,
proportional
to
system
size
(mass).
The
first
derivatives,
T,
P
and
i's
are
all
intensive,
independent
of
system
size.
An
equivalent
representation
of
the
entropy
S
as
a
function
S (U ,V ,N1 ,N2 , Nn)
can
be
obtained
by
rearrangement
of
the
terms
of
Eq.
4.6:
n
1
P
dS = dU + dV i dN i
T
T
i=1 T
!
(4.8)
aUV bN 3
S=
N
UV
!
where
a
and
b
are
positive
constants.
Obtain
the
equation
of
state,
P
as
a
function
of
V
and
T,
for
this
material.
Starting
from
the
FE
in
the
entropy
representation
(Eq.
4.8),
we
obtain
the
pres-
sure
and
temperature
as:
1 S
aV bN 3
P S
aU bN 3
=
=
+
a
nd
=
=
+
T U V ,N N U 2V
T V U ,N N UV 2
!
!
(i)
83
aU bN 3
+ 2
P /T
= P = N UV 3
1/T
aV bN
+
N U 2V
!
aU 2V 2 + bN 4
U
NUV 2
=
=
U = PV
2 2
4
V
aU V + bN
NU 2V
(ii)
3
4
P aPV bN 3
b
=
+
= aPV + 3 P 2 V aV T = bT
3
T
N
PV
PV
!
bT
P=
V aV T
x
1
=
y / x
y z
!
(4.9)
This
relationship
is
for
the
underlying
functions
rather
than
simple
algebraic
in-
version;
x(y,z)
and
y(x ,z)
that
are
being
differentiated
on
the
two
sides
of
Eq.
!
!
4.9
are
expressed
in
terms
of
different
variables
(see
Example
4.2
for
an
illustra-
tion
of
this
concept).
84
Commutation
2z
z
z
=
(4.10)
=
x y
xy
x
y x y
x
y
!
In
other
words,
mixed
second
derivatives
are
independent
of
the
order
in
which
they
are
taken.
This
property
applied
to
thermodynamic
functions
leads
to
equali-
ties
between
derivatives
known
as
Maxwells
relations.
Chain
rule
(
(
)
)
x / w
x
x w
z
=
=
(4.11)
w y
y
y
/
w
z
z !!!inversion!
z
z
!!!!!!!!rule!!!
!
In
Eq.
4.11
we
have
changed
the
independent
variables
from
x(y,z)
in
the
left-
!
hand-side
to
x(w,z)
and
y(w,z)
in
the
right-hand-side.
!
!
= 1
y z z x x y
!
(4.12)
Here,
the
three
functions
being
differentiated,
x(y,z) ,
y(x ,z) ,
and
z(x ,y) ex-
!
!
!
press
the
same
underlying
relationship
in
terms
of
different
variables.
To
prove
this
equality,
let
us
consider
the
differential
form
of
the
function
x = x(y,z) :
x
x
dx =
dy +
dz
z y
y z
!
x
x
dy x +
dz x = 0
z y
y z
!
of
this
relationship:
x y
x y
x
x
=0
+
=
z y
y z z x z y
y z z x
!
85
x y z
= 1
y z z x x y
!
Example
4.2
Demonstrate
how
the
inversion,
commutation,
chain
and
triple-product
rules
ap-
ply
to
the
functions:
y2
x(y,z) =
;
w = xz
(variable
transformation
for
the
chain
rule)
z
!
For
the
function
x
in
the
original
representation,
x = x(y,z) :
!
x / y = 2y /z
z
!
To
test
the
inversion
rule,
we
obtain
the
function
in
the
representation
y = y(x ,z) :
!
y
y2
z
x=
y 2 = xz y = xz
=
z
x z
2 x
!
z
2 x
z
2 y 2 /z
z
1
=
2y x / y
y
1
=
(x / y)z
x z
!
= =
z
yz z z y y z z
!
For
the
chain
rule,
the
new
variable
is
defined
as
w = xz .
Then:
w
1
x / w =
z
z
z
2
y
w = xz =
z y = w y / w
z
!
x=
So that
( x / w )
( y / w )
!
1/z
1/2 w
2y
z
= x / y
1
2 w
86
x
x=
= 2y /z
z
y z
y2
y
y
x
y = xz
=
=
z x 2 z 2z
z=
!
y2
z
y2
z2
x
x y
x2
y2
x y z
2y y z 2
!
!
=
= 1
2
y
z
x
z
2z
y
z
x
One
could
have
substituted
variables
other
than
y
and
z
in
the
expressions
for
the
three
cyclic
derivatives
with
identical
results.
(4.13)
!
Extensive
thermodynamic
functions
are
homogeneous
of
degree
one
with
respect
to
their
extensive
variables,
and
homogeneous
of
degree
zero
with
respect
to
their
intensive
variables.
Eulers
theorem
for
homogeneous
functions
provides
a
link
between
such
func-
tions
and
their
derivatives,
as
follows:
!
f
f
f
f (x1 ,xi ,y1 ,y j ) = x1
+ x2
++ xi
x1
x2
xi
(4.14)
87
!
=
++
=
x1 + +
xi
x1
xi
!
Application
of
Eulers
theorem
to
U (S ,V ,N1,N2, ,Nn),
a
homogeneous
function
of
degree
one
with
respect
to
all
its
variables,
gives:
U
U
U = S
+ V
+
S V ,{N }
V S ,{N }
!
Ni N
i=1
S ,V ,N
ji
U = TS PV + i Ni
i=1
!
(4.15)
Euler-
integrated
FE
88
d f = dx
dg = df xd dx = xd
!
(4.16)
In
the
new
function
(referred
to
as
the
transform
of
the
original
function),
the
role
of
variables
and
derivatives
has
been
exchanged:
the
derivative
of
the
original
function
is
the
variable
of
the
new
function
and
the
variable
of
the
original
function
is
minus
the
derivative
of
the
transform.
One
can
recover
the
original
function
by
simply
applying
the
Legendre
transformation
one
more
time:
dg = xd
f = g + x
(4.17)
Example
4.3
Consider
the
function:
f (x) = x 2 + 2
Construct
the
function
f(w )
and
show
that
it
cannot
be
used
to
fully
determine
f(x ).
Also
obtain
the
Legendre
transform
of
this
function,
g (w )
and
show
how
it
can
be
used
to
reconstruct
the
original
function
f (x ).
The
derivative
of
f (x ) is:
!
df
=
= 2x
dx
!
The
function f( )
can
be
obtained
by
substituting
x
=
/ 2
in
f (x ):
89
f () =
2
+ 2
4
(i)
2 f 2
(ii)
2
g() = f x = + 2 g() = + 2
4
2
4
!
(iii)
From Eq. 4.17, the variable x can be obtained from (iii) from differentiation:
dg
x=
=
d 2
!
Now
the
function f(x )
can
be
obtained
from
g ( )
using
Eq.
4.17
again:
f = g + x =
(iv)
2
+ 2+ w = + 2 f = x 2 + 2
QED
4
2
4
Example
4.4
Consider
the
function
f
(
x
)
=
x 3
+
1
in
the
interval
[1,1].
Construct
its
first
Legen-
dre
transformation g ( )
and
plot f (x
)
and g ( ),
marking
the
points
correspond-
ing
to
x
=
0.7, x
=
0,
and
x
=
0.7
on
the
graph
of g ( ).
Using
the
definition
of
Legendre
transforms:
df
= = 3x 2 x =
3
! dx
3/2
23/2
3/2
3/2
+1
g() = f x = +1
=
+1
g() =
3 3 3
3
3
3
3
!
!
The
Legendre
transform
of
g ( )
is:
dg
=
= x
3
! d
90
dg
23/2
3/2
=
+1
=
+1 = +1 = x 3 +1 = f (x)
g
d
3 3 3
3 3
3
!
Plots
of
the
original
and
transformed
functions
are
shown
in
Fig.
4.1.
Arrows
mark
the
three
points
of
interest
(note
that
=
3x 2,
so
the
coordinate
corresponding
to
x
=
0.7
is
=
30 .7 2
=
1.47.
The
transform
is
multivalued
two
values
of
the
function
g ()
exist
for
any
given
.
This
is
the
price
we
have
to
pay
for
ensuring
that
the
reverse
transform
is
unique.
In
addition,
the
transformed
function
has
a
cusp
at
=0,
with
a
discon-
tinuous
first
derivative.
Multivalued
functions
arise
naturally
in
thermodynamics
when
a
system
can
exist
in
multiple
phases;
cusps
are
also
present
in
thermody-
namic
functions
for
systems
with
multiple
phases.
For
functions
of
many
variables,
the
Legendre
transform
procedure
can
be
applied
sequentially,
giving
the
first,
second
and
higher-order
transforms.
Formally,
we
consider
a
general
function
of
l
variables,
as
a
basis
function
y (0) ,
where
basis
!
means
simply
the
starting
point
of
the
transform:
(4.18)
91
i y (0)
i
y (0)
=
x i
!!!!and!!!!!!!!y (0)
ij
x j[i ]
(0)
2y (0)
y
!
=
=
(4.19)
x i x j
xi x j
xi[ j ]
x
j[i ]
(4.5)
i=1
The
first
Legendre
transformation
of
U(S,V ,N1 ,N2 ,,Nn )
gives
a
new
thermo-
!
dynamic
function,
the
Helmholtz
free
energy
A:
Fundamental!equation:!!y (1) = A(T ,V ,N1 ,N2 ,,Nn )
(4.23)
i=1
The
second
transform
of
U,
gives
another
fundamental
equation,
the
Gibbs
free
energy
G,
named
after
American
scientist
Josiah
Willard
Gibbs
(1839-1903):
Fundamental!equation:!!y (2) = G(T ,P,N1 ,N2 ,,Nn )
(4.24)
92
Function
S
V
N
Internal energy U
V N
Helmholtz energy A
S P N
Enthalpy H
P N
Table 4.1 Fundamental equations (thermodynamic potential functions) for one-component systems.
Variables
!G = N
Differential
!H = TS + N
G
G
S=
V =
T P ,N
P T ,N
!
!
G
=
= G
N T ,P
!
H
H
T=
V =
S P ,N
P S ,N
!
!
H
=
N S ,P
V
T
=
S P ,N P S ,N
!
S
V
=
P T ,N T P ,N
2
2
NC P
S
T
T
H
G
=
=
= =
S 2 P ,N S P ,N NC P
T 2 P ,N T P ,N T
!
!
!A = PV + N
P
S
=
T V ,N
V T ,N
!
2
NCV
S
A
= =
T 2 V ,N T V ,N T
!
U
U
A
A
S =
T=
P=
P =
S V ,N
V S ,N
T V ,N
V T ,N
!
!
!
!
U
A
=
=
N S ,V
N T ,V
!
P
T
=
S V ,N V S ,N
2
T
T
U
= =
S 2 V ,N S V ,N NCV
!
!U = TS PV + N
Integral
First
de-
rivatives
A
second
derivative
Maxwells
rule
93
Reordering
the
variables
to
U(S,V ,N1 ,N2 ,,Nn )
gives
the
enthalpy
H,
first
in-
!
troduced
in
deriving
First
Law
balances
for
open
systems
as
the
first
Legendre
(1)
transform
y :
!
Fundamental!equation:!!y (1) = H(S ,P,N1 ,N2 ,,Nn )
(4.25)
i=1
(4.26)
(4.27)
Additional
transformations,
not
listed
in
the
table,
are
possible
as
well.
For
ex-
ample,
one
could
order
the
variables
as
U(N1 ,N2 ,,Nn ,S,V )
and
perform
a
single
!
transform
to
obtain
a
function
of
(1 ,N2 ,,Nn ,S,V ) .
The
resulting
function
is
also
!
a
valid
fundamental
equation,
even
if
it
is
not
frequently
used
in
practice.
The
final
comment
here
is
that
the
last
transform,
y (n+2) ,
yields
a
function
of
!
only
intensive
variables,
T,
P
and
all
the
chemical
potentials.
By
Euler
integration
we
obtain
that
the
resulting
function
is
identically
zero,
a
result
known
as
the
Gibbs-Duhem
relationship:
n
SdT +VdP Ni d i = 0
i=1
!
(4.28)
Gibbs-
Duhem
relationship
!
y1i(1) =
y (1)
ij
!
y (0)
ij
y1i(0)
(0)
y11
1
(0)
y11
!!!!!i 1
(0) (0)
y1i
y1j
(0)
y11
!!!!!i, j 1
(4.29)
(4.30)
(4.31)
U
(NU)
U
=
=
S
= T
V ,N (N S) NV ,N S V
!
(4.32)
N
was
eliminated
in
the
last
derivative
of
this
expression
because
intensive
prop-
erties
do
not
depend
on
the
size
of
the
system,
so
that
N
is
no
longer
a
relevant
constraint.
The
differential
forms
of
the
fundamental
equations
in
one-component
systems
for
the
intensive
thermodynamic
functions
U,
A,
G,
and
H,
are
as
follows:
94
95
dU = TdS PdV
d A = SdT PdV
dH = TdS +VdP
!dG = SdT +VdP
(4.33)
First
derivatives
of
these
functions
with
respect
to
their
natural
variables
are
obtained
directly,
either
from
Table
4.1
or
from
Eqs.
4.33.
An
example
of
such
a
first
derivative
is
given
above
in
Eq.
4.32
temperature
is
clearly
an
experimental-
ly
measurable
quantity.
Other
examples
include:
U
U
H
G
=
= P
and
= = V
V
S ,N V S
P S P T
!
!
(4.34)
U
A
G
T = T = S
and
N =
S ,V
V P
!
!
(4.35)
U
S
P
V = T V P = T T P
T
T
V
!
(4.36)
2 A
2 =
T V
!
C
S
1 U
= = V
T T V
T
T V
(4.37)
intensive
FEs
for
one-
component
systems
96
2 G
C
S
1 H
= P
2 = =
T T P
T
T P
T P
!
(4.38)
The
other
two
second
derivatives
of
G
with
respect
to
its
natural
variables
are
also
important
experimentally
measurable
quantities.
The
cross
derivative
with
respect
to
temperature
and
pressure
is:
!
V
2 G
G
=
=
= PV
TP
T P T
T P
P
(4.39)
(V / T )P /V
! P
(4.40)
(4.41)
(V / P)T /V
! T
(4.42)
(4.43)
P
S
2 A
=
=
T V
T V
V T
(4.44)
T
V
2H
=
=
S P
P S
S P
(4.45)
S
V
2G
= =
T P
P T
T P
(4.46)
!
It
is
clear
from
the
last
three
expressions
that
derivatives
of
the
entropy
S
with
re-
spect
to
volume
or
pressure
are
experimentally
measurable,
even
though
the
abso-
lute
value
of
entropy
itself
is
not
directly
obtainable
in
classical
thermodynamics.
97
Other
derivatives
can
be
obtained
using
the
tools
described
in
4.2.
For
exam-
ple,
the
Joule-Thompson
coefficient,
(T/P) H
is
the
rate
of
temperature
change
with
pressure
when
a
fluid
flows
across
a
throttling
valve,
as
can
be
confirmed
from
a
differential
First
Law
balance
in
an
open
system
at
steady
state
with
d/Q
=
d/W
=
0
(see
Eq.
2.18,
p.
18).
This
coefficient
can
be
expressed
in
terms
of
equation-
of-state
derivatives
and
heat
capacities
by
first
invoking
the
triple-product
rule:
(H / P)T
T H P
T
P T H = 1 P = (H / T )
H
P
T
H
P
!
The
denominator
is
simply
CP
;
the
numerator
can
be
obtained
from
the
differential
form
of
H,
H
S
V
dH = TdS +VdP
= T +V = T +V
P T
P T
T P
!
T
1 V
=
T
V
P
C P T P
H
(4.47)
U
U
dU = dT + dV
T V
V T
!
(i)
U
U
dU =
dT +
dP
T P
P T
!
(ii)
dU = CV dT + T P dV
T
V
!
(iii)
98
For
the
derivatives
needed
for
expression
(ii),
we
start
again
from
the
fundamental
equation
for
U
in
terms
of
its
natural
variables,
dU
=
TdS
PdV
.
Differentiating
with
respect
to
T
at
constant
P
gives:
U
S
V
(iv)
T = T T P T
P
P
P
!
The
temperature
dependence
of
the
entropy
at
constant
pressure,
(S
/ T) P
,
can
be
obtained
by
differentiating
dH
=
TdS
+
VdP:
H
S
T = C P = T T
P
P
!
After
substituting
the
result
into
(iv),
we
get:
U
V
T = C P P T
P
P
!
The
pressure
derivative
needed
for
(ii)
is:
U
S
V
V
V
P = T P P P = T T P P
T
T
T
P
T
!
(v)
(vi)
We
used
Maxwells
relationship
on
G
to
get
rid
of
S.
Substituting
(v)
and
(vi)
into
(ii)
we
finally
obtain:
V
V
V
dU = C P P
+ P
dT T
dP
T P
P T
T P
!
(vii)
One
observation
we
can
make
here
is
that
the
functional
forms
of
U
in
unnatural
variables
are
more
complex
than
the
comparable
expressions
in
its
natural
vari-
ables.
This
is
an
additional
disadvantage
beyond
the
loss
of
information
content
discouraging
the
use
of
functional
forms
such
as
!U = U(T ,V )
and
!U = U(T ,P) .
Example
4.6
Difference
between
heat
capacities
Calculate
the
difference
between
the
heat
capacities
at
constant
pressure
and
con-
stant
volume,
C P C V ,
for
a
general
thermodynamic
system,
in
terms
of
P,
V,
T
and
their
mutual
derivatives.
We
use
as
starting
point
expression
(iii)
in
Example
4.5:
dU = CV dT + T P dV
T
V
!
99
Differentiating
with
respect
to
T
at
constant
P
and
setting
the
result
equal
to
ex-
pression
(v)
of
Example
4.5,
we
obtain:
U
=
C
T
P !!!!!!from!(iii)!!! V
!
P
V
V
+ T P
=
C P P
T
T !!!from!(v)!!!
T P
V
P
P V
C P CV = T
T V T P
!
For
ideal
gases,
one
can
simplify
this
relationship
considerably:
S = kB ln(N ,V ,U)
!
(3.17)
9/17/12
version
121
122
Macroscopic variables
Given
that
N
is
of
the
order
of
Avogadros
number
[NA
=
6.02211023
mol1]
for
macroscopic
samples,
there
is
a
huge
reduction
in
the
number
of
variables
re-
quired
for
a
full
description
of
a
system
when
moving
from
the
microscopic
to
the
macroscopic
variables.
Moreover,
the
microscopic
variables
are
constantly
chang-
ing
with
time,
whereas
for
a
system
at
equilibrium,
all
macroscopic
thermodynam-
ic
quantities
are
constant.
The
multidimensional
space
defined
by
the
microscopic
variables
of
a
system
is
called
the
phase
space.
This
is
somewhat
confusing,
given
that
the
word
phase
has
a
different
meaning
in
classical
thermodynamics
the
term
was
introduced
by
J.
Willard
Gibbs,
no
stranger
to
the
concept
of
macroscopic
phases.
In
general,
for
a
system
with
N
molecules
in
3
dimensions,
phase
space
has
6N
independent
variables
9/17/12 version
123
dri
= ui
dt
du i
U(r1 ,r2 ,,rN )
mi
=
dt
ri
!
(5.2)
where U
is
the
total
potential
energy,
which
includes
interactions
among
molecules
and
any
external
fields
acting
on
the
system.
For
a
much
simpler
system,
a
one-dimensional
harmonic
oscillator
shown
in
Fig.
5.1,
phase
space
is
two-dimensional,
with
coordinates
the
position
and
the
momentum
variables.
In
the
absence
of
friction,
the
oscillator
undergoes
harmonic
motion,
which
can
be
represented
as
a
circle
in
phase
space
if
position
and
momentum
are
scaled
appropriately.
The
diameter
of
the
circle
depends
on
the
total
energy
(a
constant
of
the
motion),
and
the
oscillator
moves
around
the
circle
at
a
constant
velocity.
Figure
5.1
A
one-dimensional
har-
monic
oscillator
(top),
and
the
cor-
responding
phase
space
(bottom).
9/17/12 version
Figure
5.2
A
conceptual
exper-
iment
in
an
isolated
system.
124
with
perfectly
reflecting
walls.
Such
a
system
would
seem
to
violate
the
classical
thermodynamics
postulate
of
eventually
approaching
an
equilibrium
state.
Since
there
is
no
initial
momentum
in
the
vertical
direction,
Newtons
equations
of
mo-
tion
would
suggest
that
the
molecules
will
never
hit
the
top
wall,
which
will
thus
experience
zero
pressure
at
all
times,
even
though
there
is
a
finite
density
of
gas
in
the
system.
In
statistical
mechanical
terms,
microstates
with
non-zero
vertical
momenta
will
never
be
populated
in
such
a
system.
Of
course,
even
tiny
interac-
tions
between
the
molecules,
or
minor
imperfections
of
the
walls,
will
eventually
result
in
chaotic
motion
in
all
directions;
thermodynamic
equilibrium
will
be
es-
tablished
over
times
significantly
greater
than
the
interval
between
molecular
col-
lisions.
Most
molecular
systems
are
able
to
forget
their
initial
conditions
and
evolve
towards
equilibrium
states,
by
sampling
all
available
phase
space.
Only
non-
equilibrium
(for
example,
glassy)
systems
violate
this
condition
and
have
proper-
ties
that
depend
on
their
history
such
systems
cannot
be
analyzed
with
the
methods
of
equilibrium
thermodynamics
or
statistical
mechanics.
At
a
molecular
level,
the
statement
equivalent
to
Postulate
I
of
classical
ther-
modynamics
is
the
ergodic
hypothesis.
The
statement
is
as
follows.
Ergodic
hypothesis
For
sufficiently
long
times,
systems
evolve
through
all
microscopic
states
con-
sistent
with
the
external
and
internal
constraints
imposed
on
them.
Experimental
measurements
on
any
macroscopic
system
are
performed
by
ob-
serving
it
for
a
finite
period
of
time,
during
which
the
system
samples
a
very
large
number
of
possible
microstates.
The
ergodic
hypothesis
suggests
that
for
long
enough
times,
the
entire
ensemble
of
microstates
consistent
with
the
microscopic
constraints
on
the
system
will
be
sampled.
A
schematic
illustration
of
trajectories
of
ergodic
and
non-ergodic
systems
in
phase
space
is
shown
in
Fig.
5.3
a
two-
dimensional
representation
of
phase
space
is
given,
whereas
we
know
that
for
re-
alistic
systems
phase
space
has
a
very
large
number
of
dimensions.
The
interior
of
the
shaded
region
is
the
phase
space
of
the
corresponding
system.
For
the
system
Figure
5.3
Schematic
trajectories
of
ergodic
(left)
a nd
non-ergodic
(right)
systems
in
phase
space.
9/17/12 version
125
on
the
left,
there
are
two
connected
regions
of
phase
space,
so
the
trajectory
even-
tually
passes
from
one
to
the
other
and
samples
the
whole
of
phase
space.
By
con-
trast,
for
the
system
on
the
right,
the
two
regions
of
phase
space
are
disconnected,
so
that
the
system
cannot
pass
from
one
to
the
other.
The
system
is
non-ergodic.
As
already
discussed
in
Chapter
1,
there
is
a
link
between
time
scales
and
con-
straints;
a
system
observed
over
a
short
time
can
appear
to
be
isolated,
while
over
longer
times
it
may
exchange
energy
and
mass
with
its
surroundings.
Also,
the
possible
microstates
depend
on
the
time
scales
of
interest,
and
on
internal
con-
straints
for
example,
chemical
reactions
open
up
additional
microstates,
but
can
only
occur
over
long
time
scales,
or
in
the
presence
of
a
catalyst.
For
systems
satisfying
the
ergodic
hypothesis,
experimental
measurements
(performed
by
time
averages)
and
statistical
mechanical
ensemble
averages
are
equivalent.
Of
course,
we
have
not
specified
anything
up
to
this
point
about
the
rel-
ative
probabilities
of
specific
states;
the
ergodic
hypothesis
just
states
that
all
states
will
eventually
be
observed.
A
general
property
F
can
be
formally
written
as:
Fobserved
!
P
!!!!!probability!of!finding
the!system!in!microstate!
= < F >
value!of!property!F
!!!!!in!microstate!
ensemble
!!average
(5.3)
The
objective
of
the
next
few
sections
will
be
to
determine
the
relative
probabilities,
P ,
of
finding
systems
in
given
microstates
of
ensembles
under
vary-
ing
constraints.
This
will
allow
the
prediction
of
properties
by
performing
ensem-
ble
averages,
denoted
by
the
angle
brackets
of
the
rightmost
side
of
Eq.
5.3.
9/17/12 version
126
1
P =
(U ,V ,N)
!
(5.4)
The
function
(U,V,N)
is
called
the
density
of
states,
and
is
directly
linked
to
the
entropy,
via
Botzmanns
entropy
formula,
S = kB ln .
It
is
also
related
to
the
fun-
!
damental
equation
in
the
entropy
representation,
with
natural
variables
(U,V,N).
Writing
the
differential
form
of
the
fundamental
equation
for
a
one-component
system
in
terms
of
,
we
obtain:
!
dS
= d ln = dU + P dV dN
kB
9/17/12 version
(5.5)
127
In
Eq.
5.5,
we
have
introduced
for
the
first
time
the
shorthand
notation
1/(kBT ) .
This
combination
appears
frequently
in
statistical
mechanics,
and
is
!
usually
called
the
inverse
temperature,
even
though
strictly
speaking
it
has
units
of
inverse
energy
[J1].
Differentiation
of
Eq.
5.5
provides
expressions
for
the
in-
verse
temperature,
pressure,
and
chemical
potential,
in
terms
of
derivatives
of
the
logarithm
of
the
number
of
microstates
with
respect
to
appropriate
variables:
ln
U
(5.6)
V ,N
ln
V = P
U ,N
!
(5.7)
ln
N =
U ,V
!
(5.8)
N!
(U) = N =
M!(N M)!
M
!
At
the
limit
of
large
N,
we
can
use
Stirlings
approximation,
!ln(N!) N lnN N :
ln
=
=
U N
ln
(M )
N
9/17/12 version
128
1
1
=
( N ln N M ln M (N M )ln(N M )) = ( ln M 1+ ln(N M ) + 1)
M
N
= ln
kT
NM
N
= ln 1
B =
M
M
!
1
N
ln 1
M
The
possible
values
of
the
normalized
energy
ratio,
U /Umax = M / N ,
range
from
0
!
(every
particle
is
in
the
ground
state)
to
1
(every
particle
is
in
the
excited
state).
The
relationship
between
M/N
and
the
temperature
is
shown
in
Fig.
5.5.
Low
val-
ues
of
M/N
correspond
to
low
temperatures.
Remarkably,
the
temperature
ap-
proaches
+
as
M/N
from
below,
and
then
returns
from
negative
infinity
to
just
below
zero
as
M/N
1.
Figure
5.5
Temperature
versus
normalized
energy
for
the
system
of
Example
Error!
Reference
source
not
found..
Do
these
results
make
sense?
Can
negative
temperatures
exist
in
nature?
It
turns
out
that
the
existence
of
negative
temperatures
is
entirely
consistent
with
thermo-
dynamics.
The
system
of
this
example
has
a
density
of
states
that
is
a
decreasing
function
of
the
total
energy
U
when
more
than
half
the
particles
are
in
the
excited
state.
Most
physical
systems
(e.g.
molecules
free
to
translate
in
space)
have
a
mon-
otonic
increase
in
the
number
of
states
at
higher
energies,
and
thus
cannot
exist
at
negative
temperatures;
however,
some
spin
systems
can
closely
approximate
the
system
of
this
example.
One
needs
to
realize
that
negative
temperatures
are
effec-
tively
higher
than
all
positive
temperatures,
as
energy
will
flow
in
the
negative
positive
direction
on
contact
between
two
systems
of
opposite
sides
of
the
dashed
line
M/N
=
,
corresponding
to
=
0,
or
T
=
.
9/17/12 version
129
(U ) = R (U U )
! R R
The
probability
of
finding
the
small
system
in
state
is
proportional
to
the
number
of
such
microstates,
9/17/12 version
130
P R (U U ) = exp ln R (U U )
!
(5.9)
We can Taylor-expand lnR around R (U) given that U is much smaller than U:
lnR
ln R (U U ) = ln R (U) U
+ !
(5.10)
U
!
Substituting
5.10
back
in
Eq.
5.9
and
using
Eq.
5.6,
we
can
incorporate
the
term
involving
Res
(that
does
not
depend
on
the
microstate
)
into
the
constant
of
proportionality
for
P :
P exp U
at
constant
N V T
!
(5.11)
This
is
a
very
important
result.
The
probability
of
each
microstate
in
the
ca-
nonical
ensemble
(constant
NVT)
decreases
exponentially
for
higher
energies.
The
probability
distribution
of
Eq.
5.11
is
known
as
the
Boltzmann
distribution.
In
order
to
find
the
absolute
probability
of
each
microstate,
we
need
to
nor-
malize
the
probabilities
so
that
their
sum
is
1.
The
normalization
constant
is
called
the
canonical
partition
function,
Q
and
is
obtained
from
a
summation
over
all
mi-
crostates,
canonical
partition
function
Q (N ,V ,T ) =
exp U
all!microstates!!
!
(5.12)
exp U
P =
at
constant
N V T
(5.13)
Q
!
The
probability
of
all
microstates
with
a
given
energy
U
is
the
a
sum
of
(U )
equal
terms,
each
at
the
volume
V
and
number
of
molecules
N
of
the
system:
(U)exp U
P(U) =
at
constant
N V T
(5.14)
Q
!
An
important
implication
of
these
derivations
is
that
the
energy
of
a
system
at
constant
temperature
is
strictly
fixed.
Instead
it
fluctuates
as
the
system
samples
different
microstates.
This
is
in
direct
contrast
with
the
postulate
of
classical
ther-
modynamics
that
three
independent
variables
(N,
V,
and
T
in
this
case)
fully
char-
acterize
the
state
of
a
system,
including
its
energy.
As
will
be
analyzed
in
detail
in
the
following
chapter,
fluctuations
of
quantities
such
as
the
energy
are
present
in
all
finite
systems,
but
their
relative
magnitude
decreases
with
increasing
system
size.
For
macroscopic
systems
fluctuations
are
negligible
for
all
practical
purposes,
except
near
critical
points.
In
any
statistical
mechanical
ensemble,
however,
we
9/17/12 version
131
need
to
make
a
clear
distinction
between
quantities
that
are
strictly
constant
(con-
strains,
or
independent
variables
in
the
language
of
Legendre
transformations),
and
those
that
fluctuate
(derivatives).
Any
thermodynamic
property
B
can
be
obtained
from
a
summation
over
mi-
crostates
of
the
value
of
the
property
at
a
given
microstate
times
the
probability
of
observing
the
microstate:
given by:
1
< U > = U exp U at
constant
N V T
(5.16)
Q !
!
Let
us
calculate
the
temperature
derivative
of
the
canonical
partition
function
Q
.
We
have:
U exp U
lnQ
1 exp(U )
=
=
= < U >
(5.17)
The
fundamental
equation
for
S/kB
,
Eq.
5.5,
has
U,
V
and
N
as
its
variables
and
,
P
,
and
as
its
derivatives.
Its
first
Legendre
transform
with
respect
to
U
is:
S
S
U
U TS
U =
=
= A
(5.18)
kB
kB kBT
kBT
!
This
is
a
function
of
,
V
,
and
N,
with:
(A)
(5.19)
= U
V ,N
!
Comparing
Eqs.
5.17
and
5.19,
we
see
that
the
former
(obtained
from
statisti-
cal
mechanics)
gives
the
ensemble
average
energy,
recognizing
that
the
energy
fluctuates
under
constant-NVT
conditions.
The
latter
expression,
obtained
from
thermodynamics
using
Legendre
transformations,
does
not
involve
averages
of
fluctuating
quantities.
At
the
thermodynamic
limit,
N
,
we
can
set
the
two
ex-
pressions
equal
,
and
obtain
a
direct
connection
between
the
canonical
partition
function
and
the
first
Legendre
transform
of
S /kB ,
!A = lnQ
(5.20)
9/17/12 version
132
tropy
formula
(Eq.
3.20,
p.
59)
for
the
case
of
a
system
at
constant-N V T ,
in
the
thermodynamic
limit
N
:
= lnQ + U =
A +U S
=
kBT
kB
P lnP =
P lnQ U = lnQ P + PU =
Eq.!5.14
(5.21)
!
Given
that
lnQ
is
the
first
Legendre
transformation
of
ln,
we
can
now
ex-
!
press
all
the
first
derivatives
of
the
canonical
partition
function
Q ,
analogous
to
Eqs.
5.65.8
for
the
derivatives
of
the
microcanonical
partition
function
:
lnQ
= U
(5.22)
V ,N
!
lnQ
(5.23)
V = P
T ,N
!
lnQ
(5.24)
N =
T ,V
!
These
expressions
are
strictly
true
only
in
the
thermodynamic
limit
N;
for
finite
systems,
for
which
we
need
to
preserve
the
distinction
between
fluctuating
and
strictly
constant
quantities,
the
proper
expressions
involve
ensemble
averag-
es;
for
example,
the
correct
version
of
Eq.
5.22
is:
lnQ
= < U >
V ,N
!
(5.25)
U = li
i=1
!
The
partition
function
in
the
canonical
ensemble
is:
9/17/12 version
lnQ = ln e
Q =
133
N
N
exp
l
=
exp(li )
i
i=1 l1 ,l2 ,...,lN =0,1 i=1
l1 ,l2 ,...,lN =0,1
Now
we
can
use
a
mathematical
identity
that
will
turn
out
to
be
useful
in
all
cases
in
which
a
partition
function
has
contributions
from
many
independent
particles.
The
sum
contains
2N
terms,
each
consisting
of
a
product
of
N
exponentials.
We
can
regroup
the
terms
in
a
different
way,
in
effect
switching
the
order
of
the
summa-
tion
and
multiplication:
exp(li ) = e
i=1
li
= (1+ e )N
i=1 li =0,1
You
can
easily
confirm
that
the
switched
product
contains
the
same
2N
terms
as
before.
The
final
result
for
the
partition
function
is:
!lnQ = N ln(1+ e )
The
ensemble
average
energy
<U>
is
lnQ
e
N
<U > =
=
N
=
() N ,V
1+ e 1+ e
!
The
microcanonical
ensemble
result
can
be
written
as:
N
N
N
ln 1 =
= 1 = e M =
M = U =
M
M kBT
1+
e
1+
e
!
The
only
difference
is
that
in
the
canonical
ensemble
the
energy
is
a
fluctuating
(rather
than
a
fixed)
quantity.
Note
also
that
the
canonical
ensemble
derivation
does
not
entail
any
approximations;
the
same
result
is
valid
for
any
N.
By
contrast,
the
microcanonical
energy
was
obtained
through
the
use
of
Stirlings
approxima-
tion,
valid
as
N.
Small
differences
between
the
two
ensembles
are
present
for
finite
N.
9/17/12 version
134
n
dS
= d ln = dU + PdV i dNi
kB
i=1
(5.26)
S
y (1) = U = (TS U) = A
kB
!
(5.27)
The
relationships
between
the
original
function
and
the
first
transform
are
de-
picted
in
the
table
below.
y(0)
=
S/kB
=
ln
Variable
Derivative
Variable
Derivative
1/(kBT) =
1/(kBT) =
P/(kBT) = P
P/(kBT) = P
Ni
i/(kBT) = i
Ni
i/(kBT) = i
These
relationships
link
microscopic
to
macroscopic
properties
and
are
strictly
valid
at
the
thermodynamic
limit,
N.
One
should
keep
in
mind
that
in
each
en-
semble,
the
variables
of
the
corresponding
transform
are
strictly
held
constant,
defining
the
external
constraints
on
a
system,
while
the
derivatives
fluctuate
they
take
different
values,
in
principle,
for
each
microstate
of
the
ensemble.
The
magni-
tude
of
fluctuations,
and
connections
to
thermodynamic
derivatives,
will
be
made
in
Chapter
6.
Probabilities
of
microstates
in
two
statistical
ensembles
have
already
been
de-
rived.
Microstate
probabilities
are
all
equal
in
the
microcanonical
ensemble,
from
the
basic
postulate
of
statistical
mechanics;
they
are
equal
to
the
Boltzmann
factor,
exp(U),
normalized
by
the
partition
function
for
the
canonical
ensemble
(Eq.
5.13).
Note
that
the
factor
U
that
appears
in
the
exponential
for
microstate
probabilities
in
the
canonical
ensemble
is
exactly
equal
to
the
difference
between
the
basis
function
and
its
first
Legendre
transform,
x11 .
!
One
can
continue
this
with
Legendre
transforms
of
higher
order.
The
probabil-
ities
of
microstates
in
the
corresponding
ensembles
can
be
derived
in
a
way
com-
pletely
analogous
to
the
derivation
for
the
canonical
ensemble,
involving
a
subsys-
9/17/12 version
135
tem
and
bath
of
constant
temperature,
pressure,
chemical
potential,
etc.
In
general,
the
kth
transform
of
the
basis
function
is:
S
S
y (0) = !!!!!;!!!!!!!!!!y (k ) = 1x1 2x2 kxk
kB
kB
!
(5.28)
where
i
is
the
i-th
derivative
of
y(0)
with
respect
to
variable xi .
The
probability
!
!
of
a
microstate
in
the
ensemble
corresponding
to
the
kth
transform
is
given
by
P =
!
(5.31)
As
was
the
case
for
the
canonical
ensemble,
the
partition
function
is
simply
re-
lated
to
the
transformed
function,
y (k ) :
!
ln = y (k )
!
(5.32)
S = kB P lnP
!
was
derived
in
3.6
for
the
microcanonical
ensemble.
Show
that
this
relationship
is
valid
for
all
statistical
ensembles.
We
use
the
expression
for
the
probability
of
microstates,
P ,
in
a
generalized
en-
semble,
Eq.
5.31:
P lnP = P ln
)=
Now
recall
that
the
variables
for
the
k-th
transform
are
1 ,2 ,, k ,xk+1 ,xn+2 ,
!
which
are
strictly
constant
in
the
corresponding
ensemble,
while
the
derivatives,
x ,x ,,xk , k+1 , n+2 fluctuate.
We
can
rewrite
the
equation
above
taking
this
! 1 2
into
account:
9/17/12 version
136
S
ln = y (k ) = 1x1 2x2 kxk
kB
!
At
the
thermodynamic
limit,
N,
so
there
is
no
distinction
between
ensemble
averages
and
thermodynamic
properties,
< xi > xi .
Replacing
!ln and
simplify-
!
ing,
P lnP = k
, QED
Example
5.4
Grand
Canonical
(VT)
(NPT)
Ensemble
The
grand
canonical
(constantVT)
and
constant-pressure
(NPT)
ensembles
are
frequently
used
in
computer
simulations.
Derive
the
partition
functions,
probabil-
ity
of
microstates,
and
derivative
relationships
in
these
two
ensembles
for
a
1-
component
system.
Starting
from
the
fundamental
equation
in
the
entropy
representation
with
order-
ing
of
variables
y (0) = S(U ,N ,V )/kB = ln ,
the
grand
canonical
ensemble
partition
!
function
corresponds
to:
S
TS U + N
ln = y (2) = U + N =
kB
kBT
!
The
microstates
possible
in
this
ensemble
include
all
possible
particle
numbers
from
0
to
,
and
all
possible
energy
levels.
The
Euler-integrated
form
of
the
fundamental
equation
is
!U = TS PV + N ,
so
that
the
partition
function
of
the
grand
canonical
ensemble
can
be
linked
to
the
follow-
ing
thermodynamic
property
combination:
PV
ln =
= PV
kBT
!
9/17/12 version
137
y (2) = PV = ln
!
y (0) = S /kB = ln
!
Variable
Derivative
Variable
Derivative
U
N
V
U
N
P
For
example,
the
average
number
of
molecules
in
the
system
is
given
by:
ln
ln
= < N >
() = < N > kBT
,V
,V
!
The
probability
of
microstates
in
this
ensemble
is:
P =
!
exp(U + N )
, where = exp(U + N )
Example
5.5
Constant-pressure
(NPT)
Ensemble
The
constant-pressure
(NPT)
ensemble
is
also
frequently
used
in
computer
simu-
lations.
Derive
the
partition
functions,
probability
of
microstates,
and
derivative
relationships
in
this
ensembles
for
a
1-component
system.
Ee
start
from
from
the
fundamental
equation
in
the
entropy
representation
with
ordering
of
variables
y (0) = S(U ,V ,N)/kB ,
and
obtain
the
second
transform:
!
S
TS U PV
ln = y (2) = U PV =
= N = G
kB
kBT
!
The
microstates
possible
in
this
ensemble
include
all
possible
volumes
from
0
to
,
and
all
possible
energy
levels.
The
derivative
table
is:
y (2) = N = ln
!
y (0) = S /kB = ln
!
Variable
Derivative
Variable
Derivative
U
V
N
P
N
U
V
9/17/12 version
138
ln
ln
= < V >
(P) = < V > kBT P
,N
,N
!
The
probability
of
microstates
in
this
ensemble
is:
P =
!
exp(U PV )
, where = exp(U PV )
9/17/12 version
Chapter
6.
Equilibrium,
Stability,
and
Fluctuations
The
First
and
Second
Laws
of
Thermodynamics
allow
us
to
make
powerful
general
statements
about
the
overall
behavior
of
systems
in
thermodynamic
equilibrium
with
respect
to
external
interactions
in
particular,
we
have
learned
how
to
obtain
work
and
heat
flows
and
entropy
changes
of
a
system
and
its
environment.
We
have
also
established
that
irreversible
(spontaneous)
changes
within
a
system
re-
sult
in
a
net
increase
in
the
entropy
of
the
universe.
We
have
not
yet
examined,
however,
the
detailed
internal
requirements
and
constraints
imposed
by
thermo-
dynamic
equilibrium
on
properties
and
thermodynamic
functions
of
systems.
Ex-
perience
suggests
that
for
a
system
at
equilibrium,
density
does
not
need
to
be
uni-
form;
for
example,
a
vessel
containing
a
liquid
and
its
saturated
vapor
clearly
has
density
variations.
However,
temperature
is
uniform
throughout
systems
at
equi-
librium,
at
least
at
the
level
of
macroscopic
measurements.
This
must
somehow
be
connected
to
the
overall
condition
imposed
by
the
Second
Law
that
the
entropy
of
the
universe
is
maximized
at
equilibrium,
but
the
link
has
not
yet
been
made
ex-
plicit.
A
key
difference
between
macroscopic
thermodynamic
and
statistical
mechanical
points
of
view
is
that
the
latter
recognizes
the
existence
of
fluctuations
occuring
in
small
regions
of
a
system
at
equilibrium.
Such
fluctuations
are
completely
absent
in
macroscopic
thermodynamics.
We
have
alluded
in
the
previous
chapter
that
the
two
seemingly
contradictory
statements
are
reconciled
at
the
limit
N.
In
the
present
chapter,
we
will
develop
the
necessary
framework
for
performing
this
reconciliation.
Interestingly,
the
existence
of
microscopic
fluctuations
will
turn
out
to
be
intimately
linked
to
thermodynamic
stability:
macroscopic
systems
become
unstable
when
their
microscopic
fluctuations
become
unbounded.
The
goals
of
the
present
chapter
are
to
examine
the
conditions
of
equilibrium
and
stability
of
thermodynamic
systems,
and
to
obtain
relationships
expressing
microscopic
fluctuations
in
terms
of
system
properties.
We
also
obtain
constraints
on
the
signs
and
relative
magnitudes
of
thermodynamic
derivatives
that
follow
from
the
equilibrium
and
stability
conditions.
In
Chapter
5,
we
studied
methods
to
Draft
material
from
Statistical
Thermodynamics
2012,
A.
Z.
Panagiotopoulos
10/4/12 version
152
153
This
condition
turns
out
to
be
a
good
starting
point
for
deriving
equilibrium
criteria
for
systems
subject
to
different
constraints.
Let
us
consider
a
small
pertur-
bation
within
an
isolated
system
containing
a
pure
component,
as
shown
in
Fig.
6.1.
This
perturbation
could
be
a
change
in
energy,
volume
or
amount
of
material
in
a
region
that
is
labeled
system
I,
while
the
rest
of
the
isolated
system
is
labeled
system
II.
The
first-order
variation
in
the
overall
entropy
is:
S = SI + SII
(6.1)
!
Using
the
fundamental
equation
in
the
entropy
representation
for
a
one-compo-
nent
system
(p.
82):
P
1
SI = UI + I VI I NI
TI
TI
TI
(6.2)
PII
II
1
SII = UII + VII NII
TII
TII
TII
!
10/4/12 version
154
Since
the
overall
system
is
isolated,
its
energy,
volume,
and
number
of
moles
are
fixed;
variations
within
the
two
subsystems
must
be
linked
so
as
to
satisfy:
UI + UII = 0 UI = UII
VI + VII = 0! VI = VII
(6.3)
N + NII = 0 NI = NII
! I
Substituting
the
expressions
from
Eqs.
6.2
and
6.3
into
Eq.
6.1,
we
obtain:
1 1
P P
S = UI + I II VI I II NI
TI TII
TI TII
TI TII
!
(6.4)
!
equilibrium
criteria,
1-component
systems
P P
I II
1 1
= 0!!!; I II = 0!!!;
= 0
TI TII
TI TII
TI TII
TI = TII
PI = PII
(6.5)
= II
! I
In
words,
maximization
of
the
entropy
implies
that
temperature,
pressure
and
chemical
potential
must
be
uniform
at
equilibrium.
Even
though
we
derived
this
10/4/12 version
155
Figure
6.2
Variation
of
entropy
for
a
system
at
constant
U.
TI = TII
PI = PII
(6.6)
10/4/12 version
equilibrium
criteria,
n-component
systems
156
Figure
6.3
System
in
contact
with
a
thermal
reservoir
U = UC UB = UC U A = Q +
> 0
V !is!constant
!
The
small
change
from
an
equilibrium
to
an
off-equilibrium
state
resulted
in
U
>
0
at
constant
entropy:
the
energy
increases
when
we
move
away
from
equilib-
rium
at
constant
( S ,V ,N ).
Therefore,
we
have
shown
that:
The
next
step
is
to
examine
the
behavior
of
systems
that
are
subject
to
con-
straints
different
from
(U ,V ,N )
or
(S ,V ,N ).
The
derivations
parallel
the
develop-
ment
of
alternate
representations
of
the
fundamental
equation
in
Chapter
5,
in
which
we
moved
from
the
energy
U (S ,V ,N )
to
the
Helmholtz
energy
A (T ,V ,N )
or
Gibbs
free
energy
G (T ,P ,N ).
First,
let
us
consider
the
constant-(T ,V ,N )
case
by
analyzing
a
small
system
in
contact
with
a
large
thermal
reservoir
as
shown
in
Fig.
6.3.
Changes
in
energy
of
the
small
system
result
in
negligible
changes
in
the
prop-
erties
of
the
large
reservoir,
which
imposes
its
temperature
on
the
small
system.
Water
baths
used
in
chemistry
and
biology
labs
are
good
examples
of
(approxi-
mately)
constant-temperature
reservoirs.
We
will
consider
the
sum
of
(system
+
reservoir)
to
constitute
a
total
system
that
is
isolated
(constant
U ,V ,N ),
so
that:
Stotal = S + SR
10/4/12 version
(6.7)
157
We
have
used
the
subscripts
total
and
R
to
distinguish
properties
of
the
total
sys-
tem
and
the
reservoir,
respectively.
The
system
of
interest
(the
one
being
held
at
constant
T,
V
and
N),
is
assigned
no
special
label.
For
the
total
system,
the
entropy
is
a
maximum
at
equilibrium
as
the
system
is
at
constant
( U ,V ,N ).
For
any
process
that
takes
the
system
from
an
off-equilibrium
to
an
equilibrium
state,
we
must
have
Stotal > 0 .
For
the
total
system,
we
have:
U
= 0 U + UR = U +TSR
! total
(6.8)
Here,
we
have
assumed
that
the
transfer
of
heat
from
the
system
to
the
reservoir
takes
place
reversibly,
since
both
system
and
reservoir
are
at
the
same
tempera-
ture.
Furthermore,
there
is
no
volume
change
or
work
associated
with
the
reser-
voir,
so
UR
=
TSR.
Now,
from
Eq.
6.7,
we
have:
S = Stotal S
! R
Eq.
6.8
now
gives:
U
= 0 = U TS +TStotal U TS = TStotal < 0
! total
!U TS = (U TS) = A < 0
We
have
thus
shown
that
moving
towards
equilibrium
results
in
lowering
of
the
Helmholtz
free
energy
A,
so
that:
10/4/12 version
158
S
= S + ST'res + SP'res > 0
! total
(6.9)
The
entropy
change
of
the
volume
reservoir
is
zero
because
there
is
no
heat
flow
into
or
out
of
it.
The
total
energy
Utot
is
constant,
so
that:
VP(res =V
U
= 0 = U +TST(res + PV TST(res = U PV
! total
Substituting
in
Eq.
6.9:
G < 0
10/4/12 version
159
So
that:
In
a
similar
fashion,
one
can
prove
that
for
any
set
of
constraints
on
a
system,
the
thermodynamic
function
that
corresponds
to
a
fundamental
equation
with
the
corresponding
variables
is
minimized
or
maximized
at
equilibrium,
depending
on
whether
we
start
from
the
fundamental
equation
in
the
energy
or
entropy
repre-
sentations.
A
connection
to
the
statistical
mechanical
ensembles
introduced
in
the
previ-
ous
chapter
can
also
be
made.
We
have
seen
that
a
given
set
of
external
constraints
imposed
on
a
system
define
a
statistical
ensemble,
with
partition
function
equal
to
the
exponential
of
the
corresponding
Legendre
transformation.
The
starting
point
is
y (0) = S /kB ,
which
corresponds
to
constantUVN
conditions.
The
condition
of
!
equilibrium
for
a
system
at
constantUVN,
is,
as
we
have
just
established,
the
max-
imization
of
the
entropy
S,
and
therefore
also
of
y (0) .
The
first
Legendre
transform
!
corresponds
to
a
system
at
constantNVT
conditions:
S
U
U TS
lnQ = y (1) =
=
= A
kB kBT
kBT
!
We
have
just
established
that
the
Helmholtz
free
energy
A
is
minimized
at
con-
stantNVT
conditions,
so
that
A
is
maximized.
Thus,
we
can
generalize
this
ob-
servation
as
follows.
At
the
set
of
conditions
that
define
a
statistical
mechanical
ensemble,
the
thermo-
dynamic
function
corresponding
to
the
partition
function
of
the
ensemble
is
max-
imized
at
equilibrium.
Example
6.1
Determine
the
thermodynamic
potential
functions
being
minimized
or
maximized
at
equilibrium:
(a)
at
constant
( S ,P ,N )
(b)
at
constant
( T ,V , )
For
(a),
we
can
see
directly
that
the
thermodynamic
function
being
minimized
is
the
fundamental
equation
in
the
variables
( S ,P ,N ):
H
(S,
P,
N)
=
U
+
PV
is
minimized
at
equilibrium
for
constant
(S,
P,
N)
10/4/12 version
160
For
(b),
the
function
being
minimized
is
a
Legendre
transform
of
U
that
we
have
not
formally
defined,
but
should
be
a
function
of
(T,
V,
).
To
obtain
this
function,
we
need
to
transform
T
and
N
in
U
(S,
V,
N),
so
that
the
function
is
=
UTS
=
PV
We
conclude
that
the
function
=
PV
is
minimized
at
equilibrium
for
constant
(T,
V,
),
given
that
the
starting
point
was
U,
so
that
P V
is
maximized.
For
(c),
the
variables
are
related
to
the
entropy
representation
of
the
fundamental
equation,
1
P
dS = dU + dV dN
T
T
T
!
To
obtain
a
function
of
(1/T ,P/T ,N),
we
need
to
transform
the
first
two
variables
to
obtain
the
function:
S
U/T
PV/T
=
(
U
TS
+PV
)/T
=
G/T,
which
is
maximized
at
equilibrium,
as
the
starting
point
was
S.
More
complex
types
of
equilibria
can
be
encountered
in
systems
with
internal
boundaries.
A
noteworthy
example
of
such
boundaries
is
semipermeable
mem-
branes
that
do
not
allow
exchange
of
molecules
of
certain
components
be-
tween
the
two
sides
of
the
membrane.
A
schematic
of
such
a
system
is
shown
in
Fig.
6.5.
The
overall
system
is
considered
under
conditions
of
isolation,
at
constant
U,
V,
and
N.
At
equilibrium,
the
entropy
of
the
total
system
is
maximized:
Figure
6.5
System
with
a
rigid
membrane
permeable
only
to
component
A.
S = SI + SII
! tot
(6.10)
Since
the
membrane
is
rigid,
the
volumes
of
the
two
compartments
are
constant;
the
number
of
moles
of
component
B
is
also
constant
on
both
sides;
however,
the
energies
can
fluctuate
because
of
molecules
of
component
A
moving
across
the
membrane.
The
variations
of
entropy
are:
SI =
A ,I
1
UI
N A ,I
TI
TI
A ,II
1
SII = UII
N A ,II
TII
TII
!
10/4/12
version
(6.11)
161
The
conditions
of
isolation
of
the
total
system
impose
conservation
of
energy
and
number
of
moles
of
A
in
the
two
regions
UI + UII = 0 UI = UII
N + N A ,II = 0 N A ,I = N A ,II
! A ,I
(6.12)
A ,I A ,II
1 1
Stot = UI
N
TI
TII A ,I
TI TII
!
At
equilibrium,
the
first-order
entropy
variation
must
vanish
for
all
possible
per-
turbations,
so
that
the
prefactors
to
UI and
N A ,I must
both
be
zero.
The
condi-
!
!
tions
of
equilibrium
are
then:
TI = TII
= A ,II
! A ,I
(6.13)
dU
= 0
[condition
of
extremum]
! dx
(6.14)
Eq. 6.14 is a necessary but not sufficient condition for minimization of U. In par-
10/4/12 version
162
ticular,
the
following
additional
condition
must
be
satisfied
by
the
second
deriva-
tive
of
U
at
the
point
at
which
the
first
derivative
vanishes
to
make
it
a
minimum:
d 2U
! dx
(6.15)
The
left-most
panel
of
Fig.
6.6
satisfies
the
condition
of
Eq.
6.15
and
corre-
sponds
to
a
stable
equilibrium
state.
Small
perturbations
of
the
system
to
either
left
or
right
of
the
minimum
produce
a
restoring
force
that
returns
the
system
to
the
stable
equilibrium
point.
For
the
second
panel
from
the
left,
the
second
derivative
is
negative
and
the
point
corresponds
to
a
maximum.
Such
a
condition
corre-
sponds
to
unstable
equilibrium.
At
exactly
the
top
of
the
hill
the
forces
on
the
ball
are
zero,
so
in
principle
the
ball
is
at
equilibrium.
However,
the
slightest
perturba-
tion
away
from
this
point
to
either
left
or
right
results
in
forces
that
move
the
ball
away
from
the
point
of
equilibrium;
systems
cannot
be
kept
for
any
significant
amount
of
time
at
unstable
equilibrium,
but
move
away
towards
stable
equilibri-
um
states.
An
additional
possibility
for
a
type
of
equilibrium
state
is
illustrated
in
the
third
panel
of
Fig.
6.6.
The
well
in
this
case
has
two
minima,
a
shallow
one
to
the
left
and
a
deeper
one
to
the
right.
There
is
no
simple
mathematical
test
to
distin-
guish
between
a
global
minimum
and
a
local
minimum:
in
both
cases,
the
first
de-
rivative
vanishes
and
the
second
derivative
of
the
function
at
the
minimum
is
posi-
tive.
Systems
that
are
at
a
local
minimum
of
the
appropriate
thermodynamic
po-
tential
are
said
to
be
in
metastable
equilibrium.
Small
perturbations
away
from
a
metastable
equilibrium
state
return
to
the
starting
point,
but
large
perturbations
can
lead
to
a
drastically
different
equilibrium
point.
As
the
depth
of
the
metastable
well
is
reduced,
we
reach
a
limit
of
stability
(right-most
panel
of
Fig.
6.6),
for
which:
dU
d 2U
= 0!!!and!!!
= 0
[limit
of
stability]
dx 2
! dx
(6.16)
10/4/12 version
163
2U > 0
2 U
(S)2 +
2
2 U
(V )2 +
2
2 U
2
(N)2 +
S
V
N
2
2
U
U
2 U
!!!!!!!!!!!!!!!!!!!!!!!! + 2
SV +
SN +
VN > 0
S N
V N
S V
2U
T
T
T
>0
=
>0
> 0
2
CV
S V ,N NCV
S V ,N
!
(6.17)
2U
P
P
< 0 < 0
2 >0
V S ,N
V S
V S ,N
!
(6.18)
2U
2 >0
> 0
N S ,V
N S ,V
!
(6.19)
10/4/12 version
164
Eq.
6.17
is
known
as
the
condition
of
thermal
stability
and
suggests
that
the
constant-volume
heat
capacity
of
any
stable
thermodynamic
system
must
be
posi-
tive.
Even
though
we
derived
this
expression
for
a
one-component
system
at
con-
stant
( S ,V ,N ),
this
is
a
general
relationship
valid
also
for
multicomponent
systems
under
arbitrary
constraints.
Note
also
that
at
constant
N,
we
can
move
from
exten-
sive
to
intensive
variables
in
expressing
the
final
form
of
the
stability
criteria.
We
have
already
suggested
that
these
are
necessary
but
not
sufficient
conditions
of
stability
for
thermodynamic
systems.
In
order
to
obtain
necessary
and
sufficient
conditions,
we
need
to
convert
!2U to
a
quadratic
form.
We
can
do
this
as
follows.
We
start
from
U = y (0)
as
the
basis
function.
The
second-order
variation
of
U
can
be
!
written
as:
2U = 2y (0) =
!
n+2 n+2
yij(0) xix j
(6.20)
i=1 j=1
zk = xk +
n+2
j=k+1
(6.21)
z
= xn+2
! n+2
It
can
then
be
shown
using
the
properties
of
Legendre
transformations
that:
2U = 2y (0) =
!
n+1
ykk(k1) zk2
(6.22)
k=1
In
other
words,
the
use
of
the
auxiliary
variables
zk reduces
the
fundamental
equa-
!
tion
for
U
to
a
quadratic
form.
We
demonstrate
in
the
example
below
how
this
ap-
proach
works
for
a
function
of
two
variables,
equivalent
to
the
intensive
form
of
U
in
a
one-component
system.
Example
6.2
Demonstration
of
Eq.
6.22
Demonstrate
Eq.
6.22
for
a
function
of
two
variables,
y (0) = f (x1 ,x2 )
.
!
The
second-order
variation
of
f
is:
(0) 2
(0)
(0) 2
2f = 2y (0) = y11
x1 + 2y12
x1x2 + y22
x2
!
The
auxiliary
variables
of
Eq.
6.21
are,
in
this
case:
(1)
z = x1 + y12
x2
! 1
Beegle,
B.
L.,
Modell
M.,
and
Reid,
R.
C.,
AIChE
J.
20:1200-6
(1974).
10/4/12 version
165
z = x2
! 2
Eq.
6.22
can
be
written
explicitly
as:
2
ykk(k1) zk2
!k=1
(0)
(1)
(0)
(1)
(1)
= y11
z12 + y22
z22 = y11
x1 + y12
x2 + y22
x22
(i)
We
now
show
that
this
expression
can
be
reduced
to
Eq.
6.20,
using
the
step-
down
relationships
of
4.5:
(1)
y11
=
1
(0)
y11
(1)
!!!;!!!!y12
=
(0)
y12
(0)
y11
(1)
(0)
!!!;!!!!y22
= y22
( )!
(0)
y12
(0)
y11
( )
2
2
(0)
(0)
y12
y
11
11
(y ) x
x +
(0)
(0)
= y11
x12 + 2y12
(0)
12
(0)
y11
2
2
2
(0)
+y22
x22
(y ) x
(0)
12
(0)
y11
2
2
(0)
(0)
(0)
= y11
x12 + 2y12
x2 +y22
x22 = yij(0) xi x j !!!!!!!!!QED
i=1 j=1
Given
that
Eq.
6.20
is
a
quadratic
form,
we
can
now
state
that
the
necessary
and
sufficient
conditions
for
stability
in
a
general
n-component
system
are
that
the
fol-
lowing
n+1
second
derivatives
of
the
basis
function
and
its
Legendre
transforms
are
positive:
(6.23)
Reordering
the
variables
of
the
basis
function
leads
to
a
different
(but
equiva-
lent)
set
of
stability
conditions.
For
example,
for
a
one-component
system,
the
fol-
lowing
is
a
non-exhaustive
list
of
equivalent
sets
of
stability
conditions:
P
T
(0) T
(1)
y (0) = U(S,V ,N) y11
=
=
> 0!!!;!!!y22
= > 0
(6.24)
S V ,N NCV
V T ,N
10/4/12 version
166
T
(0) T
(1)
y (0) = U(S,N ,V ) y11
=
=
> 0!!!;!!!y22
=
>
0
(6.25)
S N ,V NCV
N T ,V
P
T
(0)
(1) T
y (0) = U(V ,S,N) y11
= > 0!!!;!!!y22
= =
> 0
(6.26)
V S ,N
S P ,N NC P
(0)
(1) T
y (0) = U(N ,S,V ) y11
=
>
0!!!;!!!y
=
>
0
S
22
N S ,V
,V
(6.27)
Thus,
thermodynamic
stability
requires
that
all
the
second
derivatives
of
funda-
mental
equations
with
respect
to
a
single
one
of
their
extensive
natural
variables
to
be
positive,
since
an
ordering
of
variables
can
be
generated
to
render
them
in
the
(k1)
form ykk
.
Second
derivatives
of
transforms
with
respect
to
intensive
variables
!
for
not
give
valid
stability
conditions.
For
example,
the
second
derivative
of
A
with
respect
to
the
intensive
variable
T,
2 A
S
2 =
T V ,N
T V ,N
!
does
not
give
a
valid
stability
condition.
This
derivative
is
negative
according
to
Eq.
6.25.
Only
extensive
variables
provide
stability
conditions
because
they
are
the
only
ones
that
obey
conservation
laws
such
as
those
given
by
Eq.
6.12.
Thus
far,
we
have
determined
a
set
of
n+1
thermodynamic
derivatives
that
are
required
to
be
positive
for
a
stable
n-component
system.
If
we
know
that
we
are
already
in
a
stable
thermodynamic
region,
we
now
show
that
we
can
anticipate
which
one
of
the
n+1
thermodynamic
stability
conditions
will
be
violated
first
when
approaching
a
limit
of
stability.
We
have
seen
in
4.5
that
there
is
a
step-
down
relationship
linking
derivatives
of
successive
transforms.
Applying
Eq.
4.31,
(k1)
(k2)
we
can
obtain
ykk
in
terms
of
ykk
:
!
!
(k1)
(k2)
ykk
= ykk
(y ) !!!!k > 2
(k2)
k1,k
(k2)
yk1,k1
(6.28)
10/4/12 version
167
(k1)
and
make
ykk
itself
to
become
negative.
Thus,
we
conclude
that
derivatives
of
!
higher-order
transforms
approach
zero
ahead
of
derivatives
of
lower-order
trans-
forms,
when
starting
from
a
stable
region.
Thus,
we
can
establish
that
a
single
sta-
bility
condition
(the
second
derivative
of
the
highest-order
transform)
is
first
vio-
lated
on
the
limit
of
stability
for
a
system
of
n
components:
(n)
yn+1,n+1
> 0
We
will
first
use
this
concept
to
identify
a
pecking
order
among
stability
con-
ditions
for
a
one-component
system.
A
condition
corresponding
to
a
first-order
transform,
such
as
2 A
P
P
(1)
y (0) = U(S,V ,N) y22
= 2 > 0 > 0 < 0
(6.29)
V T ,N
V T
V T ,N
!
2 U
T
T
(0)
y (0) = U(S,V ,N) y11
= 2 > 0
>0
> 0
CV
S V ,N
S V ,N
!
(6.30)
Eq.
6.29
is
called
the
condition
of
mechanical
stability
and
implies
that
pres-
sure
decreases
as
volume
increases
at
constant
temperature,
or
equivalently
that
the
isothermal
compressibility
T
>
0.
Eq.
6.30
is
called
the
thermal
stability
condi-
tion.
The
constant-volume
heat
capacity
remains
finite
at
the
limit
of
stability.
An-
other
key
stability
condition
for
a
one-component
system
is
obtained
from
the
en-
thalpy
first-order
transform:
2 H
T
T
(1)
y (0) = U(V ,S,N) y22
= 2 > 0 > 0
> 0
(6.31)
CP
S P ,N
S P ,N
!
As
will
be
shown
in
Example
6.3,
the
two
conditions
represented
by
Eqs.
6.29
and
6.31
are
equivalent;
they
get
violated
simultaneously
when
a
system
reaches
a
limit
of
stability.
For
binary
systems,
the
key
condition
that
is
first
violated
at
a
limit
of
stability
(2)
is
the
one
resulting
from
y33
,
e.g.:
!
2 G
(2)
y (0) = U(S ,V ,N1 ,N2 ) y33
=
> 0 1
> 0
(6.32)
2
N
N1 T ,P ,N
1 T ,P ,N
2
2
!
The
condition
of
Eq.
6.32
is
commonly
used
to
determine
whether
a
binary
system
separates
into
two
immiscible
phases
at
a
given
temperature
and
pressure,
as
dis-
10/4/12 version
key
stability
condition
for
n-component
system
168
cussed
in
Chapter
9.
Other
equivalent
key
stability
conditions
for
binary
systems
include:
(2)
y (0) = U(S,V ,N2 ,N1 ) y33
= 2
> 0
N2 T ,P ,N
1
!
(2) T
y (0) = U(N1 ,N2 ,S,V ) y33
=
> 0
S , ,V
1 2
!
P
(2)
y (0) = U(N1 ,N2 ,V ,S) y33
=
>0
V , ,S
1 2
!
=
= =
2
2
N V T
V T ,N
S P ,N S P ,N N S P NC P
V T ,N
!
!
Both
are
second
derivatives
of
a
fundamental
equation
with
respect
to
one
of
its
natural
variables.
To
express
them
in
terms
of
each
other,
we
need
to
introduce
another
variable
using
the
chain
rule,
Eq.
5.11:
P
P S
=
V T S T V T
!
(i)
The
first
term
of
the
right-hand
side
of
expression
(i)
can
be
obtained
from
the
XYZ-1
rule
as:
P S T
P
T P
S T P = 1
S = S T
T P S
T
P S
inversion!rule
!
Substituting
(ii)
into
(i):
P
T P S
P
T
V = S T V
T
P S
T
V T S P
!
!
10/4/12 version
(ii)
169
The
two
derivatives
of
interest
are
proportional
to
each
other;
when
one
of
them
is
zero
the
other
one
is
zero
as
well.
Example
6.4
Heating
on
adiabatic
expansion
In
3.1
it
was
suggested
that,
unlike
ideal
gases,
some
substances
heat
up
when
expanded
adiabatically.
Express
the
relevant
thermodynamic
relationship
in
terms
of
derivatives
of
known
sign
(as
far
as
possible)
and
determine
the
requirements
on
material
properties
for
a
substance
to
heat
up
when
expanded
adiabatically.
The
relevant
thermodynamic
derivative
for
determining
the
adiabatic
change
of
temperature
with
volume
is
(T/V) S
.
We
need
to
express
it
in
terms
of
deriva-
tives
that
have
known
signs
in
stable
thermodynamic
systems.
For
this,
we
use
the
chain
rule
(Eq.
5.11)
and
the
triple-product
rule
(Eq.
5.12)
to
obtain:
(
(
)
)
)(
T / P
S / P T / S
T
S
T
P
=
=
V
S V / P
V / P
S
S
!
The
denominator
of
the
right-hand
side
of
(i),
(i)
(V / P)S
!
is
always
negative,
according
to
Eq.
6.18.
The
derivative
(T / S)P = (T / S)P.N
!
is
always
positive
according
to
Eq.
6.26.
The
other
derivative
can
be
transformed
using
Maxwells
rule
on
G:
dG = SdT +VdP (S / P)T = (V / T )P = V P
!
Since
the
coefficient
of
thermal
expansion
P
can
be
either
positive
or
negative,
the
derivative
in
(i)
can
have
either
sign.
The
more
common
(negative)
sign
occurs
for
substances
that
have
positive
coefficient
of
thermal
expansion
P,
while
the
oppo-
site
is
true
for
substances
with
negative
P
.
Ideal
gases
always
have
positive
coeffi-
cients
of
thermal
expansion.
6.3
Fluctuations
Our
discussion
of
equilibrium
conditions
in
6.1
has
established
that
for
a
given
set
of
external
variables
(or
constraints)
on
a
system,
the
corresponding
Legendre
transformation
is
minimized
or
maximized
at
equilibrium,
depending
on
whether
the
starting
point
was
the
energy
of
the
entropy.
In
the
previous
section,
we
analyzed
stability
from
a
macroscopic
point
of
view,
establishing
sets
of
stability
10/4/12 version
170
exp U
P =
!!!!!where!!!!!Q (N ,V ,T ) =
exp U
Q
all!microstates!!
!
The
mean-squared
fluctuations
of
energy
are:
=
PU 2
all!microstates!
PU
all!microstates!
=
N ,V
all!microstates!!
2 Q
=
2
N ,V
!
U exp U = Q
all!microstates!!
U 2 exp
( U ) =
PU
all!microstates!!
Q
PU 2
all!microstates!!
So
that:
1 2 Q
(U) = 2
Q
N ,V
!
2
1 Q
2 lnQ
U
=
=
2
Q
N ,V
N ,V
N ,V
The
last
equality
results
from
the
fact
that
the
logarithm
of
the
canonical
partition
function
is
the
first
Legendre
transform
of
S /kB .
Now
using
the
definition
of
the
!
heat
capacity
at
constant
volume,
U
(U)2 = kBT 2
= kBT 2NCV
T N ,V
!
(6.33)
10/4/12 version
171
6.3 Fluctuations
It
is
interesting
to
note
that
the
heat
capacity
of
the
system,
CV,
is
an
intensive
variable
(independent
of
the
size
of
the
system),
so
the
absolute
magnitude
of
the
mean-squared
fluctuations
grows
linearly
with
system
size.
However,
more
rele-
vant
is
the
magnitude
of
the
fluctuations
relative
to
the
mean
energy
of
the
system:
(U)2
=
U
kBT 2NCV
U
N
1
=
N
N
(6.34)
23
2 ln
N
N
(2)
(N)2 = y22
=
=
=
k
T
B
2
() ,V () ,V
T ,V
!
(6.35)
2 ln
V
V
(2)
(V )2 = y22
=
=
= kBT
2
(P) ,N
P T ,N
(P) ,N
!
(6.36)
10/4/12 version
172
ni = 0!!or!!1,!!!and!!! n i = N
i=1
!
The
mean-squared
fluctuation
of
the
total
number
of
particles
in
V
is:
(N)2 =
!
( N N)
= N 2 N2 = ni n j ni n j
By
interchanging
the
averages
and
the
sums
(since
average
of
a
sum
is
always
equal
to
the
sum
of
averages),
m m
(N)2 = ni ni 2 = m ni ni 2 = m n1 (1 n1 ) m n1 = N
i=1
From
this
equation
and
the
general
expression
for
fluctuations
in
the
grand
canon-
ical
ensemble,
we
can
obtain
information
on
the
thermodynamic
functions
of
the
system:
(N)2 =
1 N
= N
,V
**
Following
3.6
in
Chandler,
D.,
Introduction
to
Modern
Statistical
Mechanics,
Oxford
Univ.
Press, 1987.
10/4/12 version
173
6.3 Fluctuations
1
= = = constant + ln
,V
This
is
the
expression
in
classical
thermodynamics
for
the
chemical
potential
for
an
ideal
gas.
From
!d = dG = SdT +VdP ,
with
=
1/V,
=
1/kBT
P
1 P
1
= = P = + constant
The
integration
constant
for
P
is
0
since
at
=
0,
P
=
0.
Eq.
[33]
is
then
just
the
ide-
al
gas
law:
10/4/12 version
174
Figure
6.7
Schematic
of
a
model
or
equation-of-
state
isotherm
for
a
system
with
a
phase
transi-
tion.
The
stability
condition
is
violated
along
the
dotted
line.
P
V = 0
T
!
(6.37)
The
van
der
Waals
loop
violates
the
mechanical
stability
condition,
Eq.
6.24,
along
the
dotted
line
between
points
1
and
2.
We
know
that
real
systems
cannot
exist
at
such
states,
but
the
presence
of
a
continuous
path
between
phases
in
equation-of-
state
isotherms
provides
a
mechanism
for
satisfying
the
conditions
of
equilibrium.
In
other
words,
we
can
use
the
model
isotherm
of
Fig.
6.7
to
determine
the
points
along
it
that
satisfy
equality
of
chemical
potentials,
L
=
V
.
Starting
from
the
fun-
damental
equation
for
the
Gibbs
free
energy,
for
any
two
points
along
an
isotherm,
(6.38)
P = V = V dP
T
!
10/4/12 version
175
Figure
6.9
Spinodal
(horizontally
hatched)
and
metastable
(diagonally
hatched)
regions
with-
in
the
coexistence
(binodal)
curve.
10/4/12 version
176
process
known
as
spinodal
decomposition.
The
two
diagonally
hatched
areas
be-
tween
the
spinodal
and
binodal
curves
are
metastable
regions
for
the
liquid
(left,
low
V
)
and
gas
(right,
high
V
).
In
these
regions,
formation
of
a
two-phase
system
is
thermodynamically
favored
but
requires
nucleation
and
growth
of
the
new
phase.
As
discussed
in
6.2,
the
vanishing
of
the
first
derivative
of
the
pressure
with
respect
to
volume
defines
a
limit
of
stability
because
it
corresponds
to
a
second
derivative
of
the
Helmholtz
free
energy
A.
However,
at
the
critical
point,
the
se-
cond
derivative
of
the
pressure
with
respect
to
volume
also
vanishes
this
is
be-
cause
the
critical
point
represents
the
merging
of
a
maximum
and
a
minimum
of
the
P
versus
V
isothermal
curves.
At
a
minimum
(left
side
of
the
spinodal
in
Fig.
6.9)
the
second
derivative
is
positive
and
at
a
maximum
(right
side
of
the
spinodal)
the
second
derivative
is
negative.
Since
the
isotherm
itself
is
continuous
and
has
no
discontinuities
in
its
derivatives,
this
can
only
happen
if
the
second
derivative
is
zero
at
the
critical
point.
Stability
requires
that
the
next
derivative
(third
deriva-
tive
of
pressure
with
respect
to
volume)
is
positive,
a
condition
satisfied
at
the
crit-
ical
point.
The
criticality
conditions
are
then:
P P 2
V = 2 = 0
T V T
!
(6.39)
P
T
> 0
and
< 0
CP
V T
!
P
T
V = 0 C = 0 CP
P
T
(6.40)
Many
other
physical
quantities
diverge
at
critical
points.
For
example,
density
fluc-
tuations
in
a
normal
liquid
or
gas
are
correlated
only
over
length
scales
compa-
rable
to
the
size
of
molecules
and
thus
much
shorter
than
the
wavelength
of
light.
Near
critical
points,
the
correlation
length
for
density
fluctuations
increases
rapid-
ly
and
becomes
much
bigger
than
molecular
size.
This
gives
rise
to
a
characteristic
milky
appearance
of
fluids
near
criticality,
known
as
critical
opalescence.
10/4/12 version
177
can
exist
at
different
conditions
for
example,
water
is
found
in
nature
as
solid
ice,
liquid
water
and
vapor.
In
6.3
we
suggested
that
two
phases
could
coexist
for
a
range
of
temperatures
at
a
specific
pressure
for
one-component
systems.
An
inter-
esting
question
with
important
practical
implications
is
whether
the
conditions
of
equilibrium
impose
restrictions
on
the
number
of
possible
phases
that
can
simul-
taneously
be
present
in
a
system
at
equilibrium.
The
answer
turns
out
to
depend
on
the
number
of
independent
chemical
species
(components)
in
a
system,
in
a
relationship
first
proposed
by
J.
Willard
Gibbs
in
1870.
We
have
seen
in
Chapter
5
that
n+2
thermodynamic
variables
are
required
to
fully
specify
the
state
of
a
thermodynamic
system.
These
could
be
selected
as
(T,P,N 1 ,N 2 ,,N n ).
Dividing
the
molar
amounts
by
the
total
number
of
moles
in
the
system,
N
=
N 1 +N 2 ++N n ,
we
can
express
thermodynamic
properties
in
terms
of
(T,P,x 1 ,x 2 ,,x n1,N).
However,
if
we
restrict
our
attention
to
just
intensive
properties,
we
can
eliminate
N
from
the
variable
set
and
express
these
properties
in
terms
of
n+1
intensive
variables,
(T,P,x 1 ,x 2 ,,x n1).
Now
consider
a
system
with
phases
coexisting
at
equilibrium.
We
denote
by
x i , j
the
mole
fraction
of
component
i
in
phase
j
and
by
i , j
the
chemical
potential
of
component
i
in
phase
j.
The
conditions
imposed
by
equilibrium
on
the
chemical
potentials
at
coexistence,
Eq.
6.6,
can
now
be
written
as:
1,1 = 1,2 = = 1,
2,1 = 2,2 = = 2,
(6.41)
= n,2 = = n,
! n,1
There
are
!n( 1)
independent
equations
in
this
set
of
relationships.
Each
of
the
chemical
potentials
in
Eqs.
6.41
can
be
written
as
a
function
of
the
tempera-
ture,
pressure
and
composition
variables
in
each
phase:
10/4/12 version
(6.42)
178
Thus,
there
are
!2+(n 1)
intensive
variables
describing
the
chemical
po-
tentials,
the
common
T
and
P
as
well
as
(n1)
mole
fractions
for
each
phase.
But
these
are
not
all
independent,
as
they
must
satisfy
the
!n ( 1)
relationships
of
Eq.
6.42.
The
number
of
independent
intensive
variables,
which
is
defined
as
the
number
of
degrees
of
freedom,
F ,
of
the
system
is:
F = !{number!of!total!variables}! !{number!of!constraints}!
F = 2+(n1) n( 1) = 2+ n n + n
!F = n + 2
Gibbs
(6.43)
phase
rule
Phase
diagrams
of
pure
components
often
contain
multiple
solid
phases
(pol-
ymorphs),
as
illustrated
in
Fig.
6.10,
which
shows
a
partial
high-pressure
phase
Figure
6.10
Partial
phase
diagram
of
water
at
high
pressures.
Triple
points
are
shown
as
circles.
Data
are
from
Revised
Release
on
the
Pressure
along
the
Melting
a nd
Sublimation
Curves
of
Ordinary
Water
Substance,
International
Association
of
Properties
of
Water
and
Steam,
(2008)
and
L.
Mercury
et
al.,
Thermodynamics
of
ice
polymorphs
and
`ice-like'
water
in
hydrates
and
hydroxides,,
Appl.
Geochem.
16,
161-181
(2001).
10/4/12 version
179
diagram
of
water,
including
multiple
solid
polymorphs.
Ice
formed
from
liquid
wa-
ter
at
near-atmospheric
conditions
is
hexagonal
ice
Ih.
The
phase
rule
does
not
impose
a
limit
on
the
number
of
possible
phases
pre-
sent
in
different
locations
of
the
phase
diagram,
it
only
restricts
how
many
can
co-
exist
at
any
given
temperature
and
pressure.
As
suggested
by
the
phase
rule,
areas
in
this
diagram
contain
only
a
single
phase
(F
=
2,
two
degrees
of
freedom,
corre-
sponding
to
two-dimensional
geometric
objects),
while
lines
(F
=
1)
correspond
to
coexistence
of
two
phases.
Three
phases
coexist
at
triple
points
(F
=
0).
A
one-
component
system
cannot
exist
as
four
separate
phases
at
any
point
in
the
phase
diagram,
as
this
corresponds
to
negative
(unfeasible)
degrees
of
freedom.
Another
case
of
interest
is
binary
systems.
Intensive
variables
of
interest
for
binary
systems
are
the
temperature,
pressure
and
composition
(mole
fraction
of
one
component).
Single
phase,
two-component
systems
have
F
=
3,
three
degrees
of
freedom,
corresponding
to
volumes
in
the
three-dimensional
space
of
the
inten-
sive
variables.
Application
of
the
phase
rule
to
two-phase
systems
gives
F
=
2,
two
degrees
of
freedom,
so
that
at
a
given
temperature
and
pressure
a
range
of
compo-
sitions
can
exist.
For
three-phase
systems,
there
is
a
line
of
triple
points
(F
=
1),
along
which
temperature,
pressure
and
composition
varies.
The
conditions
of
criticality
(Eq.
6.39)
impose
two
additional
constraints
on
an
otherwise
one-phase
system,
thus
using
up
two
degrees
of
freedom.
Thus,
for
a
one-component
system
the
number
of
degrees
of
freedom
at
criticality
is
zero,
so
we
are
justified
to
talk
about
a
critical
point.
For
two-component
systems,
there
is
a
critical
line
along
which
the
critical
composition,
pressure
and
temperature
vary.
10/4/12 version