Sub topic 15
Superposition of SHMs Along a Line and at Right Angles
This chapter assumes you know the SHM solution x = A sin(ωt + φ), the reference circle, and basic trigonometry. When a particle takes part in two simple harmonic motions at once, its displacement is the vector sum of the two individual displacements. This is the principle of superposition. It holds because the equation of motion is linear. We treat two cases: both motions along the same line, and the two motions at right angles.
Two SHMs along the same line
Same frequency
Let the two displacements be
- x₁ = A₁ sin ωt
- x₂ = A₂ sin(ωt + φ)
The sum is again an SHM of the same angular frequency:
x = x₁ + x₂ = A sin(ωt + δ)
The resultant amplitude follows from adding two vectors (phasors) of lengths A₁ and A₂ with an angle φ between them:
A = √(A₁² + A₂² + 2A₁A₂ cos φ)
The phase of the resultant is given by
tan δ = A₂ sin φ / (A₁ + A₂ cos φ)
Derivation: expand sin(ωt + φ) as sin ωt cos φ + cos ωt sin φ. Then x = (A₁ + A₂ cos φ) sin ωt + (A₂ sin φ) cos ωt. Write this as A cos δ sin ωt + A sin δ cos ωt. Matching coefficients gives A cos δ = A₁ + A₂ cos φ and A sin δ = A₂ sin φ. Squaring and adding gives A, and dividing gives tan δ.
The special cases are the ones JEE tests most often:
| Phase difference φ | Name | Resultant amplitude A | Column | Column |
|---|---|---|---|---|
| 0 | In phase | A₁ + A₂ (maximum) | ||
| π | Opposite phase | \ | A₁ − A₂\ | (minimum) |
| π/2 | Quadrature | √(A₁² + A₂²) | ||
| 2π/3 with A₁ = A₂ = a | Equal amplitudes | a | ||
| π/3 with A₁ = A₂ = a | Equal amplitudes | a√3 |
For equal amplitudes a, the general result simplifies to A = 2a cos(φ/2), and the resultant phase is δ = φ/2.
A worked check in code
The following program computes the resultant amplitude and phase from the formulas, then confirms them against a direct sum of the two waves.
import math
def resultant(A1, A2, phi):
A = math.sqrt(A1**2 + A2**2 + 2 * A1 * A2 * math.cos(phi))
delta = math.atan2(A2 * math.sin(phi), A1 + A2 * math.cos(phi))
return A, delta
A1, A2, phi, omega = 3.0, 4.0, math.pi / 2, 5.0
A, delta = resultant(A1, A2, phi)
print(A, delta)
ok = True
for i in range(50):
t = i * 0.05
direct = A1 * math.sin(omega * t) + A2 * math.sin(omega * t + phi)
formula = A * math.sin(omega * t + delta)
ok = ok and math.isclose(direct, formula, abs_tol=1e-9)
print(ok)For φ = π/2 with amplitudes 3 and 4, the amplitude is 5, which is the 3-4-5 triangle.
Slightly different frequencies: beats
If the frequencies differ slightly, the phase difference changes steadily with time, so the resultant amplitude rises and falls. Take equal amplitudes:
x = a sin ω₁t + a sin ω₂t = 2a cos((ω₁ − ω₂)t/2) sin((ω₁ + ω₂)t/2)
This looks like a rapid oscillation at the average frequency (ω₁ + ω₂)/2 whose amplitude 2a cos((ω₁ − ω₂)t/2) varies slowly. The amplitude reaches its maximum magnitude twice per cycle of the cosine, so
- beat frequency = |f₁ − f₂|
- maximum resultant amplitude = 2a, minimum = 0
The resultant is not strictly periodic unless the two frequencies have a rational ratio. For different frequencies with unrelated ratios, the sum is not an SHM at all. Only equal-frequency superposition gives an SHM.
Addition of cosine and sine forms
A common JEE trick is to recognise x = a sin ωt + b cos ωt as a single SHM. Its amplitude is √(a² + b²), since the two terms are in quadrature. For example, x = 3 sin ωt + 4 cos ωt has amplitude 5. Likewise, sin²ωt = (1 − cos 2ωt)/2 is an SHM of angular frequency 2ω about a shifted mean position, so a motion described by sin²ωt is periodic with period π/ω, but it is oscillatory about x = 1/2 rather than about zero.
Two SHMs at right angles
Now let a particle experience x = A sin ωt along the x-axis and y = B sin(ωt + φ) along the y-axis. Eliminating t gives the path.
Start from x/A = sin ωt, so cos ωt = √(1 − x²/A²). Then
y/B = sin ωt cos φ + cos ωt sin φ = (x/A) cos φ + √(1 − x²/A²) sin φ
Rearranging and squaring gives the general result:
x²/A² + y²/B² − (2xy/AB) cos φ = sin²φ
This is the equation of an ellipse (a Lissajous figure for equal frequencies). The special cases follow directly.
| Phase difference φ | Equation | Path |
|---|---|---|
| 0 | y = (B/A)x | Straight line through the origin, positive slope |
| π | y = −(B/A)x | Straight line through the origin, negative slope |
| π/2 | x²/A² + y²/B² = 1 | Ellipse with axes along x and y |
| π/2 with A = B | x² + y² = A² | Circle |
| Any other φ | General equation above | Tilted ellipse |
At φ = π/2 with A = B, the particle moves in a circle. This is the reverse of the reference circle idea: uniform circular motion is the combination of two perpendicular SHMs in quadrature.
Direction of motion
To find whether the particle goes clockwise or anticlockwise for 0 < φ < π, look at the particle at t = 0. There x = 0 and the y-velocity is B ω cos φ. Compare the signs of the velocities at the moment x = 0 and decide which way the path is traced. For φ = π/2, y = B cos ωt, so at t = 0 the particle is at (0, B) and moves toward positive x. That is clockwise. For φ = 3π/2 (or −π/2), the motion is anticlockwise.
Different frequencies: Lissajous figures
If the two frequencies are in a simple ratio, the path closes and is called a Lissajous figure. The ratio of frequencies equals the ratio of the number of tangent points the curve makes with a horizontal line to those it makes with a vertical line.
| ω_y : ω_x | Typical shape (φ = π/2) |
|---|---|
| 1 : 1 | Ellipse or circle |
| 2 : 1 | Parabola-like arc (y = B cos 2ωt gives y = B(1 − 2x²/A²)) |
| 3 : 2 | Closed loop with crossings |
For the 2 : 1 case with x = A sin ωt and y = B cos 2ωt, use cos 2ωt = 1 − 2 sin²ωt to get y = B(1 − 2x²/A²). The particle traces a parabola segment back and forth between x = −A and x = +A.
import math
A, B, omega = 2.0, 2.0, 1.0
def path(phi, n=8):
pts = []
for i in range(n):
t = 2 * math.pi * i / (n * omega)
pts.append((round(A * math.sin(omega * t), 3),
round(B * math.sin(omega * t + phi), 3)))
return pts
for name, phi in (("line", 0.0), ("circle", math.pi / 2)):
print(name, path(phi))
# check: for phi = pi/2 and A == B every point lies on x^2 + y^2 = A^2
print(all(math.isclose(x * x + y * y, A * A, abs_tol=1e-2)
for x, y in path(math.pi / 2)))Common errors
- Adding amplitudes directly. Amplitudes add as vectors, so A = A₁ + A₂ only when φ = 0.
- Treating beats as a change of frequency. The carrier frequency is the average of the two, and the amplitude envelope has frequency |f₁ − f₂|.
- Expecting an SHM from unequal frequencies. The sum is periodic only if the frequency ratio is rational, and it is an SHM only if the frequencies are equal.
- Mixing sine and cosine without converting. Write both with the same function and read off the phase difference before applying the amplitude formula.
- Forgetting the direction of traversal. The path shape alone does not tell you clockwise from anticlockwise.
Exercise
Two SHMs along the same line are x₁ = 5 sin ωt and x₂ = 5√3 sin(ωt + π/2)... in the same units. Find the amplitude and the phase of the resultant, and state how far it lies from the first motion in phase.
Show answer
The phase difference is φ = π/2, so A = √(5² + (5√3)²) = √(25 + 75) = 10. The phase is tan δ = 5√3 sin(π/2) / (5 + 0) = √3, so δ = π/3 (60°). The resultant x = 10 sin(ωt + π/3) leads the first motion by π/3.
Exercise
A particle has x = A sin ωt and y = A sin(ωt + π/2) at the same time. Show that its path is a circle, and give the sense of rotation from t = 0.
Show answer
Since y = A cos ωt, x² + y² = A²(sin²ωt + cos²ωt) = A², a circle of radius A. At t = 0 the particle is at (0, A) and dx/dt = Aω > 0, so it moves toward positive x from the top of the circle. That is clockwise motion.
Exercise
Two tuning forks of frequencies 256 Hz and 260 Hz sound together with equal amplitude a. Find the beat frequency and the maximum and minimum amplitude of the resultant.
Show answer
The beat frequency is |260 − 256| = 4 Hz. The maximum amplitude is 2a and the minimum is 0.