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).

NewSchool

Particle in a 1D Box

Launch Simulator

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

NewUniversity / research

Rectangular Barrier Tunneling

Launch Simulator

Analytic transmission T(E) vs energy for a 1D barrier; tunneling below V₀ and resonances above (ℏ = m = 1).

NewSchool

Orbital Shapes (Schematic)

Launch Simulator

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

NewUniversity / research

Anderson Localization (1D Tight-Binding)

Launch Simulator

Random onsite disorder W on a 1-D chain: diagonalize H, plot |ψ|² eigenstates, IPR vs energy, and localization length estimates (RMS and exponential fit).

NewUniversity / research

Landau Levels in a Magnetic Field

Launch Simulator

Charged particle in a uniform B-field: equally-spaced Landau ladder E_n = ℏω_c(n+½) with cyclotron frequency ω_c = qB/m, magnetic length ℓ_B = √(ℏ/qB) and orbit radius r_n = ℓ_B√(2n+1). Animated cyclotron orbit + linear-in-B fan diagram; the n_B = qB/h degeneracy underlies the quantum Hall effect.

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/2D Box: Eigenstates & Degeneracy

2D Box: Eigenstates & Degeneracy

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.

2D rectangular box

1
1
2
1

Particle in a 2-D infinite rectangular well: |ψ_{n_x,n_y}|² = (4/L_xL_y) sin²(n_xπx/L_x) sin²(n_yπy/L_y), E = (π²/2)((n_x/L_x)² + (n_y/L_y)²) (ℏ = m = 1). For a square well (L_x = L_y) the swap (n_x, n_y) ↔ (n_y, n_x) gives an exact two-fold accidental degeneracy whenever n_x ≠ n_y; deforming the box to a rectangle splits the doublets — a clean introduction to symmetry-induced degeneracy.

Measured values

E_{2,1}24.6740
Degeneracy at this E2×
Aspect L_x/L_y1.000
Ground E_{1,1}9.8696

About this model

A particle in a two-dimensional rectangular infinite well has product eigenstates ψ_{n_x,n_y} ∝ sin(n_x π x / L_x) sin(n_y π y / L_y) with energies E ∝ (n_x/L_x)² + (n_y/L_y)². When the box is square (L_x = L_y), states (n_x, n_y) and (n_y, n_x) share the same energy for n_x ≠ n_y — accidental degeneracy from the extra symmetry. Deforming the rectangle splits those doublets. The model is the ideal infinite-wall Hamiltonian: no finite barriers, no interactions, and no spin. You toggle square versus rectangular aspect ratio and select quantum numbers to see nodal patterns and the lifting of degeneracy as the box is stretched.

Who it's for: Undergraduate quantum mechanics courses on multidimensional wells, separation of variables, and degeneracy.

Key terms

  • Particle in a 2D box
  • Energy degeneracy
  • Separation of variables
  • Quantum numbers
  • Infinite well
  • Nodal pattern

How it works

2-D infinite square well: explore the eigenstates ψ_{n_x,n_y} with the energy ladder E ∝ (n_x/L_x)² + (n_y/L_y)². Toggle a square box (L_x = L_y) to see the (n_x, n_y) ↔ (n_y, n_x) accidental degeneracy and the colormap of |ψ|² for each level.

Frequently asked questions

Why are (2,1) and (1,2) degenerate only in a square?
E ∝ n_x²/L_x² + n_y²/L_y². If L_x = L_y, swapping n_x ↔ n_y leaves E unchanged. If L_x ≠ L_y, the weights differ and the levels split. The degeneracy is ‘accidental’ relative to a generic rectangle; it reflects the square’s higher symmetry.
Is the ground state ever degenerate here?
No. The ground state is uniquely (n_x, n_y) = (1,1). Degeneracy in this model appears only among excited pairs that can be swapped when L_x = L_y. Confusing ground-state uniqueness with excited-state doublets is a common mistake.
Do the wavefunctions mix when levels split?
For a pure rectangular infinite well the Hamiltonian still separates in x and y, so eigenstates remain product sines even after the aspect ratio changes; only the energies move. Mixing would require a perturbation that couples different (n_x, n_y) labels.