Skip to main content
Chemistry LibreTexts

1.6: Particle in a One-Dimensional Box

  • Page ID
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    A particle in a 1-dimensional box is a fundamental quantum mechanical approximation describing the translational motion of a single particle confined inside an infinitely deep well from which it cannot escape.


    The particle in a box problem is a common application of a quantum mechanical model to a simplified system consisting of a particle moving horizontally within an infinitely deep well from which it cannot escape. The solutions to the problem give possible values of E and \(\psi\) that the particle can possess. E represents allowed energy values and \(\psi(x)\) is a wavefunction, which when squared gives us the probability of locating the particle at a certain position within the box at a given energy level.

    recipe for Quantum Mechanics

    To solve the problem for a particle in a 1-dimensional box, we must follow our Big, Big recipe for Quantum Mechanics:

    1. Define the Potential Energy, \(V\)
    2. Solve the Schrödinger Equation
    3. Solve for the wavefunctions
    4. Solve for the allowed energies

    Step 1: Define the Potential Energy V

    The potential energy is 0 inside the box (V=0 for 0<x<L) and goes to infinity at the walls of the box (V=∞ for x<0 or x>L). We assume the walls have infinite potential energy to ensure that the particle has zero probability of being at the walls or outside the box. Doing so significantly simplifies our later mathematical calculations as we employ these boundary conditions when solving the Schrödinger Equation.


    Step 2: Solve the Schrödinger Equation

    The time-independent Schrödinger equation for a particle of mass \(m\) moving in one direction with energy \(E\) is

    \[-\dfrac{\hbar^2}{2m} \dfrac{d^2 \psi(x)}{dx^2} + V(x)\psi(x) = E\psi(x) \label{5.5.1}\]


    • \(\hbar\) is the reduced Planck constant where \( \hbar = \frac{h}{2\pi}\)
    • \(m\) is the mass of the particle
    • \(\psi(x)\) is the stationary time-independent wavefunction
    • \(V(x)\) is the potential energy as a function of position
    • \(E\) is the energy, a real number

    This equation can be modified for a particle of mass \(m\) free to move parallel to the x-axis with zero potential energy (V = 0 everywhere) resulting in the quantum mechanical description of free motion in one dimension:

    \[ -\dfrac{\hbar^2}{2m} \dfrac{d^2\psi(x)}{dx^2} = E\psi(x) \label{5.5.2}\]

    This equation has been well studied and gives a general solution of:

    \[\psi(x) = A\sin(kx) + B\cos(kx) \label{5.5.3}\]

    where A, B, and k are constants.

    Step 3: Define the Wavefunction

    The solution to the Schrödinger equation we found above is the general solution for a 1-dimensional system. We now need to apply our boundary conditions to find the solution to our particular system. According to our boundary conditions, the probability of finding the particle at \(x=0\) or \(x=L\) is zero. When \(x=0\), then \(\sin(0)=0\) and \(\cos(0)=1\); therefore, \(B\) must equal 0 to fulfill this boundary condition giving:

    \[\psi(x) = A\sin(kx) \label{5.5.4}\]

    We can now solve for our constants (\(A\) and \(k\)) systematically to define the wavefunction.

    Solving for \(k\)
    Differentiate the wavefunction with respect to \(x\):

    \[\dfrac{d\psi}{dx} = kA\cos(kx) \label{5.5.5}\]

    Differentiate the wavefunction algain with respect to \(x\):

    \[\dfrac{d^{2}\psi}{dx^{2}} = -k^{2}A\sin(kx) \label{5.5.6}\]

    Since \(\psi(x) = A\sin(kx)\), then

    \[\dfrac{d^{2}\psi}{dx^{2}} = -k^{2}\psi \label{5.5.7}\]

    If we then solve for k by comparing with the Schrödinger equation above, we find:

    \[k = \left( \dfrac{8\pi^2mE}{h^2} \right)^{1/2} \label{5.5.8}\]

    Now we plug \(k\) into our wavefunction (Equation \ref{5.5.4}):

    \[\psi = A\sin\left(\dfrac{8\pi^{2}mE}{h^{2}}\right)^{1/2}x \label{5.5.9}\]

    Solving for \(A\)
    To determine A, we have to apply the boundary conditions again. Recall that the probability of finding a particle at \(x = 0\) or \(x = L\) is zero.

    When x = L:

    \[0 = A\sin\left(\dfrac{8\pi^{2}mE}{h^{2}}\right)^{1/2}L \label{5.5.10}\]

    This is only true when

    \[\left(\dfrac{8\pi^{2}mE}{h^{2}}\right)^{1/2}L = n\pi \label{5.5.11}\]

    where \(n = 1,2,3, …\)

    Plugging this back in gives us:

    \[\psi = A\sin{\dfrac{n\pi}{L}}x \label{5.5.12}\]

    To determine \(A\), recall that the total probability of finding the particle inside the box is 1, meaning there is no probability of it being outside the box. When we find the probability and set it equal to 1, we are normalizing the wavefunction.

    \[\int^{L}_{0}\psi^{2}dx = 1 \label{5.5.13}\]

    For our system, the normalization looks like:

    \[A^2 \int^{L}_{0}\sin^2\left(\dfrac{n\pi}{L}\right)x\,dx = 1 \label{5.5.14}\]

    Using the solution for this integral from an integral table, we find our normalization constant, \(A\):

    \[A = \sqrt{\dfrac{2}{L}} \label{5.5.15}\]

    Which results in the normalized wavefunctions for a particle in a 1-dimensional box:

    \[\psi_n = \sqrt{\dfrac{2}{L}}\sin{\dfrac{n\pi}{L}}x \label{5.5.16}\]

    where \(n = 1,2,3, …\)

    Step 4: Determine the Allowed Energies

    Solving for the energy of each \(\psi\) requires substituting Equation \(\ref{5.5.16}\) into Equation \(\ref{5.5.2}\) to get the allowed energies for a particle in a box:

    \[E_n = \dfrac{n^{2}h^{2}}{8mL^{2}} \label{5.5.17}\]

    Equation \(\ref{5.5.17}\) is a very important result and tells us that:

    1. The energy of a particle is quantized.
    2. The lowest possible energy of a particle is NOT zero. This is called the zero-point energy and means the particle can never be at rest because it always has some kinetic energy.

    This is also consistent with the Heisenberg Uncertainty Principle: if the particle had zero energy, we would know where it was in both space and time.

    What does all this mean?

    The wavefunction for a particle in a box at the \(n=1\) and \(n=2\) energy levels look like this:


    The probability of finding a particle a certain spot in the box is determined by squaring \(\psi\). The probability distribution for a particle in a box at the \(n=1\) and \(n=2\) energy levels looks like this:


    Notice that the number of nodes (places where the particle has zero probability of being located) increases with increasing energy n. Also note that as the energy of the particle becomes greater, the quantum mechanical model breaks down as the energy levels get closer together and overlap, forming a continuum. This continuum means the particle is free and can have any energy value. At such high energies, the classical mechanical model is applied as the particle behaves more like a continuous wave. Therefore, the particle in a box problem is an example of Wave-Particle Duality.

    Example \(\PageIndex{1}\)

    What is the \(\Delta E\) between the \(n = 4\) and \(n = 5\) states for an \(F_2\) molecule trapped within in a one-dimension well of length 3.0 cm? At what value of \(n\) does the energy of the molecule reach \(¼k_BT\) at 450 K, and what is the separation between this energy level and the one immediately above it?


    Since this is a one-dimensional particle in a box problem, the particle has only kinetic energy (V = 0), so the permitted energies are:

    \[E_n = \dfrac{n^2 h^2}{8 m L^2} \nonumber\]

    with \(n=1,2,...\)

    The energy difference between \(n = 4\) and \(n=5\) is then

    \[\Delta E = E_5 - E_4=\dfrac{5^2 h^2}{8 m L^2} - \dfrac{4^2 h^2}{8 m L^2}\nonumber\]

    Using Equation \(\ref{5.5.17}\) with the mass of \(F_2\) (37.93 amu = \(6.3 \times 10^{-26}\;kg \)) and the length of the box (\(L= 3 \times 3.0\times10^{-2}\;\text{m}^2\):

    \[\Delta E=\dfrac{9 h^2}{8 m L^2} = \dfrac{9 (6.626\times10^{-34}\;\text{kg} \cdot \text{m}^2 \cdot \text{s}^{-1})^2 }{8(6.30938414\times10^{-26}\;\text{kg})(3.0\times10^{-2}\;\text{m}^2)^2 }\nonumber\]

    \[\Delta E=8.70\times10^{-39}\; J \nonumber\]

    The \(n\) value for which the energy reaches \(\frac{1}{4} k_B T\):

    \[\dfrac{n^2 h^2}{8 m L^2} = \dfrac{1}{4} k_B T \nonumber\]

    \[n=1.79 \times 10^9 \nonumber\]

    The separation between \(n+1\) and \(n\):

    \[\Delta E = E_{n+1} - E_{n} = \dfrac{(n+1)^2h^2 - (n)^2h^2}{8mL^2} \nonumber\]

    \[\Delta E = \dfrac{(2n+1)h^2}{8mL^2} \nonumber\]

    \[\Delta E = 3.47\times10^{-30}\;J \nonumber\]

    Important Facts to Learn from the Particle in the Box

    • The energy of a particle is quantized. This means it can only take on discreet energy values.
    • The lowest possible energy for a particle is NOT zero (even at 0 K). This means the particle always has some kinetic energy.
    • The square of the wavefunction is related to the probability of finding the particle in a specific position for a given energy level.
    • The probability changes with increasing energy of the particle and depends on the position in the box you are attempting to define the energy for
    • In classical physics, the probability of finding the particle is independent of the energy and the same at all points in the box
    • Provides a live quantum mechanical simulation of the particle in a box model and allows you to visualize the solutions to the Schrödinger Equation:


    1. Chang, Raymond. Physical Chemistry for the Biosciences. Sansalito, CA: University Science, 2005.

    1.6: Particle in a One-Dimensional Box is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?