Waves & Interference
Explore wave frequency, wavelength and interference interactively — adjust two coherent sources' amplitude and phase difference and see the real superposed waveform and interference classification recompute live.
How it works
A wave's speed, frequency and wavelength are linked: the faster the wave or the lower its frequency, the longer the wavelength. When two waves of the same frequency meet, they add together; whether they reinforce or cancel depends on how far out of step (the phase difference) they are.
What you will learn
After using this simulation you should be able to:
- Use v = f·λ to connect a wave's speed, frequency and wavelength.
- Explain constructive and destructive interference using the phase difference.
- Predict how big the combined wave will be.
Equations
- v = f·λ
- Wave speed equals frequency times wavelength.
- T = 1 / f
- The period is the time for one complete cycle.
- A = √(A₁² + A₂² + 2·A₁·A₂·cos Δφ)
- Amplitude of two same-frequency waves added together with phase difference Δφ.
What the model assumes
- Both sources have exactly the same frequency and a fixed phase difference (they are coherent).
- The waves simply add (superposition); the medium responds in the same way to small and large waves.
- The amplitude is measured at one point, so the phase difference already includes any difference in path length.
- Amplitude is in arbitrary units: metres for a water wave, pascals for sound, and so on.
Where it stops being right
- The animation runs at one fixed, watchable speed whatever the real frequency; the numbers use the real frequency.
- Real sources spread out and get weaker with distance; this model ignores that.
- Waves of different frequencies produce beats rather than a steady pattern; that case is not modelled.
Sources
- National Physical Laboratory (UK): speed of sound in air at 20 °C
- SI Brochure: definition of the metre (speed of light)
Loading the Waves & Interference explorer…
Using this simulation
How to use it
- Start with a preset to see a real example, then change one control at a time and watch which results change.
- Drag a slider to explore, or type an exact number in the box next to it.
- The results under the picture update straight away. Open “Show the data as a table” to see them laid out side by side.
- When you find something interesting, use “Copy shareable link” to send exactly those settings to someone else.
Things to try
- Set the phase difference to 180° with equal amplitudes. The waves cancel completely: the resultant amplitude is 0.
- Make one amplitude 1 and the other 0.5 and keep 180°. They only partly cancel, leaving a wave of size 0.5.
- Choose “The same note in water”. The frequency stays 440 Hz, but the wavelength is about 4.3 times longer, because sound travels faster in water.
- Double the frequency. The wavelength halves.
The controls
- Frequency
- How many waves pass each second, in hertz (Hz).
- Wave speed in the medium
- How fast the wave travels through the material it is in, in metres per second (m/s).
- Source 1 amplitude
- The size of the first wave. It has no unit here: only its size compared with the other wave matters.
- Source 2 amplitude
- The size of the second wave, on the same scale.
- Phase difference
- How far out of step the two waves are, in degrees: 0° is in step, 180° is half a cycle apart.
- Pause animation
- Stops and restarts the moving waves.
- Preset
- Loads a ready-made, real-world example. The sentence under it says what the example shows.
- Reset to default
- Puts every control back to the first preset.
- Exact value boxes
- Each slider has a box for typing a precise number. A value outside the allowed range is refused with a message, never quietly changed.
- Show the data as a table
- Opens the same results as a table.
- Copy shareable link
- Copies a link that opens the simulation with exactly these settings. The link holds only the settings, nothing about you.
The readings
- Wavelength
- The distance from one peak to the next.
- Period
- The time for one complete wave to pass.
- Resultant amplitude
- The size of the combined wave.
- Interference
- Whether the waves add up, cancel, or something in between.
Accessibility
- The animation always runs at the same slow pace, whatever the real frequency; dashed lines are the two source waves and the solid line is their sum.
- Every slider works with the keyboard: arrow keys for small steps, Page Up and Page Down for big ones, Home and End for the limits.
- Every result is written out as text and announced by screen readers as it changes, and the data table holds the same numbers.
- If your device asks for reduced motion, a still diagram is shown instead of the animation; otherwise the animation can be paused at any time.