PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

Related simulators

Continue with similar topics in this category — or all 65 in Chemistry.

View category →
NewUniversity / research

Quantum Well Eigenstates (Box & HO)

Launch Simulator

Stationary ψ_n and |ψ_n|² for infinite square well or harmonic oscillator; optional phase animation (ℏ = 1).

NewUniversity / research

Hydrogen |ψ|² (xz slice)

Launch Simulator

Coulomb hydrogen Z=1: |R_nl|² × |Y_lm|² colormap in the xz plane for textbook n,l states.

NewSchool

Orbital Shapes (Schematic)

Launch Simulator

2D |ψ|² colormap for s-, p-, and d-like angular patterns (pedagogical, not HF).

NewUniversity / research

2D Box: Eigenstates & Degeneracy

Launch Simulator

Particle in a 2-D rectangular infinite well: ψ_{n_x,n_y} ∝ sin(n_xπx/L_x)sin(n_yπy/L_y), E ∝ (n_x/L_x)² + (n_y/L_y)². Toggle a square box (L_x = L_y) to expose the (n_x, n_y) ↔ (n_y, n_x) accidental degeneracy and watch the doublets split as the box deforms.

NewSchool

Maxwell–Boltzmann vs Eₐ

Launch Simulator

Translational energy density f(E); shaded fraction above activation energy; compare Arrhenius exp(−Eₐ/RT).

NewSchool

Reaction Rate

Launch Simulator

Arrhenius k(T), order 0/1/2, [A](t) curves and particle tank.

PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Chemistry/Particle in a 1D Box

Particle in a 1D Box

Superposition of n=1 and n=2: time evolution of |Ψ|² and ⟨E⟩ (model units).

Superposition n=1,2

0.75
0.55
1×

Stationary states ψ_n ∝ sin(nπx/L) with E_n ∝ n². A superposition Ψ = c₁ψ₁ + c₂ψ₂ beats because |Ψ|² has cross terms oscillating at frequency (E₂−E₁)/ℏ (here in model units).

Measured values

⟨E⟩ (relative units)2.049

About this model

The Particle in a 1D Box is a foundational quantum mechanical model that illustrates the wave-like nature of matter. This simulator visualizes a crucial non-stationary state: the time-dependent superposition of the ground (n=1) and first excited (n=2) energy eigenstates. The total wavefunction is Ψ(x,t) = c₁ ψ₁(x) e^{-iE₁t/ħ} + c₂ ψ₂(x) e^{-iE₂t/ħ}, where ψₙ(x) = √(2/L) sin(nπx/L) are the spatial eigenfunctions for an infinite potential well of length L, and Eₙ = n²π²ħ²/(2mL²) are the corresponding quantized energies. The simulator plots the time evolution of the probability density, |Ψ(x,t)|², which shows a sloshing motion as the relative phase between the two components changes. It also tracks the expectation value of energy, ⟨E⟩ = |c₁|²E₁ + |c₂|²E₂, which remains constant in time for this closed system, demonstrating energy conservation. Key simplifications include the infinite well walls (perfect confinement, no tunneling), a single spatial dimension, and the omission of relativistic effects. By interacting with this model, students learn to interpret superposition states, observe how interference between eigenstates leads to a dynamic probability density, and verify that while the wavefunction evolves, the energy expectation value for a superposition of stationary states is time-independent—a direct consequence of the Schrödinger equation.

Who it's for: Undergraduate students in introductory quantum mechanics or physical chemistry courses learning about wavefunctions, superposition, and time evolution.

Key terms

  • Quantum Superposition
  • Wavefunction
  • Probability Density
  • Stationary State
  • Expectation Value
  • Schrödinger Equation
  • Energy Eigenstate
  • Time Evolution

How it works

Infinite square well: discrete levels and spatial nodes. Interference between two energy eigenstates makes the probability density slosh back and forth — the quantum analog of beats.

Frequently asked questions

Why does the probability density |Ψ|² slosh back and forth, but the average energy ⟨E⟩ doesn't change?
The sloshing arises from the interference between the n=1 and n=2 states, which have different time-dependent phase factors. This changes the shape of Ψ, and thus |Ψ|², over time. However, ⟨E⟩ is a weighted average of the fixed energies E₁ and E₂. Since the weights (|c₁|² and |c₂|²) are constant, ⟨E⟩ is also constant, illustrating energy conservation for a system not interacting with its environment.
Is a particle really in two energy states at once? What does superposition mean?
Yes, in quantum mechanics, a particle can exist in a superposition of states. This doesn't mean it's sometimes in n=1 and sometimes in n=2. Rather, it is in a new, combined state described by the sum Ψ. When you measure the energy, you will collapse the system to either E₁ or E₂ with probabilities |c₁|² and |c₂|². Before measurement, the particle has no definite energy from this set; it possesses the property of the superposition state itself.
What are the main limitations of the infinite 1D box model?
The infinite walls are an idealization; real potential wells have finite height, allowing for quantum tunneling. The model is also one-dimensional and ignores other degrees of freedom (like spin) and interactions between particles. Despite these simplifications, it correctly captures core quantum concepts—quantization, wave-particle duality, and superposition—making it an essential pedagogical tool.
Does this have any connection to real-world systems?
Absolutely. While idealized, this model approximates the behavior of electrons confined in nanostructures like quantum dots or in certain organic molecules with conjugated pi-electron systems (e.g., butadiene). In these systems, electrons are effectively confined to a region of space, and their allowed energies are quantized, influencing optical and electrical properties.