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

More from Chemistry

Other simulators in this category — or see all 65.

View category →
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.

NewSchool

Maxwell–Boltzmann vs Eₐ

Launch Simulator

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

NewSchool

Water P–T Phase Diagram

Launch Simulator

Qualitative fusion, sublimation, vapor pressure up to critical point — probe labeled regions (pedagogical curves).

NewSchool

Binary Phase Diagram & Lever Rule

Launch Simulator

Isomorphous A–B T–x diagram: liquidus, solidus, tie line, and lever-rule phase fractions f_α and f_L for overall composition C₀.

NewSchool

Diffusion Couple (Fick's Second Law)

Launch Simulator

Infinite A|B diffusion couple: error-function concentration profiles, diffusivity D, time t, and diffusion length 2√(Dt).

NewSchool

Adsorption Isotherms

Launch Simulator

Langmuir, Freundlich, and BET isotherms: surface coverage, monolayer capacity n_m, and multilayer rise near P₀.

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.