Professional Documents
Culture Documents
Statistical Thermodynamics
Tutorial exercises
𝑉 𝑉!
The Binomial Coefficient: ( ) = =𝑊
𝑀 𝑀! (𝑉 − 𝑀)!
Boltzmann’s Entropy, 𝑺
𝑆 = 𝑘𝐵 ln 𝑊
Consider the conversion of 𝐴 into 𝐵, for the very specific case where 𝐴 and 𝐵 have the
same energy:
𝐴⇋𝐵
We have 𝑁 total particles and 𝑁 = 𝑁𝐴 + 𝑁𝐵 . Now the binomial coefficient looks like:
𝑁 𝑁! 𝑁!
The Binomial Coefficient: ( ) = = =𝑊
𝑁𝐴 𝑁𝐴 ! (𝑁 − 𝑁𝐴 )! 𝑁𝐴 ! 𝑁𝐵 !
For 𝑁 = 𝑁𝐴 + 𝑁𝐵 = 10:
(6). What are the values of (𝑁𝐴 , 𝑁𝐵 ) that give maximum entropy?
(7). In general, what is the relationship between 𝑁𝐴 and 𝑁𝐵 that gives the maximum
entropy?
𝑊max (𝑁)
𝑊(𝑁, 𝑁𝐴 )
Properties of logs:
Calculate 𝑊 = 𝑒 [ln 𝑊] .
1000!
ln 𝑊(1000,400) = ln ( ) = ln 1000! − ln 600! − ln 400!
400! 600!
ln 𝑊(1000,400) = 673.04
ln 𝑊 is now too large even for WolframAlpha or Excel to calculate 𝑊. The best we
can do is to write the value as
20
𝑊 = 𝑒 9.52×10
or using some further properties of logs:
ln 𝑊 ≡ log e 𝑊 = log e 10 × log10 𝑊 = ln 10 × log 𝑊 = 2.303 × log 𝑊
9.52 × 1020
log 𝑊 = = 4.132 × 1020
2.303
20
𝑊 = 104.132×10
Now, let’s repeat the calculation of the ratio
𝑊max (𝑁)
𝑊(𝑁𝐴 , 𝑁𝐵 )
𝑊max
ln ( ) = ln 𝑊max − ln 𝑊 = 2.0136 × 1021
𝑊
𝑊max 21 20
= 𝑒 2.0136×10 = 108.7432×10
𝑊
𝑊max
(12). Find the ratio 𝑊
for a one part per thousand fluctuation. Use the following values:
𝑁 𝑁
Note that 𝑊max = 𝑊 ( 2 , 2 ).
ANSWER:
𝑊max 𝑊max
ln = 2.499 × 1016 ⇒ = exp(2.499 × 1016 )
𝑊 𝑊
(13). Repeat (12) for a one part per million fluctuation.
Gibbs Entropy
Every distribution has an associated entropy, which can be calculated from the probability
of occupying each state:
EXCEL
𝑗 1 2 3 4 5 6
𝑗 1 2 3 4 5 6
These examples do indeed have smaller entropy than the uniform distribution.
NA and NB are fixed. We assume low densities, i.e. N/M << 1.
The volume is free to change between the A and B subsystems. Equilibrium will be
reached when entropy, and therefore the number of arrangements, 𝑊, is a maximum.
First, we will find a relationship between 𝑊 and the volume of the system.
Then we will use the idea from calculus that the maximum value for 𝑊 will occur when
the derivative of 𝑊 with respect to volume is zero.
i). Find an expression for 𝑊 = 𝑊𝐴 𝑊𝐵 . For low densities, we can use the following
approximation for factorial functions:
𝑀!
≈ 𝑀𝑁
(𝑀 − 𝑁)!
ii). Find the value of 𝑀𝐴 that maximises the entropy. Because 𝑆 = 𝑘 ln 𝑊 this value
of 𝑀𝐴 will also maximise ln 𝑊. This is a calculus problem; the maximum value of a
function occurs when the derivative is equal to zero. So we need the derivative of 𝑆
with respect to 𝑀𝐴 . This part can be broken down into three steps:
(1). Find a simplified expression for ln 𝑊 (using properties of logs)
(3). Solve
𝑑 ln 𝑊
=0
𝑑𝑀𝐴
iii). Use the ideal gas law
𝑝𝑉 = 𝑁𝑅𝑇
to show that the condition for maximum 𝑊 is equivalent to the pressures being equal
for A and B (for constant temperature).
2). Show that the entropy change for a change in volume of an ideal gas from 𝑽𝑩 to 𝑽𝑨 is
𝑽𝑩
𝚫𝑺 = 𝑵𝒌 ln ( )
𝑽𝑨
ANSWER:
The entropy change in terms of the number of arrangements is
𝑊𝐵
Δ𝑆 = 𝑆𝐵 − 𝑆𝐴 = 𝑘 ln 𝑊𝐵 − 𝑘 ln 𝑊𝐴 = 𝑘 ln ( )
𝑊𝐴
Using the model from (a) above but using 𝑉 for the number of sites rather than 𝑀,
and noting that the number of molecules is 𝑁 in both 𝐴 and 𝐵 states:
𝑉𝐴 ! 1 1
𝑊𝐴 = ≅ × 𝑉𝐴𝑁 𝑊𝐴 ≅ × 𝑉𝐵𝑁
𝑁! (𝑉𝐴 − 𝑁)! 𝑁! 𝑁!
So
1
𝑁! × 𝑉𝐵𝑁 𝑉𝐵 𝑁 𝑉𝐵
Δ𝑆 = 𝑘 ln ( ) = 𝑘 ln ( ) = 𝑁𝑘 ln ( )
1 𝑁 𝑉𝐴 𝑉𝐴
𝑁! × 𝑉𝐴
3). 2015 Final exam
Consider the model above for mechanical equilibrium in two-dimensions. A lattice site
occupies an area, 𝑎0 , so the area for subsystem 1 is 𝐴1 = 𝑀1 × 𝑎0 . The barrier between
Subsystem 1 and Subsystem 2 is allowed to move, subject to the constraint, 𝐴𝑡𝑜𝑡𝑎𝑙 = 𝐴1 +
𝐴2 . Equilibrium will be established when entropy is maximised. Then
𝑑𝑆 𝑑𝑆 𝑑𝑀1 𝑘 𝑑 ln 𝑊
=( )∙( )= ( )=0
𝑑𝐴1 𝑑𝑀1 𝑑𝐴1 𝑎0 𝑑𝑀1
(a) Give an expression for the total multiplicity of the combined system as a
function of 𝑀1 .
1
ln 𝑊 ≈ ln + 𝑁1 ln 𝑀1 + 𝑁2 ln(𝑀 − 𝑀1 )
𝑁1 ! 𝑁2 !
(c) Use the condition of maximum entropy and 𝜋𝐴 = 𝑁𝑅𝑇 to show that the condition
for mechanical equilibrium is
𝜋1 𝜋2
=
𝑇1 𝑇2