Contents
1 Summary of N V E and N V T ensembles 2
2 N P T ensemble 3
2.1 Equilibrium distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.2 Thermodynamic potential . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.3 Volume fluctuations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.4 Ideal gas example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1
1 Summary of N V E and N V T ensembles
Let us start with a quick summary of the microcanonical (N V E) ensemble. It describes
isolated systems with fixed number of particles N , volume V and energy E.
2
• The connection with thermodynamics is made through the expression of Helmholtz
free energy A(N, V, T ) through the partition function Z,
3N
Z Y
1
A = −kB T ln Z , Z= dqi dpi e−βH({pi },{qi }) (3)
N !h3N i=1
• The energy (Hamiltonian) of system is no longer conserved, but fluctuate around its
average value.
1 ∂Z ∂
E ≡ hHi = − =− ln Z (4)
Z ∂β ∂β
∂E
(∆E)2 ≡ hH 2 i − hHi2 = − = kB T 2 Cv = N kB T 2 cv (5)
∂β
Hence in the thermodynamic limit N → ∞,
p ∆E 1
∆E = N kB T 2 cv ∝ √ →0 (6)
E N
The difference between microcanonical (N V E) ensemble and canonical (N V T ) ensem-
ble vanishes.
2 N P T ensemble
The N P T ensemble is also called the isothermal-isobaric ensemble. It describes systems
in contact with a thermostat at temperature T and a bariostat at pressure p. The system
not only exchanges heat with the thermostat, it also exchange volume (and work) with the
bariostat. The total number of particles N remains fixed. But the total energy E and volume
V fluctuate at thermal equilibrium.
3
2.1 Equilibrium distribution
Notice that in the (N P T ) ensemble, the probability distribution function must also include V
as its variable, because the volume can (in principle) take any value at thermal equilibrium.
ρ({qi }, {pi }, V ) ∝ number of ways (Ω̃) the thermostat and the bariostat can rearrange them-
selves to allow the system to have energy E = H({qi }, {pi }) and volume V .
4
2.2 Thermodynamic potential
By now, we would expect the normalization factor Ξ should be interpreted as a kind of
partition function that will reveal us the fundamental equation of state.
To find out the precise expression, we start with the Shanon entropy expression. (Notice here
that V is an internal degree of freedom to be integrated over and p is an external variable.)
X
S = −kB pi ln pi
i
∞ 3N
H({qi }, {pi }) + pV
Z Z Y
= −kB dV dqi dpi ρ({qi }, {pi }, V ) · − ln Ξ̃
0 i=1
−kB T
1
= (hHi + phV i) + kB ln Ξ̃ (16)
T
1
= (E + pVavg ) + kB ln Ξ̃ (17)
T
Hence
This is the Gibbs free energy, which is the appropriate thermodynamic potential as a function
of N, T, P ! So everything falls into the right places nicely. We just need to careful that
the volume in thermodynamics is the ensemble average Vavg ≡ hV i, because in (N, T, P )
ensemble, V is not a constant.
Of course, we still need to put in the quantum corrections 1/(N !h3N ), just as before. So the
final expression for the Gibbs free energy and chemical potential µ is,
Therefore, Ξ(T, p, N ) is the Laplace transform of the partition function Z(T, V, N ) of the
canonical ensemble!
5
1 ∂Ξ
hV i = −kB T
Ξ ∂p
1 ∂ 2Ξ
hV 2 i = (kB T )2
Ξ ∂p2
" 2 #
1 ∂ 2Ξ
∂V ∂ 1 ∂Ξ 1 ∂Ξ
− = kB T = kB T 2
− 2
∂p ∂p Ξ ∂p Ξ ∂p Ξ ∂p
" 2 #
2
1 2 1 ∂ Ξ 1 ∂Ξ
= (kB T ) − kB T
kB T Ξ ∂p2 Ξ ∂p
1
= (hV 2 i − hV i2 )
kB T
1
≡ (∆V )2 (22)
kB T
Define compressibility1
(∆V )2
1 ∂V
βc ≡ − = (23)
V ∂p T,N kB T V
Then we have,
(∆V )2 = kB T βc V (24)
p
∆V = kB T βc V (25)
∆V 1
∝ √ →0 as V → ∞ (26)
V V
In other words, in the thermodynamic limit (V → ∞), the relative fluctuation of volume is
negligible and the difference between (N P T ) ensemble and (N V T ) ensemble vanishes.
6
Recall the ideal gas partition function in the (N V T ) ensemble.
VN 3N/2 VN
Z(T, V, N ) = (2πmkB T ) = (28)
N !h3N N !Λ3N
√
where Λ ≡ h/ 2πmkB T is the thermal de Broglie wavelength.
Z ∞
Ξ(T, p, N ) = dV · Z(T, V, N ) · e−βpV
0
Z ∞
1
= 3N
dV · V N · e−βpV
N !λ 0
Z ∞
1 1
= dx · xN · e−x
N !λ3N (βp)N +1 0
1 1
= N!
N !λ (βp)N +1
3N
N +1
kB T 1
= (29)
p Λ3N
In the limit of N → ∞,
N
(2πmkB T )3N/2
kB T
Ξ(T, p, N ) ≈ · (30)
p h3N
(2πmkB T )3/2
kB T
G(T, p, N ) = −kB ln Ξ = −N kB T ln · (31)
p h3
(2πmkB T )3/2
G kB T
µ= = −kB T ln · (32)
N p h3
7
Q: What is the statistical distribution ρ({qi }, {pi }) at thermal equilibrium?
Approach: Consider system of interest + thermostat + particle reservoir all together as a closed
system, which can be described using the microcanonical ensemble.
Following the same approach as in the (N P T ) ensemble, we obtain the equilibrium distri-
bution of the grand canonical (µV T ) ensemble as the following.
1 −β(H({qi },{pi })−µN )
ρ({qi }, {pi }, N ) = e (33)
Z̃
where
∞ Z Y
X 3N
Z̃ = dqi dpi e−β(H({qi },{pi })−µN ) (34)
N =0 i=1
X∞
= eβµN Z̃(N, V, T ) (35)
N =0
ρ is grand canonical distribution and Z̃(N, V, T ) is the normalization factor in the canonical
ensemble for N particles.
8
Starting from Shanon’s entropy expression, we can show that
where Z(N, V, T ) is the partition function of the canonical ensemble. Notice that we have
removed the˜sign, meaning that we have applied the quantum correction 1/(N !h3N ).
Therefore, the grand partition function Z(µ, V, T ) is the unilateral Z-transform of the
partition function Z(N, V, T ) of the canonical ensemble.4
∂ρ (∆N )2
V · = (44)
∂µ kB T
2
(∆N ) = kB T (∂ρ/∂µ)V (45)
p
∆N = kB T (∂ρ/∂µ)V (46)
p
∆N kB T (∂ρ/∂µ)V 1
= ∝ √ → 0 (as V → ∞) (47)
hN i ρV V
4
No wonder it is called the Z-transform. See http://en.wikipedia.org/wiki/Z-transform for proper-
ties of the Z-transform.
9
3.4 Ideal gas example
Recall the ideal partition function in the canonical ensemble,
VN 3N/2 VN
Z(N, V, T ) = (2πmkB T ) = (48)
N !h3N N !Λ3N
(49)
We now can obtain an explicit expression of the density fluctuation of the ideal gas.
∂ ∂ zV zV pV
hN i = z ln Z = z 3
= 3 = ln Z = (56)
∂z ∂z Λ Λ kB T
eβµ V
hN i = (57)
Λ3
∂hN i eβµ βV pV
= 3
= β · hN i = (58)
∂µ Λ (kB T )2
∂hN i pV
(∆N )2 = kB T = = hN i (59)
∂µ kB T
(60)
Hence the variance of N equals the expectation value of N . The standard deviation of N is
p
∆N = hN i (61)
10
The relative fluctuation of N is
∆N 1
=p (62)
N hN i
From the above we also obtain how density ρ = N/V changes with the chemical potential,
∂ρ 1 ∂hN i p
= = (63)
∂µ V ∂µ (kB T )2
Ideal gas means no correlation between molecules. Hence we can build a lattice gas model
as a further simplification to the ideal gas model.
Imagine we divide the volume V into Nc cells. Each cell can have either 1 molecule or 0
molecule.
Assume Nc hN i, so that we can ignore the possibility that two molecules occupy the same
cell.
11
The average number of molecules is
Nc
X
hN i = hni i = hni i · Nc (67)
i=1
Notice that
hni i = p (68)
hn2i i = p (69)
hn2i i − hni i2 = p − p2 = p (1 − p) (70)
Hence
hN i = Nc p (71)
hN i
hN 2 i − hN i2 = Nc p (1 − p) = hN i 1 − (72)
Nc
(∆N )2 = hN 2 i − hN i2 = hN i (73)
This is consistent with the prediction from the grand canonical ensemble.
5
Nc can be arbitrarily large and hence much larger than N .
12