Wave-Particle Duality Simulator Back
Quantum Mechanics

Wave-Particle Duality Simulator

Calculate de Broglie wavelength from particle mass and velocity, visualize double-slit interference patterns and even compute electron-microscope resolution — experience the quantum strangeness of matter waves.

Particle Presets

Particle Parameters

Mass m (log₁₀ kg)
Velocity v (m/s, log₁₀)

Double-Slit Setup

Slit Spacing d (nm)
nm
Screen Distance L (mm)
mm
de Broglie Wavelength λ
m
Results
Momentum p
Kinetic Energy
Fringe Spacing Δy
v/c Ratio
Interference
Mass
Wave
Theory & Key Formulas
\(\lambda = \dfrac{h}{p} = \dfrac{h}{mv}\)

\(h = 6.626 \times 10^{-34}\) J·s
Fringe spacing: \(\Delta y = \dfrac{\lambda L}{d}\)

Photon wavelength: \(\lambda = hc/E\), \(c = 3 \times 10^8\) m/s

🎓 Learn Wave-Particle Duality Through Dialogue

🙋
When people say an electron is both a wave and a particle, I struggle to picture it. A wave should spread out, while a particle should be point-like. Which one is it?
🎓
The trap is trying to force it into a classical "wave" or "particle" category. An electron is a quantum object. While it propagates, its wavefunction spreads and can interfere; when it is detected, it appears at one point. Even if electrons are sent through a double slit one at a time, many detections build an interference pattern. That is the observed reality.
🙋
The de Broglie relation λ=h/mv means a faster particle has a shorter wavelength. So if we accelerate electrons, can we make the wavelength shorter? Is that what electron microscopes use?
🎓
Exactly. A transmission electron microscope accelerates electrons at roughly 100-300 kV. A 100 kV electron has a wavelength of about 3.7 pm, more than 100,000 times shorter than visible light around 500 nm. Since the resolution scale is tied to wavelength, this is short enough to resolve interatomic distances of about 0.1-0.3 nm. Select "Electron 100 keV" and check the numbers.
🙋
So does a baseball also have a de Broglie wavelength? I have never heard of a baseball producing interference.
🎓
In principle, yes. But for a baseball of 145 g moving at 30 m/s, λ is about 1.5×10⁻³⁴ m. That is near the Planck-length scale and vastly smaller than a proton. You cannot physically build slits for interference at that scale, and interaction with the environment causes decoherence almost instantly. That is why macroscopic objects look classical.
🙋
How does this connect to CAE or materials engineering? Does quantum mechanics show up in practical work?
🎓
It is central in materials simulation. First-principles calculations such as DFT solve electron wavefunctions to predict lattice constants, elastic constants, electrical resistance, and magnetic properties. Many material databases used in CAE are supported by DFT calculations. Semiconductor-device simulation, including quantum tunneling current in MOSFETs, is another area where wave behavior is essential.

Frequently Asked Questions

How was it confirmed that electrons have wave-like properties?
In 1927, Davisson and Germer fired electrons at a nickel crystal and observed a diffraction pattern, confirming de Broglie's prediction. Thomson independently verified it the same year. Today, even when electrons are fired one by one in a double-slit experiment, an interference pattern emerges after thousands accumulate, directly proving the wave nature of a single electron.
In the double-slit experiment with electrons, why does the interference pattern disappear when we observe which slit the electron goes through?
Observation always involves an interaction between the electron and something else (a photon, an electric field, etc.). This interaction entangles the electron's wavefunction, breaking the superposition state (the state of passing through both slits). This is called quantum decoherence. As soon as information about 'which path' leaks into the environment, interference disappears.
Why can an electron microscope see atoms?
The resolution limit depends on the wavelength of the probe (Abbe diffraction limit). Visible light (400–700 nm) can never resolve atoms (diameter ≈ 0.1–0.5 nm). A transmission electron microscope (TEM) accelerates electrons to 200–300 kV, reducing the de Broglie wavelength to a few picometers, easily resolving interatomic distances (0.1–0.3 nm). With a spherical aberration corrector (Cs corrector), resolution drops below 50 pm.
Do relativistic effects affect the de Broglie wavelength?
When electrons are accelerated to high energies (tens of keV or more), their speed approaches the speed of light, requiring relativistic corrections. The relativistic momentum is \(p = \gamma m_0 v\) (where \(\gamma\) is the Lorentz factor), resulting in a shorter wavelength than non-relativistic calculations. At 200 kV in a TEM, electrons reach about 70% of the speed of light, and the relativistic correction introduces a difference of about 3%.
How are first-principles calculations (DFT) related to the de Broglie wavelength?
DFT (density functional theory) self-consistently solves for the electron wavefunctions (Kohn-Sham orbitals) in a material. The de Broglie wavelength of electrons is often comparable to the material's lattice constant (0.1–0.5 nm), and resonance/scattering with the lattice determines electrical resistivity, thermal conductivity, and magnetism. A significant portion of the structural material data (elastic constants, thermal expansion coefficients) used in CAE is supplied by DFT calculations.

What is Wave-Particle Duality?

Wave-Particle Duality is a fundamental topic in engineering and applied physics. This interactive simulator lets you explore the key behaviors and relationships by directly manipulating parameters and observing real-time results.

By combining numerical computation with visual feedback, the simulator bridges the gap between abstract theory and physical intuition — making it an effective learning tool for students and a rapid-verification tool for practicing engineers.

Physical Model & Key Equations

The simulator is based on de Broglie's relation and the double-slit fringe-spacing approximation. Understanding these equations is key to interpreting the results correctly.

$$\lambda = \frac{h}{p} = \frac{h}{mv}, \quad \Delta y = \frac{\lambda L}{d}$$

Each parameter in the equations corresponds to a slider in the control panel. Moving a slider changes the equation's solution in real time, helping you build a direct connection between mathematical expressions and physical behavior.

Real-World Applications

Engineering Design: Wave-particle duality underpins electron microscopy, semiconductor devices, and materials simulation. This tool provides a quick way to estimate scales and sensitivity before committing to detailed quantum or CAE analysis.

Education & Research: Widely used in engineering curricula to connect theory with numerical computation. Also serves as a first-pass validation tool in research settings.

CAE Workflow Integration: Before running finite element (FEM) or computational fluid dynamics (CFD) simulations, engineers use simplified models like this to establish physical scale, identify dominant parameters, and define realistic boundary conditions.

Common Misconceptions and Points of Caution

Model assumptions: The mathematical model used here relies on simplifying assumptions such as linearity, homogeneity, and isotropy. Always verify that your real system satisfies these assumptions before applying results directly to design decisions.

Units and scale: Many calculation errors arise from unit conversion mistakes or order-of-magnitude errors. Pay close attention to the units shown next to each parameter input.

Validating results: Always sanity-check simulator output against physical intuition or hand calculations. If a result seems unexpected, review your input parameters or verify with an independent method.

How to Use

  1. Set particle mass using mass-slider (range: 9.1e-31 kg for electrons to 1.67e-27 kg for protons)
  2. Adjust velocity with vel-slider (1e6 to 1e8 m/s); simulator auto-calculates de Broglie wavelength λ = h/(mv)
  3. Configure double-slit separation dslit-slider (50–500 nm) and screen distance lscreen-val (0.1–1.0 m) to observe interference fringe spacing Δy = λL/d

Worked Example

Electron beam: mass = 9.1e-31 kg, velocity = 5e6 m/s yields λ = 6.626e-34/(9.1e-31 × 5e6) = 0.145 nm. With double-slit separation d = 200 nm and screen distance L = 0.5 m, fringe spacing = (0.145e-9 × 0.5)/(200e-9) = 0.36 mm. In electron microscopy, reducing wavelength to 0.1 nm (higher velocity) improves resolution to sub-Ångström scales, enabling atomic-level imaging in transmission electron microscopes.

Practical Notes

  1. Electron wavelengths below 0.1 nm require relativistic corrections (v approaching 0.1c); non-relativistic λ = h/(mv) underestimates at >5e7 m/s
  2. Double-slit fringe visibility degrades if dslit-val exceeds wavelength significantly; use dslit < 1000λ for clear quantum effects
  3. Screen distance must be ≥ 100×dslit to satisfy far-field Fraunhofer diffraction approximation; near-field patterns require Fresnel analysis