0% found this document useful (0 votes)
51 views5 pages

Solutions 03

Uploaded by

Paramita Haldar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views5 pages

Solutions 03

Uploaded by

Paramita Haldar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

CE 530

Assignment #3 Solution

1. The isothermal-isobaric partition function is:


1
Δ(T , p, N ) = 3 ∫ dV ∫ dr N e− β pV e− βU (r )
N

Λ 0 V

Using the bridge equation, G = −kT ln Δ , show that the thermodynamic relation

⎛ ∂G ⎞
V =⎜
⎝ ∂ p ⎟⎠ T ,N

yields an expression representing the average of volume in this ensemble.

⎛ ∂G ⎞
V =⎜
⎝ ∂ p ⎟⎠ T ,N

=− kT ln Δ
∂p
kT ∂
=− Δ
Δ ∂p
kT ∂ ⎡ 1 ⎤

⎢ 3 ∫ dV ∫ dr e
N − β pV − βU (r N )
=− e ⎥
Δ ∂ p ⎢⎣ Λ 0 V ⎥⎦
kT ⎡ 1 N ⎤

N ⎛ ∂ ⎞
=− ⎢ 3 ∫ dV ∫ dr ⎜ e− β pV ⎟ e− βU (r ) ⎥
Δ ⎢⎣ Λ 0 V
⎝ ∂p ⎠ ⎥⎦
kT ⎡ 1 N ⎤

=−
Δ ⎢⎣ Λ 0
N
(
⎢ 3 ∫ dV ∫ dr (− βV )e
− β pV
)
e− βU (r ) ⎥
⎥⎦
V

kT (− β ) ⎡ 1 N ⎤

=− ⎢ 3 ∫ dV ∫ dr (V )e
Δ ⎢⎣ Λ 0
N
( − β pV
)
e− βU (r ) ⎥
⎥⎦
V

1⎡ 1 N ⎤

= ⎢ 3 ∫ dV ∫ dr NVe− β pV e− βU (r ) ⎥
Δ ⎢⎣ Λ 0 V ⎥⎦
= V
2. For an ideal gas the intermolecular potential is zero for all configurations. As a
consequence the partition function is greatly simplified, and can be evaluated
analytically. Do this for the canonical (NVT), isothermal-isobaric (NPT), and grand-
canonical (mu-VT) ensembles, and for each derive the ideal-gas equation of state PV
= nRT.
As a bonus problem you might wish to do the same for the microcanonical (EVN)
ensemble (Hint: you'll need the formula for the surface area of a hypersphere in
arbitrary dimension to fully evaluate the partition function, but you don’t need this to
get the equation of state).

The canonical ensemble partition function is

1 1

N
Q(T ,V , N ) = dr N e − βU (r )
Λ N!
3N

For an ideal gas, the function U (r N ) is identically zero, so the integrand is simply unity,
and the integral corresponds to unweighted the movement of each particle over the entire
system volume. For each particle the integral evaluates to V, and for the collection of
particles the full configurational integral is simply V N , so

VN
Q(T ,V , N ) = 3 N
Λ N!
The pressure is given as the derivative of the Helmholtz free energy, and with the bridge
equation we have

⎛ ∂A ⎞
P = −⎜ ⎟
⎝ ∂V ⎠T , N
⎛ ∂ ln Q ⎞
= kT ⎜ ⎟
⎝ ∂V ⎠T , N
⎛ ∂ ln(V N / Λ 3 N N !) ⎞
= kT ⎜ ⎟
⎝ ∂V ⎠T , N
⎛ ∂ ln(V N ) ⎞
= kT ⎜ ⎟
⎝ ∂V ⎠T , N
NkT nRT
= =
V V
where n = N / N Avogadro is the number of moles, and we recall that the gas constant and
Boltzmann’s constant are related through Avogadro’s number: R = kN Avogadro

For the isothermal-isobaric ensemble, the partition function is



Δ (T , P, N ) = ∫ dVQ(T , V , N )e − PV / kT
0
With the result above for the ideal-gas canonical partition function Q, this becomes

VN
Δ(T , P, N ) = ∫ dV 3 N e − PV / kT
0
Λ N!

The integral can be evaluated analytically, using the general formula ∫ x n e− ax dx = n !/ a n +1
0

(kT ) N +1
Δ(T , P, N ) =
Λ3 N P N +1
We apply thermodynamics and the bridge equation to get the volume in terms of the
pressure

⎛ ∂G ⎞
V =⎜ ⎟
⎝ ∂P ⎠T , N
⎛ ∂ ln Δ ⎞
= −kT ⎜ ⎟
⎝ ∂P ⎠T , N
⎛ ∂ ln ⎡ P N +1 /(kT ) N +1 Λ 3 N ⎤ ⎞
= + kT ⎜ ⎣ ⎦⎟
⎜ ∂P ⎟
⎝ ⎠T , N
⎛ ∂ ln P N +1 ⎞
= kT ⎜ ⎟
⎝ ∂P ⎠T , N
( N + 1)kT
=
P
This result is slightly different from the canonical-ensemble result (and the “true” ideal
gas law), in that we have N+1 where we would normally have just N. This is an example
of how statistical mechanics gives slightly inconsistent results when dealing with small
system sizes. In the thermodynamic limit, N → ∞ , the difference is completely
negligible.

For the grand-canonical ensemble, the partition function is



Ξ(T , V , µ ) = ∑ Q(T , V , N )e µ N / kT
N =0
and with the ideal-gas canonical-ensemble partition function

V N µ N / kT
Ξ(T ,V , µ ) = ∑ 3 N e
N =0 Λ N!


The sum can be performed analytically, using n =0
xn / n! = e x
⎡V ⎤
Ξ(T , V , µ ) = exp ⎢ 3 e µ / kT ⎥
⎣Λ ⎦
The bridge equation gives the pressure directly
PV = kT ln Ξ
⎡V ⎤
= kT ⎢ 3 e µ / kT ⎥
⎣Λ ⎦
kT
P = 3 e µ / kT
Λ
In the last equality the quantity on the right is known as the fugacity, and this formula
shows that for an ideal gas it equals the pressure. To get the ideal-gas equation of state,
we need to do a derivative to get the number of molecules, thus

⎛ ∂ ( PV ) ⎞
N =⎜ ⎟
⎝ ∂µ ⎠T ,V
⎛ ∂ ln Ξ ⎞
= kT ⎜ ⎟
⎝ ∂µ ⎠T ,V
⎛ ∂ ⎡Ve µ / kT / Λ 3 ⎤ ⎞
= kT ⎜ ⎣ ⎦⎟
⎜ ∂µ ⎟
⎝ ⎠T ,V
V
= 3 e µ / kT
Λ
Comparing this with the equation for the pressure, we can eliminate e µ / kT / Λ 3 , and get
the ideal gas law, P = NkT / V .

To get the ideal-gas partition function in the microcanonical ensemble, we have to return
to its definition as the number of states of given energy E for N molecules in a volume V.
We can write the partition function as

Ω( E,V , N ) = ∫ dp N δ ( E − ∑ pi2 / 2m ) ∫ dr N

where δ is the Dirac delta function, and has the effect of allowing contributions to the
integral only when its integrand is zero. The atom positions rN don’t affect the energy, so
the configurational integral can be done as before, giving a term VN. Let’s rewrite the
integral to take out the 2m term

Ω( E,V , N ) = V N (2m)3N / 2 ∫ dxN δ ( E − ∑ xi2 )

This indicates we sum over all x such that their square equals a constant. This constraint
describes the surface of a sphere in 3N dimensions, of radius E1/ 2 . So the integral is just
the surface area of a 3N-dimensional hypersphere: S N = (2π )3 N / 2 E 3 N / 2 / Γ(3 N / 2) , and
Ω( E,V , N ) = V N (4π m)3 N / 2 E 3 N / 2

We need the E-dependence to get the temperature

⎛ ∂S ⎞
1/ T = ⎜ ⎟
⎝ ∂E ⎠V , N
⎛ ∂ ln Ω ⎞
=k⎜ ⎟
⎝ ∂E ⎠V , N
⎛ ∂ ln ⎡V N (4π m)3 N / 2 E 3 N / 2 ⎤ ⎞
=k⎜ ⎣ ⎦⎟
⎜ ∂E ⎟
⎝ ⎠V , N
⎛ ∂ ln E 3 N / 2 ⎞
=k⎜ ⎟
⎝ ∂E ⎠V , N
= 32 Nk / E

This gives the usual equipartition results E = 32 NkT . Likewise, the pressure is given by

P ⎛ ∂S ⎞
=⎜ ⎟
T ⎝ ∂V ⎠ E , N
Nk
=
V

Which gives the ideal-gas law without all the hypersphere stuff!

You might also like