Skip to main content

Section 4.2 Solutions for the Infinite Square Well

To demonstrate how we use Schrödinger's equation to derive wavefunction solutions, let's consider the simplest example of a “particle in a box,” i.e., a particle trapped in one dimension (and unable to move in the other two dimensions) between two impenetrable walls located at \(x = 0\) and \(x = L\text{.}\) Since the particle feels no force in the region between the walls, the potential energy in this region is constant, and therefore we will take it to be zero. Since the walls are impenetrable, the potential energy must become infinite at \(x = 0\) and \(x = L\text{.}\) Therefore the graph of the potential energy \(U(x)\) as a function of position is shown in Figure 4.1. This configuration is usually referred to as the infinite square well potential. For this example we will consider solutions for which the energy of the particle \(E\) is positive. (Solutions for \(E \lt 0\) for this potential actually do not exist due to the fact that the potential energy goes to infinity at the boundaries of the well.)

Figure 4.1. Graph of the infinite square well potential as a function of position.

Since there is no chance that the particle can penetrate either of the barriers at \(x = 0\) or \(x = L\text{,}\) the wavefunction \(\psi(x)\) must be exactly zero in the regions \(x \le 0\) and \(x > L\text{.}\) Inside the well, where \(U(x) = 0\text{,}\) Schrödinger's equation can be written as

\begin{equation} \frac{d^2\psi(x)}{dx^2} = - \left(\frac{2mE}{\hbar^2}\right)\psi(x)\text{.}\label{eq_squarewell_1}\tag{4.1} \end{equation}

Our job is to determine what mathematical function is consistent with (4.1), that is, can we find a function \(\psi(x)\) whose second derivative is equal to minus a positive constant \((2 m E/ \hbar^2)\) times the original function? We already testing a solution to this equation in Section 3.5.2. In that section, we found that the wavefunction \(\psi_1(x) = A\sin(kx)\) works if

\begin{equation} E = \frac{\hbar^2 k^2}{2m}\text{.}\label{eq_squarewell_2}\tag{4.2} \end{equation}

from which it follows that \(k = \pm\sqrt{2mE}/\hbar\text{.}\) This isn't the only possible solution — the wavefunction \(\psi_1(x) = B\cos(kx)\) also satisfies (4.1). Since either of these functions satisfies Schrödinger's equation, we can write a general solution as a linear combination of these two functions:

\begin{equation} \psi(x) = A \sin{(kx)} + B \cos{(kx)}\text{.}\label{eq_squarewell_3}\tag{4.3} \end{equation}

In order for this solution to work, we must adjust the values of the constants \(A\text{,}\) \(B\text{,}\) and \(k\) such that the wavefunction inside the well matches up with the value of the wavefunction at positions \(x = 0\) and \(x = L\text{,}\) where we previously concluded that the value of the wavefunction should be zero. This process is called matching the boundary conditions. At \(x = 0\text{,}\) the wavefunction inside the well given by (4.3) becomes \(\psi(0) = B\text{,}\) so in order for the wavefunction to equal zero at the boundary \(x = 0\text{,}\) we must choose the value \(B = 0\text{.}\) Thus the interior wavefunction must be given simply as \(\psi(x) = A \sin{(kx)}\text{.}\)

Continuing, we now look at the boundary condition at \(x = L\text{.}\) Again, the wavefunction must be zero here, so this requires that

\begin{equation} A \sin{(k L)} = 0\text{.}\label{eq_squarewell_4}\tag{4.4} \end{equation}

From our knowledge of the sine function, we know that this function is zero for values such that \(k L = 0, \pi, 2\pi, 3\pi, \cdots = n \pi\) for any integer \(n\text{.}\) Therefore this second boundary condition tells us that the possible values the constant \(k\) can assume are

\begin{equation} k_n = \frac{n \pi}{L} . \hspace{0.5in} (n = 1, 2, 3, \dots)\label{eq_squarewell_5}\tag{4.5} \end{equation}

We have thrown out the \(k = 0\) solution because that would correspond to a wavefunction \(\psi(x) = 0\) which corresponds to a particle that has zero probability of being found anywhere, (i.e., the particle doesn't exist). Combining these values for \(k\) with (4.2), we find that the possible energies \(E_n\) that the particle can have inside the well are given by

\begin{equation} E_n = n^2 \frac{\pi^2 \hbar^2}{2mL^2} = n^2 \frac{h^2}{8 m L^2} \hspace{0.2in} (n = 1, 2, 3, \dots)\text{,}\label{eq_squarewell_6}\tag{4.6} \end{equation}

and the wavefunctions associated with each of these energies are

\begin{equation} \psi_n(x) = A \sin{\left(\frac{n \pi}{L}x\right)}\text{.}\label{eq_squarewell_7}\tag{4.7} \end{equation}

Figure 4.2 shows a graph of the allowed energies \(E_n\) for a particle in an infinite square well potential superimposed on the graph of potential energy \(U(x)\) and Figure 4.3 shows the wavefunctions \(\psi_n(x)\) for the four lowest allowed energies.

A few general remarks are in order about these solutions.

Figure 4.2. The allowed energies for a particle bound in an infinite square well potential. The energies are expressed in terms of the lowest (ground state) energy \(E_1\text{.}\)
Figure 4.3. The wavefunction solutions for the infinite square well potential for the four lowest energy states.
  • Notice that the lowest allowed energy for a particle is not zero! This coincides with our discussion in chapter 3 in which Heisenberg's uncertainty principle requires a minimum non-zero energy for a particle that is confined to a finite region of space.

  • There are only certain values of the energy \(E\) for which there are well-behaved solutions to Schrödinger's equation. When a particle is trapped in a finite region of space, its energy cannot be any continuous value but rather can only be one of many discrete values of energy. In the language of quantum mechanics, the energy is quantized.

  • The integer \(n\) is referred to as the quantum number of the particle. For this problem, specifying a value for \(n\) uniquely determines the state of the particle. As we shall see in more complicated systems, more than one quantum number will often be needed to completely specify a state.

  • The wavefunctions as given in (4.7) and Figure 4.3 should look familiar to you. Aren't these the same functions we used when describing the standing wave patterns on a vibrating string fixed at both ends? Indeed they are! In fact, standing waves on a string are determined by a differential equation similar to (4.1). Standing waves on a string exhibit their own form of quantization — in this case, the properties that are quantized are the wavelengths and frequencies.

Carbon atoms can be bonded into a cylindrical arrangement called a carbon nanotube. Carbon nanotubes can be fabricated with length-to-diameter ratios that are extremely large. These nanotubes have a broad range of applications including uses as conducting nano-wires and mechanical “scaffolding” for growing new bone cells.

A carbon nanotube of length \(L\) can be approximated as an infinite square well of width \(L\text{.}\) Consider a particular carbon nanotube of length \(L = 10.0\Xunits{nm}\) and negligible diameter. Calculate the ground state energy for an electron trapped inside of this carbon nanotube.

Solution.

Approximating the carbon nanotube as an infinite square well, the possible allowed energies for the electron are given by (4.6). For the ground state energy, where \(n = 1\text{,}\) the energy is given as

\begin{equation} E_1 = (1)^2 \frac{h^2}{8 m_\text{e} L^2}\text{.}\tag{4.8} \end{equation}

Because the length is given in nm, and eV's are convenient units for energy at the microscopic scale, it makes calculations easier if we multiply both the numerator and denominator by \(c^2\text{,}\) giving

\begin{equation} E_1 = (1)^2 \frac{(hc)^2}{8 (m_\text{e} c^2) L^2}\text{.}\tag{4.9} \end{equation}

Then we can insert the values \(hc = 1240\Xunits{eV \cdot nm}\text{,}\) \(L = 10\Xunits{nm}\text{,}\) and \(m_\text{e} c^2 = 0.511\Xunits{MeV} = 511\times 10^3\Xunits{eV}\text{,}\) giving

\begin{align*} E_1 =\mathstrut \amp (1)^2 \frac{(1240\Xunits{eV \cdot nm})^2} {8\times 511\times 10^3\Xunits{eV}\times (10\Xunits{nm})^2 }.\\ =\mathstrut \amp 3.8\Xunits {meV} \end{align*}

It is, of course, valid to use SI units for \(h\text{,}\) \(m_\text{e}\text{,}\) and \(L\text{,}\) but this entails calculations with large exponents and more unit conversions.

We can use the idea of normalization (see Sec. Subsection 3.2.2) to assign a value to the constant \(A\) in the wavefunction solutions of the infinite square well potential given in (4.7). Given that the wavefunction is zero outside of the well, the total probability of finding the particle within the well should be one. Therefore,

\begin{equation} \int_0^L |\psi_2(x)|^2\, dx = \int_0^L A^2 \sin^2\left(\frac{n \pi}{L}x\right)\, dx = 1\text{.}\tag{4.10} \end{equation}

Using the table of integrals in Appendix A of your Wolfson text, we can evaluate the integral using

\begin{equation} \int_0^L \sin^2\left(\frac{n \pi}{L} x\right) = \frac{L}{2}\text{.}\tag{4.11} \end{equation}

Therefore

\begin{equation} A^2 \left( \frac{L}{2} \right) = 1 \hspace{0.3in} \mbox{and} \hspace{0.3in} A = \sqrt{\frac{2}{L}}\text{.}\tag{4.12} \end{equation}

Notice that this value of \(A\) is the same for all of the solutions, independent of \(n\text{.}\)

A particle of mass \(m\) is placed in an infinite square well of width \(L\) in a quantum state for which \(n = 2\text{.}\) (a) In the vicinity of what position(s) is the particle most likely to be found within the well? (b) What is the probability of finding the particle between positions \(x = L/4\) and \(x = L/2\text{?}\)

Solution.

(a)} The wavefunction for this particle is shown as \(\psi_2(x)\) in Figure 4.3. Using (4.7), the probability density for this wavefunction is

\begin{equation} |\psi_2(x)|^2 = \left(\sqrt{\frac{2}{L}} \right)^2 \sin^2\left(\frac{2 \pi}{L}x\right)\text{,}\tag{4.13} \end{equation}
Figure 4.6. Probability density for a particle in the \(n=2\) state of an infinite square well.

as shown in Figure 4.6. The positions near which the particle is most likely to be found are where the probability density is the greatest. By examining the graph of probability density, these positions are located at \(x = L/4\) and \(x = 3L/4\text{.}\) (b) To calculate the probability of finding the particle between \(x = L/4\) and \(x = L/2\text{,}\) we use (3.8):

\begin{align*} \mbox{Prob} \left[\frac{L}{4}, \frac{L}{2}\right] =\mathstrut \amp \int_{L/4}^{L/2} |\psi_2(x)|^2\, dx\\ =\mathstrut \amp \int_{L/4}^{L/2} \left(\frac{2}{L}\right) \sin^2\left(\frac{2 \pi}{L}x\right)\, dx\\ =\mathstrut \amp \frac{2}{L} \left[\frac{x}{2} - \frac{L}{8 \pi}\sin \left(\frac{4 \pi}{L}x\right) \right]_{L/4}^{L/2}\\ =\mathstrut \amp \frac{1}{4} \end{align*}

where the integral can be evaluated using techniques that you learned in your calculus class or the table of integrals in Appendix A of your Wolfson text.

Because of the symmetry of the probability density, the area under the curve of \(\left|\psi\right|^2\) between \(x = L/4\) and \(x = L/2\) is one-quarter of the total area, therefore it makes sense that the probability is \(\frac{1}{4}\text{.}\)