# Quantum mechanics/Particle in the box

 Subject classification: this is a chemistry resource.
 Type classification: this is a lesson resource.

We want to solve the time independent Schrödinger equation
${\displaystyle {\hat {H}}(x)\psi (x)=E\psi (x)}$
${\displaystyle \left\lbrace -{\frac {\hbar ^{2}}{2m}}{\frac {\partial ^{2}}{\partial x^{2}}}+V(x)\right\rbrace \psi (x)=E\psi (x)}$ (Eq. 1)
for some specific case. We will consider a few different potential energies V(x) and see what the eigenvalues and eigenfunctions look like. We will also practice with some numerical exercises while making several observations on the behaviour of quantum particles. From now on, we may refer to the time independent Schrödinger equation as just the 'Schrödinger' equation.

## Particle in the box

Consider a particle of mass m which can only occupy the position between x=0 and x=L, and cannot escape from this portion of space. This is commonly known as the particle in a one dimensional box. A classical particle would go back and forth between the two boundaries. The potential energy for such a system can be written as

V(x) = 0 when 0<x<L; (Eq. 2)
V(x) = +∞ elsewhere

The wavefunction must be zero for x<0 and x>L. The wavefunction must also be continuous and so it must be that

ψ(0) = 0 and ψ(L) = 0 (Eq. 3)

These two conditions are known as boundary conditions in the theory of differential equations. Very often you can find many solutions to a differential equation but only a few would satisfy the boundary conditions.

If we consider only 0<x<L then the Schrödinger equation looks like ${\displaystyle -{\frac {\hbar ^{2}}{2m}}{\frac {\partial ^{2}\psi (x)}{\partial x^{2}}}=E\psi (x)}$ or ${\displaystyle {\frac {\partial ^{2}\psi (x)}{\partial x^{2}}}=-{\frac {2mE}{\hbar ^{2}}}\psi (x)}$ (Eq. 4)

We need to find a function whose second derivative is proportional to the function itself and multiplied by a negative constant. As we know that ${\displaystyle {\frac {\partial ^{2}\cos ax}{\partial x^{2}}}=-a^{2}\cos ax}$ and ${\displaystyle {\frac {\partial ^{2}\sin ax}{\partial x^{2}}}=-a^{2}\sin ax}$ (Eq. 5) it looks like a couple of possible solutions to Equation 1 are ψ(x) = cos(ax) or ψ(x) = sin(ax) where ${\displaystyle a={\sqrt {\frac {2mE}{\hbar ^{2}}}}}$. With differential equations, if you find two solutions, any linear combination of these solutions is still a solution. So the general solution of Equation 4 is
${\displaystyle \psi (x)=A\cos \left({\sqrt {\frac {2mE}{\hbar ^{2}}}}x\right)+B\sin \left({\sqrt {\frac {2mE}{\hbar ^{2}}}}x\right)}$ (Eq. 6)
where A and B are constants that can take any values. Equation 6 is the solution if we ignore the boundary conditions (Equation 3). However, if we impose that ψ(0) = 0 we immediately see that it must be A = 0. If we impose ψ(L) = 0 we get ${\displaystyle \psi (L)=B\sin \left({\sqrt {\frac {2mE}{\hbar ^{2}}}}L\right)=0}$ (Eq. 7)

At this point, you need to remember that sin(y) = 0 if y = 0, ±π, ±2π,..., ±nπ and so it must be ${\displaystyle {\sqrt {\frac {2mE}{\hbar ^{2}}}}L=n\pi }$ where n = 1, 2,... (Eq. 8)

This is only possible if the energy E takes discrete values:
${\displaystyle {\sqrt {\frac {2mE}{\hbar ^{2}}}}={\frac {n\pi }{L}}\to {\frac {2mE}{\hbar ^{2}}}={\frac {n^{2}\pi ^{2}}{L^{2}}}\to E={\frac {n^{2}\pi ^{2}\hbar ^{2}}{2mL^{2}}}}$ (Eq. 9)

The eigenvalues (energies) of the particle in the box Hamiltonian are therefore:
${\displaystyle E_{n}={\frac {n^{2}\pi ^{2}\hbar ^{2}}{2mL^{2}}}}$ where n = 1, 2,..., (Eq. 10)

The index n is called the quantum number as it is a label of the energy level. The eigenfunctions (wavefunction) of the same Hamiltonian are:
${\displaystyle \psi _{n}(x)=B\sin \left({\sqrt {{\frac {2m}{\hbar ^{2}}}{\frac {n^{2}\pi ^{2}\hbar ^{2}}{2mL^{2}}}}}x\right)=B\sin \left({\frac {n\pi x}{L}}\right)}$ (Eq. 11)

Note that the wavefunctions are also labelled with the quantum number. B is any arbitrary constant. You must be able to draw these wavefunctions and the corresponding energy levels.

## Probability and normalization

Any eigenfunction can be multiplied by any constant and it is still the same eigenfunction. It is customary to multiply them by a constant such that the integral of |ψn(x)|² over all space is unity. The wavefunction is said to be normalized if it has the following property:
${\displaystyle \int _{-\infty }^{+\infty }|\psi _{n}(x)|^{2}\,dx=1}$ (Eq. 12)

When a wavefunction is normalized, |ψn(x)|²dx is the probability of finding the particle in the interval between x and x+dx (Equation 2 Lesson 2)

In the case of the particle in the box, the normalized wavefunctions are:
${\displaystyle \psi _{n}(x)={\sqrt {\frac {2}{L}}}\sin \left({\frac {n\pi x}{L}}\right)}$ (Eq. 13)

## Some observations to keep in mind

The regions where the wavefunction is zero are called nodes (there are nodal points in 1D and nodal planes in 3D). Almost always the number of nodes increases with the energy. For the particle in the box, there are no nodes in the ground state (n = 1), 1 node for n = 2, 2 nodes for n = 3, etc.)

The energy levels are discrete because of the boundary condition (without them all the values of the energy were allowed - see question 8 below).

The particle in the box is a model system for all quantum mechanical systems. Whenever a particle is confined, discrete levels appear. It is possible to understand qualitatively many phenomena by just considering the particle in the box.

Exercise
1. Calculate the lowest three energy levels of a particle of mass 10-26 Kg in a box of length L = 10-9 m.
2. Calculate the lowest two energy levels (in eV) of an electron in a 2 Å long one-dimensional box.
3. Plot ${\displaystyle \psi _{n}(x)={\sqrt {\frac {2}{L}}}\sin \left({\frac {n\pi x}{L}}\right)}$ and its square ψn(x)2 for n=1,2,3,4 for 0<x<L
4. State for which values of x the probability of finding the particle is maximum (for the one dimensional particle in the box) if the system is in state n=1, n=2, or n=3.
5. Show that if ψn(x) is an eigenfunction of the Hamiltonian, n(x) is also an eigenfunction (where C is any constant).
6. Show that ${\displaystyle {\sqrt {\frac {2}{L}}}\sin \left({\frac {n\pi x}{L}}\right)}$ is normalized. Is it always possible to normalize a wavefunction by multiplying it by an appropriate constant?
7. If ψn(x) is normalized, ψn(x)*ψn(x)=|ψn|² is the probability density of finding the particle around x and ${\displaystyle \int _{a}^{b}\psi _{n}(x)^{*}\psi _{n}(x)\,dx}$ is the probability of finding the particle in the region between a<x<b (for any one dimensional system). Calculate the probability of finding a particle between x=0 and x=L/4 for a particle in a box in state n.
8. A free particle is a particle without any interactions with potential energy V(x)=0 everywhere.
• Write the Hamiltonian for this system.
• Show that ψ(x) = eikx is an eigenfunction of this Hamiltonian.
• Find the eigenvalue corresponding to the eigenfunction eikx.
• Is the energy of the free particle quantized?

Next: Lesson 4 - Harmonic Oscillator