Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
University Physics Volume 3

7.5 The Quantum Harmonic Oscillator

University Physics Volume 37.5 The Quantum Harmonic Oscillator

Learning Objectives

By the end of this section, you will be able to:

  • Describe the model of the quantum harmonic oscillator
  • Identify differences between the classical and quantum models of the harmonic oscillator
  • Explain physical situations where the classical and the quantum models coincide

Oscillations are found throughout nature, in such things as electromagnetic waves, vibrating molecules, and the gentle back-and-forth sway of a tree branch. In previous chapters, we used Newtonian mechanics to study macroscopic oscillations, such as a block on a spring and a simple pendulum. In this chapter, we begin to study oscillating systems using quantum mechanics. We begin with a review of the classic harmonic oscillator.

The Classic Harmonic Oscillator

A simple harmonic oscillator is a particle or system that undergoes harmonic motion about an equilibrium position, such as an object with mass vibrating on a spring. In this section, we consider oscillations in one-dimension only. Suppose a mass moves back-and-forth along the

x-direction about the equilibrium position, x=0x=0. In classical mechanics, the particle moves in response to a linear restoring force given by Fx=kx,Fx=kx, where x is the displacement of the particle from its equilibrium position. The motion takes place between two turning points, x=±Ax=±A, where A denotes the amplitude of the motion. The position of the object varies periodically in time with angular frequency ω=k/m,ω=k/m, which depends on the mass m of the oscillator and on the force constant k of the net force, and can be written as


The total energy E of an oscillator is the sum of its kinetic energy K=mu2/2K=mu2/2 and the elastic potential energy of the force U(x)=kx2/2,U(x)=kx2/2,


At turning points x=±Ax=±A, the speed of the oscillator is zero; therefore, at these points, the energy of oscillation is solely in the form of potential energy E=kA2/2E=kA2/2. The plot of the potential energy U(x) of the oscillator versus its position x is a parabola (Figure 7.13). The potential-energy function is a quadratic function of x, measured with respect to the equilibrium position. On the same graph, we also plot the total energy E of the oscillator, as a horizontal line that intercepts the parabola at x=±Ax=±A. Then the kinetic energy K is represented as the vertical distance between the line of total energy and the potential energy parabola.

A graph of the potential U of x and energy E is shown. The vertical axis is energy and the horizontal axis is x. The energy E is positive and constant. The potential U of x is the function one half k times x squared, a concave up parabola whose value is zero at x=0. The region below the U of x curve is shaded. U of x is equal to E at x equal to minus A and x equal to plus A.
Figure 7.13 The potential energy well of a classical harmonic oscillator: The motion is confined between turning points at x=Ax=A and at x=+Ax=+A. The energy of oscillations is E=kA2/2.E=kA2/2.

In this plot, the motion of a classical oscillator is confined to the region where its kinetic energy is nonnegative, which is what the energy relation Equation 7.53 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 7.13). 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.)

The Quantum Harmonic Oscillator

One problem with this classical formulation is that it is not general. We cannot use it, for example, to describe vibrations of diatomic molecules, where quantum effects are important. A first step toward a quantum formulation is to use the classical expression k=mω2k=mω2 to limit mention of a “spring” constant between the atoms. In this way the potential energy function can be written in a more general form,


Combining this expression with the time-independent Schrӧdinger equation gives


To solve Equation 7.55—that is, to find the allowed energies E and their corresponding wave functions ψ(x)ψ(x) —we require the wave functions to be symmetric about x=0x=0 (the bottom of the potential well) and to be normalizable. These conditions ensure that the probability density |ψ(x)|2|ψ(x)|2 must be finite when integrated over the entire range of x from to ++. How to solve Equation 7.55 is the subject of a more advanced course in quantum mechanics; here, we simply cite the results. The allowed energies are


The wave functions that correspond to these energies (the stationary states or states of definite energy) are


where β=mω/β=mω/, NnNn is the normalization constant, and Hn(y)Hn(y) is a polynomial of degree n called a Hermite polynomial. The first four Hermite polynomials are


A few sample wave functions are given in Figure 7.14. As the value of the principal number increases, the solutions alternate between even functions and odd functions about x=0x=0.

The harmonic potential V of x and the wave functions for the n=0 through n=4 quantum states of the potential are shown. Each wave function is displaced vertically by its energy, measured in units of h nu sub zero. The vertical energy scale runs from 0 to 5. The potential V of x is an upward opening parabola, centered and equal to zero at x = 0. The region below the curve, outside the potential, is shaded. The energy levels are indicated by horizontal dashed lines and are regularly spaced at energy of 0.5, 1.2, 2.5, 3.5 and 4.5 h nu sub 0. The n=0 state is even. It is symmetric, positive and peaked at x=0. The n = 1 state is odd. It is negative for x less than zero, positive for x greater than zero, zero at the origin. It has one negative minimum and one positive minimum. The n=2 state is even. It is symmetric, with a negative minimum at x=0 and two positive maxima, one at positive x and the other at negative x. The n = 3 state is odd. It is zero at the origin. It has, from left to right, a negative minimum and positive maximum on the left of the origin, then a positive maximum and negative minimum to the right of the origin. The n=4 state is even. It has a maximum at the origin, a negative minimum on either side, and a positive maximum outside of the minima. All of the states are clearly nonzero in the shaded region and go asymptotically to zero as x goes to plus and minus infinity. The minima and maxima are all inside the potential, in the unshaded region. Vertical dashed lines show the values of x where the potential is equal to the energy of the state, that is, where the horizontal dashed lines cross the V of x curve.
Figure 7.14 The first five wave functions of the quantum harmonic oscillator. The classical limits of the oscillator’s motion are indicated by vertical lines, corresponding to the classical turning points at x=±Ax=±A of a classical particle with the same energy as the energy of a quantum oscillator in the state indicated in the figure.

Example 7.10

Classical Region of Harmonic Oscillations

Find the amplitude A of oscillations for a classical oscillator with energy equal to the energy of a quantum oscillator in the quantum state n.


To determine the amplitude A, we set the classical energy E=kx2/2=mω2A2/2E=kx2/2=mω2A2/2 equal to EnEn given by Equation 7.56.


We obtain


As the quantum number n increases, the energy of the oscillator and therefore the amplitude of oscillation increases (for a fixed natural angular frequency. For large n, the amplitude is approximately proportional to the square root of the quantum number.

Several interesting features appear in this solution. Unlike a classical oscillator, the measured energies of a quantum oscillator can have only energy values given by Equation 7.56. Moreover, unlike the case for a quantum particle in a box, the allowable energy levels are evenly spaced,


When a particle bound to such a system makes a transition from a higher-energy state to a lower-energy state, the smallest-energy quantum carried by the emitted photon is necessarily hf. Similarly, when the particle makes a transition from a lower-energy state to a higher-energy state, the smallest-energy quantum that can be absorbed by the particle is hf. A quantum oscillator can absorb or emit energy only in multiples of this smallest-energy quantum. This is consistent with Planck’s hypothesis for the energy exchanges between radiation and the cavity walls in the blackbody radiation problem.

Example 7.11

Vibrational Energies of the Hydrogen Chloride Molecule

The HCl diatomic molecule consists of one chlorine atom and one hydrogen atom. Because the chlorine atom is 35 times more massive than the hydrogen atom, the vibrations of the HCl molecule can be quite well approximated by assuming that the Cl atom is motionless and the H atom performs harmonic oscillations due to an elastic molecular force modeled by Hooke’s law. The infrared vibrational spectrum measured for hydrogen chloride has the lowest-frequency line centered at f=8.88×1013Hzf=8.88×1013Hz. What is the spacing between the vibrational energies of this molecule? What is the force constant k of the atomic bond in the HCl molecule?


The lowest-frequency line corresponds to the emission of lowest-frequency photons. These photons are emitted when the molecule makes a transition between two adjacent vibrational energy levels. Assuming that energy levels are equally spaced, we use Equation 7.58 to estimate the spacing. The molecule is well approximated by treating the Cl atom as being infinitely heavy and the H atom as the mass m that performs the oscillations. Treating this molecular system as a classical oscillator, the force constant is found from the classical relation k=mω2k=mω2.


The energy spacing is

The force constant is



The force between atoms in an HCl molecule is surprisingly strong. The typical energy released in energy transitions between vibrational levels is in the infrared range. As we will see later, transitions in between vibrational energy levels of a diatomic molecule often accompany transitions between rotational energy levels.

Check Your Understanding 7.8

The vibrational frequency of the hydrogen iodide HI diatomic molecule is 6.69×1013Hz6.69×1013Hz. (a) What is the force constant of the molecular bond between the hydrogen and the iodine atoms? (b) What is the energy of the emitted photon when this molecule makes a transition between adjacent vibrational energy levels?

The quantum oscillator differs from the classic oscillator in three ways:

First, the ground state of a quantum oscillator is E0=ω/2,E0=ω/2, not zero. In the classical view, the lowest energy is zero. The nonexistence of a zero-energy state is common for all quantum-mechanical systems because of omnipresent fluctuations that are a consequence of the Heisenberg uncertainty principle. If a quantum particle sat motionless at the bottom of the potential well, its momentum as well as its position would have to be simultaneously exact, which would violate the Heisenberg uncertainty principle. Therefore, the lowest-energy state must be characterized by uncertainties in momentum and in position, so the ground state of a quantum particle must lie above the bottom of the potential well.

Second, a particle in a quantum harmonic oscillator potential can be found with nonzero probability outside the interval Ax+AAx+A. In a classic formulation of the problem, the particle would not have any energy to be in this region. The probability of finding a ground-state quantum particle in the classically forbidden region is about 16%.

Third, the probability density distributions |ψn(x)|2|ψn(x)|2 for a quantum oscillator in the ground low-energy state, ψ0(x)ψ0(x), is largest at the middle of the well (x=0)(x=0). For the particle to be found with greatest probability at the center of the well, we expect that the particle spends the most time there as it oscillates. This is opposite to the behavior of a classical oscillator, in which the particle spends most of its time moving with relative small speeds near the turning points.

Check Your Understanding 7.9

Find the expectation value of the position for a particle in the ground state of a harmonic oscillator using symmetry.

Quantum probability density distributions change in character for excited states, becoming more like the classical distribution when the quantum number gets higher. We observe this change already for the first excited state of a quantum oscillator because the distribution |ψ1(x)|2|ψ1(x)|2 peaks up around the turning points and vanishes at the equilibrium position, as seen in Figure 7.13. In accordance with Bohr’s correspondence principle, in the limit of high quantum numbers, the quantum description of a harmonic oscillator converges to the classical description, which is illustrated in Figure 7.15. The classical probability density distribution corresponding to the quantum energy of the n=12n=12 state is a reasonably good approximation of the quantum probability distribution for a quantum oscillator in this excited state. This agreement becomes increasingly better for highly excited states.

The probability density distribution amplitude squared of Psi sub 12 for the quantum harmonic oscillator is plotted as a function of x as a solid curve. The curve has 13 peaks with 12 zeros between them and goes asymptotically to zero at plus and minus infinity. The amplitude of the peaks is lowest at the center and increases wit distance from the origin. All of the peaks are between x=-A and x=+A. The dashed curve which shows the probability density distribution of a classical oscillator with the same energy is a smooth upward opening curve.
Figure 7.15 The probability density distribution for finding the quantum harmonic oscillator in its n=12n=12 quantum state. The dashed curve shows the probability density distribution of a classical oscillator with the same energy.
Order a print copy

As an Amazon Associate we earn from qualifying purchases.


This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
    Access for free at
  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
    Access for free at
Citation information

© Jan 19, 2024 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.