Interference of Waves: Adding Two Waves on One Axis

Two waves on one axis, with their point-by-point sum beneath on the same vertical scale. Slide the path difference: the resultant doubles, collapses to nothing, then comes back exactly one wavelength on.

Phase differencedphi = 2 pi dx / lam
1.57080 rad
Resultant amplitudeA = sqrt(a1^2 + a2^2 + 2 a1 a2 cos dphi)
7.07107 units
What the two waves do
A quarter cycle apart - the intensity is exactly what the two waves would give without interfering
Intensity vs the two waves aloneratio = A^2 / (a1^2 + a2^2)
1.00000 x
Amplitude of wave 15.0 units
Amplitude of wave 25.0 units
Wavelength of both waves2.000 m
Path difference0.500 m
The path difference in wavelengths0.250000 wavelengths
Possible range of the resultant0.00000 to 10.0000 units
Phase difference within one cycle1.57080 rad of 6.28319 rad
The resultant, term by termsqrt(25.0000 + 25.0000 + 50.0000 x 0.000000) = 7.07107 units
Assumed: coherence (a fixed phase relationship, which real independent sources do not hold); the same wavelength for both waves, or you get beats instead; a linear medium; one line of travel, one polarisation. The amplitude unit is arbitrary, so only the ratio of the two amplitudes changes anything. A hundred wavelengths apart is a test fixture, not a physical case, and the animation speed means nothing: this lab prints no speed and no frequency.