Skip to main content
Independent physics publication and study library. Read the editorial policy and explore the journal.
⚛
PhysicsTheories.com
Home Theories Formulas Astrophysics Quantum Theoretical Quiz Timeline Glossary All Topics Research Explained Deep Dives Exam Prep Simulations MCAT GRE
Home › Articles › Particle-in-a-Box Solutions
Quantum Physics 🕑 4 min read

Particle-in-a-Box Solutions

A source-backed guide to the particle-in-a-box: the simplest quantum problem, exact solutions, energy quantization, and applications to quantum dots and confined systems.

F
Frank Urena • PhD
Last updated: May 21, 2026

Contents

  1. Introduction
  2. The Setup
  3. The Solutions
  4. Properties
  5. 3D Box
  6. Finite Wells
  7. Applications
  8. Misconceptions
  9. FAQ
  10. Sources

Introduction

The particle-in-a-box is the simplest non-trivial problem in quantum mechanics with an exact analytic solution. A particle is confined to a region by infinitely high potential walls; inside the box, it moves freely. The simplicity makes it the standard pedagogical example for introducing quantization, boundary conditions, and basic quantum behavior.

Despite its simplicity, the particle-in-a-box is a useful model for real systems: quantum dots, conjugated organic molecules, electrons in metals (to first approximation), and various confined quantum systems. This article walks through the standard problem and its solutions.


The Setup

A particle of mass m is confined to a region 0 ≤ x ≤ L by infinite potentials elsewhere:

V(x) = 0 for 0 ≤ x ≤ L, V(x) = ∞ otherwise

Inside the box, the Schrödinger equation is:

−(ℏ²/2m) d²ψ/dx² = Eψ

Outside the box, ψ = 0 (the wave function cannot exist in an infinite potential). Boundary conditions: ψ(0) = ψ(L) = 0 [1].


The Solutions

The general solution inside the box is ψ(x) = A sin(kx) + B cos(kx) with k² = 2mE/ℏ². Boundary conditions: ψ(0) = 0 forces B = 0. ψ(L) = 0 forces sin(kL) = 0, i.e., kL = nπ for integer n.

Energy Levels

En = n²π²ℏ²/(2mL²), n = 1, 2, 3, ...

Energy is quantized; only specific values are allowed. The minimum energy E₁ = π²ℏ²/(2mL²) is the zero-point energy — a consequence of uncertainty.

Wave Functions

ψn(x) = √(2/L) sin(nπx/L)

The normalization √(2/L) ensures ∫|ψ|²dx = 1 over the box.


Properties

  • Discrete spectrum: Energies labeled by quantum number n.
  • Zero-point energy: E₁ ≠ 0; particle cannot be at rest in a box.
  • Energy scaling: E ∝ n²/L². Doubling the box width quarters the energies.
  • Nodes: ψn has n−1 nodes inside the box.
  • Orthogonality: ⟨ψm|ψn⟩ = δmn.
  • Completeness: Any function on [0, L] vanishing at boundaries can be expanded in the ψn basis (Fourier sine series).

Expectation Values

⟨x⟩ = L/2 (centered).
⟨p⟩ = 0 (no net momentum).
⟨x²⟩ = L²[1/3 − 1/(2n²π²)].
⟨p²⟩ = (nπℏ/L)² = 2mEn.

Heisenberg product: σxσp ≥ ℏ/2, saturated at large n.


3D Box

In three dimensions with box dimensions Lx, Ly, Lz:

E = (π²ℏ²/2m)[nx²/Lx² + ny²/Ly² + nz²/Lz²]

ψ(x,y,z) = √(8/V) sin(nxπx/Lx) sin(nyπy/Ly) sin(nzπz/Lz) where V = LxLyLz.

For a cubic box (Lx = Ly = Lz = L), many states share the same energy — accidental degeneracy from the box's symmetry.


Finite Wells

For finite potential walls of height V₀, the wave function can extend slightly beyond the boundaries via tunneling. The energy levels are no longer simple quadratic in n; they're roots of transcendental equations involving the well depth and width.

Key features of finite wells:

  • A finite number of bound states (depends on V₀L²).
  • Bound-state energies below V₀; continuous spectrum above.
  • Wave functions have exponentially decaying tails outside the well.
  • At least one bound state for any positive depth (in 1D).

Applications

Quantum Dots

Semiconductor nanostructures confine electrons to small volumes. Their electronic spectra resemble particle-in-a-box energy levels. Quantum dots are used in displays, solar cells, biological imaging, and quantum computing [2].

Conjugated Molecules

The π electrons in dyes and conjugated polymers are approximately free along the molecular chain. The particle-in-a-box predicts absorption wavelengths in surprisingly good agreement with experiment for simple dyes like β-carotene.

Free Electron Model of Metals

Conduction electrons in metals are approximately free particles in a "box" the size of the metal. The 3D-box solutions, filled according to Pauli exclusion, give the free-electron model of metals — basis of Sommerfeld theory of metals [3].

Nuclear Shell Model

Nucleons in nuclei behave approximately as particles in a 3D well. The shell structure of nuclear physics builds on this approximation.


Common Misconceptions

"The particle bounces off the walls"

Classical picture, not the quantum reality. The particle is described by a standing wave, not a particle bouncing back and forth.

"Inside the box, the particle is free"

Free in terms of zero potential energy, but it's still confined and quantized. The boundaries are essential.

"The walls do work on the particle"

In the idealization (infinite walls), no work is done; energy is exactly En for each state. For finite walls, tunneling can mix states.

"Particle-in-a-box is too simple to be useful"

Quantum dots, conjugated molecules, and metals are described approximately by box-like models. The math is simple; the conceptual usefulness is enormous.


FAQ

Can the particle have zero energy?

No — confining it requires zero-point energy of order ℏ²/(mL²). Tighter confinement gives higher minimum energy.

Why are walls "infinite"?

Idealization for tractability. Real walls are finite. Infinite walls give the simplest exact solutions and are good approximations when V₀ ≫ E.

How does the box compare to the harmonic oscillator?

Box: E ∝ n²/L². Oscillator: E ∝ (n + ½)ℏω. Both have discrete spectra and quantized states, but the level structure differs.

Is the particle-in-a-box realistic?

As a teaching tool, very useful. As a model for real quantum confinement, surprisingly accurate in many systems. Quantum dots provide a clean experimental realization.


Sources

  1. Griffiths, D. J. (2018). Introduction to Quantum Mechanics, 3rd ed.
  2. Alivisatos, A. P. (1996). "Semiconductor clusters, nanocrystals, and quantum dots." Science, 271(5251), 933–937.
  3. Ashcroft, N. W., Mermin, N. D. (1976). Solid State Physics. Holt, Rinehart and Winston.
  4. Cohen-Tannoudji, C., Diu, B., Laloë, F. (1977). Quantum Mechanics. Wiley.
PhysicsTheories.com

A content-rich physics publication designed for self-study, revision, and intellectually curious browsing.

Study

  • Search
  • Top 20 theories
  • Formula library
  • Study paths
  • Interactive quiz

Explore

  • Astrophysics
  • Quantum mechanics
  • Theoretical physics
  • Physics journal

Trust

  • About
  • Editorial policy
  • Advertising disclosure
  • Privacy policy
© 2026 PhysicsTheories.com — published by Gnostic Vampire Media LLC. All rights reserved. Contact · Terms · Medical disclaimer