Sub topic 3
Phase Difference Between Two Waves
Assume you know amplitude, wavelength, frequency, period, and the relation \(v=f\lambda\). You should also be comfortable with basic sine and cosine functions.
What phase difference means
The phase of a sinusoidal wave tells you where the wave is within its cycle. A crest, a trough, and a zero crossing have different phases.
For two waves with the same angular frequency, write
\[ y1=A1\sin(kx-\omega t+\phi_1) \]
and
\[ y2=A2\sin(kx-\omega t+\phi_2). \]
Here, \(A\) is amplitude, \(k=2\pi/\lambda\) is the wave number, \(\omega=2\pi f\) is angular frequency, and \(\phi\) is the phase constant. The phase difference is
\[ \Delta\phi=\phi2-\phi1. \]
A phase difference of \(0\) means the waves are in phase. Their crests and troughs occur together. A phase difference of \(\pi\) radians, or \(180^\circ\), means they are exactly out of phase. A crest of one wave occurs with a trough of the other.
Adding waves point by point
The superposition principle says that the displacement of overlapping waves is the sum of their individual displacements:
\[ y{\text{resultant}}=y1+y_2. \]
For two waves with equal amplitude \(A\), equal frequency, and the same direction of travel, the sum can be rewritten as another sinusoid:
\[ y1+y2= 2A\cos\left(\frac{\Delta\phi}{2}\right) \sin\left(kx-\omega t+\frac{\phi1+\phi2}{2}\right). \]
Therefore, the resultant amplitude is
\[ A_{\text{resultant}}= 2A\left|\cos\left(\frac{\Delta\phi}{2}\right)\right|. \]
The absolute value is needed because amplitude is conventionally nonnegative. A negative coefficient means the resulting wave has an additional phase shift of \(\pi\).
| Phase difference | Resultant amplitude | Effect |
|---|---|---|
| \(0\) | \(2A\) | Maximum reinforcement |
| \(\pi/2\) | \(\sqrt{2}A\) | Partial reinforcement |
| \(\pi\) | \(0\) | Complete cancellation |
For unequal amplitudes, use the more general result:
\[ A{\text{resultant}}= \sqrt{A1^2+A2^2+2A1A_2\cos(\Delta\phi)}. \]
Complete cancellation is possible only when the amplitudes are equal and the phase difference is \(\pi\).
import numpy as np
A = 1.0
t = np.linspace(0, 2 * np.pi, 1000, endpoint=False)
for dphi in (0, np.pi / 2, np.pi):
y = A * np.sin(t) + A * np.sin(t + dphi)
predicted = 2 * A * abs(np.cos(dphi / 2))
print(f"dphi = {dphi:.2f} rad: peak = {y.max():.3f}, predicted = {predicted:.3f}")The numerical peak agrees with the amplitude formula, apart from small sampling effects.
Common errors
Do not confuse phase difference with phase itself. Only the difference between the two phases determines their relative alignment.
Do not apply the fixed-amplitude formula to waves with different frequencies. Their phase difference changes with time, producing beats rather than one permanently fixed resultant amplitude.
A path difference can create a phase difference. For waves of wavelength \(\lambda\),
\[ \Delta\phi=\frac{2\pi}{\lambda}\Delta r, \]
where \(\Delta r\) is the difference in distances traveled.
Exercise
Two equal waves each have amplitude 3 cm and a phase difference of \(2\pi/3\). What is their resultant amplitude?
Show answer
\(A_{\text{resultant}}=2(3)\left|\cos(\pi/3)\right|=3\text{ cm}\).