Often, it is convenient to consider an electron "trapped" in a closed space, for example in a pice of semiconductor with a large bandgap between it and its surroundings. This kind of electron trap is called a 'potential well. The theoretically most striaghtforward case is the infinite potential well in one dimension, where an electron is confined completely and can never escape, as to do so would require an infinte amount of energy.
We will later expand this to more dimensions and the more realistic finite potential well, where the electron can escape.
For now, consider an electron trapped in an infintie potenital well, of width L (right). The potential of this systems is given by:
The probability of finding an electron outside this region is zero. As the wavefunction of the electron in this well must be continuous according to the condtions on the wavefuction, we are seeking a solution to ψ(x) that is zero at x=0 and x=L. if this were not true, we would have a discontinuity here.
We call A the normalisation coefficient, ψ0. This exists to ensure the probability of finding an electron in all of space is 1. Also, since when n=0 the whole equation goes to zero, the proability of an electron existing is zero, and thus, the solutions to the Schrödinger Equation for a particle in a 1D box start at n=1:
Becasue we a working in the x-direction, we have called our indexing number nx. This is called the wavenumber. The energies associated with the above solutions are given by:
There are two thing to note here.
A wavefunction solving the Schrödinger Equation exists only for integer wavenumbers, n.
Each wavefunction (eigenfunction) has a specific energy (eigenvalue) associated with it. This is proportional to the square of the wavenumber and the energy of the wavefunction with n=1, E1.
The diagram below shows the wavefunctions with wavenumbers 1, 2 and 3, plotted against the associated energy relative to E1:
The probability densities can be found easily once the wavefunctions have been found - simply take the modulus (in the case of complex wavefunctions) and square. This results in proability densities as shown below: