# 5.1: A Harmonic Oscillator Obeys Hooke's Law

- Last updated

- Save as PDF

- Page ID
- 92373

The motion of two atoms in a diatomic molecule can be separated into translational, vibrational, and rotational motions. Both rotation and vibrational motions are internal motions that do not change the center of mass for the molecule (Figure \(\PageIndex{1}\)), which is described by translational motion. Quantum translational motions can be modeled with the particle in a box model discussed previously and rotation and vibration can be modeled via the **rigid rotor **and **harmonic oscillator** models, respectively.

Before delving into the quantum mechanical harmonic oscillator, we will introduce the classical harmonic oscillator (i.e., involving classical mechanics) to build an intuition that we will extend to the quantum world. A classical description of the vibration of a diatomic molecule is needed because the quantum mechanical description begins with replacing the classical energy with the Hamiltonian operator in the Schrödinger equation. It also is interesting to compare and contrast the classical description with the quantum mechanical picture.

## The Classical Harmonic Oscillator

Simple harmonic oscillators about a potential energy minimum can be thought of as a ball rolling frictionlessly in a curved dish or a pendulum swinging frictionlessly back and forth (Figure \(\PageIndex{2}\)). The restoring forces are precisely the same in either horizontal direction.

If we consider the bond to behave like a mass on a spring (Figure \(\PageIndex{2}\)), then this restoring force (\(F\)) is proportional to the displacement (\(x\)) from the equilibrium length (\(x_o\)) - this is *Hooke's Law:*

\[ F = - kx \label {5.1.2}\]

where \(k\) is the force constant. Hooke's Law says that the force is proportional to, but in opposite direction to, the displacement (\(x\)). The force constant reflects the **stiffness **of the spring. The idea incorporated into the application of Hooke's Law to a diatomic molecule is that when the atoms move away from their equilibrium positions, a restoring force is produced that increases proportionally with the displacement from equilibrium. The potential energy for such a system increases *quadratically *with the displacement.

\[ V (x) = \dfrac {1}{2} k x^2 \label {5.1.3}\]

Hooke's Law or the harmonic (i.e. quadratic) potential given by Equation \(\ref{5.1.3}\) is an excellent *approximation* for the vibrational oscillations of molecules. The magnitude of the force constant \(k\) depends upon the nature of the chemical bond in molecular systems just as it depends on the nature of the spring in mechanical systems. The larger the force constant, the stiffer the spring or the stiffer the bond. Since it is the electron distribution between the two positively charged nuclei that holds them together, a double bond with more electrons has a larger force constant than a single bond, and the nuclei are held together more tightly.

A stiff bond with a large force constant is not necessarily a strong bond with a large dissociation energy. A harmonic oscillator has no dissociation energy since it CANNOT be broken - there is always a restoring force to keep the molecule together. This is one flaw in the model in describing real vibrating diatomics.

Two atoms or one?

You may have questioned the applicability of the harmonic oscillator model involving one moving mass bound to a fix wall via a spring like in Figure \(\PageIndex{2}\) for the vibration of a diatomic molecule with two moving masses like in Figure \(\PageIndex{1}\). It turned out the two are mathematically the same with internal vibration motion described by a single reduced particle with a reduced mass \(μ\).

For a diatomic molecule, Figure \(\PageIndex{3}\), the vector \(\vec{r}\) corresponds to the internuclear axis. The magnitude or length of \(r\) is the bond length, and the orientation of \(r\) in space gives the orientation of the internuclear axis in space. Changes in the orientation correspond to rotation of the molecule, and changes in the length correspond to vibration. The change in the bond length from the equilibrium bond length is the **vibrational coordinate** for a diatomic molecule.

Example \(\PageIndex{1}\)

- Show that minus the first derivative of the harmonic potential energy function in Equation \(\ref{5.1.3}\) with respect to \(x\) is the Hooke's Law force.
- Show that the second derivative is the force constant, \(k\).
- At what value of \(x\) is the potential energy a minimum; at what value of \(x\) is the force zero?
- Sketch graphs to compare the potential energy and the force for a system with a large force constant to one with a small force constant.

## Solving the Harmonic Oscillator Model

The classical equation of motion for a one-dimensional simple harmonic oscillator with a particle of mass \(m\) attached to a spring having spring constant \(k\) is

\[ m \dfrac{d^2x(t)}{dt^2} = -kx(t) \label{5.1.4a}\]

which can be written in the standard wave equation form:

\[ \dfrac{d^2x(t)}{dt^2} + \dfrac{k}{m}x(t) = 0 \label{5.1.4b}\]

Equation \(\ref{5.1.4a}\) is a linear second-order differential equation that can be solved by the standard method of factoring and integrating. The resulting solution to Equation \(\ref{5.1.4a}\) is

\[ x(t) = x_o \sin (\omega t + \phi) \label{5.1.5}\]

with

\[\omega = \sqrt{\dfrac{k}{m}} \label{5.1.6}\]

and the momentum \(\) has time dependence

\[\begin{align} p &= mv \\[4pt] &=mx_o \omega \cos (\omega t + \phi) \label{5.1.7} \end{align}\]

Figure \(\PageIndex{4}\) show the displacement of the bond from its equilibrium length as a function of time. Such motion is called harmonic.

Example \(\PageIndex{2}\)

Substitute the following functions into Equation \(\ref{5.1.4b}\) to demonstrate that they are both possible solutions to the classical equation of motion.

- \(x(t) = x_0 e^{i \omega t} \)
- \(x(t) = x_0 e^{-i \omega t}\)

where

\[ \omega = \sqrt {\dfrac {k}{m}} \nonumber\]

Note that the Greek symbol \(\omega\) for frequency represents the angular frequency \(2π\nu\).

**Solution a**

This requires simply placing the given function \(x(t) = x_0 e^{i \omega t} \) into Equation \(\ref{5.1.4b}\).

\[ \begin{align*} \frac{d^2 x(t) }{dt^2} + \frac{k}{m} x(t) &= 0 \\[4pt] \frac{d^2 }{dt^2} \left( x_o e^{i \omega t} \right)+ \frac{k}{m}x_o e^{i \omega t} &= 0\\[4pt] x_o \frac{d^2 }{dt^2} \left( e^{i \omega t} \right)+ \frac{k}{m}x_o e^{i \omega t} &= 0 \\[4pt] x_o i^2 \omega^2 \left( e^{i \omega t} \right)+ \frac{k}{m}x_o e^{i \omega t} &= 0 \\[4pt] x_o i^2 \omega^2 e^{i \omega t} + \frac{k}{m}x_o e^{i \omega t} &= 0 \\[4pt] x_o i^2 \omega^2 + \frac{k}{m}x_o &= 0 \\[4pt] -x_o \frac{k}{m}+ \frac{k}{m}x_o = 0 \; \textrm{ with } \; \omega &= \sqrt{\frac{k}{m}} \end{align*}\]

**Solution b**

This requires simply placing the given function \(x(t) = x_0 e^{-i \omega t}\) into Equation \(\ref{5.1.4b}\).

\[ \begin{align*} \frac{d^2 x(t) }{dt^2} + \frac{k}{m} x(t) &= 0 \\[4pt] \frac{d^2 }{dt^2} \left( x_o e^{-i \omega t} \right)+ \frac{k}{m}x_o e^{-i \omega t}& = 0 \\[4pt] x_o \frac{d^2 }{dt^2} \left( e^{-i \omega t} \right)+ \frac{k}{m}x_o e^{-i \omega t} &= 0 \\[4pt] x_o i^2 \omega^2 \left( e^{-i \omega t} \right)+ \frac{k}{m}x_o e^{-i \omega t} &= 0 \\[4pt] x_o i^2 \omega^2 e^{-i \omega t} + \frac{k}{m}x_o e^{-i \omega t}& = 0\\[4pt] x_o i^2 \omega^2 + \frac{k}{m}x_o &= 0 \\[4pt] -x_o \frac{k}{m}+ \frac{k}{m}x_o = 0 \; \textrm{ with } \; \omega &= \sqrt{\frac{k}{m}} \end{align*}\]

Example \(\PageIndex{3}\)

Show that sine and cosine functions also are solutions to Equation \(\ref{5.1.4b}\).

Example** **\(\PageIndex{4}\)

Identify what happens to the frequency of the motion as the force constant increases in one case and as the mass increases in another case. If the force constant is increased 9-fold and the mass is increased by 4-fold, by what factor does the frequency change?

## Harmonic Oscillator Energies

The energy of the vibration is the sum of the kinetic energy and the potential energy. The momentum associated with the harmonic oscillator is

\[p = m \dfrac {dx}{dt} \label {5.1.8}\]

so combining Equations \ref{5.1.8} and \ref{5.1.3}, the total energy can be written as

\[ \begin{align} E &= T + V \\[4pt] &= \dfrac {p^2}{2 m} + \dfrac {k}{2} x^2 \label {5.1.9} \end{align}\]

The total energy of the harmonic oscillator is equal to the maximum potential energy stored in the spring when \(x = \pm A\), called the *turning points (*Figure \(\PageIndex{5}\)). The total energy (Equation \(\ref{5.1.9}\)) is continuously being shifted between potential energy stored in the spring and kinetic energy of the mass.

The motion of a classical oscillator is confined to the region where its kinetic energy is nonnegative, which is what the energy relation Equation \ref{5.1.9} says. Physically, it means that a classical oscillator can never be found beyond its turning points, and its energy depends only on how far the turning points are from its equilibrium position. The energy of a classical oscillator changes in a continuous way. The lowest energy that a classical oscillator may have is zero, which corresponds to a situation where an object is at rest at its equilibrium position. The zero-energy state of a classical oscillator simply means no oscillations and no motion at all (a classical particle sitting at the bottom of the potential well in Figure \(\PageIndex{5}\)). When an object oscillates, no matter how big or small its energy may be, it spends the longest time near the turning points, because this is where it slows down and reverses its direction of motion. Therefore, the probability of finding a classical oscillator between the turning points is highest near the turning points and lowest at the equilibrium position. (Note that this is not a statement of preference of the object to go to lower energy. It is a statement about how quickly the object moves through various regions.)

Example** **\(\PageIndex{5}\)

What happens to the frequency of the oscillation as the vibration is excited with more and more energy? What happens to the maximum amplitude of the vibration as it is excited with more and more energy?

Example \(\PageIndex{6}\)

If a molecular vibration is excited by collision with another molecule and is given a total energy \(E_{hit}\) as a result, what is the maximum amplitude of the oscillation? Is there any constraint on the magnitude of energy that can be introduced?

## Contributors

Michael Fowler (Beams Professor, Department of Physics, University of Virginia)

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