Professional Documents
Culture Documents
40 Appendix
Connection to Thermodynamics and Derivation of
Boltzmann Distribution
Bernhardt L. Trout
Outline
Cannonical ensemble
Maximum term method
Most probable distribution
Ensembles continued: Canonical, Microcanonical, Grand Canonical, etc.
Connection to thermodynamics
Relation of thermodynamic quantities to Q
0.1
Canonical ensemble
B
E3
C
E2
D
E1
Then, E tot =E 1 + 2E 2 +E 3
tot (
n) = Q
=
= 12
n
!
1!2!1!
j j
Appendix
(Ensemble of systems)
N,V,EA
N,V,EB
...
N,V,EC
...
N,V,Ej
(Bath at temperature T)
Figure 1: Canonical ensemble
The answer is
nj
N.
However, it may be the case that many distributions fulfill the conditions of the
ensemble, (N, V , E tot ).
For example, assume that there are two:
n1 = 1, n2 = 2, n3 = 1; tot = 12
and
n1 = 2, n2 = 0, n3 = 2; tot = 6
Then the probability of observing, for example, E 3 is 14 in the first distribution
and 12 in the second.
The probability in the case where both distributions make up the ensemble is:
1 1 12 + 2 6
1
p3 =
=
4
12 + 6
3
In general,
pj =
1
N
tot ( n )nj ( n )
nP
n tot ( n )
where the sum is over all distributions satisfying the conditions of (N, V , E tot ).
Then, for example, we could compute ensemble averages of mechanical quantities:
X
E = hEi =
Pj E j
j
Appendix
...
...
N,V,Ej
pj Pj ,
0.2
Recall:
pj =
where
1
N
tot ( n )nj ( n )
nP
n tot ( n )
N!
tot (
n) = Q
.
j nj !
As N , nj , for each j.
Thus, the most probable distribution becomes dominant. We can call this dis
tribution,
n .
Let nj = nj in the
n distribution. Then
pj =
0.3
nj
1 tot ( n )nj
=
N tot (
n )
N
X ! X ! X
N!
ln (tot ( n )) = ln Q
ni ln
ni
ni ln ni ,
=
i ni !
i
i
i
where we have switched the index from j to i and used Stirlings approximation,
which becomes exact as ni :
ln y! y ln y y.
n ))
ni
ni E i = 0 , j = 1, 2, 3, ...
ln (tot (
nj
i
i
3
Appendix
where and are the undetermined multipliers. Carrying out the dierentiation
yields
!
X
ln
ni ln nj E j = 0, j = 1, 2, 3, ...
i
or
nj = N e eE j , j = 1, 2, 3, ...
Recalling that
N =
yields
nj
e eE j = 1
or
e =
eE j .
Also,
hEi =
nj E j
N
and
pj =
where
N e eE j E j
N
E j
Ej
je
= P E
j
je
nj
eEj
= e eEj = P Ej ,
N
je
Q=
eE j
and, as we discussed in the last lecture, is the partition function, the normalization
factor.
0.4
Recall from last time, via the maximum-term method in the canonical ensemble:
P
P
P E
E j
jE
e
Ej
j
j nj E j
j Ne
je
hEi =
=
= P E
j
N
N
e
j
and
pj =
where,
nj
eE j
= e eE j = P E ,
j
N
je
Q=
eE j ,
as we discussed in the last lecture, is the partition function, the normalization factor.
In addition, as we have shown:
E = hEi =
X
j
pj E j
Appendix
and
P = hP i =
where P is the pressure.
pj Pj ,
X E j
1X
(ln pj + ln Q) dpj +
pj
dV .
j
V N
j
P =
or
Pj =
This yields for equation 1
dhEi =
(1)
E
V
E j
V
X
1X
1X
ln pj dpj
ln Qdpj +
pj Pj dV .
j
j
j
[Note that
X
d
pj ln pj
j
ln pj dpj +
pj d (ln pj )
ln pj dpj +
Since,
pj
dpj
.
pj
(2)
pj = 1,
dpj = 0.]
1 X
pj ln pj hP idV .
dhEi = d
Recalling from the combined first and second laws (in intensive form, noting that
since N is a constant, intensive and extensive forms are equivalent):
dU = T dS P dV
1 X
T dS d
pj ln pj .
j
5
Appendix
Let
X =
pj ln pj .
Then,
dS =
1
dX.
T
(3)
We know that the left side of the equation is an exact dierential, so the right side
1
must be a function of X. This means that
must be too, and thus, T
dS = (X)dX = df (X).
Integrating,
S = f (X) + const,
(4)
where we can set the arbitrary constant, const, equal to 0 for convenience.
Now we can make use of the additive property of S, and we can divide a system
into two parts, A and B. This yields:
S = S A + S B = f (X A ) + f (X B ).
Note that
X A+B =
(5)
pi,j ln pi,j ,
i,j
where i is the index for the possible states of A and j is the index for the possible
states of B. Then
X
B
A
B
X A+B =
pA
i pj (ln pi + ln pj )
i,j
X
i
A
pA
i ln pi
B
pB
j ln pj
= XA + XB.
Thus, from equation 5,
S = f (X A ) + f (X B ) = f (X A + X B ).
For this to be so,
f (X) = kX,
where k is a constant. Thus,
S = k
pj ln pj .
(6)
0.5
Appendix
Recalling the formulation for S from equation 6, and noting that in the microcanonical ensemble,
1
pj = ,
where we recall that is the total number of states with the same energy, then
S = k
X
j
pj ln pj = k
X1
1
ln
= k ln (N, V , E).
This is Boltzmanns famous formula for the entropy.
In the Grand Canonical ensemble, the number of particles in each system is
allowed to fluctuate, but is kept constant. This is called the (V , T, ) ensemble.
Also, there are other ensembles, such as (N, P, T ), etc. Note that from an analysis
of fluctuations (Lecture 27), we shall see that in the macroscopic limit of a large
number of systems, all of these ensembles are equivalent.
0.6
Recall that
S
= k
pj ln pj
eE j
Q
X
Q =
eE j
pj
X eE j
= k
eE j
Q
X eE j E j
ln Q
Q
kT
j
= k
=
ln
hEi
+ k ln Q
T
Recalling our definitions from macroscopic thermodynamics and the fact that U
hEi yields
A= kT ln Q
Similarly,
S
P
U
A
T
= kT
V ,Ni
ln Q
T
V ,Ni
ln Q
V
T,Ni
T,Ni
ln
Q
= A + T S = kT 2
.
T
V ,Ni
=
A
V
= kT
+ k ln Q
Appendix
Thus, all thermodynamic properties can be written in terms of the partition function, Q(N, V , T )!
In order to compute Q, all we need are the possible energy levels of the system.
We can obtain these from solving the equations of quantum mechanics.