# Harmonic Oscillator and Density of States¶

## Quantum Harmonic Oscillator¶

As derived in quantum mechanics, quantum harmonic oscillators have the following energy levels,

$E_n = \left(n + \frac{1}{2}\right)\hbar \omega$

where $$\omega = \sqrt{ k/m }$$ is the base frequency of the oscillator. The $$1/2$$ is our signature that we are working with quantum systems.

Thus the partition function is easily calculated since it is a simple geometric progression,

$Z = \sum_n e^{-\beta E_n} = \frac{e^{-\frac{1}{2} \hbar \omega }} { 1 - e^{- \beta \hbar \omega} } = \frac{1}{2} \sinh(\beta \hbar \omega/2).$

The limiting behavior of the partition function is

$\begin{split}\lim_{\beta \to \infty} Z &= e^{-\frac{1}{2} \hbar \omega }, \\ \lim_{\omega \to \infty} Z &= 0.\end{split}$

The internal energy is derived using the partition function,

$\langle E \rangle = -\frac{\partial}{\partial\beta} \ln Z = \hbar \omega \left( \frac{1}{2} + \frac{1}{\exp(\beta\hbar\omega) - 1} \right)$

By definition, the specific heat is the change of internal energy as temperature changes, i.e.,

$C = \frac{\partial}{\partial T} \langle E\rangle = k_B (\beta \hbar \omega)^2 \frac{\exp(\beta \hbar \omega)}{ (\exp(\beta \hbar \omega) - 1)^2 }$

This specific heat behaves is shown in Fig. 11.

Fig. 11 Specific heat as a function of $$\beta$$. We have the Boltzman constant $$k_B=1$$ and the characteristic energy scale $$\hbar \omega = 1$$.

Why don’t we have infinite specific heat due to infinite energy levels

Though we have infinite energy levels, the specific heat won’t blow up because the probability of a high energy level state is extremely small.

## Density of States¶

Free Energy and Partition Function

In thermodynamics, the free energy of a system is given by

$A = U - T S$

In statistical mechanics, the free energy can be derived from the partition function,

$A = - k_B T \ln Z$

In fact, all thermodynamics quantities are solved, as long as we find out partition function. For example, the entropy is

$S = -k_B \beta \left(T \ln Z - \frac{\partial}{\partial \beta} \ln Z \right)$

Specific heat is very different for systems in 1D, 2D, and 3D. We take the dipole system as an example. In 1D, the dipole system has discrete energy levels. However, the energy levels are filling up the gaps in 2D and 3D. Even for 2D and 3D systems, we have different degeneracies.

Generally speaking, the partition function can be expressed using the following integral,

$Z = \int g(E) e^{-\beta E}\mathrm d E,$

where $$g(E)$$ is the density of states. The density of states tells us about the degeneracies.

Discussions of Partition Function - Lingfei, Qian-yuan, Lei

1. $$Z$$ is an average of $$g(E)$$ weighted by the Boltzman distribution; In other words, this is the total number of states under Boltzman distribution.
2. $$Z$$ is the Laplace transform of $$g(E)$$.

### Calculation of the Density of States¶

Here we consider the free quantum particle in a 2D box as an example.

In the momentum (wave number $$\mathbf k$$) space, all possible states are distributed on a virtual grid as shown in Fig. 12.

Fig. 12 Quantum particle in a 2D box

For any given energy $$E$$, we have the relation between the wave number and the energy $$k_x^2 + k_y^2 \propto E$$. The number of states on an energy shell $$E ~ E + \mathrm d E$$ is determined by the area of it divided by the area of each small box on the virtual grid shown in Fig. 12, i.e.,

$N = \frac{d V_k}{d V_0} = \frac{2\pi k d k}{\frac{2\pi}{L_x} \frac{2\pi}{L_y} } \equiv g(E) d E.$

The DoS $$g(E)$$ is the ratio of the differential number of states divided by the differential energy,

$g(E) = \frac{ 2\pi k }{\frac{d E}{d k}} \frac{L_x L_y}{(2\pi)^2}$

We can rewrite the expressions,

$g(E) = \frac{\text{area of } E ~ d E}{|\nabla_k E|} \frac{\text{volume of the box} }{(2\pi)^d}$

where $$d$$ is the dimension of the system or box.

Dispersion relations and Density of States

Note that the gradient of energy $$\frac{d E}{d k}$$ gives us the spread out of energy, a.k.a. dispersion relations. Dispersion relations and density of states are tightly related.

To sum up, the quantities that are used to determine the DoS:

• $$E(k)$$
• $$n$$: dimension
• $$V$$: volume of the box (important in QM because this sets the boundary conditions)

### Density of States for Some Simple Systems¶

1. Free particle in a 2D box with length $$L$$:

$\frac{d E}{d k} = \frac{d}{d k}\left( \frac{\hbar^2 k^2}{2m} \right) = \frac{\hbar^2 k}{m}.$

The density of states is

$g(E) = \frac{2\pi k }{\frac{\hbar^2 k}{m}} \frac{L^2}{(2\pi)^2} = (\frac{1}{2\pi} \frac{m}{\hbar^2})L^2$
2. Free particle in a 3D box with length $$L$$:

$\frac{d E}{d k} = \frac{\hbar^2 k^2}{2m}.$

The density of states is

$g(E) = \frac{m}{\hbar^2} \frac{L^3}{2\pi^2} k$

This is $$k$$ dependent.

3. Free particle in a 1D box with length $$L$$:

$g(E) = \frac{1}{k} \frac{m L}{2\pi \hbar^2}$

Dimension is Crucial for Density of States

These results are very different. For 1D system, the higher energy of the system is, the smaller the DoS is. As a comparison, the DoS for 2D systems doesn’t depend on the energy. In 3D, the DoS is proportional to the square root of energy.

The DoS is very important in understanding quantum systems. Quantization can lead to strange DoS. On ther other hand, the DoS is always constant in classical systems without quantizations.

## Partition Function and Density of States¶

The thermal wavelength decides the characteristic correlation length in thermal systems. It is the estimated average de Broglie wavelength of the particles under this temperature, i.e., the average size per quantum state. Thermal wavelength is

$\lambda_T = \frac{\hbar}{ \sqrt{ 2\pi m k_B T } }.$

The thermal wavelength is a combination of quantum mechanics and thermodynamics. $$\sqrt{m k_B T}$$ has dimension of energy while $$\hbar$$ has dimension of energy * time. In natural units, time has the same dimension as length. This is why the quantity serves as a characteristic length.

For a single particle in a 3D box, the partition function is

(7)$Z_1 = \frac{V}{\lambda_T^3}.$

Recall that the partition function is the average of density of states under the Boltzman distribution and that the thermal length is the characteristic length of the thermal system. We rewrite this formula using words to make the implications clear.

(8)$\text{number of states} = \text{physical volumne} \text{volumne per quantum state}.$

For a N-particles system without interaction between particles, density of states will be more dense since we have more possible states and degrees of freedom. In classical mechanics, the number of states will be full combination of all the single particle states since all the particles are distinguishable. Thus the partition function should be $$Z_N = (Z_1)^N$$. The free energy

(9)$A = -k_B T \ln (Z_N) = -k_B T N \ln Z_1 = -k_B T N (\ln V - 3\ln \lambda_T)$

This quantity is neither intensive nor extensive! If we combine two exactly same system, then we won’t have twice of the free energy. It’s called Gibbs mixing paradox.

The solution to this paradox is to apply the symmetries in quantum mechanics and consider the indistinguisabilities.

More about the Gibbs mixing paradox is discussed in Gibbs Mixing Paradox.

## Phase Space of Quantum Partition Function¶

We provide a physical picture of the quantum partition function using classical mechanics in this section.

In classical mechanics, the partition for a free particle function is

(10)$Z = \int d^3 x \int d^3 p e^{-\beta p^2/2m} = V \left( \sqrt{\frac{ 2m \pi }{\beta} } \right)^3$

We can infer from this that the thermal wave length is $$1/\sqrt{\frac{ 2m \pi }{\beta}}$$ using (7) and (8). In quantum mechanics, the partition function is,

(11)$Z = \sum_i e^{-\beta E_i}$

We assume that the energy levels are very close to each other and so that $$E_i$$ becomes almost continuous. Then we rewrite the partition into a integral,

(12)$Z = \int d^3 x\int d^3 p e^{ -\beta p^2/2m }.$

The Dimensions Doesn’t Match

We are using natural units.

Equantion (12) seems to be problematic since it has a different dimension from (11). It is not a problem because we are using natural units. We need to supplement some quantity which has a dimension $$[p\cdot x ]^3$$. It has to be $$h^3$$. So the integral form of the partition function becomes

$Z = \frac{1}{h^3} \int d^3 x\int d^3 p e^{ -\beta p^2/2m }$

In fact, $$h^3$$ is the characteristic phase space block in quantum mechanics.

| Created with Sphinx and . | | | |