Statistical Physics (MSC Phy) 4
Statistical Physics (MSC Phy) 4
Consider a system of interest in contact with a thermal reservoir – a system separated from reservoir by
an impermeable wall which is thermally conducting. Let 𝐸 be the energy of the system, and 𝐸! − 𝐸 be
the energy of the reservoir. Total energy 𝐸! is fixed. Then,
𝑑𝐸
Ω ! (E ! ) = ) Ω(E) Ω ! (E ! − E)
∆
Where we have used that 𝑆" = 𝑘* ln Ω" (E ! − E). This implies Ω" (E ! − E) = 𝑒 #! (%" &%)/)# . Since the
reservoir is large E ≪ E ! , we can expand Ω" (E ! − E) (Taylor expansion)
1 𝜕𝑆"
Ω" (E ! − E) ≈ exp 9 ;𝑆" (𝐸! ) − 𝐸 + ⋯ >?
𝑘* 𝜕𝐸"
1 𝐸 𝐸
Ω" (E ! − E) ≈ exp 9 ;𝑆" (𝐸! ) − >? = 𝐶𝑜𝑛𝑠𝑡𝑎𝑛𝑡 exp 9− ?
𝑘* 𝑇 𝑘* 𝑇
So,
,
&
P(E) ∝ Ω(E) 𝑒 )# !
#(,) , (,&! #) -
& & &
P(E) ∝ 𝑒 )# 𝑒 )# ! = 𝑒 )# ! =𝑒 )# !
Where, we have used 𝑆(𝐸) = 𝑘* ln Ω(E) and 𝐴 = 𝐸 − 𝑇 𝑆 is the Helmholtz free energy.
Ω(E) & )#,!
𝑒
P(E) = ∆
Z
$
., &
Z = ∫ ∆
Ω(E) 𝑒 %# "
It is the canonical partition function. Note that Z is the Laplace transformation of the partition
function Ω(E).
Using the density of states,
𝑑𝑞0 𝑑𝑝0
𝑔(𝐸) = ) 𝛿(𝐻[𝑞0 , 𝑝0 ] − 𝐸)
ℎ12
Ω(𝐸) = 𝑔(𝐸)∆
or
g(𝐸) = Ω(𝐸)/∆
Then
#
!
Z = $ 𝑑𝐸 g(E) 𝑒 $! %
! !
𝑍 = "! $!" ∫ 𝑑𝑞% 𝑑𝑝% 𝑒 & ()[+# ,-# ]
The density of states g(𝐸) has built into it all the information about a system as far as its thermodynamic
behavior is concerned. Here, 𝛽 = 1/(𝑘* 𝑇). Note that here 𝑁! term in the expression is needed in the
case of indistinguishable particles. In the case of distinguishable particles, 𝑁! term is not required.
〈𝐸〉 = ) 𝑑𝐸 E P(E)
𝜕
− [ 𝑑𝐸 g(E) 𝑒 & 3 , \
𝜕𝛽 ∫ 𝜕 𝜕
〈𝐸〉 = & 3 ,
=− ln ;) 𝑑𝐸 g(E) 𝑒 & 3 , > = − ln 𝑍
∫ 𝑑𝐸 g(E) 𝑒 𝜕𝛽 𝜕𝛽
𝜕
〈𝐸〉 = − ln 𝑍
𝜕𝛽
Energy fluctuations
Since energy of a system is not constant in canonical ensemble, apart from calculating its average, we
will also be interested in knowing how much the energy deviates from its average value. A good measure
of it is the energy fluctuation, defined as
∆E = ^〈(𝐸 − 〈𝐸〉)4 〉
where the angular brackets denote thermal average or ensemble average. This expression can be
simplified as follows
∆E = ^〈(𝐸 4 − 2 𝐸〈𝐸〉 + 〈𝐸〉4 )〉
∆E = ^〈𝐸 4 〉 − 〈𝐸〉4
∆E4 = 〈𝐸 4 〉 − 〈𝐸〉4
4
∫ 𝑑𝐸 g(E) 𝐸 4 𝑒 & 3 , 𝜕 ln 𝑍
∆E4 = & 3 ,
− `− a
∫ 𝑑𝐸 g(E) 𝑒 𝜕𝛽
𝜕 4 & 3 ,
∫ 𝑑𝐸 g(E) 𝑒 𝜕 ln 𝑍 4
𝜕𝛽4
∆E4 = − ` a
∫ 𝑑𝐸 g(E) 𝑒 & 3 , 𝜕𝛽
𝜕4
∫ 𝑑𝐸 g(E) 𝑒 & 3 , 𝜕 ln 𝑍 4
4 𝜕𝛽4
∆E = − ` a
∫ 𝑑𝐸 g(E) 𝑒 & 3 , 𝜕𝛽
1 𝜕 4 𝑍 𝜕 ln 𝑍 4
∆E4 = − ` a
𝑍 𝜕𝛽4 𝜕𝛽
𝜕 4 ln 𝑍
∆E4 =
𝜕𝛽4
The last step can be verified by working backwards and obtaining the last but one step. Energy
fluctuation also depends quite simply on the partition function. The above result can be manipulated
to obtain some useful relations
𝜕 4 ln 𝑍 𝜕 𝜕 ln 𝑍
∆E4 = 4
= − `− a
𝜕𝛽 𝜕𝛽 𝜕𝛽
𝜕
∆E4 = − 〈𝐸〉
𝜕𝛽
𝜕 𝑇 𝜕
∆E4 = − 〈𝐸〉
𝜕𝛽 𝜕𝑇
𝜕 𝑇 1
∆E4 = − 𝐶5 = 𝐶
𝜕𝛽 𝑘 𝛽4 5
∆E4 = 𝑘 𝑇 4 𝐶5
6 〈,〉
In the above expression, is the specific heat (at constant volume) of the system. Thus, we see that
6!
energy fluctuations are intimately related to the specific heat of the system.
Microcanonical and canonical ensemble describe physically different scenarios. One with energy fixed,
and the other with energy constantly exchanged with a heat-bath. One might wonder how different the
results obtained from the two would be. Also, one would like to understand how crucial is the choice of
the ensemble, to study the properties of a system, because for a given system, it may not always be
possible to estimate if considering the system to isolated is a good approximation or not.
We know that the average energy of a gas is proportional to the number of particles, 〈𝐸〉 ∝ 𝑁. So
6 〈,〉
should be the specific heat, because specific heat is just . So, 𝐶5 ∝ 𝑁. Thus, energy fluctuations
6!
should be proportional to √𝑁
∆E ∝ ^𝐶5
∆E ∝ √𝑁
Magnitude of fluctuation can be correctly estimated by the quantity ∆E/〈𝐸〉
∆E ^𝐶5
∝
〈𝐸〉 〈𝐸〉
∆E √𝑁
∝
〈𝐸〉 N
∆E 1
∝
〈𝐸〉 √𝑁
It is clear than in the thermodynamic limit, the fluctuation would become zero
∆E 1
lim ∝ lim =0
2→: 〈𝐸〉 2→: √𝑁
So, in the limit of number of particles being very large, the fluctuations are negligible, and the energy
remains practically constant. If the energy is (almost) constant, one can also safely use microcanonical
ensemble to describe the system. So, we conclude that the in the thermodynamic limit (𝑁 → ∞),
canonical and microcanonical ensembles should give similar results.
Helmholtz free energy
A = E − T S ⟹ E = A + T S
∂A ∂ 𝐴
E = A − T ` a = −T 4 ; ` a>
∂T ;,2 ∂T 𝑇 ;,2
∂ 𝐴
E = −𝑘* T 4 ; ` a>
∂T 𝑘* 𝑇 ;,2
∂𝛽 ∂
E = −𝑘* T 4 ; (𝛽𝐴)>
∂T ∂𝛽 ;,2
=3 &?
Note that 𝛽 = 𝑘* 𝑇, and = . It implies,
=> )# >&
∂
E = ; (𝛽𝐴)>
∂𝛽 ;,2
Here E is indeed the total internal energy of the system. However, we have
𝜕
〈𝐸〉 = − ln 𝑍
𝜕𝛽
By comparing the above two expressions, we get the expression for the Helmholtz free energy in
terms of the canonical partition function.
1
𝐴 = − ln 𝑍
𝛽
𝐴 = − 𝑘/ 𝑇 ln 𝑍
In other words,
A E
− = S −
𝑇 𝑇
Is the Legendre transformation of S. As mentioned earlier, the canonical partition function
𝑑𝐸 ,
&
Z = ) Ω(E) 𝑒 )# !
∆
By looking at the above two equations, we can make a general statement: If one takes the Laplace
transformation of a partition function, the corresponding thermodynamic potential of the new partition
function is just the Legendre transformation of the original thermodynamic potential.
Classical Ideal Gas in Canonical Ensemble
Let us study our simplest problem of a classical ideal gas, which we studied using micro- canonical
ensemble earlier, now using canonical ensemble. Energy of the gas is given by
2 4 4 4
𝑝@0 𝑝A0 𝑝B0
𝐸 = no + + q
2𝑚 2𝑚 2𝑚
0C?
Where the sum over i goes all over N particles. The partition function thus can be written as
2
1
𝑍 = 12 ) 𝑒 & 3 , r 𝑑𝑝@0 𝑑𝑝A0 𝑑𝑝B0 𝑑𝑥0 𝑑𝑦0 𝑑𝑧0
ℎ
0C?
42 4 4 2
1 𝑝@0 𝑝A0 𝑝B0
𝑍 = 12 ) 𝑒𝑥𝑝 v−𝛽 n o + + qw r 𝑑𝑝@0 𝑑𝑝A0 𝑑𝑝B0 𝑑𝑥0 𝑑𝑦0 𝑑𝑧0
ℎ 2𝑚 2𝑚 2𝑚
0C? 0C?
2 4 4 4
1 𝑝@0 𝑝A0 𝑝B0
𝑍= ) r 𝑒𝑥𝑝 x−𝛽 o + + qy 𝑑𝑝@0 𝑑𝑝A0 𝑑𝑝B0 𝑑𝑥0 𝑑𝑦0 𝑑𝑧0
ℎ12 2𝑚 2𝑚 2𝑚
0C?
2 4 4 4
1 𝑝@0 𝑝A0 𝑝B0
𝑍= r ) 𝑒𝑥𝑝 x−𝛽 o + + qy 𝑑𝑝@0 𝑑𝑝A0 𝑑𝑝B0 𝑑𝑥0 𝑑𝑦0 𝑑𝑧0
ℎ12 2𝑚 2𝑚 2𝑚
0C?
Since the particles are non-interacting and identical, these N integrals will also be identical. Integral
over space will just give the volume of the box enclosing the gas, and momenta will vary from − ∞ to
− ∞. Partition function thus looks like
2 : : :
4 4 4
1 𝑝@0 𝑝A0 𝑝B0
𝑍 = 12 r 𝑉 ) 𝑒𝑥𝑝 x−𝛽 y 𝑑𝑝@0 ) 𝑒𝑥𝑝 x−𝛽 y 𝑑𝑝A0 ) 𝑒𝑥𝑝 x−𝛽 y 𝑑𝑝B0
ℎ 2𝑚 2𝑚 2𝑚
0C? & : & : & :
𝑉 " 2 𝑚 𝜋 0"/2
𝑍= 6 :
ℎ0" 𝛽
Average energy is now given by
𝜕
〈𝐸〉 = − ln 𝑍
𝜕𝛽
𝜕 𝑉 2 2 𝑚 𝜋 12/4
〈𝐸〉 = − ln x 12 ` a y
𝜕𝛽 ℎ 𝛽
The above equation can be simplified, and it gives the well-known result.
3
〈𝐸〉 = 𝑁 𝑘/ 𝑇
2
Entropy of the ideal gas can now be calculated by using the relation
S = 𝛽𝑘* 〈𝐸〉 + 𝑘* ln(𝑍)
3 𝑉 2 2 𝑚 𝜋 12/4
S = 𝛽𝑘* 𝑁 𝑘* 𝑇 + 𝑘* ln x 12 ` a y
2 ℎ 𝛽
3 𝑉 4 𝑚 𝜋 3𝑁𝑘* 𝑇 1/4
S = 𝑁 𝑘* + 𝑘* 𝑁 ln x 1 ` a y
2 ℎ 3𝑁 2
1
We know that 〈𝐸〉 = 4 𝑁 𝑘* 𝑇. We have now the entropy for the canonical ensemble.
1/4
3 𝑉 4 𝑚 𝜋 〈𝐸〉
S = 𝑁 𝑘* + 𝑘* 𝑁 ln v 1 o q w
2 ℎ 3𝑁
This result is identical to the one obtained using microcanonical ensemble, if one identifies the average
energy 〈𝐸〉 with the fixed energy 𝐸 in microcanonical ensemble.
For indistinguishable particles, one should have an additional factor of 1/𝑁! in the partition function.
Thus, canonical and microcanonical ensemble yield identical results for the classical ideal gas, as they
should.
For indistinguishable particles, using the Stirling’s formula ln[𝑁!] = N ln[𝑁] – 𝑁 (for large 𝑁), we
can recover the Sackur-Tetrode equation
1
5 k * 𝑉 4 𝐸 4
S(𝐸, 𝑉, 𝑁) = 𝑁 + k * 𝑁 ln • 1 ` 𝜋 𝑚 a ‚
2 ℎ 𝑁 3 𝑁