Wave Interference Simulator Back
Wave Simulator

Wave Interference Simulator

Freely configure two sinusoidal waves to animate interference and superposition in real time. Visually experience constructive interference, destructive interference, beats, and standing waves.

Parameters
Presets
Wave 1 (Cyan)
Amplitude A₁
Frequency f₁
Hz
Phase φ₁
°
Wave 2 (Orange)
Amplitude A₂
Frequency f₂
Hz
Phase φ₂
°
wave Velocity v
m/s
Playback Controls
Pattern Comparison
Drag the ● Cyan / ● Orange markers on the composite wave canvas to adjust source phase.
Results
Beat Frequency [Hz]
Max Composite Amplitude
Wavelength λ₁ [m]
Wavelength λ₂ [m]
Wave 1 — y₁ = A₁ sin(k₁x − ω₁t + φ₁)
Wave 2 — y₂ = A₂ sin(k₂x − ω₂t + φ₂)
Composite Wave — y = y₁ + y₂
Theory & Key Formulas
$$y_1 = A_1\sin(k_1 x - \omega_1 t + \phi_1), \quad k_i = \frac{2\pi f_i}{v}$$ $$y_2 = A_2\sin(k_2 x - \omega_2 t + \phi_2)$$ $$y = y_1 + y_2 \quad \text{(Superposition principle)}$$

Beat frequency: $f_{beat} = |f_1 - f_2|$

Standing wave: equal-frequency waves traveling in opposite directions produce $y = 2A\cos(kx)\sin(\omega t)$

Related Tools

Acoustic Standing Wave Simulator
Animation display of standing wave modes and sound pressure distribution in ducts and rooms
Drag Coefficient and Air Resistance Calculator
Calculate drag coefficient CD based on object shape and Reynolds number
Psychrometric chart & HVAC calculator
Calculate dry-bulb temperature, wet-bulb temperature, and dew point from moist air state values
Ship Resistance and Propulsion Calculator
Calculate wave-making resistance, viscous resistance, and propulsive power using the Froude method
Sponsored by NovaSolver Partner

What is Wave Interference & Superposition?

🙋
What exactly is "superposition"? It sounds complicated, but the simulator just shows two waves adding together.
🎓
Basically, it's exactly that! The superposition principle states that when two or more waves meet, the resulting displacement is simply the sum of their individual displacements. In this simulator, the blue and red waves add up to create the green wave. Try setting both amplitudes to 1 and frequencies to the same value—you'll see a simple, bigger wave.
🙋
Wait, really? So that's what causes those crazy patterns sometimes? What happens if I make the frequencies slightly different?
🎓
Great question! That's how you create "beats." If you set, for instance, f₁=1.0 Hz and f₂=1.1 Hz in the controls, you'll hear (and see) a pulsating effect in the green wave. The beat frequency is just the absolute difference, |f₁ - f₂| = 0.1 Hz. The simulator animates this in real-time, showing how the waves periodically reinforce and cancel each other.
🙋
Okay, I see the beats! But what about "standing waves"? The FAQ mentions them. How do I make one with this tool?
🎓
A standing wave is a special interference pattern. To simulate it, set the two waves to have the same frequency and amplitude, but make them travel in opposite directions. In our simulator, both waves move right by default. To create the opposite direction, you can cleverly use the phase shift (φ). Try setting A₁=A₂=1, f₁=f₂=1, but set φ₂ to 180°. Watch the green wave—it will oscillate in place with fixed nodes and antinodes, which is the hallmark of a standing wave.

Physical Model & Key Equations

The simulator models two traveling sinusoidal waves. Each wave is defined by its amplitude, frequency, phase, and the wave speed, which together determine its shape at any point in space (x) and time (t).

$$y_1 = A_1\sin(k_1 x - \omega_1 t + \phi_1), \quad y_2 = A_2\sin(k_2 x - \omega_2 t + \phi_2)$$

Here, $A$ is the amplitude (wave height), $\phi$ is the phase shift (starting angle), and $\omega = 2\pi f$ is the angular frequency. The wavenumber $k = \frac{2\pi f}{v}$ links frequency and wave speed $v$, determining how squeezed or stretched the wave is in space.

The core principle visualized is linear superposition. The total wave at any point is the algebraic sum of the two individual waves.

$$y_{total}(x, t) = y_1(x, t) + y_2(x, t)$$

This simple addition leads to all complex phenomena: constructive interference (peaks align, $y_{total}$ is larger), destructive interference (a peak meets a trough, $y_{total}$ is smaller), beats (from slightly different frequencies), and standing waves (from waves traveling in opposite directions).

Real-World Applications

Active Noise Cancellation (ANC) Headphones: This technology relies on destructive interference. A microphone picks up ambient noise (e.g., engine hum), and the headphone generates a sound wave of the same amplitude but opposite phase (180° shift). The two waves superpose and cancel each other out at your ear, creating silence. Engineers use simulations like this to design the phase and amplitude matching.

Ultrasonic Testing & Phased Array Sensors: In non-destructive testing, arrays of ultrasonic transducers send waves into materials. By carefully controlling the phase ($\phi$) and timing of each transducer's pulse, engineers can "steer" and focus the resulting superimposed wavefront to detect cracks or flaws inside structures like pipelines or aircraft wings.

Structural Vibration & Resonance Avoidance: In CAE for buildings or car frames, engineers must analyze how vibrational waves from different sources (engines, wind) will interfere. Destructive interference is good, but constructive interference at a structure's natural frequency causes dangerous resonance. Superposition simulations help predict and redesign to avoid these conditions.

Acoustic Room Design (FEM Applications): When designing concert halls or recording studios, engineers use Finite Element Method (FEM) software. These tools solve the superposition of countless sound waves reflecting off walls to model "dead spots" (destructive interference) and "hot spots" (constructive interference), ensuring even sound distribution.

Common Misunderstandings and Points to Note

First, note that "interference" and "superposition" are not exactly the same. Superposition is simply the principle of adding waves together, while interference refers to the phenomenon where a stationary "pattern of reinforcement and cancellation (interference fringes)" is observed as a result. For example, if you superimpose two waves with significantly different frequencies, you won't see a stable interference fringe pattern over time.

Next, here are some tips for parameter settings when observing beats with the simulator. If the beat frequency $f_{\text{beat}}= |f_1 - f_2|$ is too high, the amplitude fluctuation will be too fast to follow visually. Conversely, if it's too low, the change is slow and observation takes time. For instance, setting f₁=100Hz and f₂=103Hz yields an easily observable 3Hz beat, which sounds like a "wobble... wobble..." effect. A difference of 10Hz or more tends to sound more like dissonance rather than a distinct beat.

Also, don't get confused by the "phase" setting. The phase angle φ is the offset of the wave's starting point. If you shift the phase of only one wave by 180° (π radians) in the simulator, they indeed cancel each other out at a point, but this does not happen simultaneously everywhere. In a wave spreading through space, even if a peak and a trough overlap at one point, a peak and a peak might overlap at another. Remember that complete cancellation only occurs in the special case where the wave shapes (amplitude, waveform, frequency) are perfectly identical and the phases are offset by exactly 180°.