Sub topic 5
From Path Difference to Phase Difference
Prerequisites and where this chapter fits
This chapter assumes you can describe a sinusoidal wave with wavelength, frequency, and wave speed, and that you know the relation v = fλ. It also assumes you are comfortable with basic trigonometry and algebra. You should have met phase difference and the conditions for constructive and destructive interference in the previous chapters.
Those earlier chapters treated the phase difference between two waves as a given number. In real setups you rarely know it directly. You know where the sources are and where you are listening or looking. This chapter shows how to convert that geometry into a phase difference, and then into a prediction of reinforcement or cancellation.
Two waves, two routes
Take two sources that emit waves of the same wavelength λ. A detector sits at some point P. The wave from source 1 travels a distance r₁ to reach P. The wave from source 2 travels a distance r₂.
The path difference is
Δr = r₂ − r₁
If the two sources oscillate in step, they start each cycle together. At P, the two waves have then traveled different distances. The farther wave left its source "earlier in its cycle" relative to what the nearer wave is doing now. That lag is the phase difference.
The conversion rule
One full wavelength of extra path delays a wave by one full cycle, which is 2π radians. So a path difference Δr corresponds to the fraction Δr/λ of a cycle:
Δφ = 2π · Δr / λ
This is the central formula of the chapter. Three points make it easy to use:
- Δr = 0 gives Δφ = 0. The waves arrive in step.
- Δr = λ/2 gives Δφ = π. The waves arrive exactly out of step.
- Δr = λ gives Δφ = 2π. This is the same as Δφ = 0, so the waves are in step again.
Phase is only meaningful modulo 2π. A phase difference of 5π is the same as π.
Conditions in terms of path difference
Combining the conversion rule with the interference conditions from the previous chapter gives conditions you can apply directly to distances. Here m is an integer (0, ±1, ±2, ...).
| Condition | Path difference | Phase difference | Resultant amplitude (equal sources, each A) | Column | Column |
|---|---|---|---|---|---|
| Constructive | mλ | 2πm | 2A | ||
| Destructive | (m + ½)λ | (2m + 1)π | 0 | ||
| Intermediate | any other value | any other value | 2A\ | cos(Δφ/2)\ |
The last row is the general result from the superposition of two equal-amplitude sinusoids. The first two rows are its special cases. Because you now have Δφ from geometry, you can predict the amplitude at any point, not only at the extremes.
A worked example with two speakers
Two loudspeakers are driven by the same signal, so they emit in phase. They produce a 686 Hz tone. The speed of sound is 343 m/s.
- Find the wavelength: λ = v / f = 343 / 686 = 0.500 m.
- A listener stands 4.00 m from speaker 1 and 4.75 m from speaker 2. The path difference is Δr = 0.75 m.
- Convert to phase: Δφ = 2π · 0.75 / 0.500 = 3π.
- The phase difference 3π is an odd multiple of π, so the interference is destructive.
You can confirm this from the path difference alone. Δr / λ = 1.5, which is (m + ½) with m = 1. Both routes agree, so the listener hears almost nothing at this tone.
The following program does this calculation for several listener positions and also computes the amplitude predicted by the general formula.
import math
v = 343.0 # m/s, speed of sound
f = 686.0 # Hz
wavelength = v / f
A = 1.0 # amplitude of each wave
r1 = 4.00 # m, distance to speaker 1
for r2 in (4.00, 4.25, 4.50, 4.75, 5.00):
dr = r2 - r1
dphi = 2 * math.pi * dr / wavelength
amplitude = 2 * A * abs(math.cos(dphi / 2))
print(f"path diff = {dr:.2f} m, phase diff = {dphi / math.pi:.1f} pi rad, "
f"amplitude = {amplitude:.3f}")The output shows amplitude 2 at path differences of 0 and 0.50 m (wait for the rows: 0.00, 0.25, 0.50, 0.75, 1.00 m), amplitude near 0 at 0.25 m and 0.75 m, and amplitude 2 at 0.50 m and 1.00 m. A tiny nonzero value such as 0.000 or a rounding-level number may appear in the minima because of floating-point arithmetic.
When the sources are not in phase
The formula Δφ = 2πΔr/λ assumes the sources emit in step. If source 2 has an intrinsic phase offset φ₀ relative to source 1, add it:
Δφ = 2π · Δr / λ + φ₀
For example, if source 2 is wired with reversed polarity, φ₀ = π. Then the conditions swap. A path difference of zero gives destructive interference, and a path difference of λ/2 gives constructive interference. This is a common cause of "dead spots" in a badly wired speaker pair, and the reason audio installers check speaker polarity.
Phase shifts can also come from reflection. A wave reflecting at a fixed boundary flips its sign, which adds an extra π to its phase. That effect gets its own chapter, and it reappears in thin-film interference.
Path difference in two-dimensional geometry
For two point sources, the set of points with a fixed path difference is a hyperbola. Points with Δr = 0 lie on the perpendicular bisector of the line joining the sources. This is the central maximum. Each value Δr = mλ gives another curve of constructive interference, and each value Δr = (m + ½)λ gives a curve of destructive interference. These curves are called antinodal and nodal lines in a ripple tank.
The number of such lines is limited. The path difference can never exceed the separation d between the sources, because of the triangle inequality: |r₂ − r₁| ≤ d. So the largest usable integer satisfies mλ ≤ d, and the number of constructive lines is at most 2·floor(d/λ) + 1.
Some consequences:
- If d < λ/2, the path difference never reaches λ/2, so there is no destructive line at all.
- If d is much larger than λ, many lines appear, packed closely together.
- If d = λ, there are three constructive lines: m = −1, 0, +1. The m = ±1 lines lie along the axis through the two sources.
The far-field approximation
In most laboratory setups, the detector is far from the sources compared with their separation d. Then the two paths are nearly parallel. If θ is the angle from the perpendicular bisector to the line toward P, simple geometry gives
Δr ≈ d sin θ
Inserting this into the conversion rule:
Δφ = 2π d sin θ / λ
The constructive condition d sin θ = mλ is the same one used for the double slit, which you will use in the next chapter to compute fringe spacing. The reasoning is the same: geometry gives a path difference, the wavelength converts it to phase, and the phase decides the result.
The approximation fails when P is close to the sources. In that case compute r₁ and r₂ separately with the distance formula and subtract. Doing this numerically is straightforward:
import math
wavelength = 0.50 # m
d = 2.0 # m, source separation
# Sources at (-d/2, 0) and (+d/2, 0); detector at (x, y)
def path_difference(x, y):
r1 = math.hypot(x + d / 2, y)
r2 = math.hypot(x - d / 2, y)
return r2 - r1
for x, y in [(0.0, 5.0), (1.0, 5.0), (3.0, 20.0), (3.0, 1.0)]:
dr = path_difference(x, y)
far_field = d * math.sin(math.atan2(x, y))
print(f"P = ({x}, {y}): exact dr = {dr:.4f} m, "
f"far-field estimate = {far_field:.4f} m, dr/wavelength = {dr / wavelength:.3f}")Far from the sources the exact and far-field values agree closely. At (3.0, 1.0), which is close to the sources, they differ noticeably. Note that the sign convention here puts positive x toward source 2, so r₂ is the shorter path and Δr comes out negative. Only the magnitude matters for the interference condition.
Common errors
- Using Δr = λ/2 as the condition for constructive interference. Half a wavelength gives destructive interference for in-phase sources.
- Forgetting the source phase offset φ₀ when the sources are not driven together.
- Mixing degrees and radians. The formula Δφ = 2πΔr/λ gives radians. Convert before using a calculator in degree mode.
- Treating phase difference as meaningful beyond 2π. Reduce it modulo 2π before judging whether it is "small" or "large".
- Applying the far-field formula Δr ≈ d sin θ near the sources.
- Using the vacuum wavelength inside a medium with a different wave speed.
- Assuming interference destroys energy. Where waves cancel, energy is redistributed to the places where they reinforce. The total over the whole pattern is conserved.
Exercises
Exercise
Two in-phase sources emit waves of wavelength 0.40 m. A point is 3.10 m from one source and 3.70 m from the other. What is the phase difference at the point, and is the interference constructive, destructive, or in between?
Show answer
The path difference is 0.60 m. Then Δφ = 2π · 0.60 / 0.40 = 3π rad. Since 3π is an odd multiple of π, the waves arrive exactly out of step and the interference is destructive. Equivalently, Δr/λ = 1.5, and the fractional part is 0.5.
Exercise
Two speakers separated by d = 0.30 m emit an in-phase tone of wavelength 0.80 m. Explain why no point in space has complete destructive interference between the two.
Show answer
The path difference at any point cannot exceed the source separation, so |Δr| ≤ 0.30 m. Complete destructive interference needs |Δr| = λ/2 = 0.40 m or more. Since 0.30 m < 0.40 m, that condition is never met. The amplitude is never zero for in-phase sources.
Exercise
Source 2 is wired with reversed polarity, so φ₀ = π. At a point where Δr = λ, what is the total phase difference and the resulting amplitude for equal sources of amplitude A?
Show answer
Δφ = 2π(λ)/λ + π = 3π. The amplitude is 2A|cos(3π/2)| = 0. The waves cancel, although the path difference alone would suggest reinforcement.