You are on page 1of 4

Lecture 18: Ensembles, free energies, max/min principles: A Summary 18.

1
Reading Assignment for Lectures 15--18: PKT Chapter 7
Midterm coming up Friday, Oct 29.
Problem Set 3 due Oct. 22 (accepted up thru Oct. 25) now available at the website.
Summary: (schema)
Ensemble/distribution:
What you know:
Description:
Associated free energy:
Derivatives:
Max/Min principles:
1. Microcanonical ensemble, “equal a priori probability”:
Note: From my point of view, this ensemble is the fundamental postulate of equilibrium statistical
mechanics and the basis of the derivation of thermodynamics from stat mech.
You know values of extensive variables. e.g., E,V,N.
1 1
All states between E and E+ΔE weighted equally, Pn = = .
W ( E,V, N, ("E )) #( E,V, N )"E
S ( E,V, N ) = k B ln W, k B ln " “entropy”
1 P µ
dS = dE + dV " dN
T T T !
Isolated system maximizes entropy.
!
2. Canonical ensemble:
Appropriate for system in contact with heat bath at temperature T.
! E
" n
k T
Microstates weighted according to Pn ~ e B ,
E E
" n " n
1 k T k T
i.e., Pn = e B , Z (T,V, N ) = # e B , “partition function”
Z n
!
F (T,V, N ) = "kT ln Z = E " TS “Helmholtz free energy”
dF = "SdT " PdV + µdN
System minimizes F at fixed T.
!
3. Grand (canonical) ensemble:
!
Appropriate for system in contact with heat bath at T and particle reservoir(s) at chemical potential(s) µ.
! 1
" ( E n "µN n )
kBT
Microstates weighted according to Pn ~ e ,
1 µN
1 # k BT ( E n #µN n )
i.e., Pn = e , "(T,V, µ ) = $ e k BT Z (T,V, N ) . “Grand partition function”
" N
!
" (T,V, µ ) = #k BT ln $ = E # TS + µN = #PV “Grand free energy”
d" = #SdT # PdV # Ndµ
System minimizes " at fixed T and µ.
!
4. Constant pressure ensemble:
!
Appropriate for system in contact with heat bath at T and subject to constant pressure P.
!
!
1
" ( E n +PVn )
kBT
Microstates weighted according to Pn ~ e , i.e., 18.2
1 PV
1 " k BT ( E n +PVn ) "
Pn = e , Z (T,P, N ) = # dVe k BT Z (T,V, N ) “constant P partition function”
Z V
!
G(T,P, N ) = "k BT ln Z = E - TS + PV = µN “Gibbs free energy”
dG = "SdT + VdP + µdN
System minimizes G at fixed T and P.
!
All these are just different fundamental representations of the thermodynamic information.
!
For systems of a few degrees of freedom, they are inequivalent (use appropriate one!).
! For thermodynamically large systems, they are equivalent, provided variables are chosen to correspond.
!
I want you to be able to use them, as required.
I will not expect you to be able to derive them all from the microcanonical distribution, although I have
indicated the steps.
Let me tie up a few loose ends:
The Grand Canonical distribution:
Suppose small system s is in thermal+particle contact with the large bath B.
i.e., they are in contact across a “barrier” which particles pass freely but which can, for example,
withstand pressure differences.
Q: How are states of s distributed?
Now, both the total energy and the total number of particles of the small system are no longer fixed.
( s) ( s)
Claim: Probability of each microstate n of s with E n , N n is
1
" (
B )
E s "µ B N s
e kBT
Pn = , “Grand Canonical Ensemble”
( )
# s T B ,V, µ B ! !
1 "S B µ "S
where T and µ are the temperature and chemical potential of the bath = ; # = B and the
T "E B T "N B
1 % ( s) µN s
! $ ' E n $µN n( s) (*
kBT & ) kBT
normalization factor, " s (T,V, µ ) # + e = +e Z s (T,V, N s ) is called the
n N
! s
“grand partition function” of the system and the sum is over all states n of s (any number and energy).
Proof: s+B is distributed microcanonically, so, for each particular state s,B, the probability is
1 1
Ps+B ( E, N ) = = .
! total number of states of (s + B)( E to E + "E, N ) # s+B ( E, N )"E

!
Consider now the particular state n of s with energy Es and number Ns. 18.3
" ( s) ( s) ( s) %
total number of states of B$ E - E n to E - E n + (E, N - N n '
" ( s) ( s) % # &
Pn $ E n , N n ' =
# & total number of states of (s + B)( E to E + (E, N )
.
B "$ ( s) ( s) %
) E * E , N * N '(E
n n &
# " ( s) ( s) %
= + )B $E * E n , N * N n '
) s+B ( E, N )(E # &
1 B$ s '
S & E#E n( ) ,N#N n( ) )
s
B$ ( s) ( s) ' kB % (
But, " & E # E n , N # N n ) = e , so, expanding,
% (
! B B
B #% ( s) ( s) & ( s) )S
S E " E n , N " N n ( = SB (E ) " E n
( s) )S
"Nn + small...
$ ' )E )N
E,N E,N
! Second-derivative terms are small in that they go as the inverse of extensive quantities.
"S B 1 "S B µB
But, = and =# ; hence,
! "E T B "N B
T B
1 % ( s)
$ ' E n $µB N n( s) (*
% ( s) ( s) ( & )
Pn " # B ' E $ E n , N $ N n * " e k BTB . QED
& )
! This probability distribution is called the “grand (canonical) ensemble.”
Note the “spread” of energy and number in the system!
Comment: When there are several types of particles in contact, then,
! 1 $ ( s) ( s) #µ N ( s) #...')
# & E n #µ1,B N1,n 2,B 2,n
% (
Pn " e k BTB .

When the “system” is thermodynamically large, then choice of T and µ fixes very precisely the energy
* *
E and number N that you find in the grand canonical ensemble at values E (T,V, µ ), N (T,V, µ ) , so
! that averages of (almost) all quantities are the same in microcanonical,
canonical, and grand canonical ensembles, provided that T,µ,...are chosen to make E=E*, N=N*, etc.,
i.e., µ is just a “dial” for adjusting N just as T was a dial for adjusting E.
Proof: (not required) sketched below: !
You can go all the way back to S; but, I’ll use the previous change to canonical.
µN µN F (T,V,N )
# # %
k T k T kBT
Thus, for example, "(T,V, µ ) = $ e B Z (T,V, N ) = $ e B e .
N=0 N=0
E S ( E,V ,N ) E
# % # %
k T kBT
Compare: Z (T,V, N ) = $ dE "( E,V, N ) e B = $ dE e e kBT .
E0 E0
!
The summand is a product of an increasing function of N and a decreasing function of N.
"F
There is a maximum at 0 = µ ! , which fixes N * (T, V , µ )
"N T ,V
!
Can show that this is a maximum and that it is sharp by looking at second and higher derivatives.
Upshot:
*
Sum is dominated by term with (near) N = N . 18.4
*
(
µN #F T,V,N *
)
This dominance is strong enough so that "(T,V, µ ) = e kT $ O( N ) (1 + small) ;
!
( *
)
(T,V,µ ) $ µN * (T,V,µ ) + small
hence, " (T,V, µ ) # $k BT ln % = F T,V, N
i.e., " = #kT ln $ = F # µN = E # TS # µN = #PV (Euler)
! (see Lect. 14.1)
“Grand (canonical) free energy”
with, dF (T,V, N ) = "SdT " PdV + µdN , so
!
d" (T,V, µ ) = dF # d (µN ) = (#SdT # PdV + µdN ) # (µdN + Ndµ ) = #SdT # PdV # Ndµ = d"
!
Example: Classical Ideal Gas in Grand Ensemble
2
! # N
& p
% $
! 1% V ( 1 dp 2mkBT mk BT
Recall: Z (T,V, N ) = , where = & e = .
N!%$ "d (' " th $% 2 #h 2
th 2 #h
µN , µ /
µN N . kB T 1
# # e kBT &
)
kBT V Ve
Calculate Grand partition function: " = $ e
! Z (T,V, N ) = $ ( + = exp. 1.
! N! ( d + . %d 1
N=0 N=0 ' % th * . th 1
- 0
µ
kB T
kTVe
Evaluate Grand free energy: " (T,V, µ ) = #k BT ln $ = # .
! %dth
µ µ
kBT kBT
#$ k B T e #$ Ve
Calculate derivatives P = " = ; N =" = .
! #V %dth #µ %dth
Eliminating the chemical potential gives the ideal-gas equation of state, as usual.
For future reference:
µ
k BT ) "N% ,
! N e
A. Note that n = = d , which is equivalent to µ = kB T+ln$ ' + d ln (th . as above.
V "th * #V & -
µ!
k BT
N e
B. With several different types of (non-interacting classical) particles α, n! " ! = d .
! ! V #!
r2 r2
r p p
C. If particle has additional internal energy, then "# ( p) = $ + "#0 and
2m# 2m#
µ"
k BT &0
N e % "
n" # " = d e kT .
V $" !

You might also like