# 5.6: The Harmonic-Oscillator Wavefunctions involve Hermite Polynomials

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

For a diatomic molecule, there is only one vibrational mode, so there will be only a single set of vibrational wavefunctions with associated energies for this system. For polytatomic molecules, there will be a set of wavefunctions with associated energy associated with each vibrational mode.

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 time-independent Schrödinger Equation 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

$\lim_{x \rightarrow \infty} \psi(x) \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}$

which 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 below.

• $$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 $$H_3$$ in Table $$\PageIndex{1}$$. Use the generating formula to produce $$H_8$$.

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$$:

$\alpha =1/\sqrt{\beta} = \sqrt{\dfrac{k \mu}{\hbar ^2}}$

so Equation $$\ref{5.6.16}$$ becomes

$\psi _v (x) = N_v'' H_v (\sqrt{\alpha} Q) e^{-\alpha Q^2/ 2}$

with a slightly different normalization constant

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

Exercise $$\PageIndex{5}$$

Compute the normalization factor for $$\psi_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$$.

The energies depend both on the quantum number, $$v$$, and the oscillator frequency

$\omega = \sqrt {\dfrac {k}{\mu}}$

which in turn depends on the spring constant $$k$$ and the reduced mass of the vibration $$\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.

1. What insights do you gain from Equation $$\ref{5.6.17}$$, your calculations, and your diagram?
2. Is it possible to have a molecule that is not vibrating?
3. 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?
4. 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$$?
5. 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?
6. 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{1}$$: 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{2}$$: 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 $$\ce{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?

Figure $$\PageIndex{2}$$ is simply the wavefunction in Figure $$\PageIndex{1}$$ squared. The normal coordinate is the linear combination of the atomic cartesian coordinates. As Q is often in relation to the energy (kinetic and potential), they would be displaced by a certain amount dependent on Q (energy) along with an increase in nodes. This displacement is apparent when comparing the ascending energy levels of each of the wavefunctions. In the n=0 (first) energy state, it is most probable to be found between -2, 2. (in a range of -4, 4) In the second energy state, it is likely to be between -2.5, 2.5 (range -5, 5), third level: (-3,3) (range -6,6), fourth level (-4,4) (range -6,6).
Exercise $$\PageIndex{9}$$
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?