Why oscillations and waves matter

A guitar string, a swinging pendulum, an electron bound in a molecule and an electromagnetic field in vacuum look nothing alike, yet disturb any of them slightly from stable equilibrium and the same behaviour appears: a restoring influence pulls the system back, it overshoots, and it oscillates. Chain many such oscillators together and the disturbance travels outward as a wave. PH11001 opens with this observation because nearly every later topic in the course — damped and forced oscillation, coupled oscillators, the wave equation, interference, even the Schrodinger equation — is a variation on one governing equation. This article explains why building a general mathematical toolkit for oscillations first, rather than studying springs and light separately, is the efficient way to learn all of it.

The core insight

Any system displaced from stable equilibrium by a restoring force proportional to −x-x obeys the universal equation mx¨+kx=0m\ddot{x}+kx=0, so one toolkit of oscillatory mathematics — complex exponentials, Euler's formula, phasors — serves mechanics, acoustics, optics and quantum physics alike.

The core idea

One equation, many disguises. Whenever a small displacement xx from stable equilibrium produces a restoring force proportional to −x-x, Newton's second law reduces to the same linear differential equation regardless of what xx physically represents:

mx¨+kx=0.m\ddot{x} + kx = 0 .

where: mm is the inertia associated with the coordinate xx (mass, or an effective inertia for a non-mechanical system), kk is the restoring-force constant (stiffness, or an effective stiffness), and x(t)x(t) is the displacement from equilibrium as a function of time tt. A mass on a spring, a pendulum swinging through small angles, a charge oscillating in a molecule, and — once many such oscillators are coupled — a wave equation for a field variable, all reduce to this form or its close cousins with damping and driving terms added.

Why complex exponentials, not just sines and cosines. The standard oscillatory solution is written using Euler's formula,

eiθ=cos⁡θ+isin⁡θ,e^{i\theta} = \cos\theta + i\sin\theta ,

so that x(t)=Re(Aei(ω0t+ϕ))x(t) = \mathrm{Re}\big(Ae^{i(\omega_0 t + \phi)}\big) represents the same physical motion as x(t)=Acos⁡(ω0t+ϕ)x(t) = A\cos(\omega_0 t + \phi), but with algebra that is dramatically simpler. where: AA is the amplitude, ω0\omega_0 the angular frequency, ϕ\phi the phase, and Re(⋅)\mathrm{Re}(\cdot) extracts the real part, which is the only part with physical meaning here.

Two reasons this toolkit is indispensable. First, linearity: because mx¨+kx=0m\ddot x + kx = 0 is linear, superposition holds, and adding oscillations becomes ordinary addition of complex numbers (phasors) instead of repeated use of trigonometric sum-to-product identities. Second, universality: the same differential equation structure reappears for pressure oscillations in acoustics, electric-field oscillations in optics, and probability-amplitude oscillations in quantum mechanics — only the physical quantity that oscillates changes, never the mathematics.

Figure
Four physically different systems all obeying the same oscillator equation
One equation, four disguises: mx-double-dot + kx = 0 spring mass on spring theta small-angle pendulum E field light wave psi quantum amplitude Same restoring-force structure, same solution technique, different physical meaning of x This is why the course teaches the mathematics before any single device
Derivation AAdding two oscillations with phasors instead of trigonometric identities

The goal of this derivation is to show, using only Euler's formula and ordinary complex-number arithmetic, that two oscillations of the same angular frequency ω\omega always combine into a single oscillation of that same frequency, and to obtain a fast, mechanical procedure for finding its resultant amplitude and phase without ever expanding a cos⁡(ωt+ϕ)\cos(\omega t + \phi) term by hand.

Step 1. Write each oscillation as the real part of a rotating complex phasor. Take x1(t)=A1cos⁡(ωt)x_1(t) = A_1\cos(\omega t) and x2(t)=A2cos⁡(ωt+ϕ2)x_2(t) = A_2\cos(\omega t + \phi_2), and represent them as z1=A1eiωtz_1 = A_1 e^{i\omega t} and z2=A2eiϕ2eiωtz_2 = A_2 e^{i\phi_2} e^{i\omega t}, so that x1=Re(z1)x_1 = \mathrm{Re}(z_1) and x2=Re(z2)x_2 = \mathrm{Re}(z_2) by construction.

Step 2. Factor out the common time dependence. Both phasors share the same rotating factor eiωte^{i\omega t}, so z1+z2=(A1+A2eiϕ2)eiωt=A~ eiωtz_1 + z_2 = \big(A_1 + A_2 e^{i\phi_2}\big) e^{i\omega t} = \tilde{A}\, e^{i\omega t}, where the complex amplitude A~=A1+A2eiϕ2\tilde A = A_1 + A_2 e^{i\phi_2} carries all the information about the resultant oscillation and needs to be computed only once, not at every instant tt.

Step 3. Extract the physical amplitude and phase. Because Re(A~eiωt)\mathrm{Re}(\tilde A e^{i\omega t}) is itself a cosine of angular frequency ω\omega, the resultant motion is x1(t)+x2(t)=∣A~∣cos⁡(ωt+arg⁡A~)x_1(t) + x_2(t) = |\tilde A|\cos(\omega t + \arg \tilde A), so the resultant amplitude is simply the magnitude ∣A~∣|\tilde A| and the resultant phase is simply the argument arg⁡A~\arg\tilde A of the single complex number A~\tilde A.

Step 4. Confirm this matches the trigonometric route without doing it. Expanding x1+x2x_1+x_2 directly would require the identity cos⁡(ωt+ϕ2)=cos⁡ωtcos⁡ϕ2−sin⁡ωtsin⁡ϕ2\cos(\omega t+\phi_2)=\cos\omega t\cos\phi_2-\sin\omega t\sin\phi_2 and then combining sine and cosine coefficients using Rcos⁡(ωt−δ)=a2+b2cos⁡(ωt−δ)R\cos(\omega t-\delta)=\sqrt{a^2+b^2}\cos(\omega t-\delta); the phasor route reaches the identical ∣A~∣|\tilde A| and arg⁡A~\arg\tilde A through nothing but complex-number addition, which is why it is the default tool for the rest of the course whenever frequencies match.

Worked example

Problem. A quantity obeys y¨+400 y=0\ddot y + 400\,y = 0, with yy in millimetres and tt in seconds. At t=0t = 0, y=5y = 5 mm and the quantity is momentarily at rest. Find ω0\omega_0, the period TT, and the full solution y(t)y(t); then add a second oscillation x2(t)=4cos⁡(ωt+π/2)x_2(t) = 4\cos(\omega t + \pi/2) mm of the same frequency to x1(t)=3cos⁡(ωt)x_1(t) = 3\cos(\omega t) mm using phasors.

Step 1. Comparing y¨+400 y=0\ddot y + 400\,y = 0 with the universal form y¨+ω02y=0\ddot y + \omega_0^2 y = 0 gives ω02=400 s−2\omega_0^2 = 400\ \text{s}^{-2}, so ω0=400=20 rad/s\omega_0 = \sqrt{400} = 20\ \text{rad/s}, and the period is T=2π/ω0=2π/20≈0.314 sT = 2\pi/\omega_0 = 2\pi/20 \approx 0.314\ \text{s}.

Step 2. The general solution is y(t)=Acos⁡(ω0t+ϕ)y(t) = A\cos(\omega_0 t + \phi). The condition y˙(0)=−Aω0sin⁡ϕ=0\dot y(0) = -A\omega_0\sin\phi = 0 forces sin⁡ϕ=0\sin\phi = 0, and y(0)=Acos⁡ϕ=5y(0) = A\cos\phi = 5 mm with A≠0A\neq 0 selects ϕ=0\phi = 0, giving A=5A = 5 mm, so y(t)=5cos⁡(20t) mmy(t) = 5\cos(20t)\ \text{mm}. Nothing here depended on whether yy was a spring displacement, a voltage, or a pendulum angle.

Step 3. Now apply the phasor method of the derivation above. Write z1=3eiωtz_1 = 3e^{i\omega t} and z2=4eiπ/2eiωt=4i eiωtz_2 = 4e^{i\pi/2}e^{i\omega t} = 4i\,e^{i\omega t}, since eiπ/2=cos⁡(π/2)+isin⁡(π/2)=ie^{i\pi/2} = \cos(\pi/2) + i\sin(\pi/2) = i. The complex amplitude is A~=3+4i\tilde A = 3 + 4i.

Step 4. The resultant amplitude and phase follow from the magnitude and argument of A~\tilde A:

A=∣A~∣=32+42=5,ϕ=arg⁡(A~)=tan⁡−1 ⁣(43)≈53.1∘.A = |\tilde A| = \sqrt{3^2+4^2} = 5, \qquad \phi = \arg(\tilde A) = \tan^{-1}\!\left(\frac{4}{3}\right) \approx 53.1^\circ .

The full solution is y(t)=5cos⁡(20t) mmy(t) = 5\cos(20t)\ \text{mm}, and the combined oscillation is x1(t)+x2(t)=5cos⁡(ωt+53.1∘)x_1(t)+x_2(t) = 5\cos(\omega t + 53.1^\circ) mm — the same amplitude value, 5, arising twice from two different phasor calculations.

Competitive stretch

If a third oscillation x3(t)=5cos⁡(ωt+180∘)x_3(t) = 5\cos(\omega t + 180^\circ) mm of the same frequency is added to x1x_1 and x2x_2 above, its phasor is 5eiπ=−55e^{i\pi} = -5, so the new total complex amplitude is A~′=(3+4i)+(−5)=−2+4i\tilde A' = (3+4i) + (-5) = -2 + 4i, giving resultant amplitude ∣A~′∣=4+16=20≈4.47|\tilde A'| = \sqrt{4+16} = \sqrt{20} \approx 4.47 mm — showing that phasor addition scales to any number of same-frequency oscillations by simply summing more complex terms, with no extra trigonometric work at each step.

Common traps

  • Treating complex numbers as decoration for "advanced" physics rather than an algebraic shortcut — the physical displacement is always Re(⋅)\mathrm{Re}(\cdot); the imaginary part carries no separate physical meaning in this context.
  • Applying phasor addition to oscillations of different angular frequencies; it only works when every term shares the same ω\omega, since only then does eiωte^{i\omega t} factor out cleanly.
  • Assuming the universal equation x¨+ω02x=0\ddot x + \omega_0^2 x = 0 only describes mechanical systems, and being surprised when the identical structure reappears for electric fields or quantum wavefunctions.
  • Confusing angular frequency ω\omega (rad/s) with ordinary frequency ff (Hz); always convert with ω=2πf\omega = 2\pi f before comparing the two.

Ask the tutor: if you want another phasor-addition example worked live, or a plain-language walkthrough of why complex exponentials beat sines and cosines for this kind of algebra, ask the AI tutor.

If the physical displacement is always the real part, why bother with the imaginary part of a phasor at all?

The imaginary part is not discarded information about a second physical quantity — it exists purely to make the algebra of rotation and addition simple. Multiplying by eiθe^{i\theta} rotates a phasor by angle θ\theta in one step, and adding two phasors is ordinary vector-like addition, both far easier than manipulating sines and cosines directly. You keep the whole complex number through the calculation and take the real part only at the very end, once, rather than fighting trigonometric identities at every intermediate step.

Does every oscillating system in this course reduce to exactly m times x-double-dot plus kx equals zero?

Not literally every term, but every system starts from that structure or a close variant. Damping adds a term proportional to x˙\dot x, and an external drive adds a forcing term on the right-hand side, giving mx¨+bx˙+kx=F(t)m\ddot x + b\dot x + kx = F(t). Coupling many oscillators together turns the single equation into a set of coupled equations whose normal-mode solutions are still built from the same eiωte^{i\omega t} building blocks, and letting the number of coupled oscillators become continuous produces the wave equation. The core oscillator equation is the seed; later chapters graft damping, driving, coupling and continuity onto it one at a time.

Why do the pendulum, the spring and a molecule's oscillating charge all obey the same equation when they look completely different physically?

Because the equation only depends on one structural fact — that the restoring force or generalized force is proportional to −x-x for small displacements from a stable equilibrium — and not on what kind of physical quantity xx is. A pendulum's restoring torque is proportional to −sin⁡θ≈−θ-\sin\theta \approx -\theta for small angles, a spring's restoring force is exactly −kx-kx by Hooke's law, and a charge near equilibrium in a molecule feels a restoring electrical force that is also approximately linear for small displacements. Once you extract the effective "mass" and effective "stiffness" for each system, the differential equation and its solution method are identical, even though the physical mechanism producing the restoring influence is completely different in each case.

Before this

Where this leads