# 7.4: The Quantum Particle in a Box

In this section, we apply Schrӧdinger’s equation to a particle bound to a one-dimensional box. This special case provides lessons for understanding quantum mechanics in more complex systems. The energy of the particle is quantized as a consequence of a standing wave condition inside the box.

Consider a particle of mass mm that is allowed to move only along the *x*-direction and its motion is confined to the region between hard and rigid walls located at \(x = 0\) and at \(x = L\) (Figure). Between the walls, the particle moves freely. This physical situation is called the infinite square well, described by the potential energy function

\[U(x) = 0, \space 0 \leq x \leq L,\]

\[U(x) = \infty, \space otherwise.\]

Combining this equation with Schrӧdinger’s time-independent wave equation gives

\[\frac{-\hbar^2}{2m} \frac{d^2\psi(x)}{dx^2} = E\psi(x), \space for \space 0 \leq x \leq L\]

where *E* is the total energy of the particle. What types of solutions do we expect? The energy of the particle is a positive number, so if the value of the wave function is positive (right side of the equation), the curvature of the wave function is negative, or concave down (left side of the equation). Similarly, if the value of the wave function is negative (right side of the equation), the curvature of the wave function is positive or concave up (left side of equation). This condition is met by an oscillating wave function, such as a sine or cosine wave. Since these waves are confined to the box, we envision standing waves with fixed endpoints at \(x = 0\) and \(x = L\).

**Figure 7.4.1. **The potential energy function that confines the particle in a one-dimensional box.

Solutions \(\psi(x)\) to this equation have a probabilistic interpretation. In particular, the square \(|\psi(x)|^2\) represents the probability density of finding the particle at a particular location *x*. This function must be integrated to determine the probability of finding the particle in some interval of space. We are therefore looking for a normalizable solution that satisfies the following normalization condition:

\[\int_0^L dx|\psi(x)|^2 = 1.\]

The walls are rigid and impenetrable, which means that the particle is never found beyond the wall. Mathematically, this means that the solution must vanish at the walls:

\[\psi(0) = \psi(L) = 0.\]

We expect oscillating solutions, so the most general solution to this equation is

\[\psi_k(x) = A_k \space cos \space kx + B_k \space sin \space kx\]

where *k* is the wave number, and AkAk and BkBk are constants. Applying the boundary condition expressed by Equation gives

\[\psi_k(0) = A_k \space cos (k \cdot 0) + B_k \space sin (k \cdot 0) = A_k = 0.\]

Because we have \(A_k = 0\), the solution must be

\[\psi_k(x) = B_k \space sin \space kx.\]

If \(B_k\)is zero, \(\psi_k(x) = 0\) for all values of *x* and the normalization condition, Equation, cannot be satisfied. Assuming \(B_k \neq 0\), Equation for \(x = L\) then gives

\[0 = B_k \space sin (kL) \Rightarrow sin(kL) = 0 \Rightarrow kL = n\pi, \space n = 1,2,3,...\]

We discard the \(n = 0\) solution because \(\psi(x)\) for this quantum number would be zero everywhere—an un-normalizable and therefore unphysical solution. Substituting Equation into Equation gives

\[-\frac{\hbar^2}{2m}\frac{d^2}{dx^2} (B_k sin(kx)) = E(B_k sin(kx)).\]

Computing these derivatives leads to

\[E = E_k = \frac{\hbar^2k^2}{2m}.\]

According to de Broglie, \(p = \hbar k\), so this expression implies that the total energy is equal to the kinetic energy, consistent with our assumption that the “particle moves freely.” Combining the results of Equation and Equation gives

\[E_n = n^2 \frac{\pi^2 \hbar^2}{2mL^2}, \space n = 1,2,3,...\]

Strange! A particle bound to a one-dimensional box can only have certain discrete (quantized) values of energy. Further, the particle cannot have a zero kinetic energy—it is impossible for a particle bound to a box to be “at rest.”

To evaluate the allowed wave functions that correspond to these energies, we must find the normalization constant \(B_n\). We impose the normalization condition Equation on the wave function

\[\psi_n(x) = B_n \space sin \space n\pi x/L\]

\[1 = \int_0^L dx|\psi_n(x)|^2 = \int_0^L dx \space B_n^2 \space sin^2 \frac{n\pi}{L} x = B^2 n \int_0^2 dx \space sin^2 \frac{n\pi}{L}x = B_n^2 \frac{L}{2} \Rightarrow B_n = \sqrt{\frac{2}{L}}.\]

Hence, the wave functions that correspond to the energy values given in Equation are

\[\psi_n(x) = \sqrt{\frac{2}{L}} \space sin \space \frac{n\pi x}{L}, \space n = 1,2,3,...\]

For the lowest energy state or ground state energy, we have

\[E_1 = \frac{\pi^2 \hbar^2}{2mL^2}, \space \psi_1(x) = \sqrt{\frac{2}{L}} \space sin \left(\frac{\pi x}{L}\right).\]

All other energy states can be expressed as

\[E_n = n^2 E_1, \space \psi_n(x) = \sqrt{\frac{2}{L}} \space sin \space \left(\frac{n\pi x}{L}\right).\]

The index *n* is called the **energy quantum number** or **principal quantum number**. The state for \(n = 2\) is the first excited state, the state for \(n = 3\) is the second excited state, and so on. The first three quantum states (for n = 1, 2, and 3) of a particle in a box are shown in Figure.

The wave functions in Equation are sometimes referred to as the “states of definite energy.” Particles in these states are said to occupy **energy levels**, which are represented by the horizontal lines in Figure. Energy levels are analogous to rungs of a ladder that the particle can “climb” as it gains or loses energy.

The wave functions in Equation are also called **stationary states** and **standing wave states**. These functions are “stationary,” because their probability density functions, \(|\Psi(x,t)|^2\), do not vary in time, and “standing waves” because their real and imaginary parts oscillate up and down like a standing wave—like a rope waving between two children on a playground. Stationary states are states of definite energy [Equation], but linear combinations of these states, such as \(\psi(x) = a\psi_1 + b\psi_2\) (also solutions to Schrӧdinger’s equation) are states of mixed energy.

**Figure 7.4.2.** The first three quantum states of a quantum particle in a box for principal quantum numbers n = 1,2,and 3: (a) standing wave solutions and (b) allowed energy states.

Energy quantization is a consequence of the boundary conditions. If the particle is not confined to a box but wanders freely, the allowed energies are continuous. However, in this case, only certain energies (\(E_1, 4E_1, 9E_1,...\)) are allowed. The energy difference between adjacent energy levels is given by

\[\Delta E_{n+1,n} = E_{n+1} - E_n = (n + 1)^2 E_1 - n^2E_1 = (2n + 1) E_1.\]

Conservation of energy demands that if the energy of the system changes, the energy difference is carried in some other form of energy. For the special case of a charged particle confined to a small volume (for example, in an atom), energy changes are often carried away by photons. The frequencies of the emitted photons give us information about the energy differences (spacings) of the system and the volume of containment—the size of the “box” [see Equation].

Example

**A Simple Model of the Nucleus**

Suppose a proton is confined to a box of width \(L = 1.00 \times 10^{-14} m\) (a typical nuclear radius). What are the energies of the ground and the first excited states? If the proton makes a transition from the first excited state to the ground state, what are the energy and the frequency of the emitted photon?

**Strategy**

If we assume that the proton confined in the nucleus can be modeled as a quantum particle in a box, all we need to do is to use Equation to find its energies \(E_1\) and \(E_2\). The mass of a proton is \(m = 1.76 \times 10^{-27}kg\). The emitted photon carries away the energy difference \(\Delta E = E_2 - E_1\). We can use the relation \(E_f = hf\) to find its frequency *f*.

**Solution**

The ground state:

\[E_1 = \frac{\pi^2 \hbar^2}{2mL^2} = \frac{\pi^2 (1.05 \times 10^{-34} J \cdot s)}{2(1.67 \times 10^{-27} kg)(1.00 \times 10^{-14}m)^2} = 3.28 \times 10^{−13}J = 2.05 \space MeV\]

The first excited state:

\(E_2 = 2^2 E_1 = 4(2.05 \space MeV) = 8.20 \space MeV.\)

The energy of the emitted photon is \(E_f = \Delta E = E_2 - E_1 = 8.20 \space MeV - 2.05 \space MeV = 6.15 \space MeV.\)

The frequency of the emitted photon is

\(f = \frac{E_f}{h} = \frac{6.15 \space MeV}{4.14 \times 10^{-21}MeV \cdot s} = 1.49 \times 10^{21} Hz.\)

**Significance**

This is the typical frequency of a gamma ray emitted by a nucleus. The energy of this photon is about 10 million times greater than that of a visible light photon.

The expectation value of the position for a particle in a box is given by

\[\langle x \rangle = \int_0^L dx \psi_n^* (x) x \psi_n(x) = \int_0^L dxx|\psi_n^*(x)|^2 = \int_0^L dxx \frac{2}{L}sin^2 \space \frac{nπx}{L} = \frac{L}{2}.\]

We can also find the expectation value of the momentum or average momentum of a large number of particles in a given state:

\[\langle p \rangle = \int_0^L dx\psi_n^* (x) \left[-i\hbar \frac{d}{dx} \psi_n(x)\right]\]

\[= -i\hbar \int_0^L dx \sqrt{\frac{2}{L}} \space sin \space \frac{n\pi x}{L} \left[ \frac{d}{dx} \sqrt{\frac{2}{L}} \space sin \space \frac{n\pi x}{L}\right] = -i \frac{2\hbar}{L} \int_0^L dx \space sin \space \frac{n\pi x}{L} \left[ \frac{n\pi}{L} \space cos \space \frac{n\pi x}{L}\right]\]

\[= - i\frac{2n\pi \hbar}{L^2} \int_0^L dx \frac{1}{2} sin \space \frac{2n\pi x}{L} = -i \frac{n\pi \hbar}{L^2} \frac{L}{2n\pi} \int_0^{2\pi n} d\varphi \space sin \space \varphi = -i \frac{\hbar}{2L} \cdot 0 = 0.\]

Thus, for a particle in a state of definite energy, the average position is in the middle of the box and the average momentum of the particle is zero—as it would also be for a classical particle. Note that while the minimum energy of a classical particle can be zero (the particle can be at rest in the middle of the box), the minimum energy of a quantum particle is nonzero and given by Equation. The average particle energy in the *nth* quantum state—its expectation value of energy—is

\[E_n = \langle E \rangle = n^2 \frac{\pi^2 \hbar^2}{2m}.\]

The result is not surprising because the standing wave state is a state of definite energy. Any energy measurement of this system must return a value equal to one of these allowed energies.

Our analysis of the quantum particle in a box would not be complete without discussing Bohr’s correspondence principle. This principle states that for large quantum numbers, the laws of quantum physics must give identical results as the laws of classical physics. To illustrate how this principle works for a quantum particle in a box, we plot the probability density distribution

\[|\psi_n(x)|^2 = \frac{2}{L} sin^2 (n\pi x/L)\]

for finding the particle around location *x* between the walls when the particle is in quantum state \(\psi_n\). Figure shows these probability distributions for the ground state, for the first excited state, and for a highly excited state that corresponds to a large quantum number. We see from these plots that when a quantum particle is in the ground state, it is most likely to be found around the middle of the box, where the probability distribution has the largest value. This is not so when the particle is in the first excited state because now the probability distribution has the zero value in the middle of the box, so there is no chance of finding the particle there. When a quantum particle is in the first excited state, the probability distribution has two maxima, and the best chance of finding the particle is at positions close to the locations of these maxima. This quantum picture is unlike the classical picture.

**Figure 7.4.3.** The probability density distribution \(|\psi_n(x)|^2\) for a quantum particle in a box for: (a) the ground state, \(n = 1\); (b) the first excited state, \(n = 2\); and, (c) the nineteenth excited state, \(n = 20\).

The probability density of finding a classical particle between *x* and \(x + \Delta x\) depends on how much time Δt the particle spends in this region. Assuming that its speed *u* is constant, this time is Δt = Δx/u, which is also constant for any location between the walls. Therefore, the probability density of finding the classical particle at *x* is uniform throughout the box, and there is no preferable location for finding a classical particle. This classical picture is matched in the limit of large quantum numbers. For example, when a quantum particle is in a highly excited state, shown in Figure, the probability density is characterized by rapid fluctuations and then the probability of finding the quantum particle in the interval Δx does not depend on where this interval is located between the walls.

Example

**A Classical Particle in a Box**

A small 0.40-kg cart is moving back and forth along an air track between two bumpers located 2.0 m apart. We assume no friction; collisions with the bumpers are perfectly elastic so that between the bumpers, the car maintains a constant speed of 0.50 m/s. Treating the cart as a quantum particle, estimate the value of the principal quantum number that corresponds to its classical energy.

**Strategy**

We find the kinetic energy *K* of the cart and its ground state energy \(E_1\) as though it were a quantum particle. The energy of the cart is completely kinetic, so \(K = n^2 E_1\) (Equation). Solving for *n* gives \(n = (K/E_1)^{1/2}\).

**Solution**

The kinetic energy of the cart is

\[K = \frac{1}{2} mu^2 = \frac{1}{2}(0.40 \space kg)(0.50 \space m/s)^2 = 0.050 \space J.\]

The ground state of the cart, treated as a quantum particle, is

\[E_1 = \frac{\pi^2 \hbar^2}{2mL^2} = \frac{\pi^2 (1.05 \times 10^{-34} J \cdot s)^2}{2(0.40 \space kg)(2.0 \space m)^2} = 1.700 \times 10^{-68} J.\]

Therefore, \[n = (K/E_1)^{1/2} = (0.050/1.700 \times 10^{-68})^{1/2} = 1.2 \times 10^{33}.\]

**Significance**

We see from this example that the energy of a classical system is characterized by a very large quantum number. Bohr’s correspondence principle concerns this kind of situation. We can apply the formalism of quantum mechanics to any kind of system, quantum or classical, and the results are correct in each case. In the limit of high quantum numbers, there is no advantage in using quantum formalism because we can obtain the same results with the less complicated formalism of classical mechanics. However, we cannot apply classical formalism to a quantum system in a low-number energy state.

**Check Your Understanding** (a) Consider an infinite square well with wall boundaries x=0x=0 and x=Lx=L. What is the probability of finding a quantum particle in its ground state somewhere between x=0x=0 and x=L/4x=L/4? (b) Repeat question (a) for a classical particle.

[Hide Solution]

a. 9.1%; b. 25%

Having found the stationary states ψn(x)ψn(x) and the energies EnEn by solving the time-independent Schrӧdinger equation Equation, we use [link] to write wave functions Ψn(x,t)Ψn(x,t) that are solutions of the time-dependent Schrӧdinger’s equation given by [link]. For a particle in a box this gives

\[\Psi_n(x,t) = e^{-i\omega_nt} \psi_n(x) = \sqrt{\frac{2}{L}}e^{-iE_nt/\hbar}sin \space \frac{n\pi x}{L}, \space n = 1,2,3,...\]

where the energies are given by Equation.

The quantum particle in a box model has practical applications in a relatively newly emerged field of optoelectronics, which deals with devices that convert electrical signals into optical signals. This model also deals with nanoscale physical phenomena, such as a nanoparticle trapped in a low electric potential bounded by high-potential barriers.

# Summary

- Energy states of a quantum particle in a box are found by solving the time-independent Schrӧdinger equation.
- To solve the time-independent Schrӧdinger equation for a particle in a box and find the stationary states and allowed energies, we require that the wave function terminate at the box wall.
- Energy states of a particle in a box are quantized and indexed by principal quantum number.
- The quantum picture differs significantly from the classical picture when a particle is in a low-energy state of a low quantum number.
- In the limit of high quantum numbers, when the quantum particle is in a highly excited state, the quantum description of a particle in a box coincides with the classical description, in the spirit of Bohr’s correspondence principle.

# Conceptual Questions

Exercise

Using the quantum particle in a box model, describe how the possible energies of the particle are related to the size of the box.

Exercise

Is it possible that when we measure the energy of a quantum particle in a box, the measurement may return a smaller value than the ground state energy? What is the highest value of the energy that we can measure for this particle?

[Hide Solution]

No. For an infinite square well, the spacing between energy levels increases with the quantum number *n*. The *smallest* energy measured corresponds to the transition from *n* = 2 to 1, which is three times the ground state energy. The largest *energy* measured corresponds to a transition from \(n = \infty\) to 1, which is infinity. (Note: Even particles with extremely large energies remain bound to an infinite square well—they can never “escape”)

Exercise

For a quantum particle in a box, the first excited state (\(\Psi_2\)) has zero value at the midpoint position in the box, so that the probability density of finding a particle at this point is exactly zero. Explain what is wrong with the following reasoning: “If the probability of finding a quantum particle at the midpoint is zero, the particle is never at this point, right? How does it come then that the particle can cross this point on its way from the left side to the right side of the box?

# Problems

Exercise

Assume that an electron in an atom can be treated as if it were confined to a box of width 2.0 Å. What is the ground state energy of the electron? Compare your result to the ground state kinetic energy of the hydrogen atom in the Bohr’s model of the hydrogen atom.

[Hide Solution]

9.4 eV, 64%

Exercise

Assume that a proton in a nucleus can be treated as if it were confined to a one-dimensional box of width 10.0 fm. (a) What are the energies of the proton when it is in the states corresponding to \(n = 1\), \(n = 2\), and \(n = 3\)? (b) What are the energies of the photons emitted when the proton makes the transitions from the first and second excited states to the ground state?

Exercise

An electron confined to a box has the ground state energy of 2.5 eV. What is the width of the box?

[Hide Solution]

0.38 nm

Exercise

What is the ground state energy (in eV) of a proton confined to a one-dimensional box the size of the uranium nucleus that has a radius of approximately 15.0 fm?

Exercise

What is the ground state energy (in eV) of an α-particle confined to a one-dimensional box the size of the uranium nucleus that has a radius of approximately 15.0 fm?

[Hide Solution]

1.82 MeV

Exercise

To excite an electron in a one-dimensional box from its first excited state to its third excited state requires 20.0 eV. What is the width of the box?

Exercise

An electron confined to a box of width 0.15 nm by infinite potential energy barriers emits a photon when it makes a transition from the first excited state to the ground state. Find the wavelength of the emitted photon.

[Hide Solution]

24.7 nm

Exercise

If the energy of the first excited state of the electron in the box is 25.0 eV, what is the width of the box?

Exercise

Suppose an electron confined to a box emits photons. The longest wavelength that is registered is 500.0 nm. What is the width of the box?Å

[Hide Solution]

6.03 A

Exercise

Hydrogen H2H2 molecules are kept at 300.0 K in a cubical container with a side length of 20.0 cm. Assume that you can treat the molecules as though they were moving in a one-dimensional box. (a) Find the ground state energy of the hydrogen molecule in the container. (b) Assume that the molecule has a thermal energy given by kBT/2kBT/2 and find the corresponding quantum number *n* of the quantum state that would correspond to this thermal energy.

An electron is confined to a box of width 0.25 nm. (a) Draw an energy-level diagram representing the first five states of the electron. (b) Calculate the wavelengths of the emitted photons when the electron makes transitions between the fourth and the second excited states, between the second excited state and the ground state, and between the third and the second excited states.

[Hide Solution]

a.

b. \(\lambda_{5\rightarrow3} = 12.9 \space nm, \space \lambda_{3\rightarrow 1} = 25.8 \space nm, \space \lambda_{4\rightarrow3} = 29.4 \space nm\).

Exercise

An electron in a box is in the ground state with energy 2.0 eV. (a) Find the width of the box. (b) How much energy is needed to excite the electron to its first excited state? (c) If the electron makes a transition from an excited state to the ground state with the simultaneous emission of 30.0-eV photon, find the quantum number of the excited state?

## Glossary

- energy levels
- states of definite energy, often represented by horizontal lines in an energy “ladder” diagram

- energy quantum number
- index that labels the allowed energy states

- ground state energy
- lowest energy state in the energy spectrum

- infinite square well
- potential function that is zero in a fixed range and infinitely beyond this range

- principal quantum number
- energy quantum number

- standing wave state
- stationary state for which the real and imaginary parts of \(\Psi(x,t)\) oscillate up and down like a standing wave (often modeled with sine and cosine functions)

- stationary state
- state for which the probability density function, \(|\Psi(x,t)|^2\), does not vary in time