Wave Superposition, Interference, and Diffraction — The Complete Physics Guide
Wave Interference renders a genuine 2D interference field, pixel by pixel, in real time — every point on screen shows the true mathematical superposition of every wave source you've placed. Drag sources around and watch the resulting pattern of bright and dark bands reshape itself instantly, exactly as it would for real water ripples, sound waves, or light. This is the same wave physics behind everything from noise-cancelling headphones to the double-slit experiment that first proved light behaves as a wave.
The Superposition Principle
When two or more waves overlap at the same point in space, the total displacement is simply the algebraic sum of each individual wave's displacement: y_total = y₁ + y₂ + … This is the superposition principle, and it holds exactly for any linear wave — water ripples, sound, and light all obey it, which is precisely why this game's live-calculated interference field is physically accurate rather than a stylised approximation.
When two waves arrive at a point exactly in phase — their path lengths differing by a whole number of wavelengths, Δr = nλ — their amplitudes add directly: A_total = A₁ + A₂. Since wave intensity is proportional to amplitude squared, two equal-amplitude waves arriving in phase produce four times the intensity of either wave alone, not merely double.
When the same two waves instead arrive exactly out of phase — path lengths differing by a half-integer number of wavelengths, Δr = (n + ½)λ — their amplitudes cancel completely, producing darkness or silence at that point. Crucially, this doesn't destroy energy; conservation of energy still holds overall. The energy that would have appeared at that point is instead redistributed into the neighbouring bright regions, which end up brighter than either source would produce alone.
Young's Double-Slit Experiment
Thomas Young's 1801 double-slit experiment is one of the most historically important results in all of physics. Light passing through two closely-spaced slits produces, on a distant screen, an alternating pattern of bright and dark fringes — direct visual proof that light behaves as a wave, since only waves can interfere with each other in this way.
The spacing of the bright fringes follows y = λD/d, where λ is the wavelength, D is the distance from the slits to the screen, and d is the separation between the two slits. Bright fringes occur wherever d sinθ = nλ (constructive interference); dark fringes occur wherever d sinθ = (n + ½)λ (destructive interference). Widening the slit separation d produces narrower, more closely-packed fringes; using longer-wavelength light produces wider, more widely-spaced ones.
The experiment becomes genuinely strange — and genuinely profound — when performed with single photons fired one at a time, so rarely that only one photon is ever in the apparatus at once. Astonishingly, the same interference pattern still builds up gradually, photon by photon, on the screen. Each individual photon somehow behaves as though it passes through both slits simultaneously and interferes with itself — one of the clearest experimental demonstrations of wave-particle duality in all of physics.
Diffraction and Huygens' Principle
In 1678, Christiaan Huygens proposed a remarkably productive way of thinking about wave propagation: every point on an existing wavefront can be treated as a source of tiny secondary wavelets, and the new wavefront a moment later is simply the envelope — the overall boundary — of all those wavelets combined. This single idea explains diffraction: the tendency of waves to bend around obstacles and spread out after passing through narrow openings.
Diffraction becomes most pronounced when an obstacle or aperture is comparable in size to the wavelength itself. For a single slit of width a, the diffraction pattern's intensity minima occur at sin θ = mλ/a, with the first minimum at θ₁ ≈ λ/a for small angles — meaning narrower slits (relative to wavelength) produce wider, more obvious diffraction spreading.
Diffraction fundamentally limits the resolving power of every optical instrument ever built, from the human eye to the largest telescopes on Earth. The Rayleigh criterion, θ_min = 1.22λ/D (where D is the instrument's aperture diameter), sets the smallest angular detail any lens or mirror can resolve — which is exactly why electron microscopes, using electrons with an extremely short de Broglie wavelength of roughly one picometre, can resolve individual atoms in a way no visible-light microscope ever could.
Standing Waves
When two waves of equal frequency and amplitude travel in opposite directions along the same medium — for instance, a wave and its own reflection — they combine to form a standing wave: y = 2A cos(kx) sin(ωt). Unlike a normal travelling wave, a standing wave doesn't move through space at all; instead, it oscillates in place, with fixed points of zero displacement (nodes) and fixed points of maximum displacement (antinodes) that never change position.
Standing waves are the reason musical instruments produce specific, stable pitches rather than an indistinct wash of sound: a guitar string, a column of air in a wind instrument, or the head of a drum can only sustain standing-wave patterns whose wavelength fits an integer or half-integer number of times into the instrument's physical length, and each of those allowed patterns corresponds to one of the instrument's characteristic resonant notes.
Worked Example — Double-Slit Fringe Spacing
Problem: Light of wavelength 600 nm passes through two slits separated by 0.2 mm, forming a pattern on a screen 2.0 m away. Find the spacing between adjacent bright fringes.
y = λD/d = (600×10⁻⁹ × 2.0) / (0.2×10⁻³)
y = (1.2×10⁻⁶) / (2×10⁻⁴) = 6.0 mm between adjacent bright fringes.
Real-World Applications
Noise-cancelling headphones: These generate a sound wave that is precisely the inverse of incoming ambient noise, so that when the two combine at your eardrum, they interfere destructively and largely cancel out — a direct, deliberate engineering application of destructive interference operating in real time.
Anti-reflective coatings: Camera lenses and eyeglasses are coated with thin films precisely calculated so that light reflecting off the top and bottom of the coating interferes destructively, cancelling the reflection and letting more light pass through to form a brighter, clearer image.
Radio telescope arrays: Multiple radio telescopes spread across a continent (or, in the case of the Event Horizon Telescope, the entire planet) can be combined using interferometry to achieve the angular resolution of a single telescope as large as the distance between them — the same Rayleigh-criterion physics that limits a single lens, exploited constructively across an array.
Ultrasound and medical imaging: Phased-array ultrasound probes steer and focus their beams by deliberately controlling the relative phase of many small transmitting elements, using constructive interference to concentrate sound energy at a chosen focal point inside the body — letting a single flat probe scan an entire cross-section without any moving parts.