{
  "id": "particle-in-a-box",
  "title": "Particle in a Box",
  "lang": "en",
  "source_lang": "en",
  "summary": "The particle in a box is an exactly solvable quantum model in which spatial confinement produces discrete energy levels and standing-wave states.",
  "category": "science",
  "subcategory": "physics",
  "type": "concept",
  "aliases": [
    "Particle in an infinite potential well",
    "Infinite square well",
    "Infinite potential well"
  ],
  "generated_at": "2026-11-04",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/particle-in-a-box/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/particle-in-a-box/",
      "json": "https://aiwiki.page/zh/particle-in-a-box.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "The particle in a box is an idealized model in quantum mechanics describing a particle confined to a region by impenetrable boundaries, with no forces acting in its interior. Despite the absence of an interior force, the allowed energies are discrete because the particle’s wave function must satisfy boundary conditions. The model is one of the simplest exact solutions of the Schrödinger equation and illustrates spatial confinement, energy quantization, and the difference between classical and quantum descriptions of motion.\n\nThe term usually refers to an infinite potential well, particularly a one-dimensional interval. Finite wells and boxes in two or three dimensions are closely related extensions."
    },
    {
      "heading": "One-dimensional model",
      "text": "Consider a nonrelativistic particle of mass \\(m\\) confined between \\(x=0\\) and \\(x=L\\). Its potential energy is defined as\n\n\\[V(x)= \\begin{cases} 0, & 0<x<L,\\\\ +\\infty, & x\\leq 0\\ \\text{or}\\ x\\geq L. \\end{cases}\\]\n\nThe infinite potential is a mathematical idealization: the particle cannot enter the exterior region. The wave function vanishes outside the box and obeys\n\n\\[\\psi(0)=\\psi(L)=0.\\]\n\nInside the box, the Hamiltonian operator contains only the kinetic-energy term:\n\n\\[\\hat H=-\\frac{\\hbar^2}{2m}\\frac{d^2}{dx^2},\\]\n\nwhere \\(\\hbar=h/(2\\pi)\\) and \\(h\\) is the Planck constant. The time-independent Schrödinger equation becomes\n\n\\[-\\frac{\\hbar^2}{2m}\\frac{d^2\\psi}{dx^2}=E\\psi.\\]\n\nAlthough the particle is free in the interior, its states are not those of a particle free to move over all space. The boundaries are essential to the problem."
    },
    {
      "heading": "Wave functions and energy levels",
      "text": "For positive energy, the interior solution has the form\n\n\\[\\psi(x)=A\\sin(kx)+B\\cos(kx), \\qquad k=\\frac{\\sqrt{2mE}}{\\hbar}.\\]\n\nThe boundary condition at \\(x=0\\) requires \\(B=0\\). The condition at \\(x=L\\) then requires\n\n\\[\\sin(kL)=0, \\qquad kL=n\\pi,\\]\n\nwhere \\(n=1,2,3,\\ldots\\). Normalization gives the energy eigenfunctions\n\n\\[\\psi_n(x)=\\sqrt{\\frac{2}{L}} \\sin\\left(\\frac{n\\pi x}{L}\\right), \\qquad 0<x<L,\\]\n\nwith energies\n\n\\[E_n=\\frac{n^2\\pi^2\\hbar^2}{2mL^2} =\\frac{n^2h^2}{8mL^2}.\\]\n\nThese are standing waves with wavelengths\n\n\\[\\lambda_n=\\frac{2L}{n}.\\]\n\nOnly an integer number of half-wavelengths fits between the walls. This boundary requirement—not a variation of the potential inside the box—produces the discrete spectrum.\n\nThe integer \\(n\\) labels each energy eigenstate. The state \\(n=1\\) is the ground state, and higher values describe excited states. Each \\(\\psi_n\\) has \\(n-1\\) interior nodes, where the probability density is zero. The one-dimensional energy levels are nondegenerate: each energy corresponds to one independent spatial eigenfunction.\n\nGround-state energy and confinement scale\n\nThere is no nontrivial \\(n=0\\) state: it would give a wave function that is zero everywhere and therefore cannot be normalized. The lowest energy is consequently positive:\n\n\\[E_1=\\frac{\\pi^2\\hbar^2}{2mL^2}.\\]\n\nThis is an example of zero-point energy. It is consistent with the uncertainty principle: a particle confined to a finite interval cannot have both a definite position and identically zero momentum.\n\nThe characteristic confinement energy scales as\n\n\\[E_n\\propto \\frac{1}{mL^2}.\\]\n\nA narrower box or a lighter particle therefore produces larger energy spacings. For an electron in a one-dimensional box of width \\(1\\,\\mathrm{nm}\\), the ground-state energy is approximately \\(0.376\\,\\mathrm{eV}\\), using the free-electron mass.\n\nUnlike the equally spaced spectrum of the quantum harmonic oscillator, adjacent box levels become progressively farther apart:\n\n\\[E_{n+1}-E_n =\\frac{\\pi^2\\hbar^2}{2mL^2}(2n+1).\\]"
    },
    {
      "heading": "Probability and time evolution",
      "text": "According to the Born rule, the position probability density in an energy eigenstate is\n\n\\[|\\psi_n(x)|^2 =\\frac{2}{L}\\sin^2\\left(\\frac{n\\pi x}{L}\\right).\\]\n\nThis distribution is generally not uniform. In the ground state it is largest at the center and vanishes at the walls. Excited states have additional nodes and peaks. These peaks are probabilities for finding the particle, not a trajectory along which the particle moves.\n\nThe expectation value of position is the center of the box for every energy eigenstate:\n\n\\[\\langle x\\rangle_n=\\frac{L}{2}.\\]\n\nThe corresponding time-dependent state is\n\n\\[\\Psi_n(x,t)=\\psi_n(x)e^{-iE_nt/\\hbar}.\\]\n\nIts probability density is independent of time because the time-dependent factor has unit magnitude. Such a state is called a stationary state.\n\nA general pure state is a superposition of energy eigenstates:\n\n\\[\\Psi(x,t)=\\sum_{n=1}^{\\infty} c_n\\psi_n(x)e^{-iE_nt/\\hbar}, \\qquad \\sum_{n=1}^{\\infty}|c_n|^2=1.\\]\n\nIts position distribution generally changes with time through interference between components of different energies. An energy measurement yields \\(E_n\\) with probability \\(|c_n|^2\\).\n\nMomentum and kinetic energy\n\nIn a stationary box state, the mean momentum is zero, while\n\n\\[\\langle p^2\\rangle_n =\\left(\\frac{n\\pi\\hbar}{L}\\right)^2.\\]\n\nThus zero mean momentum does not imply zero kinetic energy:\n\n\\[\\langle T\\rangle_n =\\frac{\\langle p^2\\rangle_n}{2m} =E_n.\\]\n\nThe standing wave can be expressed inside the box as a combination of oppositely directed traveling-wave factors. Nevertheless, a box energy eigenstate is not an eigenstate of momentum. Momentum as an observable on a bounded interval involves operator-domain subtleties; the standing-wave decomposition alone does not specify the outcomes of every possible momentum-measurement procedure."
    },
    {
      "heading": "Comparison with classical motion",
      "text": "In classical mechanics, a particle moving freely between perfectly reflecting walls travels at constant speed between collisions. Its energy can take any nonnegative value. If its position is sampled uniformly in time over many traversals, the position distribution is uniform.\n\nThe quantum model differs in several ways:\n\n- Energy is restricted to discrete values.\n- The ground-state energy is nonzero.\n- Stationary-state position distributions contain peaks and nodes.\n- A state need not correspond to a particle following a definite path between the walls.\n\nFor large \\(n\\), the probability density oscillates rapidly. Averaging over regions containing many oscillations gives approximately \\(1/L\\), the classical uniform distribution. This is a coarse-grained correspondence, not pointwise convergence of the quantum density. Likewise, although absolute energy gaps increase with \\(n\\), their size relative to the energy decreases:\n\n\\[\\frac{E_{n+1}-E_n}{E_n} =\\frac{2n+1}{n^2} \\longrightarrow 0.\\]"
    },
    {
      "heading": "Boxes in higher dimensions",
      "text": "For a rectangular three-dimensional box with side lengths \\(L_x,L_y,L_z\\), the wave function separates into three one-dimensional factors:\n\n\\[\\psi_{n_xn_yn_z}(x,y,z) = \\sqrt{\\frac{8}{L_xL_yL_z}} \\sin\\left(\\frac{n_x\\pi x}{L_x}\\right) \\sin\\left(\\frac{n_y\\pi y}{L_y}\\right) \\sin\\left(\\frac{n_z\\pi z}{L_z}\\right),\\]\n\nwhere each quantum number is a positive integer. The energy is\n\n\\[E_{n_xn_yn_z} = \\frac{\\pi^2\\hbar^2}{2m} \\left( \\frac{n_x^2}{L_x^2} +\\frac{n_y^2}{L_y^2} +\\frac{n_z^2}{L_z^2} \\right).\\]\n\nFor a cube of side \\(L\\),\n\n\\[E_{n_xn_yn_z} = \\frac{\\pi^2\\hbar^2}{2mL^2} (n_x^2+n_y^2+n_z^2).\\]\n\nDifferent spatial states can then have the same energy. For example, \\((1,1,2)\\), \\((1,2,1)\\), and \\((2,1,1)\\) are distinct states with equal energy. This is spatial degeneracy; any degeneracy associated with spin is separate.\n\nChanging the box geometry changes both the spectrum and its degeneracies. Circular, spherical, or irregular boundaries require different mathematical solutions."
    },
    {
      "heading": "Finite walls and alternative boundary conditions",
      "text": "Real confining barriers have finite heights. In a finite square well, a bound-state wave function extends into the barriers and decays there rather than vanishing abruptly. For the same interior width and potential reference, corresponding bound-state energies lie below those of the infinite well because the particle is less tightly confined.\n\nA finite well has only a finite number of bound states below its exterior potential. Above that threshold, unbound states are possible. If a barrier also has finite thickness and an accessible region beyond it, quantum tunneling can permit escape. An infinite wall, by contrast, has no penetration or transmission.\n\nBoundary conditions must therefore be specified along with the interior potential. Periodic boundary conditions, in which opposite edges are identified, describe a different system. In one dimension they permit a constant zero-momentum state and should not be confused with hard-wall confinement."
    },
    {
      "heading": "Applications and limitations",
      "text": "Electronic and optical models\n\nThe model provides a first approximation to confined electrons in nanoscale systems. Semiconductor quantum wells confine carriers mainly in one direction, quantum wires in two, and quantum dots in three. Their spectra depend on geometry, finite barriers, and material properties; semiconductor calculations often replace the free-electron mass with an effective mass.\n\nIn elementary molecular models, delocalized electrons along a conjugated chain can be approximated as particles in a one-dimensional box. Increasing the effective length reduces the characteristic energy spacing, helping explain why longer conjugated systems often absorb lower-energy light. Quantitative predictions require more realistic molecular orbital theory.\n\nThe model also illustrates transitions studied in spectroscopy. If a transition between states \\(n\\) and \\(m\\) occurs through absorption or emission of a photon, energy conservation requires\n\n\\[h\\nu=|E_m-E_n|.\\]\n\nAn energy difference alone does not guarantee an allowed transition. For the ideal one-dimensional box, electric-dipole transitions between distinct spatial states require \\(m+n\\) to be odd.\n\nMany-particle systems\n\nNoninteracting particles can be placed in the box’s single-particle states to construct simple many-particle models. For spin-\\(\\tfrac12\\) fermions, the Pauli exclusion principle allows at most two particles in each spatial state when the two spin states are available. Filling these levels underlies elementary treatments of the Fermi energy and Fermi–Dirac statistics.\n\nSuch constructions are important in statistical mechanics, but they do not by themselves account for interactions among particles.\n\nScope of the idealization\n\nThe standard box assumes a single nonrelativistic particle, a uniform interior potential, perfectly rigid impenetrable walls, and no coupling to an environment. Real systems may require finite barriers, nonuniform potentials, particle interactions, spin-dependent effects, or relativistic dynamics.\n\nIts exact solutions make it useful as a benchmark for numerical methods and perturbation theory. Its central physical result—the emergence of an energy scale proportional to \\(\\hbar^2/(mL^2)\\)—remains useful even when realistic confinement differs substantially from an ideal rectangular box."
    }
  ],
  "links": [
    "quantum-mechanics",
    "wave-function",
    "schrodinger-equation",
    "energy-quantization",
    "mass",
    "potential-energy",
    "hamiltonian-operator",
    "planck-constant",
    "zero-point-energy",
    "uncertainty-principle",
    "electron",
    "quantum-harmonic-oscillator",
    "born-rule",
    "expected-value",
    "quantum-superposition",
    "momentum",
    "kinetic-energy",
    "classical-mechanics",
    "spin-angular-momentum",
    "quantum-tunneling",
    "molecular-orbital-theory",
    "spectroscopy",
    "photon",
    "pauli-exclusion-principle",
    "fermi-energy",
    "fermi-dirac-statistics",
    "statistical-mechanics",
    "perturbation-theory"
  ],
  "sources": [],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}