Wave interference and diffraction
PhysicsOscillations & WavesAges 16–17Virtual lab
How do you mainly use this simulation?
Use it with your class: students open it from a link or a QR code, with no account needed.
Seven screens: a single source where you measure amplitude, frequency and wavelength; two coherent sources producing a hyperbolic interference pattern, where touching the wave field shows the path difference and the order of the fringe; Young's single and double slits with an intensity graph on the screen; and diffraction through a narrow slit or a circular aperture. The pattern is computed by superposing coherent circular waves using Huygens' principle, not drawn from a ready-made picture. The Grating screen sends laser light, sodium, mercury or hydrogen lamp light or white light through a diffraction grating, showing sharp maxima at d sin θ = nλ, the highest order and overlapping spectra; as a virtual practical, students measure the order angles with a spectrometer or the spot positions on a screen, record them in a results table and determine the wavelength λ or the slit spacing d. The Ultrasound screen is a virtual practical: a 40 kHz emitter (λ ≈ 8.5 mm in air) sends ultrasound through an adjustable slit, a receiver moved on an arc records amplitude against angle, and the first minimum at sin θ₁ = λ/a is compared for several slit widths, beside water waves in a ripple tank. Adapted from the "Wave Interference" simulation by PhET Interactive Simulations, University of Colorado Boulder (CC BY 4.0); rewritten. Adapted from the "Waves Intro" simulation by PhET Interactive Simulations, University of Colorado Boulder (CC BY 4.0); rewritten. The Huygens construction screen shows how secondary wavelets build the refracted or reflected wavefront at a boundary: the tangent from B′ to the wavelet from A gives sin i / sin r = v₁/v₂ = n₂/n₁ for air, water and glass, and equal angles for reflection.
Lesson: Wave interference; Diffraction; Describing waves; Diffraction grating; Huygens' principle: reflection and refraction
What it shows
Waves of the same frequency that overlap add up by superposition: crests meeting crests give maxima, crests meeting troughs give minima. Here a single source, two coherent sources, Young's slits and diffraction through a slit or a hole are computed from Huygens' principle. The Grating screen extends this to many equally spaced slits: the maxima become very sharp and obey d sin θ = nλ, so a grating can measure wavelengths. Lamp lines are standard values; line brightness and the fading of orders with angle are illustrative, and the field is a 2D model of real 3D waves. The Ultrasound screen measures single-slit diffraction of 40 kHz sound (λ ≈ 8.5 mm): the first minimum is at sin θ₁ = λ/a. The Huygens construction screen applies the same principle at a boundary: wavelets that grow more slowly in the second medium tilt the wavefront, giving sin i / sin r = v₁/v₂ = n₂/n₁, and wavelets that grow back into the first medium give equal angles of reflection.
How to use
Choose a screen tab. On Source, Interference, Young's slits and Diffraction, move the sliders and touch the wave field to read path differences and fringe spacings. On Grating, pick a light source, set Lines per mm N and the measuring method, then drag the telescope or the cursor, use ◀ ▶ to line up with a line and press Record reading on both sides. Tick Measurement errors or Hide the answer for a practical. On Ultrasound, set Slit width a, move the receiver (drag it, or use Receiver angle θ or ±0.5°), press Record reading or Automatic scan, then Record first minimum for several widths. On Huygens construction, choose Refraction or Reflection, the Media and the Angle of incidence i, watch the wavelets build the new wavefront, then press Record angles.
Parameters you can change
- Screen Source, Interference, Young's slits, Diffraction, Grating, Ultrasound, Huygens construction
- Medium (Source) Water, Sound, Light
- Frequency f (Source) 0.4–2 Hz
- Amplitude A (Source) 0.3–1.5 cm
- Wavelength λ (Interference) 1–6 cm
- Source separation d (Interference) 2–14 cm
- Number of slits (Young's slits) 1 slit, 2 slits
- Slit width a 0.2–1 cm
- Slit separation d 2–8 cm
- Wavelength λ (Young's slits) 0.3–1.2 cm
- Slit–screen distance D 15–40 cm
- Aperture (Diffraction) Narrow slit, Circular hole
- Slit width b 1–4 cm
- Hole diameter 1–3 cm
- Wavelength λ (Diffraction) 0.3–0.8 cm
- Aperture–screen distance D 15–30 cm
- Show cross-section graph (Source)
- Show rulers (Source)
- Show timer (Source)
- Light source (Grating) Laser, Sodium lamp, Mercury lamp, Hydrogen tube, White light
- Laser wavelength λ (Grating) 400–700 nm
- Lines per mm N (Grating) 50–1200 mm⁻¹
- Measuring method (Grating) Spectrometer, Screen and metre rule
- Grating–screen distance D 0.5–2 m
- Quantity to find (Grating) Wavelength λ (d known), Slit spacing d (λ known)
- Hide the answer (Grating)
- Measurement errors (Grating)
- Slits lit in the graph (Grating) 2–40
- Compare with a double slit (Grating)
- Slit width a (Ultrasound) 10–40 mm
- Hide λ (Ultrasound)
- Show the ripple tank (Ultrasound)
- Construction (Huygens) Refraction, Reflection
- Media (Huygens) Air → water, Air → glass, Water → glass, Air → liquid X
- Angle of incidence i (Huygens) 5–80 °
Questions to explore
- Why does adding more slits make the maxima sharper but leave their positions unchanged?
- How many orders can a grating with 600 lines per mm give for red light of 650 nm?
- Why does averaging the readings on both sides of the central maximum remove a zero error?
- Why does the wavefront bend towards the normal when it enters a medium where waves are slower?
Teaching ideas
All guides- Electron Diffraction Virtual Lab: de Broglie WavelengthAn electron diffraction virtual lab: change the tube voltage, measure the graphite rings, plot D against 1/√V and find the atomic spacing from λ = h/√(2meV).
- Diffraction Grating Virtual Lab: Measuring a WavelengthA diffraction grating virtual lab: measure order angles on both sides with a spectrometer, plot sin θ against n and find a laser's wavelength from d sin θ = nλ.