Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

2.6. Harmonic Oscillator

See also: Course-wide Conventions & Notation

Run the code: Notebook for Section 2.6, in which you can change and rerun the Python cells of this section in your browser.

Overview and Learning Objectives

The quantum harmonic oscillator is a canonical model for molecular vibrations and lattice modes in solids. In this section we derive the oscillator partition function, compute ensemble averages such as internal energy and heat capacity, and examine how the classical (equipartition) limit emerges when T≫ΘvibT\gg \Theta_{\mathrm{vib}}. We begin with a review of the one-dimensional oscillator, then connect the result to three-dimensional oscillators in the Einstein model.

Learning objectives:

Core Ideas and Derivations

Review of the One-Dimensional Harmonic Oscillator

Figure 2.6.1 shows the potential energy, the first four energy levels, and the corresponding wavefunctions of the one-dimensional harmonic oscillator that is reviewed in this subsection.

Source
Loading...

Figure 2.6.1:Potential energy V(x)V(x) (thin curve), energy levels EnE_n (gray lines), and wavefunctions ψn\psi_n (blue curves) of a one-dimensional harmonic oscillator. Each wavefunction is drawn on its energy level, and the levels are equally spaced by ℏω\hbar\omega.

A one-dimensional harmonic oscillator is a particle of mass mm that moves in the potential

V(x)=12kx2,V(x) = \frac{1}{2} k x^2,

where xx is the displacement from the equilibrium position and kk is the force constant. A larger force constant corresponds to a stiffer spring or, for a molecular vibration, a stiffer bond. In classical mechanics, the energy of the oscillator is the sum of its kinetic and potential energies,

E=px22m+12mω2x2,E = \frac{p_x^2}{2m} + \frac{1}{2} m \omega^2 x^2,

where pxp_x is the momentum and

ω=(km)1/2\omega = \left( \frac{k}{m} \right)^{1/2}

is the angular frequency. For the vibration of a diatomic molecule, xx is the displacement of the bond length from its equilibrium value, and mm is replaced by the reduced mass μ\mu of the two atoms (Section 2.7).

In quantum mechanics, the energy of the oscillator is quantized. For a one-dimensional harmonic oscillator with angular frequency ω\omega, the energy levels are

En=ℏω(n+12)for  n=0,1,2,…,E_n = \hbar \omega \left( n + \frac{1}{2} \right) \quad \text{for} \; n = 0, 1, 2, \ldots,

where ℏ\hbar is the reduced Planck constant and nn is a nonnegative integer. The lowest level, n=0n = 0, has energy E0=ℏω/2E_0 = \hbar\omega/2, which is called the zero-point energy.

Partition Function for a Harmonic Oscillator

The (single-oscillator) partition function for a one-dimensional harmonic oscillator is

q=∑n=0∞e−βEn=∑n=0∞e−βℏω(n+1/2)=e−βℏω/2∑n=0∞e−βℏωn.\begin{aligned} q &= \sum_{n=0}^{\infty} e^{-\beta E_n} \\ &= \sum_{n=0}^{\infty} e^{-\beta \hbar \omega (n + 1/2)} \\ &= e^{-\beta \hbar \omega / 2} \sum_{n=0}^{\infty} e^{-\beta \hbar \omega n}. \end{aligned}

Evaluation of the Sum

The term ∑n=0∞e−βℏωn\sum_{n=0}^{\infty} e^{-\beta \hbar \omega n} is a geometric series. For ∣x∣<1|x| < 1,

∑n=0∞xn=11−x.\sum_{n=0}^{\infty} x^n = \frac{1}{1 - x}.

Substituting x=e−βℏωx = e^{-\beta \hbar \omega} gives

q=e−βℏω/21−e−βℏω.q = \frac{e^{-\beta \hbar \omega / 2}}{1 - e^{-\beta \hbar \omega}}.

Ensemble Averages for a Harmonic Oscillator

Natural Logarithm of the Partition Function

Taking the natural logarithm of qq gives

ln⁡q=−βℏω2−ln⁡(1−e−βℏω).\ln q = -\frac{\beta \hbar \omega}{2} - \ln(1 - e^{-\beta \hbar \omega}).

Internal Energy

For a single oscillator, the mean energy (internal energy) follows from

U=−∂ln⁡q∂β=ℏω2+ℏωeβℏω−1.U = -\frac{\partial \ln q}{\partial \beta} = \frac{\hbar \omega}{2} + \frac{\hbar \omega}{e^{\beta \hbar \omega} - 1}.

It is often convenient to define the vibrational temperature Θvib\Theta_{\mathrm{vib}} as

Θvib=ℏωkB.\Theta_{\mathrm{vib}} = \frac{\hbar \omega}{k_{\mathrm B}}.

Using βℏω=Θvib/T\beta \hbar \omega = \Theta_{\mathrm{vib}}/T, the internal energy can be written as

U=ℏω2+ℏωeΘvib/T−1=kBΘvib[12+1eΘvib/T−1].U = \frac{\hbar \omega}{2} + \frac{\hbar \omega}{e^{\Theta_{\mathrm{vib}} / T} - 1} = k_{\mathrm B}\Theta_{\mathrm{vib}}\left[\frac{1}{2}+\frac{1}{e^{\Theta_{\mathrm{vib}}/T}-1}\right].
Source
Loading...

Figure 2.6.2:Harmonic oscillator as a function of the reduced temperature T/ΘvibT/\Theta_{\mathrm{vib}}. (a) Internal energy in units of ℏω\hbar\omega. The dashed lines are the zero-point energy, which UU approaches at low temperature, and kBTk_{\mathrm B}T, which it approaches at high temperature. (b) Heat capacity at constant volume in units of kBk_{\mathrm B}, which is derived below. The dashed line is its high-temperature limit.

The dashed lines in panel (a) of Figure 2.6.2 are the low- and high-temperature limits of UU. For T≪ΘvibT \ll \Theta_{\mathrm{vib}}, the exponential eΘvib/Te^{\Theta_{\mathrm{vib}}/T} is very large, so the second term in the brackets vanishes and

U→12kBΘvib=ℏω2,U \to \frac{1}{2} k_{\mathrm B}\Theta_{\mathrm{vib}} = \frac{\hbar \omega}{2},

which is the zero-point energy. For T≫ΘvibT \gg \Theta_{\mathrm{vib}}, the ratio x=Θvib/Tx = \Theta_{\mathrm{vib}}/T is small, and the expansion ex≈1+x+x2/2e^x \approx 1 + x + x^2/2 gives

1ex−1≈1x(1+x/2)≈1x−12.\frac{1}{e^x - 1} \approx \frac{1}{x \left( 1 + x/2 \right)} \approx \frac{1}{x} - \frac{1}{2}.

The constant 12\tfrac{1}{2} in the brackets cancels, and

U→kBΘvib TΘvib=kBT.U \to k_{\mathrm B}\Theta_{\mathrm{vib}} \, \frac{T}{\Theta_{\mathrm{vib}}} = k_{\mathrm B} T.

This limit can be compared with the equipartition theorem of classical statistical mechanics, which states that each quadratic term in the energy contributes 12kBT\tfrac{1}{2}k_{\mathrm B}T to the mean energy. For example, the three quadratic terms of the translational kinetic energy, (px2+py2+pz2)/2m(p_x^2 + p_y^2 + p_z^2)/2m, give 32kBT\tfrac{3}{2}k_{\mathrm B}T (Section 1.2).

The value of Θvib\Theta_{\mathrm{vib}} depends on the molecule. Table 2.6.1 lists Θvib\Theta_{\mathrm{vib}} for several diatomic molecules, calculated from the harmonic vibrational wavenumber ν~\tilde{\nu} as Θvib=hcν~/kB\Theta_{\mathrm{vib}} = hc\tilde{\nu}/k_{\mathrm B}, where cc is the speed of light and hc/kB=1.43878 cm Khc/k_{\mathrm B} = 1.43878\ \mathrm{cm\,K}. The plots in this section use the value for Cl2\mathrm{Cl_2}.

Table 2.6.1:Harmonic vibrational wavenumbers (from the NIST Chemistry WebBook) and vibrational temperatures of selected diatomic molecules

Molecule

ν~\tilde{\nu} (cm−1\mathrm{cm^{-1}})

Θvib\Theta_{\mathrm{vib}} (K)

H2\mathrm{H_2}

4401.21

6332

HCl\mathrm{HCl}

2990.95

4303

N2\mathrm{N_2}

2358.57

3393

CO\mathrm{CO}

2169.81

3122

O2\mathrm{O_2}

1580.19

2274

Cl2\mathrm{Cl_2}

559.72

805

Br2\mathrm{Br_2}

325.32

468

I2\mathrm{I_2}

214.50

309

Heat Capacity at Constant Volume

In Section 2.3, we showed that

σE2=(∂2ln⁡Q∂β2)N,V=kBT2CV.\sigma_E^2 = \left( \frac{\partial^2 \ln Q}{\partial \beta^2} \right)_{N,V} = k_{\mathrm B} T^2 C_V.

For a single oscillator, Q=qQ = q, and from Equation (2.6.9), it follows that

CV=kB(ℏωkBT)2eℏω/kBT(eℏω/kBT−1)2=kB(ΘvibT)2eΘvib/T(eΘvib/T−1)2.C_V = k_{\mathrm B} \left( \frac{\hbar \omega}{k_{\mathrm B} T} \right)^2 \frac{e^{\hbar \omega / k_{\mathrm B} T}}{\left( e^{\hbar \omega / k_{\mathrm B} T} - 1 \right)^2} = k_{\mathrm B} \left( \frac{\Theta_{\mathrm{vib}}}{T} \right)^2 \frac{e^{\Theta_{\mathrm{vib}} / T}}{\left( e^{\Theta_{\mathrm{vib}} / T} - 1 \right)^2}.

Panel (b) of Figure 2.6.2 shows CVC_V as a function of the reduced temperature.

Computational Studio: Harmonic Oscillator

In Figure 2.6.3, you can set the vibrational temperature Θvib\Theta_{\mathrm{vib}}, for example to a value of Table 2.6.1, and follow the probabilities of the levels, the internal energy, and the heat capacity at any temperature.

Figure 2.6.3:One harmonic oscillator with the vibrational temperature Θvib\Theta_{\mathrm{vib}}. Panel (a) shows the probabilities pnp_n of the levels at the temperature TT. Panels (b) and (c) show the internal energy in units of ℏω\hbar\omega and the heat capacity in units of kBk_{\mathrm B} as functions of temperature, with the dashed lines of Figure 2.6.2. The dot marks the temperature TT of panel (a). The buttons set Θvib\Theta_{\mathrm{vib}} to the values of Table 2.6.1.

You can also open the studio in a new tab: Harmonic Oscillator Studio.

Einstein Model

The Einstein model is a simple model for an atomic crystal, where NN identical atoms occupy lattice sites and vibrate about these sites as independent (i.e., non-interacting) three-dimensional harmonic oscillators, all with the same frequency. Because the atoms occupy fixed lattice sites, they can be treated as distinguishable. Each atom vibrates independently along xx, yy, and zz, so its energy is the sum of the energies of three one-dimensional oscillators, and the crystal is a collection of 3N3N independent, distinguishable one-dimensional oscillators. The partition function is therefore a product of 3N3N factors of qq (Section 2.4):

Q=q3N=(e−βℏω/21−e−βℏω)3N.Q = q^{3N} = \left( \frac{e^{-\beta \hbar \omega / 2}}{1 - e^{-\beta \hbar \omega}} \right)^{3N}.

Because ln⁡Q=3Nln⁡q\ln Q = 3N \ln q, the internal energy and the heat capacity are 3N3N times the results for a single oscillator:

U=32Nℏω+3Nℏωeβℏω−1,U = \frac{3}{2} N \hbar \omega + \frac{3N \hbar \omega}{e^{\beta \hbar \omega} - 1},

and

CV=3NkB(ℏωkBT)2eℏω/kBT(eℏω/kBT−1)2.C_V = 3 N k_{\mathrm B} \left( \frac{\hbar \omega}{k_{\mathrm B} T} \right)^2 \frac{e^{\hbar \omega / k_{\mathrm B} T}}{\left( e^{\hbar \omega / k_{\mathrm B} T} - 1 \right)^2}.

Dulong–Petit Law

The Dulong–Petit law is the empirical observation that the molar heat capacity of many elemental solids at room temperature is close to 3R=24.9 J mol−1 K−13R = 24.9\ \mathrm{J\,mol^{-1}\,K^{-1}}, where RR is the gas constant. Figure 2.6.4 compares the law with molar heat capacities measured at 25 °C. Elements whose heat capacity differs from 3R3R by more than RR are labeled.

Source
Loading...

Figure 2.6.4:Molar heat capacity at 25 °C of elemental solids (and liquid mercury) as a function of atomic number, in units of the gas constant RR. The dashed line is the Dulong–Petit law.

Worked Example

Mean vibrational energy at finite temperature

For a harmonic oscillator,

U=kBΘvib[12+1eΘvib/T−1].U = k_{\mathrm B}\Theta_{\mathrm{vib}}\left[\frac{1}{2}+\frac{1}{e^{\Theta_{\mathrm{vib}}/T}-1}\right].

Take Θvib=805 K\Theta_{\mathrm{vib}}=805\ \mathrm{K} (the value for Cl2\mathrm{Cl_2} in Table 2.6.1) and T=298 KT=298\ \mathrm{K}.

  1. Compute the exponential factor

    ΘvibT=805298=2.70,eΘvib/T=e2.70=14.9.\frac{\Theta_{\mathrm{vib}}}{T}=\frac{805}{298}=2.70, \qquad e^{\Theta_{\mathrm{vib}}/T}=e^{2.70}=14.9.
  2. Evaluate the bracket

    12+1eΘvib/T−1=12+113.9=0.5719.\frac{1}{2}+\frac{1}{e^{\Theta_{\mathrm{vib}}/T}-1} =\frac{1}{2}+\frac{1}{13.9}=0.5719.
  3. Compute UU

    U=kB(805 K)(0.5719)=kB(460.4 K).U = k_{\mathrm B}(805\ \mathrm{K})(0.5719)=k_{\mathrm B}(460.4\ \mathrm{K}).

    Per mole, Um=R(460.4 K)=3.83 kJ mol−1U_m = R(460.4\ \mathrm{K})=3.83\ \mathrm{kJ\,mol^{-1}}.

  4. Compute the populations of the two lowest levels

    The probability of level nn is pn=e−βEn/qp_n = e^{-\beta E_n}/q (Section 2.2). With the partition function derived above, pn=e−nΘvib/T(1−e−Θvib/T)p_n = e^{-n\Theta_{\mathrm{vib}}/T}\left(1-e^{-\Theta_{\mathrm{vib}}/T}\right), so

    p0=1−114.9=0.933,p1=114.9(0.933)=0.063.p_0 = 1-\frac{1}{14.9}=0.933, \qquad p_1 = \frac{1}{14.9}(0.933)=0.063.

Result. At 298 K, UU exceeds the zero-point energy, kB(402.5 K)k_{\mathrm B}(402.5\ \mathrm{K}), by 14%, and 93% of the oscillators are in the lowest level.

Concept Checks

  1. Why does the harmonic oscillator retain nonzero energy as T→0T\to 0?

  2. What does the limit T≫ΘvibT\gg\Theta_{\mathrm{vib}} predict for the heat capacity, and how does that compare to equipartition?

  3. How does increasing ω\omega (stiffer bond) change Θvib\Theta_{\mathrm{vib}} and the thermal population of excited levels?

  4. Why is vibration often “frozen out” at room temperature for high-frequency modes?

Key Takeaways