Assignment 3 solution - University at Buffalokofke/ce530/Assignments/Solutions03.pdf · CE 530...

5

Click here to load reader

Transcript of Assignment 3 solution - University at Buffalokofke/ce530/Assignments/Solutions03.pdf · CE 530...

Page 1: Assignment 3 solution - University at Buffalokofke/ce530/Assignments/Solutions03.pdf · CE 530 Assignment #3 Solution 1. The isothermal-isobaric partition function is: Δ(T,p,N)=

CE 530

Assignment #3 Solution

1. The isothermal-isobaric partition function is:

Δ(T , p, N ) = 1

Λ3 dV drN e−β pV e−βU (rN )

V∫

0

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

V = ∂G

∂p⎛⎝⎜

⎞⎠⎟ T ,N

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

V = ∂G∂p

⎛⎝⎜

⎞⎠⎟ T ,N

= − ∂∂p

kT lnΔ

= − kTΔ

∂∂p

Δ

= − kTΔ

∂∂p

1Λ3 dV drN e−β pV e−βU (rN )

V∫

0

∫⎡

⎣⎢⎢

⎦⎥⎥

= − kTΔ

1Λ3 dV drN ∂

∂pe−β pV⎛

⎝⎜⎞⎠⎟

e−βU (rN )

V∫

0

∫⎡

⎣⎢⎢

⎦⎥⎥

= − kTΔ

1Λ3 dV drN (−βV )e−β pV( )e−βU (rN )

V∫

0

∫⎡

⎣⎢⎢

⎦⎥⎥

= − kT (−β )Δ

1Λ3 dV drN (V )e−β pV( )e−βU (rN )

V∫

0

∫⎡

⎣⎢⎢

⎦⎥⎥

= 1Δ

1Λ3 dV drNVe−β pV e−βU (rN )

V∫

0

∫⎡

⎣⎢⎢

⎦⎥⎥

= V

Page 2: Assignment 3 solution - University at Buffalokofke/ce530/Assignments/Solutions03.pdf · CE 530 Assignment #3 Solution 1. The isothermal-isobaric partition function is: Δ(T,p,N)=

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

( )3

1 1( , , )!

NN UNQ T V N d eN

β−=Λ ∫ rr

For an ideal gas, the function ( )NU r 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 NV , so

3( , , )!

N

N

VQ T V NN

The pressure is given as the derivative of the Helmholtz free energy, and with the bridge equation we have

,

,

3

,

,

ln

ln( / !)

ln( )

T N

T N

N N

T N

N

T N

APV

QkTV

V NkTV

VkTV

NkT nRTV V

∂⎛ ⎞= −⎜ ⎟∂⎝ ⎠∂⎛ ⎞= ⎜ ⎟∂⎝ ⎠

⎛ ⎞∂ Λ= ⎜ ⎟∂⎝ ⎠

⎛ ⎞∂= ⎜ ⎟∂⎝ ⎠

= =

where / Avogadron N N= is the number of moles, and we recall that the gas constant and Boltzmann’s constant are related through Avogadro’s number: AvogadroR kN= For the isothermal-isobaric ensemble, the partition function is

Page 3: Assignment 3 solution - University at Buffalokofke/ce530/Assignments/Solutions03.pdf · CE 530 Assignment #3 Solution 1. The isothermal-isobaric partition function is: Δ(T,p,N)=

/

0

( , , ) ( , , ) PV kTT P N dVQ T V N e∞

−Δ = ∫

With the result above for the ideal-gas canonical partition function Q, this becomes

/3

0

( , , )!

NPV kT

N

VT P N dV eN

∞−Δ =

Λ∫

The integral can be evaluated analytically, using the general formula 1

0!/n ax nx e dx n a

∞ − +=∫

1

3 1

( )( , , )N

N N

kTT P NP

+

+Δ =Λ

We apply thermodynamics and the bridge equation to get the volume in terms of the pressure

,

,

1 1 3

,

1

,

ln

ln /( )

ln

( 1)

T N

T N

N N N

T N

N

T N

GVP

kTP

P kTkT

P

PkTP

N kTP

+ +

+

∂⎛ ⎞= ⎜ ⎟∂⎝ ⎠∂ Δ⎛ ⎞= − ⎜ ⎟∂⎝ ⎠

⎛ ⎞⎡ ⎤∂ Λ⎣ ⎦⎜ ⎟= +⎜ ⎟∂⎝ ⎠

⎛ ⎞∂= ⎜ ⎟∂⎝ ⎠+=

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

/

0( , , ) ( , , ) N kT

NT V Q T V N eµµ

=

Ξ =∑

and with the ideal-gas canonical-ensemble partition function

/3

0( , , )

!

NN kT

NN

VT V eN

µµ∞

=

Ξ =Λ∑

The sum can be performed analytically, using 0/ !n x

nx n e∞

==∑

Page 4: Assignment 3 solution - University at Buffalokofke/ce530/Assignments/Solutions03.pdf · CE 530 Assignment #3 Solution 1. The isothermal-isobaric partition function is: Δ(T,p,N)=

/3( , , ) exp kTVT V eµµ ⎡ ⎤Ξ = ⎢ ⎥Λ⎣ ⎦

The bridge equation gives the pressure directly

/3

/3

ln

kT

kT

PV kTVkT e

kTP e

µ

µ

= Ξ

⎡ ⎤= ⎢ ⎥Λ⎣ ⎦

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

,

,

/ 3

,

/3

( )

ln

/

T V

T V

kT

T V

kT

PVN

kT

VekT

V e

µ

µ

µ

µ

µ

⎛ ⎞∂= ⎜ ⎟∂⎝ ⎠

⎛ ⎞∂ Ξ= ⎜ ⎟∂⎝ ⎠

⎛ ⎞⎡ ⎤∂ Λ⎣ ⎦⎜ ⎟=⎜ ⎟∂⎝ ⎠

Comparing this with the equation for the pressure, we can eliminate / 3/kTeµ Λ , 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

( )2( , , ) / 2N NiE V N d E m dδΩ = −∑∫ ∫p p r

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

( )3 /2 2( , , ) (2 )N N NiE V N V m d E xδΩ = −∑∫ x

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 1/ 2E . So the integral is just the surface area of a 3N-dimensional hypersphere: 3 / 2 3 / 2(2 ) / (3 / 2)N N

NS E Nπ= Γ , and

Page 5: Assignment 3 solution - University at Buffalokofke/ce530/Assignments/Solutions03.pdf · CE 530 Assignment #3 Solution 1. The isothermal-isobaric partition function is: Δ(T,p,N)=

3 /2 3 / 2( , , ) (4 )N N NE V N V m EπΩ = We need the E-dependence to get the temperature

,

,

3 / 2 3 / 2

,

3 / 2

,

32

1/

ln

ln (4 )

ln

/

V N

V N

N N N

V N

N

V N

STE

kE

V m Ek

E

EkE

Nk E

π

∂⎛ ⎞= ⎜ ⎟∂⎝ ⎠∂ Ω⎛ ⎞= ⎜ ⎟∂⎝ ⎠

⎛ ⎞⎡ ⎤∂ ⎣ ⎦⎜ ⎟=⎜ ⎟∂⎝ ⎠

⎛ ⎞∂= ⎜ ⎟∂⎝ ⎠=

This gives the usual equipartition results 3

2E NkT= . Likewise, the pressure is given by

,E N

P ST V

NkV

∂⎛ ⎞= ⎜ ⎟∂⎝ ⎠

=

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