WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

Eigenstates of the Quantum Harmonic Oscillator Using Spectral Methods

eigenvalues
eigenfunctions
0
1
2
3
4
grid points
10
Consider Schrödinger's differential equation,
-u''+1/4
2
x
u=λu
, where
u0
. This problem describes the quantum harmonic oscillator (i.e., the quantum-mechanical analog of the classical harmonic oscillator). Values of the eigenvalues
λ
can be determined analytically and are
n+1/2
when
n=0,1,2,3,
. The corresponding eigenfunctions are given by
-
2
x
4
e
H
n
(x)
, where
H
n
are the Hermite polynomials associated with the eigenvalue
n+1/2
. This Demonstration approximates values of the eigenvalues numerically using spectral methods. When the number of grid points is large, the numerical values match their analytical counterparts perfectly. In addition, the first five eigenfunctions (analytical solutions in blue and numerical solution in red dots) are plotted for the choice of 100 grid points.
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.