My Quantum Mechanics
Home \ Square Well

The potential is always zero except inside the square well [-a, a] where it assumes the constant negative value - U 0 . The particle has negative energy so it is confined inside the well. With negative energy values it is not possible to analytically solve the Schrödinger equation, or rather, it is possible to find the analytical solution but this depends on the energy parameter which can only be found numerically (after setting the value of all constants). 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.
φ 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