Sub topic 3
Phase difference between two waves
This chapter assumes you know amplitude, wavelength, frequency, period, wave speed, and v = fλ. You should also be comfortable with sine and cosine and with basic algebra. The previous chapter reviewed how to describe a traveling wave and the superposition principle. This chapter defines the quantity that decides how two overlapping waves combine: their phase difference.
What phase means
A sinusoidal wave moving in the +x direction can be written as
y(x, t) = A sin(kx − ωt + φ)
Here k = 2π/λ is the wave number, ω = 2πf is the angular frequency, and φ is the initial phase. The whole argument of the sine, kx − ωt + φ, is the phase. It is an angle in radians. It tells you where in its cycle the wave is at a given place and time.
- Phase 0 means the wave is crossing zero while rising.
- Phase π/2 means a crest.
- Phase π means crossing zero while falling.
- Phase 3π/2 means a trough.
One full cycle is 2π radians, so phases that differ by 2π describe the same point in the cycle.
Defining phase difference
Take two waves with the same frequency, observed at the same point:
y₁ = A₁ sin(ωt) y₂ = A₂ sin(ωt + Δφ)
The phase difference Δφ is the difference between their phases. It is constant in time because both waves advance at the same rate ω. Wave 2 leads wave 1 when Δφ > 0. It reaches each crest earlier by a time Δφ/ω. When Δφ < 0, wave 2 lags.
Two facts follow.
- Only Δφ mod 2π matters. A difference of 2π + 0.3 acts like 0.3.
- If the frequencies differ, the phase difference changes with time, because one wave advances faster than the other. This drift produces beats, covered in a later chapter. Everything in this chapter assumes equal frequencies.
Where phase differences come from
Three common sources produce a phase difference. Each one converts a physical offset into an angle using the fraction of a cycle it represents.
| Source | Physical offset | Phase difference |
|---|---|---|
| Time delay | Δt | Δφ = ωΔt = 2πΔt / T |
| Position offset | Δx | Δφ = kΔx = 2πΔx / λ |
| Reflection or source setup | built-in | a fixed value such as 0 or π |
The pattern is "offset divided by the period (or wavelength), times 2π." A delay of a quarter period gives π/2. A shift of half a wavelength gives π.
The position row is the seed of the next-but-one chapter, which turns path differences into phase differences for two-source interference. Reflection phases are treated in their own chapter.
Adding two equal-amplitude waves
Now apply superposition. Let both waves have amplitude A:
y = A sin(ωt) + A sin(ωt + Δφ)
Use the identity sin a + sin b = 2 sin((a + b)/2) cos((a − b)/2). Here a = ωt + Δφ and b = ωt, so
y = 2A cos(Δφ/2) sin(ωt + Δφ/2)
Read this result carefully.
- It is a single sinusoid with the same frequency as the originals.
- Its amplitude is 2A|cos(Δφ/2)|. The absolute value is needed because the cosine can be negative, and an amplitude is not.
- Its phase is Δφ/2, the average of the two input phases.
So the sum of two same-frequency sinusoids is always another sinusoid of that frequency. Only the amplitude and phase change. This is why phase difference is the central quantity.
The table below evaluates the amplitude for several values of Δφ.
| Δφ (rad) | Δφ (degrees) | Resultant amplitude |
|---|---|---|
| 0 | 0° | 2A |
| π/3 | 60° | 1.73A |
| π/2 | 90° | 1.41A |
| 2π/3 | 120° | A |
| π | 180° | 0 |
| 2π | 360° | 2A |
The last row confirms the mod 2π rule: a full cycle of offset looks identical to no offset.
Unequal amplitudes
When the amplitudes are A₁ and A₂, the resultant is still a sinusoid of the same frequency. Its amplitude is
A_R = √(A₁² + A₂² + 2A₁A₂ cos Δφ)
You can see this by treating each wave as an arrow (a phasor) of length equal to its amplitude. The arrows are separated by the angle Δφ, and the resultant is their vector sum. Setting A₁ = A₂ = A gives A_R = A√(2 + 2cos Δφ) = 2A|cos(Δφ/2)|, which matches the result above. At Δφ = π the amplitude is |A₁ − A₂|, so unequal waves cannot cancel completely.
Checking the formula numerically
This script adds two sinusoids point by point and compares the measured peak with the prediction.
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}")Expected output: peaks of 2.000, 1.414, and 0.000, each matching the prediction. For Δφ = π the measured value is limited only by floating-point rounding, so it prints as zero.
Worked example: a delayed speaker signal
Two speakers play the same 500 Hz tone, and you listen at a single point. The signal from the second speaker arrives 0.5 ms later than the first. Each wave has amplitude A.
- Find the period: T = 1/500 Hz = 2.0 ms.
- Convert the delay to a phase: Δφ = 2π(0.5 ms)/(2.0 ms) = π/2.
- The second wave lags, so its sign is negative, but only |cos(Δφ/2)| matters for amplitude.
- Resultant amplitude: 2A|cos(π/4)| = 1.41A.
Now change the delay to 1.0 ms. Then Δφ = π and the amplitude is 2A|cos(π/2)| = 0. The two tones cancel at that point. Interpreting such results, and deciding when a wave pair reinforces or cancels, is the subject of the next chapter.
Common errors
- Degrees in a radian calculator. Using Δφ = 180 where Δφ = π is meant gives a nonsense cosine. Check the angle mode, and in code use radians throughout.
- Forgetting the half angle. The amplitude uses cos(Δφ/2), not cos(Δφ). At Δφ = π/2 the answer is 1.41A, not 0.
- Dropping the absolute value. For Δφ between π and 3π the cosine of the half angle is negative. The amplitude is still positive.
- Mixing up lead and lag. A positive Δφ in sin(ωt + Δφ) means the wave leads. Waves written with cos(kx − ωt) instead of sin(ωt − kx) flip the sign convention, so state your convention before comparing.
- Applying the formula to different frequencies. The result 2A|cos(Δφ/2)| requires equal frequencies. If the frequencies differ, Δφ is not constant and the sum is not a single sinusoid.
- Using the equal-amplitude formula for unequal waves. Use the general A_R expression instead.
Key points
- Phase is the full argument of the sinusoid, in radians. Phase difference is the offset between two waves of equal frequency, and it is constant in time.
- A time delay Δt gives Δφ = 2πΔt/T. A position offset Δx gives Δφ = 2πΔx/λ.
- Only Δφ mod 2π matters.
- Two equal-amplitude waves sum to a sinusoid of amplitude 2A|cos(Δφ/2)| and phase Δφ/2.
- For unequal amplitudes, A_R = √(A₁² + A₂² + 2A₁A₂ cos Δφ).
Exercise
Two waves of equal amplitude 3.0 cm and frequency 250 Hz meet at a point. The second wave is delayed by 1.0 ms relative to the first. (a) What is the phase difference in radians? (b) What is the amplitude of the resultant wave?
Show answer
(a) The period is T = 1/250 Hz = 4.0 ms. Then Δφ = 2π(1.0 ms)/(4.0 ms) = π/2 rad. (b) The amplitude is 2A|cos(Δφ/2)| = 2(3.0 cm)|cos(π/4)| = 6.0 × 0.707 = 4.2 cm.
Exercise
Two waves of amplitudes 4.0 and 1.0 (same units) and equal frequency have a phase difference of π. What is the resultant amplitude, and why can't the waves cancel completely?
Show answer
A_R = √(16 + 1 + 2·4·1·cos π) = √(17 − 8) = 3.0. Equivalently it is |4.0 − 1.0| = 3.0. At Δφ = π the waves oppose each other, but the larger wave is not fully offset by the smaller one, so a residual amplitude of 3.0 remains.
Exercise
A phase difference of 7π/2 is computed for two waves of equal amplitude A. What is the resultant amplitude?
Show answer
Reduce modulo 2π: 7π/2 − 2π = 3π/2. The amplitude is 2A|cos(3π/4)| = 2A(0.707) = 1.41A. The unreduced value gives the same result: 2A|cos(7π/4)| = 1.41A.