2.2 The complex-exponential trick
The SHM solution has two real numbers buried in it — amplitude and phase . Carrying them around explicitly through every derivation is unpleasant. The complex-exponential trick (also called phasor analysis) packages both into a single complex number and turns time derivatives into multiplication. Almost every equation in the rest of the book is easier in this notation.
If you have already worked through the foundations chapter on complex exponentials, this lesson is a quick re-application; otherwise, read it first.
The trick
Given a real oscillation
define the complex amplitude (phasor)
and write
The real signal is recovered by multiplying by and taking the real part. The complex number carries both amplitude and phase in a single object.
Why this is so useful
Time derivatives of are easy: . So if we work with the complex form , the equation becomes
trivially satisfied. The differential equation has been converted to an algebraic identity.
More usefully, in the driven oscillator (next lesson but one), with damping and a sinusoidal forcing term, the SHM equation becomes
and substituting gives
a one-line algebraic equation for the amplitude. No characteristic equation, no real-part juggling, no separate amplitude-and-phase calculations. Acoustics happens at the level of .
A small example
Two oscillations of the same frequency:
Their phasors are and . Their sum, also a sinusoid at frequency , has phasor
with magnitude and phase rad. So
Adding two sinusoids became adding two complex numbers. This is a small example; the saving compounds dramatically in problems with many sources, reflections, or modes.
A caveat
The “take the real part at the end” rule works only for linear operations. Sums, differences, scalar multiples, time derivatives, integrals — all fine. Products of fields (intensity, energy, power) are not linear, and you cannot just multiply complex amplitudes and take a real part. The correct rule for the time-average of a product of two real sinusoidal signals is
which we will invoke when we compute acoustic intensity in chapter 5.
For everything that is linear, working in complex exponentials is essentially free. The rest of the chapter does so without further comment.