My Quantum Mechanics
Home \ Harmonic Oscillator

A harmonic oscillator is a system that, when displaced from its equilibrium position, experiences a restoring force F proportional to the displacement x, that is: F = - kx , where k is a positive constant (elastic constant). The potential energy is given by the relation V ( x ) = 1 2 kx 2 . The Schrödinger equation can be solved analytically without taking approximations. For more details open the notebook below.
Open the notebook in Wolfram Cloud The Wolfram Mathematica notebook contains the solutions of the Schrödinger equation and allows you to produce all the graphs shown on this page.
Motion of harmonic oscillator
HD video
Snapshots
Motion of a particle subjected to force F = - kx , i.e. subjected to the harmonic potential V ( x ) = 1 2 kx 2 , where k is a positive constant (elastic constant).
φ 0 ( x ) The wave function (solution of the Schrödinger equation) corresponding to energy E 0
φ 1 ( x ) The wave function (solution of the Schrödinger equation) corresponding to energy E 1
φ 2 ( x ) The wave function (solution of the Schrödinger equation) corresponding to energy E 2
| φ 0 ( x ) | 2 The square modulus of the wave function gives the probability density of finding the particle at position x
| φ 1 ( x ) | 2 The square modulus of the wave function gives the probability density of finding the particle at position x
| φ 2 ( x ) | 2 The square modulus of the wave function gives the probability density of finding the particle at position x
| c 0 ( p ) | 2 Probability density for momentum p for the particle in the state with energy E 0 .

c 0 ( p ) is defined by the following formula:
c 0 ( p ) = - + - p x φ 0 ( x ) x
| c 1 ( p ) | 2 Probability density for momentum p for the particle in the state with energy E 1 .

c 1 ( p ) is defined by the following formula:
c 1 ( p ) = - + - p x φ 1 ( x ) x
| c 2 ( p ) | 2 Probability density for momentum p for the particle in the state with energy E 2 .

c 2 ( p ) is defined by the following formula:
c 2 ( p ) = - + - p x φ 2 ( x ) x
All φ n ( x ) The three solutions of the Schrödinger equation (wave functions) in a single graph, highlighting the corresponding energy value E n
All | φ n ( x ) | 2 The three probability density for position x in a single graph, highlighting the corresponding energy value E n
All | c n ( p ) | 2 The three probability density for momentum p in a single graph, highlighting the corresponding energy value E n