# 5.6: The Harmonic-Oscillator Wavefunctions Involve Hermite Polynomials

Skills to Develop

- The Equation for a Harmonic-Oscillator Model of a Diatomic Molecule Contains the Reduced Mass of the Molecule

The quantum-mechanical description of vibrational motion using the harmonic oscillator model will produce vibrational quantum numbers, vibrational wavefunctions, quantized vibrational energies, and a zero-point energy. We start by writing the (time-independent) Schrödinger equation for the harmonic oscillator,

\[\hat {H} (Q) = \dfrac {1}{2 \mu} \hat {p}^2_Q + \dfrac {k}{2} \hat {Q}^2 \label {5.6.1}\]

where the independent variable, \(Q\), is the length of the normal coordinate, which represents the displacements of all the atoms in a molecule from their equilibrium positions in a particular normal mode. For the case of a diatomic molecule, \(Q\) is the change in the bond length from its equilibrium value.

For a diatomic molecule, there is only one vibrational normal mode, so there will be only a single set of wavefunctions and energy levels for this system. For more complex molecules, there will be a set of wavefunctions and energy levels associated with each normal mode. Based on our experience with the particle in a box, we anticipate that the index \(v\) in Equation \(\ref{5.6.1}\) will turn out to be the quantum number that identifies each wavefunction and its corresponding vibrational energy.

Be careful not to confuse \(v\) with the Greek symbol for frequency \(\nu\).

The Hamiltonian operator, the general quantum mechanical operator for energy, includes both a kinetic energy term, \(\hat {T}\), and a potential energy term, \(\hat {V}\).

\[ \hat {H} = \hat {T} + \hat {V} \label {5.6.2}\]

For the free particle and the particle in a box, the potential energy term used in the Hamiltonian was zero. As shown in Equation \(\ref{5.6.2}\), the classical expression for the energy of a harmonic oscillator includes both a kinetic energy term and the harmonic potential energy term. Transforming this equation into the corresponding Hamiltonian operator gives,

\[\hat {H} (Q) = \dfrac {1}{2 \mu} \hat {P}^2_Q + \dfrac {k}{2} \hat {Q}^2 \label {5.6.3}\]

where \(\hat {Q}\) is the operator for the length of the normal coordinate, and \(\hat {P} Q\) is the momentum operator associated with the normal coordinate. \(\mu\) is an effective (reduced) mass, and \(k\) is an effective force constant, and these quantities will be different for each of the normal modes (vibrations).

Substituting the definitions for the operators yields

\[\hat {H} (Q) = -\dfrac {\hbar ^2}{2\mu} \dfrac {d^2}{dQ^2} + \dfrac {k}{2} Q^2 \label {5.6.4}\]

since the operator for position or displacement is just the position or displacement. The Schrödinger Equation (Equation \(\ref{5.6.1}\)) then becomes

\[- \dfrac {\hbar ^2}{2\mu} \dfrac {d^2 \Psi _v (Q)}{dQ^2} + \dfrac {k}{2} Q^2 \Psi _v (Q) = E_v \Psi _v (Q) \label {15.6.5}\]

or upon rearranging

\[ \dfrac {d^2 \Psi _v (Q)}{dQ^2} + \dfrac {2 \mu}{\hbar ^2} \left ( E_v - \dfrac {k}{2} Q^2 \right ) \Psi _v (Q) = 0 \label {15.6.6}\]

This differential equation is not straightforward to solve. Rather than fully develop the details of the solution, we will outline the method used because it represents a common strategy for solving differential equations. The steps taken to solve Equation \(\ref{15.6.6}\) are to simplify the equation by collecting constants in the parameter \(\beta\)

\[ \beta ^2 = \dfrac {\hbar}{\sqrt { \mu k}} \label {15.6.7} \]

and then changing the variable from \(Q\) to \(x\) where

\[x = \dfrac {Q}{\beta} \label{scale}\]

so that

\[ \dfrac {d^2}{dQ^2} = \dfrac {1}{\beta^2} \dfrac {d^2}{dx^2} \label {15.6.8}\]

After substituting Equations \(\ref{15.6.7}\) and \(\ref{15.6.8}\) into Equation \(\ref{15.6.6}\) the differential equation for the harmonic oscillator becomes

\[ \dfrac {d^2 \Psi _v (x)}{dx^2} + \left ( \dfrac {2 \mu \beta ^2 E_v}{\hbar ^2} - x^2 \right ) \Psi _v (x) = 0 \label {15.6.9}\]

Exercise \(\PageIndex{1}\)

Make the substitutions given in Equations \(\ref{15.6.7}\) and \(\ref{15.6.8}\) into Equation \(\ref{15.6.6}\) to get Equation \(\ref{15.6.9}\).

A common strategy for solving differential equations, which is employed here, is to find a solution that is valid for large values of the variable and then develop the complete solution as a product of this asymptotic solution and a power series. Since the potential energy approaches infinity as \(x\) and the coordinate \(Q\) approach infinity, the wavefunction must approach zero. The function that has this property and satisfies the differential equation for large values of \(x\) is the exponential function

\[ \exp \left ( \dfrac {-x^2}{2} \right ) \label {15.6.10}\]

The general expression for a power series is

\[ \sum _{n=0}^\infty c_n x^n \label {15.6.11}\]

This power series can be truncated after the first term, after the second term, after the third term, etc. to produce a set of polynomials. There is one polynomial for each value of \(v\) where \(v\) can be equal to any integer value including zero.

\[ \sum _{n=0}^v c_n x^n \label {15.6.12}\]

Each of the truncations of the power series in Equation \(\ref{15.6.12}\) can be multiplied by the exponential function in Equation \(\ref{15.6.10}\) to create a family of valid solutions to the differential equation.

\[\Psi _v (x) = \sum _{n=0}^v c_n x^n exp \left ( \dfrac {-x^2}{2} \right ) \label {15.6.13}\]

Exercise \(\PageIndex{2}\)

Write the first four polynomials, \(v=0\) to \(v=1\), \(v=12\), \(v=13\), \(v=14\) for Equation \(\ref{15.6.12}\) and use suitable software to prepare plots of these polynomials. Identify the curves in the plots.

While polynomials in general approach ∞ (or -∞) as x approaches ∞, the decreasing exponential term overpowers the polynomial term so that the overall wavefunction exhibits the desired approach to zero at large values of x or -x. The exact forms of polynomials that solve Equation \(\ref{15.6.9}\) are the Hermite polynomials, which are standard mathematical functions known from the work of Charles Hermite. The first eight Hermite polynomials, \(H_v(x)\), are given here in Table \(\PageIndex{1}\).

**Table \(\PageIndex{1}\): **The first eight Hermite polynomials.

- \(H_0 = 1\)
- \(H_1 = 2x\)
- \(H_2 = -2 + 4x^2\)
- \(H_3 = -12x + 8x^3\)
- \(H_4 = 12 - 48x^2 +16x^4\)
- \(H_5 = 120x - 160x^3 + 32x^5\)
- \(H_6 = -120 + 720x^2 - 480 x^4 + 64x^6\)
- \(H_7 = -1680x + 3360 x^3 - 1344 x^5 + 128 x^7\)

The Hermite polynomials like those in Table \(\PageIndex{1}\) can be produced by using the following generating function

\[ H_v (x) = (-1)^v exp (x^2) \dfrac {d^v}{dx^v} exp (-x^2) \label {5.6.14}\]

Generating functions provide a more economical way to obtain sets of functions compared to purchasing books of tables, and they are often more convenient to use in mathematical derivations.

Exercise \(\PageIndex{3}\)

Use the generating formula, Equation \(\ref{5.6.14}\), to verify H3 in Table \(\PageIndex{1}\). Use the generating formula to produce H8. A helpful Mathcad template is provided below for this exercise.

Exercise \(\PageIndex{4}\)

Determine the units of β and the units of x in the Hermite polynomials.

Because of the association of the wavefunction with a probability density, it is necessary for the wavefunction to include a normalization constant, \(N_v\).

\[N_v = \dfrac {1}{(2^v v! \sqrt {\pi} )^{1/2}} \label {5.6.15}\]

The final form of the harmonic oscillator wavefunctions is thus

\[ \Psi _v (x) = N_v H_v (x) e^{-x^2/2} \label {5.6.16}\]

Alternative and More Common Formulation of Harmonic Oscillator Wavefunctions

The harmonic oscillator wavefunctions are often written in terms of \(Q\), the unscaled displacement coordinate (Equation \(\ref{scale}\)) and a different constant \(\alpha\):

\[ \color{red}\alpha =1/\sqrt{\beta} = \sqrt{\dfrac{k \mu}{\hbar ^2}} \]

so Equation \(\ref{5.6.16}\) becomes

\[ \color{red} \Psi _v (x) = N_v'' H_v (\sqrt{\alpha} Q) e^{-\alpha Q^2/ 2} \]

with a slightly different normalization constant

\[ \color{red} N_v'' = \sqrt {\dfrac {1}{2^v v!}} \left(\dfrac{\alpha}{\pi}\right)^{1/4} \]

Exercise \(\PageIndex{5}\)

Compute the normalization factor for \(Ψ_v(x)\) where \(v = 0\) and \(v = 4\). What is the purpose of \(N_v\)?

The energy eigenvalues for a quantum mechanical oscillator also are obtained by solving the Schrödinger equation. The energies are restricted to discrete values

\[E_v = \left ( v + \dfrac {1}{2} \right ) \hbar \omega \label {5.6.17}\]

with

\[v = 0, 1, 2, 3, \cdots \]

that depend on the quantum number, \(v\), and the oscillator frequency

\[ \omega = \sqrt {\dfrac {k}{\mu}}\]

Exercise \(\PageIndex{6}\)

Determine the energy for the first ten harmonic oscillator energy levels in terms of \(\hbar \omega\). Sketch an energy level diagram of these energies.

- What insights do you gain from Equation \(\ref{5.6.17}\), your calculations, and your diagram?
- Is it possible to have a molecule that is not vibrating?
- In terms of \(\hbar \omega\), what is the energy of the photon required to cause a transition from one vibrational state to the next higher one?
- If a transition from energy level \(v = 9\) to \(v = 10\) were observed in a spectrum, where would that spectral line appear relative to the one for the transition from level \(v = 0\) to \(v = 1\)?
- If a vibrational transition is observed at 3000 cm-1 in an infrared spectrum, what is the value of \(\hbar \omega\) for the normal mode?
- Identify all the possible meanings of \(ΔE = hν\) and the definition of the frequency, \(ν\), in each case.

The normalized wavefunctions for the first four states of the harmonic oscillator are shown in Figure \(\PageIndex{1}\), and the corresponding probability densities are shown in Figure \(\PageIndex{2}\). You should remember the mathematical and graphical forms of the first few harmonic oscillator wavefunctions, and the correlation of \(v\) with \(E_v\). The number of nodes in the wavefunction will help you to remember these characteristics. Also note that the functions fall off exponentially and that the symmetry alternates. For \(v\) equal to an even number, \(Ψ_v\) is gerade; for v equal to an odd number, \(Ψ_v\) is ungerade.

**Figure \(\PageIndex{2}\)**: The harmonic oscillator wavefunctions describing the four lowest energy states.

Exercise \(\PageIndex{7}\)

Write a few sentences describing and comparing the plots in Figure \(\PageIndex{1}\).

**Figure \(\PageIndex{3}\): **The probability densities for the four lowest energy states of the harmonic oscillator.

Exercise \(\PageIndex{8}\)

Explain how Figure \(\PageIndex{2}\) is related to Figure \(\PageIndex{1}\). Explain the physical significance of the plots in Figure \(\PageIndex{2}\) in terms of the magnitude of the normal coordinate \(Q\). Couch your discussion in terms of the HCl molecule. How would you describe the location of the atoms in each of the states? How does the oscillator position correspond to the energy of a particular level?

Exercise \(\PageIndex{9}\)

Plot the probability density for energy level 10 of the harmonic oscillator. How many nodes are present? Plot the probability density for energy level 20. Compare the plot for level 20 with that of level 10 and level 1. Compare these quantum mechanical probability distributions to those expected for a classical oscillator. What conclusion can you draw about the probability of the location of the oscillator and the length of a chemical bond in a vibrating molecule? Extend your analysis to include a very high level, like level 50.

In completing Exercise \(\PageIndex{9}\), you should have noticed that as the quantum number increases and becomes very large, the probability distribution approaches that of a classical oscillator. This observation is very general. It was first noticed by Bohr, and is called the Bohr Correspondence Principle. This principle states that classical behavior is approached in the limit of large values for a quantum number. A classical oscillator is most likely to be found in the region of space where its velocity is the smallest. This situation is similar to walking through one room and running through another. In which room do you spend more time? Where is it more likely that you will be found?

### Contributors

- Adapted from "Quantum States of Atoms and Molecules" by David M. Hanson, Erica Harvey, Robert Sweeney, Theresa Julia Zielinski