DEV Community

Surendra Singh Kamboj
Surendra Singh Kamboj

Posted on AI-assisted

De Broglie wavelength: why a 10,000 V electron beam has a shorter wavelength than visible light, in JavaScript

De Broglie proposed that every moving particle has a wavelength, not just photons — and for an electron accelerated through a voltage you use in a lab, that wavelength turns out to be far shorter than visible light, which is exactly why electron microscopes can resolve details light microscopes cannot.

The formula

An electron starting from rest and accelerated through potential difference V gains kinetic energy qV, so:

½ m v² = qV → v = √(2qV/m)

and its de Broglie wavelength is:

λ = h / (m v) = h / √(2 m q V)

Checked in JavaScript

const h = 6.626e-34, m = 9.11e-31, q = 1.6e-19;

function deBroglie(V) {
  return h / Math.sqrt(2 * m * q * V);
}

for (const V of [54, 100, 10000]) {
  console.log(V, (deBroglie(V) * 1e12).toFixed(2));
}
// 54     167.00  pm
// 100    122.72  pm
// 10000   12.27  pm
Enter fullscreen mode Exit fullscreen mode

At just 54 V (the voltage Davisson and Germer used in 1927 to first confirm electron diffraction), the wavelength is 167 pm — already shorter than X-rays from some targets. Push the voltage to 10,000 V, typical of an electron microscope, and the wavelength drops to 12.27 pm, about 40,000 times shorter than visible light (400–700 nm), which is the entire reason electron microscopes can resolve individual atoms while optical microscopes cannot.

Why higher voltage means shorter wavelength

λ is inversely proportional to √V, not to V itself — so quadrupling the voltage only halves the wavelength. Davisson-Germer's 54 V to a microscope's 10,000 V is a roughly 185x jump in voltage, but only a 13.6x drop in wavelength (√185 ≈ 13.6), matching the formula exactly.

Common mistake

A common slip is using the relativistic momentum formula for a problem the course meant to be solved non-relativistically, or forgetting that λ needs the particle's momentum (mv), not its energy, in the denominator — getting v from energy first (as this derivation does) keeps the two steps separate and easy to check.

Practise it online

PractiSci's Davisson-Germer lab recreates the original electron-diffraction experiment and lets you change the accelerating voltage to watch the de Broglie wavelength shift: Davisson-Germer experiment lab. The Ray Optics topic guide and practicals cover wave-particle duality in more depth.

Full disclosure: I build PractiSci, a free virtual physics and chemistry lab for Class 11–12.

Top comments (1)

Collapse
 
userxnom profile image
Abdullah Naseer •

This is a lovely way to make the square-root scaling click — the 54 V to 10,000 V jump being 185x in voltage but only 13.6x in wavelength is the kind of concrete check I wish more textbook derivations included. The 12.27 pm result at 10,000 V also makes the electron microscope point land properly: it is not just 'shorter wavelength,' it is about 40,000 times shorter than visible light. One thing I would love to see next: at what voltage does the non-relativistic formula start to drift noticeably from the relativistic one, and would you add that as a fourth row in the same snippet?