Professional Documents
Culture Documents
Lecture 6 2019 Ideal Gas Final
Lecture 6 2019 Ideal Gas Final
6.3 Announcements
• Pset 2 due Thursday
1
University of Wisconsin-Madison Lecture 6
CBE 710, Fall 2019 - Prof. R. C. Van Lehn September 24, 2019
other since the subsystems themselves are independent. Rather than enumerating all possible
microstates by summing over all j, we can thus instead enumerate all possible microstates by
summing over all possible values of n and m independently. The corresponding canonical partition
function for the combined system is then:
X
Z= e−βEj (6.1)
j
h i
(1) (2)
−β n +m
XX
= e (6.2)
n m
XX (1) (2)
= e−βn e−βm (6.3)
n m
If the indices n and m are independent of each other, we can now further write:
! !
X (1) X (2)
−βn −βm
Z= e e (6.4)
n m
(1)
≡Z Z (2) (6.5)
Expressing the sum over all possible indices as a product of sums over single indices is the
key to this method - because E can be decomposed into the sum of two independent values,
the product of the two summations yields all possible values of E. You can demonstrate this
manually by assuming a two-state energy system per subsystem, for example, and counting the
possible products. Note that this factorization is only possible because the two subsystem energies,
(1) and (2) are independent and uncorrelated - if either energy were a function of the other (i.e.
if n and m were not independent), then the same factorization would not be possible. Since
each of the independent sums takes the same form as the canonical partition function, we use
Z (1) to refer to the partition function for subsystem 1, etc. Again, note that we write these as
sums over particular microstates of the system and microstates of the subsystem, so there could
be many possible microstates with the same decomposition of energies but with different particle
configurations.
Extending this result, if we break the system into N independent, uncorrelated subsystems then
the partition function can be written as:
Z = (Z (1) )N (6.7)
N
=z (6.8)
To simplify this notation, we will define Z (1) ≡ z as the single-subsystem partition function. This
factorization dramatically simplifies our calculation of a system partition function - for example, if
2
University of Wisconsin-Madison Lecture 6
CBE 710, Fall 2019 - Prof. R. C. Van Lehn September 24, 2019
we had a system with 100,000 independent molecules (e.g., ideal gas molecules), and each molecule
can exist in three different microstates, then the total number of states in the entire system is
3100,000 , which is much too large to calculate. Eq. 6.8 instead says that we only need an expression
for the three-state partition function z which is trivial. Again, we assume that each subsystem
is independent and identical - so this implies that each subsystem has exactly the same partition
function associated with it (same possible energies, same degeneracy for each energy, etc.).
In the preceding definition we have applied a distinct label to each of the N different single-
subsystem partition functions, implying that each molecule is distinguishable. As we discussed in
the derivation of the microcanonical ensemble, however, in most systems of independent particles
the particles are instead indistinguishable. Identifying distinguishable vs. indistinguishable
subsystems can be confusing, but the idea here is that particles/subsystems are distinguishable if
we can uniquely identify the subsystem if it were randomly selected. For example, each monomer in
a polymer is distinguishable because we can identify exactly where in the polymer chain it is (i.e. its
if the first, second, third, etc. monomer), whereas each molecule in an ideal gas is indistinguishable.
Similarly, each site on a lattice is distinguishable, but if particles are able to move between lattice
points then the particles are indistinguishable.
If each subsystem of a combined system is indistinguishable, then for a given value of E we can
distribute values of (1) , (2) , (3) , . . . to each subsystem in many ways that all yield the same value
of E, but these different distributions all lead to sets of microstates that are indistinguishable, and
thus each set of configurations should only be counted once in the system partition function. For
example, assume a two particle system where each particle can have a discrete energy arbitrarily
labeled as 1, 2, 3, or 4. Treating each particle as a subsystem and assigning an energy of 0 to
particle 1 and 4 to particle 2 is equivalent to assigning an energy of 0 to particle 2 and 4 to particle
1; hence this state should only be counted once in the partition function. Note that there can still
be many different ways of assigning energies to achieve the same total system energy of 4 - we could
have assigned the values of 0/4, 1/3, or 2/2, and these would all yield unique states. We just do
not want to overcount the redundant states 4/0 and 3/1 in this example.
3
University of Wisconsin-Madison Lecture 6
CBE 710, Fall 2019 - Prof. R. C. Van Lehn September 24, 2019
that there N ! different ways of assigning a given set of i , j , . . . to N subsystems, and each of these
would have the same energy, so for this particular value of E we have counted N ! states when we
should have counted only 1. If we imagine counting our partition function by summing over energy
levels, then the degeneracy of each energy level is overcounted by this amount. More
specifically, each possible way of assigning these states is the same for indistinguishable subsystems,
so we overcount the degeneracy of each energy level in the combined system partition function by
a factor of N !.
Dividing by this factor of N ! gives a final expression for the partition function of a system of
N independent, indistinguishable subsystems as:
zN
Z= (6.9)
N!
X
z= e−βi (6.10)
i
Finally, we can note that itself may be divided into a series of individual components - for
example, we can imagine a single particle as having a component of its energy related to its kinetic
energy or its potential energy. Writing = a + b + c . . . allows us to immediately write for the
system partition function:
(za zb zc . . . )N
Z= (6.11)
N!
where za are single-subsystem partition functions containing only the energetic term of the sub-
division. The only important point to note here is that typically the different energetic components
of the single-subsystem energy are distinguishable (i.e. kinetic energy and potential energy) and
thus the factorial in the denominator does not change.
To summarize, we thus obtain:
X X
Z= e−βEj = Ω(N, V, Eν )e−βEν Single system with N particles (6.12)
j ν
X
Z = zN → z = e−βj N independent, distinguishable subsystems (6.13)
j
zN X
Z= →z= e−βj N independent, indistinguishable subsystems (6.14)
N!
j
(za zb zc . . . )N
Z= Eq. 6.14 with multiple energetic components per subsystem (6.15)
N!
4
University of Wisconsin-Madison Lecture 6
CBE 710, Fall 2019 - Prof. R. C. Van Lehn September 24, 2019
• Write a partition function for the entire system using the single-particle partition function
We will start by performing this derivation in the canonical ensemble. We assume a volume of
monatomic gas contained with a P cubic box of length L, such that V = L3 . Each particle has an
associated partition function z = j e−βj . Because the system is ideal and each molecule is only a
single atom (and hence there are no degrees of freedom associated with molecular vibrations, etc),
the energy of each particle is given from the solution to the quantum “particle in a box”, which is a
generalization of a result stated in Lecture 1 (note that we will not derive where this energy comes
from as it is outside the scope of this class). A quantum particle in a box has a discrete spectrum
of energies corresponding to the possible positions (or, more accurately, probability distributions
associated with specific positions, which are equivalent to the square of the wavefunction). The
energy is given as:
Here, h is the Planck constant, m is the mass of the particle, and nx , ny , and nz are three
unitless quantum numbers that specify a particular quantum state in a 3D box. Recall that in
quantum mechanics energies are discretized, such that the three quantum numbers above specify
discrete values of the energy, ν , and also contribute to the degeneracy, ω(ν ) (written in lower
case to indicate a single-particle degeneracy). Since particle positions are associated with different
energies, the degeneracy of each energy level is specified only by the number of possible ways of
assigning quantum numbers to yield that energy.
To proceed, we would like to calculate the single particle partition function. We write the
partition function by summing over all possble values of the energy, ν :
∞
X
z= w(ν )e−βν (6.18)
ν
The prefactor w(ν ) is the degeneracy of a given energy level, ν . We can start by computing
an expression for the degeneracy by picturing a three-dimensional space of quantum numbers in
a coordinate system defined by nx , ny , and nz , where each point in this space that has positive
values of all three numbers is a single possible molecular quantum state (i.e., one quantum state
per unit volume) corresponding to some energy value ν . The equation
8mL2 ν
n2x + n2y + n2z = = R2 (6.19)
h2
then defines the equation for a sphere of radius R2 in the nx ny nz space, where the expression for
R is from the rearrangement of Eq. 6.16.
5
University of Wisconsin-Madison Lecture 6
CBE 710, Fall 2019 - Prof. R. C. Van Lehn September 24, 2019
We can quantify the number of possible microstates as the volume of the sphere for which all
3
three quantum numbers are positive, or πR
6 . We can write this phase-space volume as:
πR3
Θ(ν ) = (6.20)
6
π 8mν 3/2
= V (6.21)
6 h2
Note that V = L3 is the volume of the physical system, while R3 defines the volume of the
phase space. What we really want is an expression for the degeneracy of a particular energy level ν
- this can then be approximated as the number of states with an energy between ν and ν + ∆ν :
dΘν
ω(ν ) ≈ dν (6.24)
dν
!
π 8mν 3/2
d
= V dν (6.25)
dν 6 h2
π 8m 3/2 1/2
= V ν dν (6.26)
4 h2
∞
π 8m 3/2 1/2 −βν
X
z= V ν e dν (6.27)
ν
4 h2
∞
π 8m 3/2 X 1/2 −βν
= V ν e dν (6.28)
4 h2 ν
6
University of Wisconsin-Madison Lecture 6
CBE 710, Fall 2019 - Prof. R. C. Van Lehn September 24, 2019
π 8m 3/2
Z ∞
z= V ν1/2 e−βν dν (6.29)
4 h2 0
We
R ∞can1/2analytically solve this expression by defining u = βν and recognizing the standard inte-
−u √
gral 0 u e du = π/2. Simplifying yields our final expression for the single-particle partition
function for the ideal gas:
3/2 Z ∞
π 8m
z= V ν1/2 e−βν dν (6.30)
4 h2 0
3/2 Z ∞
π 8m
= V (kB T )3/2 u1/2 e−u du (6.31)
4 h2 0
!
π 8mkB T 3/2 π 1/2
= V (6.32)
4 h2 2
2πmkB T 3/2
= V (6.33)
h2
Finally, we write the full partition function of the system, remembering that the particles are
indistinguishable, as:
zN
Z= (6.34)
N!
1 2πmkB T 3N/2 N
= V (6.35)
N! h2
N
1 V
= (6.36)
N ! λ3
In the last line, we define:
s
h2
λ= (6.37)
2πmkB T
7
University of Wisconsin-Madison Lecture 6
CBE 710, Fall 2019 - Prof. R. C. Van Lehn September 24, 2019
where λ is the thermal de Broglie wavelength which has units of length and is a function of T ;
this simplifies our notation and defines a characteristic length scale for treating a gas classically - if
V λ3 , which we will generally assume to be the case, then the classical limit is reasonable. With
this partition function, we can proceed to derive thermodynamic relationships as will be discussed
in the next lecture.