In short

When two simple harmonic motions act along the same line with the same frequency \omega, the result is another SHM: x(t) = A_1\sin(\omega t) + A_2\sin(\omega t + \varphi) has amplitude A = \sqrt{A_1^2 + A_2^2 + 2A_1A_2\cos\varphi} and a phase set by \tan\alpha = \frac{A_2\sin\varphi}{A_1 + A_2\cos\varphi}. When the two SHMs act along perpendicular directions, the particle traces a curve in the plane: a straight line (if they are in phase or exactly out of phase), a circle (if they are 90° apart with equal amplitudes), or an ellipse (everything in between). When the two frequencies are unequal, the path is a Lissajous figure — closed and periodic if \omega_x/\omega_y is rational, otherwise filling a rectangle as time goes on.

A tabla player tunes the left drum, the bayan, against a tanpura drone. The drone puts out a steady note — a single frequency humming through the room. The bayan is close, but not quite right. As both sound together you hear not two notes but one note that throbs — loud, soft, loud, soft — at a slow, steady beat. Tighten the tabla's tuning ring a fraction of a turn and the throbbing slows. Tighten it a touch more and the beats vanish: the two notes have locked into the same frequency and become one.

Those beats are a superposition of simple harmonic motions. Each sound wave at your eardrum is driving it in SHM. Two SHMs with nearly equal frequencies, added together, produce the slow amplitude throb you hear as a beat. Two SHMs with exactly equal frequencies add to another SHM — a single pure tone. And if two SHMs act on the same particle along perpendicular axes — as electron beams do in a cathode-ray oscilloscope, or as atoms do in a two-dimensional optical trap — the particle does not move along a line at all. It traces an ellipse, a circle, or a tangled looping curve called a Lissajous figure, and the shape of that curve tells you exactly what the two oscillations are doing.

Superposition is the single most useful idea in waves and oscillations. It says: when two SHMs act together, the displacements just add, point by point, moment by moment. Nothing else enters. No new physics, no coupling term, no hidden interaction. Two motions on one particle become one motion, found by adding vectors. That is it. The consequences — beats, interference patterns, Lissajous figures, Fourier analysis, standing waves — all fall out of that one idea.

What "same line" and "perpendicular" mean

The two cases you need to distinguish up front:

Same-line superposition gives you beats and resultant SHMs. Perpendicular superposition gives you Lissajous figures. Both are governed by the same rule — displacements add — but the geometry is different.

Same line, same frequency — the phasor method

Start with the cleanest case: two SHMs of the same frequency \omega along the same line.

x_1(t) = A_1\sin(\omega t), \qquad x_2(t) = A_2\sin(\omega t + \varphi)

The phase difference \varphi is what distinguishes them — x_2 leads x_1 by \varphi radians. The question is: what is x_1 + x_2?

You could expand \sin(\omega t + \varphi) = \sin(\omega t)\cos\varphi + \cos(\omega t)\sin\varphi, collect terms, and crunch trigonometry. That works, but there is a faster and more physical method: phasors.

A phasor is a rotating arrow. An SHM of amplitude A and phase \alpha can be represented by an arrow of length A that makes angle \alpha + \omega t with the x-axis. The SHM itself is the projection of the arrow onto a fixed axis (say the vertical axis). As the arrow rotates, the projection oscillates sinusoidally — that is an SHM.

Phasor representation of a single SHM An arrow of length A makes an angle omega t with the x-axis. Its vertical projection A sin(omega t) is the simple harmonic motion. x y A ωt projection = A sin(ωt) t same value
A phasor is a rotating arrow. Its projection on the $y$-axis is the SHM $A\sin(\omega t)$. Two SHMs at the same frequency are two arrows rotating together — their projections add, and their sum is the projection of the sum of the arrows.

The phasor method works because two phasors rotating at the same rate stay at a fixed angle to each other. Their vector sum is another arrow that also rotates at \omega — which means the resultant is another SHM at the same frequency \omega. You only need to find the length and phase of the summed arrow. That is vector addition.

Deriving the resultant amplitude and phase

Take two phasors at t = 0: one of length A_1 along the x-axis (representing x_1 = A_1\sin(\omega t), which has phase 0), and one of length A_2 at angle \varphi above the x-axis (representing x_2 = A_2\sin(\omega t + \varphi)).

Phasor addition of two SHMs at the same frequency Vector A1 along the x-axis, vector A2 at angle phi above it, and the resultant A as the diagonal of the parallelogram. The angle the resultant makes with A1 is alpha. x y A₁ A₂ φ A (resultant) α A₂cosφ A₂sinφ
Adding two phasors: $A_1$ along the $x$-axis and $A_2$ at angle $\varphi$. The resultant $A$ is the diagonal of the parallelogram. Its length is found by the law of cosines, and its direction $\alpha$ by basic trigonometry.

Step 1. Resolve A_2 into components along and perpendicular to A_1.

A_{2x} = A_2\cos\varphi, \qquad A_{2y} = A_2\sin\varphi

Why: the resultant phasor is the vector sum A_1\hat{x} + A_2\cos\varphi\,\hat{x} + A_2\sin\varphi\,\hat{y}. To add vectors, you add components.

Step 2. Sum the components.

R_x = A_1 + A_2\cos\varphi, \qquad R_y = A_2\sin\varphi

Why: A_1 contributes only along x. A_2 contributes A_2\cos\varphi along x and A_2\sin\varphi along y.

Step 3. The resultant length is the Pythagorean combination of the components.

A^2 = R_x^2 + R_y^2 = (A_1 + A_2\cos\varphi)^2 + (A_2\sin\varphi)^2

Why: the length of a vector is the square root of the sum of the squares of its components — the Pythagorean theorem in disguise.

Step 4. Expand the first square.

A^2 = A_1^2 + 2A_1 A_2\cos\varphi + A_2^2\cos^2\varphi + A_2^2\sin^2\varphi

Step 5. Use \cos^2\varphi + \sin^2\varphi = 1 to collapse the last two terms.

\boxed{A = \sqrt{A_1^2 + A_2^2 + 2A_1 A_2\cos\varphi}}

Why: this is the law of cosines applied to the parallelogram. The resultant amplitude depends on the two individual amplitudes and on the phase difference. If \varphi = 0 the arrows point the same way and add head-to-tail; if \varphi = \pi they point opposite ways and subtract.

Step 6. The resultant phase \alpha (the angle the sum makes with A_1) comes from the component ratio.

\boxed{\tan\alpha = \frac{R_y}{R_x} = \frac{A_2\sin\varphi}{A_1 + A_2\cos\varphi}}

Why: any vector with components (R_x, R_y) makes angle \arctan(R_y/R_x) with the x-axis. The resultant SHM is therefore x(t) = A\sin(\omega t + \alpha).

Two SHMs of the same frequency add to a third SHM of the same frequency. The only question is how big it is and where the peaks land, and those are set by the phasor parallelogram.

The three key phase differences

The amplitude formula hides three famous cases.

These three are the workhorses of interference, diffraction, and AC circuit analysis.

Same line, nearly equal frequencies — beats

Now loosen the condition: let the two SHMs have nearly but not exactly equal frequencies. Say

x_1(t) = A\cos(\omega_1 t), \qquad x_2(t) = A\cos(\omega_2 t)

with \omega_1 \approx \omega_2 and equal amplitudes for simplicity. Add them.

Step 1. Use the sum-to-product identity \cos P + \cos Q = 2\cos\!\left(\frac{P+Q}{2}\right)\cos\!\left(\frac{P-Q}{2}\right).

x(t) = 2A\cos\!\left(\frac{\omega_1 + \omega_2}{2}\,t\right)\cos\!\left(\frac{\omega_1 - \omega_2}{2}\,t\right)

Why: this identity is the sum-to-product formula you saw in trigonometry. It rewrites the sum of two cosines as a single cosine multiplied by a slowly varying amplitude. The identity itself is derived from the cosine addition formula — expand \cos(X+Y) + \cos(X-Y) = 2\cos X\cos Y and set X = (P+Q)/2, Y = (P-Q)/2.

Step 2. Label the two frequencies that appear.

Why: because \omega_1 \approx \omega_2, the average is close to either frequency — this is the tone you hear. The difference is small — this is the slow envelope that rises and falls.

Step 3. Interpret the formula.

x(t) = \underbrace{2A\cos(\omega_{\text{slow}}\,t)}_{\text{envelope}}\cdot\underbrace{\cos(\omega_{\text{fast}}\,t)}_{\text{carrier}}

The motion is an oscillation at the fast frequency, modulated by a slowly varying amplitude 2A\cos(\omega_{\text{slow}}\,t). The envelope itself oscillates, and each time it passes through zero the combined sound drops to silence.

Step 4. Count the beats per second.

The envelope's magnitude |2A\cos(\omega_{\text{slow}}\,t)| peaks twice per period of \omega_{\text{slow}}, because cosine hits its largest magnitude both at its positive peak and at its negative peak. The audible beat frequency — how many loud-moments per second your ear hears — is therefore twice \omega_{\text{slow}}/2\pi:

\boxed{f_{\text{beat}} = |f_1 - f_2|}

Why: one full period of |\cos| is half the period of \cos, so the beat frequency is 2 \times (\omega_{\text{slow}}/2\pi) = (\omega_1 - \omega_2)/2\pi = f_1 - f_2 in magnitude.

This is the tabla tuning recipe. You strike the bayan and the tanpura drone together. You count beats per second. You tighten the string until the beats slow down, then vanish. When they vanish, f_1 = f_2 and the tabla is in tune with the drone.

Animated: beats from two SHMs at 1.0 and 1.2 Hz A red dot traces the sum of two SHMs — one at 1.0 Hz and one at 1.2 Hz, each of amplitude 1. The envelope (dashed) throbs at 0.2 Hz — the beat frequency. t (s) x
Two SHMs at 1.0 Hz and 1.2 Hz add to a tone that rises and falls in loudness. The slow envelope (grey trails) completes one full $|\cos|$ cycle every 5 seconds, giving a beat frequency of $0.2$ Hz — exactly $f_2 - f_1$. Click replay to watch the throb.

Perpendicular directions, same frequency — the ellipse

Now switch geometries. Let the two SHMs act on the same particle along perpendicular axes:

x(t) = A\sin(\omega t), \qquad y(t) = B\sin(\omega t + \varphi)

The particle has coordinates (x, y) at each moment, and you want the shape of the curve the particle traces in the xy-plane. Eliminate t between the two equations.

Step 1. Solve the x equation for \sin(\omega t).

\sin(\omega t) = \frac{x}{A}, \qquad \cos(\omega t) = \pm\sqrt{1 - \frac{x^2}{A^2}}

Why: you need both \sin(\omega t) and \cos(\omega t) to plug into the y equation after expanding the phase-shifted sine.

Step 2. Expand the y equation.

y = B\,[\sin(\omega t)\cos\varphi + \cos(\omega t)\sin\varphi]
y = B\,\frac{x}{A}\cos\varphi + B\cos(\omega t)\sin\varphi

Why: the sine addition formula splits \sin(\omega t + \varphi) into a part that depends on \sin(\omega t) = x/A (which you already know) and a part that depends on \cos(\omega t) (which you still need to eliminate).

Step 3. Isolate the \cos(\omega t) term.

y - \frac{Bx}{A}\cos\varphi = B\cos(\omega t)\sin\varphi

Why: move the known piece to the left so only the unknown \cos(\omega t) remains on the right.

Step 4. Square both sides and replace \cos^2(\omega t) = 1 - \sin^2(\omega t) = 1 - x^2/A^2.

\left(y - \frac{Bx}{A}\cos\varphi\right)^2 = B^2\sin^2\varphi\,\left(1 - \frac{x^2}{A^2}\right)

Why: squaring kills the \pm that came with the square root, and the Pythagorean identity eliminates \cos(\omega t) in favour of x.

Step 5. Expand the left side and divide through by B^2.

\frac{y^2}{B^2} - \frac{2xy}{AB}\cos\varphi + \frac{x^2}{A^2}\cos^2\varphi = \sin^2\varphi - \frac{x^2}{A^2}\sin^2\varphi

Step 6. Collect the x^2/A^2 terms on the left.

\frac{y^2}{B^2} - \frac{2xy}{AB}\cos\varphi + \frac{x^2}{A^2}(\cos^2\varphi + \sin^2\varphi) = \sin^2\varphi

Step 7. Use \cos^2\varphi + \sin^2\varphi = 1.

\boxed{\frac{x^2}{A^2} + \frac{y^2}{B^2} - \frac{2xy}{AB}\cos\varphi = \sin^2\varphi}

Why: this is the general equation of an ellipse (or line, or circle) inscribed in the rectangle |x|\le A, |y|\le B. The shape depends on \varphi — the phase difference between the two perpendicular SHMs. Different phase differences give different ellipse orientations.

The three key shapes

Plug in the famous values of \varphi and watch the ellipse deform into its special cases.

Case 1: \varphi = 0 (in phase). Then \sin\varphi = 0, \cos\varphi = 1, and the equation becomes

\frac{x^2}{A^2} + \frac{y^2}{B^2} - \frac{2xy}{AB} = 0 \quad\Longrightarrow\quad \left(\frac{x}{A} - \frac{y}{B}\right)^2 = 0
y = \frac{B}{A}x

A straight line through the origin, slope B/A. Both coordinates pass through zero together and reach their extremes together.

Case 2: \varphi = \pi/2 (quadrature). Then \sin\varphi = 1, \cos\varphi = 0, and the cross-term vanishes.

\frac{x^2}{A^2} + \frac{y^2}{B^2} = 1

An ellipse with axes aligned to the coordinate axes. If additionally A = B you get a circle of radius A. The particle swings in a circle at constant angular rate — like a particle moving along a radius of a carousel viewed from above.

Case 3: \varphi = \pi (out of phase). Then \sin\varphi = 0, \cos\varphi = -1.

\frac{x^2}{A^2} + \frac{y^2}{B^2} + \frac{2xy}{AB} = 0 \quad\Longrightarrow\quad \left(\frac{x}{A} + \frac{y}{B}\right)^2 = 0
y = -\frac{B}{A}x

A straight line with negative slope. Same line, reversed direction.

For phase differences between these (say \varphi = \pi/4, or \varphi = 2\pi/3), you get tilted ellipses — the axes no longer line up with x and y. The farther from 0 or \pi, the rounder the ellipse. At \pi/2 it is fattest (and un-tilted); at \pi/4 it is a narrow diagonal oval.

Watch the ellipse being traced

The animation below shows the particle driven by x(t) = \cos(2\pi t) and y(t) = \cos(2\pi t - \pi/2) = \sin(2\pi t). With equal amplitudes and \varphi = \pi/2 (quadrature), this traces a circle of radius 1. The red dot is the particle; the trail shows the curve it lays down.

Animated: perpendicular SHMs in quadrature trace a circle A red particle driven by x = cos(2 pi t) along the horizontal axis and y = sin(2 pi t) along the vertical axis traces out a circle of radius 1 over one full second. x y
With equal amplitudes and phase difference $\varphi = \pi/2$, perpendicular SHMs trace a circle. Watch how the particle sweeps out the curve one point at a time. Click replay to see the tracing again.

Changing the phase difference to \varphi = 0 collapses this circle into a diagonal line, and changing it to \varphi = \pi/4 tilts it into a narrow ellipse. The next animation shows the \varphi = \pi/4 case — the particle still moves smoothly, but the path is now a slanted oval.

Animated: perpendicular SHMs at phase difference pi over 4 trace a tilted ellipse A red particle driven by x = cos(2 pi t) and y = cos(2 pi t - pi over 4) traces a tilted narrow ellipse inside the unit square. x y
The same two perpendicular SHMs, but now with phase difference $\varphi = \pi/4$. The path is a tilted ellipse — narrow and slanted along the $y = x$ diagonal. Click replay.

Perpendicular directions, unequal frequencies — Lissajous figures

Let the two frequencies differ. Write

x(t) = A\sin(\omega_x t), \qquad y(t) = B\sin(\omega_y t + \varphi)

Eliminating t is no longer simple — the curve is in general not an ellipse but a Lissajous figure. The key result is about closure.

Theorem. The Lissajous figure closes (the particle returns to its starting point and retraces) if and only if \omega_x/\omega_y is a rational number p/q in lowest terms. The closed figure has p lobes along the y-axis and q lobes along the x-axis.

Why it closes if the ratio is rational. Write \omega_x = p\Omega and \omega_y = q\Omega for some common frequency \Omega (this works whenever \omega_x/\omega_y = p/q). Then x has period 2\pi/(p\Omega) and y has period 2\pi/(q\Omega). The joint motion repeats whenever both oscillations simultaneously return to their starting states — every T = 2\pi/\Omega (since T contains exactly p periods of x and q periods of y). Hence the curve closes with period T.

Why it does not close if the ratio is irrational. If \omega_x/\omega_y is irrational, there is no common \Omega. The two motions never return to their starting state simultaneously, and the curve never exactly repeats. It traces denser and denser, eventually filling the rectangle |x|\le A, |y|\le B — a result that in ergodic theory is called equidistribution.

Why lobe counting: in one joint period, x goes through p cycles, so it hits its extreme value x = A a total of p times. Each time it reaches that extreme, the curve touches the vertical boundary of the rectangle — that is a lobe along the y-axis. Similarly, y reaches B a total of q times, giving q lobes along the x-axis.

Watch a Lissajous figure being traced

The animation below shows a particle driven by x(t) = \sin(2\pi \cdot 2 t) and y(t) = \sin(2\pi t + \pi/2) — a frequency ratio \omega_x/\omega_y = 2 and a quarter-period phase offset. The result is the classic figure-eight.

Animated: Lissajous figure with frequency ratio 2:1 A red particle driven by x = sin(4 pi t) and y = cos(2 pi t) traces out a figure-eight inside the unit square over one full joint period of one second. x y
The 2:1 Lissajous figure: two vertical lobes, one horizontal lobe. The figure closes every $1$ second, because in that time $x$ completes $2$ cycles while $y$ completes $1$. Click replay to watch it retrace.

Changing the ratio changes the shape entirely. A 3:2 ratio gives three vertical lobes and two horizontal lobes — a much more intricate weaving. Here is that animation.

Animated: Lissajous figure with frequency ratio 3:2 A red particle driven by x = sin(6 pi t) and y = cos(4 pi t) traces out a 3 by 2 Lissajous pattern inside the unit square. x y
The 3:2 Lissajous pattern: three vertical lobes, two horizontal lobes. The joint period is $1$ second (in which $x$ completes $3$ cycles and $y$ completes $2$).

On a real cathode-ray oscilloscope — the kind still used in school and college physics labs across India — this is exactly how you measure an unknown frequency. Feed the unknown signal to the y-plates and a reference signal from a calibrated oscillator to the x-plates. Tune the reference until the figure on the screen stops rotating and locks into a stationary Lissajous pattern. Count the lobes: p vertical, q horizontal. The unknown frequency is (p/q) \times f_{\text{reference}}.

Worked examples

Example 1: Two SHMs of the same frequency, 60° out of phase

Two simple harmonic motions act along the same line on the same particle:

x_1(t) = 3\sin(5t)\ \text{cm}, \qquad x_2(t) = 4\sin\!\left(5t + \frac{\pi}{3}\right)\ \text{cm}

Find the amplitude and initial phase of the resultant SHM.

Phasor diagram for Example 1 Phasor A1 = 3 along the x-axis, phasor A2 = 4 at 60 degrees above it, resultant length labelled A and angle alpha measured from A1. A₁ = 3 A₂ = 4 60° A ≈ 6.08 α ≈ 34.7°
Phasor addition for Example 1: $A_1 = 3$, $A_2 = 4$ at $60°$, resultant $A \approx 6.08$ cm at $\alpha \approx 34.7°$.

Step 1. Identify A_1, A_2, and \varphi.

A_1 = 3 cm, A_2 = 4 cm, \varphi = 60° = \pi/3. Both frequencies are \omega = 5 rad/s.

Why: same frequency, so the phasor method applies directly. The difference in initial phase is \pi/3.

Step 2. Compute the resultant amplitude.

A^2 = A_1^2 + A_2^2 + 2A_1 A_2\cos\varphi = 9 + 16 + 2(3)(4)\left(\tfrac{1}{2}\right) = 25 + 12 = 37
A = \sqrt{37} \approx 6.08\ \text{cm}

Why: direct application of the law-of-cosines amplitude formula, with \cos(60°) = 1/2. The amplitude is not the simple sum 3 + 4 = 7, because the two SHMs are not in phase.

Step 3. Compute the resultant phase.

\tan\alpha = \frac{A_2\sin\varphi}{A_1 + A_2\cos\varphi} = \frac{4\sin 60°}{3 + 4\cos 60°} = \frac{4(\sqrt{3}/2)}{3 + 4(1/2)} = \frac{2\sqrt{3}}{5}
\alpha = \arctan\!\left(\frac{2\sqrt{3}}{5}\right) \approx \arctan(0.693) \approx 34.7° \approx 0.606\ \text{rad}

Why: the resultant arrow tilts toward A_2, so the resultant phase sits between 0 (the phase of A_1) and 60° (the phase of A_2), closer to A_1 because A_1 is the smaller arrow at the smaller angle — but not by much, because A_2 is larger. The arithmetic confirms this.

Result: The resultant SHM is x(t) \approx 6.08\sin(5t + 0.606)\ \text{cm}.

What this shows: Two SHMs of the same frequency always add to another SHM of the same frequency. The amplitude lies between |A_1 - A_2| = 1 and A_1 + A_2 = 7; for 60° phase difference it lands at about 6.08, leaning toward constructive.

Example 2: Tanpura beats — tuning a tabla

A tanpura drone sounds at exactly 220 Hz (standard Indian concert A). Struck alongside it, a slightly mistuned bayan sounds at an unknown nearby frequency. A musician counts 3 beats per second. Assuming the bayan is a touch sharper than the drone, find its frequency, and find the time between successive peaks of loudness.

Beat envelope of two SHMs near 220 Hz A fast carrier signal at about 221.5 Hz oscillates inside a slow envelope that peaks three times per second. t envelope carrier ≈ 221.5 Hz
The fast carrier (red) oscillates at the average frequency $\approx 221.5$ Hz; the slow dashed envelope swells and shrinks $3$ times per second — the beat frequency.

Step 1. Apply the beat-frequency formula.

f_{\text{beat}} = |f_1 - f_2| = 3\ \text{Hz}

Since the bayan is sharper (higher frequency) than the drone, f_{\text{bayan}} - f_{\text{drone}} = +3 Hz.

Why: beats per second equal the absolute difference of the two frequencies. The direction — which of the two is higher — is not determined by the beat alone, but is supplied by the problem statement.

Step 2. Solve for the unknown frequency.

f_{\text{bayan}} = 220 + 3 = 223\ \text{Hz}

Why: add the beat frequency to the known drone frequency, because the problem tells you the bayan is sharper.

Step 3. Time between successive peaks of loudness.

T_{\text{beat}} = \frac{1}{f_{\text{beat}}} = \frac{1}{3}\ \text{s} \approx 0.333\ \text{s}

Why: the beat period is the reciprocal of the beat frequency, just like the period of any oscillation.

Step 4. A tuning fix.

If the musician tightens the head of the bayan and the beat rate drops from 3 Hz to 1 Hz, the frequency gap has narrowed from 3 Hz to 1 Hz. The bayan is now at 221 Hz. Tighten further until the beats vanish entirely — you have matched 220 Hz.

Why: the ear is a sensitive null detector. Humans can hear beats as slow as 1 in 20 seconds, so tuning by beats reaches accuracy that direct pitch comparison cannot.

Result: f_{\text{bayan}} = 223 Hz; successive peaks of loudness arrive every \tfrac{1}{3} s.

What this shows: Superposition of two nearly equal SHMs gives an oscillation at the average frequency with a loudness envelope at the difference frequency. This is the working principle behind every tuning fork, every tabla tuning session, and every ear's ability to hear when two tones are almost the same.

Example 3: Perpendicular SHMs at frequency ratio 2:1

An electron in a cathode-ray oscilloscope is driven by two perpendicular SHMs:

x(t) = 2\sin(4\pi t)\ \text{cm}, \qquad y(t) = 3\sin(2\pi t)\ \text{cm}

Describe the figure traced on the screen, count the lobes, and find the period.

Lissajous figure with frequency ratio 2:1 A figure-eight curve inscribed in a 4 by 6 centimetre rectangle. x (cm) y (cm) 2 lobes vertical 1 lobe horizontal
With $\omega_x = 2\omega_y$, the trace closes on itself after one $y$-period, forming a figure-eight — two vertical lobes, one horizontal lobe.

Step 1. Identify the two angular frequencies.

\omega_x = 4\pi rad/s, \omega_y = 2\pi rad/s. Frequencies: f_x = 2 Hz, f_y = 1 Hz.

Step 2. Frequency ratio.

\frac{\omega_x}{\omega_y} = \frac{4\pi}{2\pi} = \frac{2}{1}

In lowest terms, p = 2 and q = 1.

Why: the theorem says the figure has p vertical lobes (touches the top/bottom of the bounding box p times per joint period) and q horizontal lobes.

Step 3. Describe the figure.

2 vertical lobes, 1 horizontal lobe — this is the classic figure-eight (also called a "bowtie" or lemniscate). The amplitudes are A = 2 cm (horizontal extent) and B = 3 cm (vertical extent), so the figure-eight is inscribed in a 4 cm × 6 cm rectangle.

Step 4. The period of the joint motion.

The joint period T is the least common period of both oscillations. T_x = 1/f_x = 0.5 s; T_y = 1/f_y = 1 s. The LCM is 1 s — because in 1 s, x completes 2 full cycles and y completes 1 full cycle, and both return to their starting states.

T = 1\ \text{s}

Why: T = q\cdot T_x = p\cdot T_y. Here q = 1, so T = T_y = 1 s. This is why the ratio must be rational for the figure to close — only then does a common period exist.

Result: A figure-eight (p:q = 2:1) inscribed in a 4 \times 6 cm rectangle, completing one full tracing every 1 second.

What this shows: The lobe count of a Lissajous figure is exactly the frequency ratio. This is why the cathode-ray oscilloscope is an unknown-frequency meter: you lock the figure, count the lobes, and read off the ratio.

Common confusions

If you came here to compute the amplitude of two added SHMs, hear beats clearly, and recognise a Lissajous figure, you are done. What follows is for readers who want the full complex-number formulation, the proof for three or more SHMs, and the connection to Fourier analysis.

Complex exponentials — why phasors actually work

The phasor method looks like a trick. It is not — it is the statement that real-valued SHMs are the real part of complex exponentials.

Write A_1\sin(\omega t) as \operatorname{Im}(A_1 e^{i\omega t}), and A_2\sin(\omega t + \varphi) as \operatorname{Im}(A_2 e^{i\varphi}e^{i\omega t}). Since the imaginary part is linear,

x_1 + x_2 = \operatorname{Im}\!\left[(A_1 + A_2 e^{i\varphi}) e^{i\omega t}\right]

The complex number A_1 + A_2 e^{i\varphi} is the sum of two complex arrows — A_1 along the real axis and A_2 rotated by \varphi. Its modulus is

|A_1 + A_2 e^{i\varphi}| = \sqrt{(A_1 + A_2\cos\varphi)^2 + (A_2\sin\varphi)^2} = \sqrt{A_1^2 + A_2^2 + 2A_1 A_2\cos\varphi}

which is the amplitude we derived. Its argument is \arctan\!\left(\frac{A_2\sin\varphi}{A_1 + A_2\cos\varphi}\right) — the phase \alpha. The whole phasor method is just complex-number arithmetic in polar form, with the common factor e^{i\omega t} stripped off.

Three or more SHMs on the same line

For N SHMs of the same frequency,

x(t) = \sum_{k=1}^{N} A_k\sin(\omega t + \varphi_k) = \operatorname{Im}\!\left(e^{i\omega t}\sum_{k=1}^{N} A_k e^{i\varphi_k}\right)

the resultant is another SHM whose complex amplitude is \sum_k A_k e^{i\varphi_k} — just the vector sum of N phasors. The N-sided polygon formed by stacking the N phasors head-to-tail has its closing edge equal to the resultant.

A beautiful special case: if the N phasors have equal amplitude A and are evenly spaced in phase from 0 to 2\pi, they form a regular N-gon that closes back to the origin. The resultant is zero. This is the principle behind phased array antennas, multi-slit diffraction gratings, and the classical fact that the sum \sum_{k=0}^{N-1} e^{2\pi i k/N} = 0 for every N \ge 2.

The ellipse equation as a conic section

The equation

\frac{x^2}{A^2} + \frac{y^2}{B^2} - \frac{2xy}{AB}\cos\varphi = \sin^2\varphi

is a quadratic in x and y. Its discriminant — the quantity \Delta that classifies conics — comes out to

\Delta = \left(\frac{\cos\varphi}{AB}\right)^2 - \frac{1}{A^2}\cdot\frac{1}{B^2} = \frac{\cos^2\varphi - 1}{A^2 B^2} = -\frac{\sin^2\varphi}{A^2 B^2} \le 0

A negative discriminant means the conic is always an ellipse (including the degenerate limits of a line when \sin\varphi = 0, and a circle when A = B and \cos\varphi = 0). It is never a hyperbola or parabola. Perpendicular SHMs of the same frequency can only trace closed orbits — and all such orbits are ellipses. This is no accident: the two uncoupled SHMs can be re-expressed as a single complex SHM z(t) = x + iy, whose trajectory in the complex plane is an ellipse precisely because x and y are sinusoidal with a constant phase offset.

The density of Lissajous figures for irrational ratios

When \omega_x/\omega_y is irrational, the Lissajous curve is the image of a line of irrational slope on a torus (the 2-torus \mathbb{R}^2 / 2\pi\mathbb{Z}^2). A theorem by Weyl (early 20th century) — proved from first principles using Fourier series — says such a line is equidistributed: it visits every open region of the torus with frequency proportional to that region's area. Translated back, the Lissajous curve fills the bounding rectangle uniformly as t \to \infty. You never "see" the non-closure on an oscilloscope with ordinary persistence, because the afterglow only shows the last few seconds — enough to reveal a dense pattern, not enough to reveal that it never quite repeats.

Fourier's step from here

Superposition of many SHMs — possibly infinitely many, at different frequencies, different amplitudes, different phases — is what produces every periodic waveform you have ever encountered. The square wave from a digital clock, the sawtooth of a violin, the complex timbre of a sitar string: each is a sum of pure SHMs at the fundamental and its harmonics. That statement is Fourier's theorem, and it is the bridge from this article to the whole subject of wave analysis. Every SHM you sum is a phasor; every sum is a new phasor; every periodic motion is a sum of phasors. The simple harmonic motion is the atom. Everything else is built from it.

Where this leads next