# 17.E: Boltzmann Factor and Partition Functions (Exercises)

$$\newcommand{\vecs}{\overset { \rightharpoonup} {\mathbf{#1}} }$$ $$\newcommand{\vecd}{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$$$\newcommand{\AA}{\unicode[.8,0]{x212B}}$$

These are homework exercises to accompany Chapter 17 of McQuarrie and Simon's "Physical Chemistry: A Molecular Approach" Textmap.

### Q17.9

In Section 17-3, we derived an expression for the expectation value of energy, $$\langle E \rangle$$, by applying Equation 17.20 to $$Q(N, V, T)$$ given by Equation 17.22. Now, apply Equation 17.21 to $$Q(N, V, T)$$ to give the same result, except with $$\beta$$ replaced by $$\dfrac{1}{k_bT}$$.

### S17.9

Beginning with Equation 17.21

$$\langle E \rangle = k_bT^2 (\dfrac{\partial{ln Q}}{\partial T})_{N,V}$$

We can use the partition function in the problem to find $$(\dfrac{\partial{ ln Q}}{\partial T})_{N,V}$$:

$$Q(N, V, T) = \dfrac{V^N}{N!} ( \dfrac{2\pi mk_b}{h^2} )^{\dfrac{3N}{2}} T^{\dfrac{3N}{2}}$$

$$ln Q = \dfrac{3N}{2} ln T$$

$$( \dfrac{\partial_{ln Q}}{\partial T} )_{N,V} = \dfrac{3N}{2T}$$

Substituting this last result into Equation 17.21 yields

$$\langle E \rangle = k_bT^2 \dfrac{3N}{2T} = \dfrac{3}{2}(Nk_bT)$$

### Q17.10

A gas absorbed on a surface can sometimes be modeled as a two-dimensional ideal gas. We will learn in that the partition function of a two-dimensional ideal gas is:

$Q(N,A,T) = \dfrac{1}{N!}\big(\dfrac{2\pi mk_{B}T}{h^{2}}\big)^{N}A^{N}$

where $$A$$ is the area of the surface. Derive an expression for $$\bar{C}_{V}$$.

### S17.10

$$\bar{C}_{V} = \big(\dfrac{\partial U}{\partial T} \big)_{N,A}$$ and $$U= K_{b}T^{2} \big(\dfrac{\partial ln (Q)}{\partial T} \big)_{N,A}$$

$$\bar{C}_{V} = \big(\dfrac{\partial U}{\partial T} \big)_{N,A}$$

and

$$U= K_{b}T^{2} \big(\dfrac{\partial ln (Q)}{\partial T} \big)_{N,A}$$

where

$$U = K_{b} T^{2} * \frac{N}{T}$$

and thus

$$U = NK_{b}T$$.

## Q17.11

Given the partition function of a monatomic can der Waals gas:

$Q(N,V,T)=\frac{1}{N!}(\frac{2\pi m k_B T}{h^2})^{\frac{3N}{2}} (V-Nb)^N e^{\frac{aN^2}{V k_b T}}$

what is the average energy of this gas?

### S17.11

The average energy of a gas is given by

$<E> = k_b T^2 (\frac{\partial ln Q}{\partial T})_{N,V}$

taking the natural log of the partition function gives us

$lnQ = \frac{3N}{2} ln({\frac{2\pi m k_B T}{h^2}}) + \frac{aN^2}{V k_b T} +\frac{1}{N!}N ln(V-Nb)$

Now we take the partial derivative with respect to T while holding N and V constant.

This yields

$(\dfrac{\partial ln Q}{\partial T})_{N,V} = \frac{3Nh^2 2 \pi m k_b}{4\pi m k_b T} - \frac{aN^2}{V k_b T^2} = \frac{3nh^2}{2T} -\frac{aN^2}{V k_b T^2}$

Substituting this value into the Average Energy equation, we get

$<E> = \frac{3N k_b T}{2} - \frac{aN^2}{V}$.

### Q17.12

Given the following equation:

$Q(N,V,T) = \dfrac{(V)^{N}}{N!}\Big(\dfrac{2\pi mk_{B}}{h^{2}}\Big)^{3N/2}T^{3N/2}$

An approximate partition function for a gas of hard spheres can be obtained from the partition function of a monatomic gas by replacing $$V$$ in the given equation with $$V-b$$, where $$b$$ is related to the volume of the $$N$$ hard spheres. Derive expressions for the energy and the pressure of this system.

### S17.12

We can use the partition function specified in the problem to find

$Q(N,V,T) = \dfrac{(V-b)^{N}}{N!}\Big(\dfrac{2\pi mk_{B}}{h^{2}}\Big)^{3N/2}T^{3N/2}$

$ln Q = \dfrac{3N}{2} ln T + terms \: not \: involving \: T$

After substitution into the given equation, we find that the energy (E) is the same as that for a monatomic ideal gas: $$3Nk_{B}T/2$$. We can use the partition function specified in the problem to find

$Q(N,V,T) = \dfrac{1}{N!}\Big(\dfrac{2\pi mk_{B}T}{h^{2}}\Big)^{3N/2}(V-b)^{N}$

$ln Q = N ln(V-b) + terms \: not \: involving \: V$

Similar substitution allows us to find

$\langle P \rangle = k_{B}T\Big(\dfrac{\partial ln Q}{\partial V}\Big)_{N,B} = \dfrac{Nk_{B}T}{V-b}$

### Q17.13

Using the partition function

$Q(N,\:,A\:,\:T) = \dfrac{1}{N!}\Big(\dfrac{2\pi mk_{B}T}{h^{2}}\Big)^{N}A^{N}$,

calculate the heat capacity of a two-dimensional ideal gas.

### S17.13

First, the energy must be found. This can be done by finding $$\Big(\dfrac{\partial ln Q}{\partial T}\Big)_{N,\:V}$$.

$ln[Q] = N ln[T] + ...$

where the ... refers to terms that do not depend on T. Because they do not depend on T, the partial with respect to those terms are 0.

The partial derivative is

$\Big(\dfrac{\partial ln Q}{\partial T}\Big)_{N,\:V} = \dfrac{N}{T}$.

The energy can be expressed as

$E = \Big(\dfrac{\partial ln Q}{\partial T}\Big)_{N,\:V}*k_{B}T^{2}$

$E = \dfrac{Nk_{B}T^{2}}{T}$

$E = Nk_{B}T$

In the case of our two-dimensional ideal gas,

$E = U$,

so we can use the relationship

$C_{v} = \Big(\dfrac{\partial U}{\partial T}\Big)_{N,V}$

$C_{v} = Nk_{B}$

### Q17-14 This is correct, but show algebra for better understanding of the topic.

How is the energy of a monatomic van der Waals gas related to the capacity of a monatomic van der Waals gas?

S17-14

The heat capacity, Cv is a measure of how energy changes with temperature (given a constant amount and volume).

$$C_{v}=(\frac{\partial<E>}{\partial T})_{N,V} = (\frac{\partial U}{\partial T})_{N,V}$$ because <E>=U.

### Q17.15

The partition function of the rigid rotator-harmonic oscillator model of an ideal diatomic gas is given by

$$Q(N, V, \beta) = \frac{[q(V, \beta)]^N}{N!}$$

where

$$q(V, \beta) = (\frac{2\pi m}{h^2\beta})^(\frac{3}{2})*V*\frac{8\pi^2I}{h^2\beta}*\frac{e^(-\beta h\nu/2)}{1-e^(-\beta h\nu/2)}$$

Find the expression for the pressure of an ideal atomic gas.

### S17.15

(There needs to be way more details how you arrived from the first equation to the last. -- RM)

$$Q(N, V, \beta)= \frac{1}{N!}(\frac{2\pi m}{h^2\beta})^N*V^N*\frac{8\pi^2I}{h^2\beta}^N*\frac{e^(-\beta h\nu/2)}{1-e^(-\beta h\nu/2)}^N$$

$$lnQ = NlnV$$

$$\frac{dlnQ}{dV} = \frac{N}{V}$$

$$\langle P\rangle = \frac{Nk_{B}T}{V}$$ which is the ideal gas law.

It would be useful to show the intermediate step in how you got to the end solution...I feel that the more detail it is, the clearer the solution will be.

### Q17.19

a.) Prove that a simplified form of the molar heat capacity of system of independent particles can be written as:

$\overline{C_{V}} = R(\beta\varepsilon)^{2} \dfrac{e^{-\beta\varepsilon}}{(1+e^{-\beta\varepsilon})^{2}}$

b.) Verify by plotting $$\overline{C_{V}}$$ versus $$\beta\varepsilon$$ that the maximum value occurs when $$\beta\varepsilon = 2.40$$.

### S17.19

a.) We can write the partition function of the system as:

$q = e^{-\dfrac{\varepsilon_{0}}{k_{B}T}} + e^{-\dfrac{\varepsilon_{1}}{k_{B}T}}$

If we assume that the ground quantum state, $$\varepsilon_{0}$$ is equal to zero, we get:

$q = e^{-\dfrac{0}{k_{B}T}} + e^{-\dfrac{\varepsilon_{1}}{k_{B}T}} = 1 + e^{-\dfrac{\varepsilon_{1}}{k_{B}T}}$

We can then write the average energy of the system in terms of q:

$\langle E \rangle = RT^{2} \left( \dfrac{\partial ln(q)}{\partial T} \right)_{V} = RT^{2} \left( \dfrac{\partial ln \left( 1 + e^{-\dfrac{\varepsilon_{1}}{k_{B}T}} \right)}{\partial T} \right)_{V} = RT^{2}\dfrac{1}{1 + e^{-\dfrac{\varepsilon_{1}}{k_{B}T}}} \left( -\dfrac{\varepsilon_{1}}{k_{B}} \right) \left( -\dfrac{1}{T^{2}} \right) e^{-\dfrac{\varepsilon_{1}}{k_{B}T}} = R \left( \dfrac{\varepsilon_{1}}{k_{B}} \right) \dfrac{e^{-\dfrac{\varepsilon_{1}}{k_{B}T}}}{1 + e^{-\dfrac{\varepsilon_{1}}{k_{B}T}}}$

Using the definition of molar heat capacity, we can then plug in our expression for $$\langle E \rangle$$:

$\overline{C_{V}} = \left( \dfrac{\partial \langle E \rangle}{\partial T} \right)_{V} = \left( \dfrac{\partial \left( R \left( \dfrac{\varepsilon_{1}}{k_{B}} \right) \dfrac{e^{-\dfrac{\varepsilon_{1}}{k_{B}T}}}{1 + e^{-\dfrac{\varepsilon_{1}}{k_{B}T}}} \right)}{\partial T} \right)_{V}$

$= R \left( \dfrac{\varepsilon_{1}}{k_{B}} \right) \left( -\dfrac{\varepsilon_{1}}{k_{B}} \right) \left( -\dfrac{1}{T^{2}} \right) e^{-\dfrac{\varepsilon_{1}}{k_{B}T}} \left( 1 + e^{-\dfrac{\varepsilon_{1}}{k_{B}T}} \right)^{-2} = R \left( \dfrac{\varepsilon_{1}}{k_{B}T} \right)^{2} \dfrac{e^{-\dfrac{\varepsilon_{1}}{k_{B}T}}}{\left( 1 + e^{-\dfrac{\varepsilon_{1}}{k_{B}T}} \right)^{2}}$

If we define $$\varepsilon_{1} = \varepsilon$$ and $$\dfrac{1}{k_{B}T} = \beta$$, we can simplify the above expression for the molar heat capacity as:

$\overline{C_{V}} = R(\beta\varepsilon)^{2} \dfrac{e^{-\beta\varepsilon}}{(1 + e^{-\beta\varepsilon})^{2}}$

which is what the original problem asked us to show.

b.) Plotting $$\overline{C_{V}}$$ versus $$\beta\varepsilon$$ results in the following graph, with the maximum at $$\beta\varepsilon = 2.40$$ verified. (All calculations and graphs were done in MATLAB and produced by me)

### Q17.20

Each of the N atoms of the crystal is assumed to vibrate independently about its lattice position, so that the crstal is pictures as N independent harmonic oscillators, each vibrating in three directions. The partition function of a harmonic oscillator is

$q_{ho}(T) = \sum_{\nu=0}^\infty e^{-\beta (\nu+\dfrac{1}{2}) hv}$

$e^{-\beta hv/2}\sum_{\nu=0}^\infty e^{\beta \nu hv}$

This summation is easy to evaluate if you recognize it as the so-called geometric series

$\sum_{\nu=0}^\infty x^\nu = \dfrac{1}{1-x}$

Show that

$q_{ho}(T) = \dfrac{e^{-\beta h \nu/2}}{1-e^{-\beta h \nu}}$

and that

$Q = e^{\beta U_0} \bigg( \dfrac{e^{-\beta h \nu/2}}{1-e^{-\beta h \nu}} \bigg)^3N$

where U0 simply represents the zero-of-energy, where all N atoms are infinitely separated.

### S17.20

let $$x = e^{-\beta h \nu} then \sum_{\nu=0}^\infty e^{-\beta h \nu} = \dfrac{1}{1- e^{-\beta h \nu}}$$

$$Q = q^N = (q_{vib}q_{elec})^N$$

$q_{elec}=e^{-\beta U_0 /N}+q_{vib} = (q_{ho}^3)] \[Q = e^{-\beta U_0}\bigg( \dfrac{e^{-\beta h \nu/2}}{1-e^{-\beta h \nu}} \bigg)^{3N}$

### Q17.21

Evaluate

$S = \sum_{i=0}^{2} \,\sum_{j=0}^{1}\,x^{i+j}= x(1+y)+x^2(1+y) = (x+x^2)(1+y)$

by summing over j first then over i. Now obtain the same result by writing S as a product of two separate summations.

### S17.21

By evaluating the formula given in the problem, S can be written as a product of two separate summations, given by

$S = \sum_{i=0}^{2} \,\sum_{j=0}^{1}\ = (x+x^2)(y+1)$

### Q17.22

Evaluate:

$S = \sum_{i=0}^{4} \,\sum_{j=1}^{i}\,5+j$

### S17.22

$(1+5) +[(1+5)+(2+5)]+[(1+5)+(2+5)+(3+5)]+[(1+5)+(2+5)+(3+5)+(4+5)]=6+13+21+30=70$

### Q17.24

Consider a system of two noninteracting identical femions, each has energy states of $$\varepsilon_1$$, $$\varepsilon_2$$ and $$\varepsilon_3$$. How many terms are there in the unrestriced evaluation of Q(2,V,T)?

### S17.24

Q(2,V,T) = $$\Sigma e^{-\beta(\varepsilon_i+\varepsilon_j)}$$

Total terms = 9. From these 9 terms that will appear in the unrestricted evaluation of Q, only 3 of them will be allowed for 2 identical femions:

$$\varepsilon_1$$ + $$\varepsilon_2$$

$$\varepsilon_1$$ + $$\varepsilon_3$$

$$\varepsilon_2$$ + $$\varepsilon_3$$

The 6 terms that are not allowed by the fermion restriction would be (Aaron Choi):

$\varepsilon_1 + \varepsilon_3 = \varepsilon_3 + \varepsilon_1$

$\varepsilon_1 + \varepsilon_2 = \varepsilon_2 + \varepsilon_1$

$\varepsilon_2 + \varepsilon_3 = \varepsilon_3 + \varepsilon_2$

## Q17.25

Looking at problem 17.24, how many allowed terms are there in the case of bosons instead of fermions?

## S17.25

There are six allowable terms, three that were found in Q17.24 and an additional three, they are as follows:

$\epsilon_1 + \epsilon_3$

$\epsilon_1 + \epsilon_2$

$\epsilon_2 + \epsilon_3$

$\epsilon_1 + \epsilon_1$

$\epsilon_2 + \epsilon_2$

$\epsilon_3 + \epsilon_3$

## Q17.26

Consider a system of three noninteracting identical bosons, each of which has states with energies $$\varepsilon_{1}$$, $$\varepsilon_{2}$$, and $$\varepsilon_{3}$$. How many terms are there in the unrestricted evaluation of $$Q(3,V,T)?$$ How many terms occur in $$Q(3,V,T)$$ when the boson restriction is taken into account? Enumerate the allowed total energies in the summation of Equation 17.37: $Q(N,V,T) = \sum_{i,j,k..} e^{-\beta(\varepsilon_{i}+\varepsilon_{j}+\varepsilon_{k}...)}$

## S17.26

There are ten allowed terms, given by the total energies

$1. \varepsilon_{1} + \varepsilon_{2} + \varepsilon_{3}$

$2. \varepsilon_{1} + \varepsilon_{1} + \varepsilon_{3}$

$3. \varepsilon_{2} + \varepsilon_{2} + \varepsilon_{3}$

$4. \varepsilon_{2} + \varepsilon_{2} + \varepsilon_{1}$

$5. \varepsilon_{2} + \varepsilon_{2} + \varepsilon_{2}$

$6. \varepsilon_{2} + \varepsilon_{2} + \varepsilon_{3}$

$7. \varepsilon_{1} + \varepsilon_{3} + \varepsilon_{3}$

$8. \varepsilon_{3} + \varepsilon_{2} + \varepsilon_{3}$

$9. \varepsilon_{1} + \varepsilon_{1} + \varepsilon_{1}$

$10. \varepsilon_{3} + \varepsilon_{3} + \varepsilon_{3}$

## Q17.26

Consider a system of 2 noninteracting bosons, each having a state with energy $$\epsilon_{1},\epsilon_{2},\epsilon_{3},\epsilon_{4}$$. How many terms are in the unrestricted evaluation $$Q\big(2,V,T\big)$$ Write the allowed energies in the summation form?.

## S17.26

There are 10 allowed terms, given by the total energies

$$\epsilon_{1} +\epsilon_{2}$$ $$\epsilon_{2} +\epsilon_{2}$$

$$\epsilon_{1} +\epsilon_{3}$$ $$\epsilon_{2} +\epsilon_{3}$$

$$\epsilon_{1} +\epsilon_{4}$$ $$\epsilon_{2} +\epsilon_{4}$$

$$\epsilon_{1} +\epsilon_{1}$$ $$\epsilon_{3} +\epsilon_{4}$$

$$\epsilon_{4} +\epsilon_{4}$$ $$\epsilon_{3} +\epsilon_{3}$$

17.E: Boltzmann Factor and Partition Functions (Exercises) is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by LibreTexts.