physics2u
Depth
PU-103 / L05 · lecture

The Complex Exponential Method

~5 min read · Tier toggle changes depth (T1 plain · T2 standard · T3 rigour)

BEFORE YOU START

You should be comfortable with Euler’s formula, basic complex number arithmetic, and the general solution to the simple harmonic oscillator equation derived in the previous lecture.

Why this matters

The complex exponential method transforms trigonometric algebra into simple algebraic manipulation.

In the previous lecture, we solved the equation of motion for a pendulum using sines and cosines. While correct, handling sums of sines with different phases and amplitudes becomes algebraically tedious. By introducing complex numbers, we exploit the fact that the differential equation for a harmonic oscillator is linear with constant coefficients. This allows us to replace trigonometric functions with exponentials, where differentiation is simply multiplication by a constant. This technique is not merely a shortcut; it is the foundational language of wave physics, enabling the clean derivation of standing waves, interference, and the wave equation itself.

The Core Idea

Imagine you are tracking a point moving in a circle. Its horizontal position is a cosine, and its vertical position is a sine. Instead of tracking two separate quantities, we can describe the entire motion with a single rotating vector, or phasor. In mathematics, this is represented by the complex exponential \( e^{i\omega t} \). The key insight is that the real part of this complex quantity gives us the cosine, and the imaginary part gives us the sine. Because the equation of motion for a spring-mass system is linear, if a complex function is a solution, its real part must also be a solution. This means we can solve the problem using the simpler exponential form and simply take the real part at the very end to get the physical answer. This avoids the messy product-to-sum trigonometric identities required when adding oscillations with different phases.

From Trigonometry to Exponentials

Recall Euler’s formula, which links the exponential and trigonometric functions:

\[ e^{i\theta} = \cos\theta + i\sin\theta \]

For a harmonic oscillator with angular frequency \(\omega\), the general real solution is \( x(t) = A\cos(\omega t + \phi) \). We can rewrite this using the complex exponential:

\[ x(t) = \mathrm{Re}\left[ A e^{i(\omega t + \phi)} \right] = \mathrm{Re}\left[ A e^{i\phi} e^{i\omega t} \right] \]

Let us define a complex amplitude \( C = A e^{i\phi} \). The solution becomes \( x(t) = \mathrm{Re}\left[ C e^{i\omega t} \right] \). The advantage appears when we differentiate. The first derivative of \( e^{i\omega t} \) is \( i\omega e^{i\omega t} \), and the second derivative is \( (i\omega)^2 e^{i\omega t} = -\omega^2 e^{i\omega t} \). This converts the differential equation \( \ddot{x} + \omega^2 x = 0 \) into the algebraic equation \( (-\omega^2 + \omega^2)C e^{i\omega t} = 0 \), which is trivially satisfied. This algebraic simplicity is the primary motivation for the method.

Superposition and Phase

The power of the complex method becomes evident when adding two oscillations. Suppose we have two oscillators with amplitudes \( A_1 \) and \( A_2 \) and phases \( \phi_1 \) and \( \phi_2 \). The real sum is \( x(t) = A_1\cos(\omega t + \phi_1) + A_2\cos(\omega t + \phi_2) \). Using trigonometric identities, this is cumbersome. In complex form, the sum is simply \( \mathrm{Re}\left[ (C_1 + C_2) e^{i\omega t} \right] \), where \( C_1 = A_1 e^{i\phi_1} \) and \( C_2 = A_2 e^{i\phi_2} \). The result is a single oscillation with a new complex amplitude \( C_{\text{total}} = C_1 + C_2 \). The new amplitude is the magnitude \( |C_{\text{total}}| \), and the new phase is the argument \( \arg(C_{\text{total}}) \). This vector addition in the complex plane is far more intuitive and computationally efficient than manipulating trigonometric sums, especially when dealing with many oscillators or waves.

Connection to the Wave Equation

As we move towards the continuum limit in later lectures, the complex exponential method extends naturally to spatial waves. A travelling wave can be written as \( y(x,t) = \mathrm{Re}\left[ A e^{i(kx - \omega t)} \right] \). Here, \( k \) is the wavenumber and \( \omega \) is the angular frequency. The term \( kx - \omega t \) represents the phase. The complex form allows us to handle interference of multiple waves by simply adding their complex amplitudes. This is crucial for deriving standing waves, where we add a wave travelling in the \( +x \) direction and one in the \( -x \) direction. The complex sum \( e^{ikx} + e^{-ikx} \) immediately yields \( 2\cos(kx) \) via Euler’s formula, revealing the standing wave pattern without lengthy trigonometric manipulation. This method is the standard tool for analyzing dispersion, impedance, and the Doppler effect in subsequent units.

Tier 3 · watch out

A common pitfall is forgetting to take the real part at the end. The complex solution \( C e^{i\omega t} \) is a mathematical construct; the physical displacement is strictly real. If you forget the \( \mathrm{Re} \) operator, you may inadvertently include imaginary components that have no physical meaning in position or velocity. Always verify that your final answer is a real-valued function of time. C

Worked example

Problem. Two harmonic oscillators with the same frequency \(\omega = 2.0\ \mathrm{rad/s}\) have amplitudes \( A_1 = 3.0\ \mathrm{cm} \) and \( A_2 = 4.0\ \mathrm{cm} \). Their phases are \( \phi_1 = 0 \) and \( \phi_2 = \pi/2 \). Determine the amplitude and phase of the resultant oscillation.

  1. Define the complex amplitudes: \( C_1 = 3.0 e^{i0} = 3.0 \) and \( C_2 = 4.0 e^{i\pi/2} = 4.0i \).
  2. Sum the complex amplitudes: \( C_{\text{total}} = C_1 + C_2 = 3.0 + 4.0i \).
  3. Calculate the magnitude (resultant amplitude): \( A_{\text{total}} = |C_{\text{total}}| = \sqrt{3.0^2 + 4.0^2} = \sqrt{9.0 + 16.0} = \sqrt{25.0} = 5.0\ \mathrm{cm} \).
  4. Calculate the phase: \( \phi_{\text{total}} = \arg(C_{\text{total}}) = \arctan\left(\frac{4.0}{3.0}\right) \approx 0.93\ \mathrm{rad} \).
\[ A_{\text{total}} = 5.0\ \mathrm{cm}, \quad \phi_{\text{total}} \approx 0.93\ \mathrm{rad} \]

Units check. Amplitude is in centimetres, phase is in radians (dimensionless). The calculation is consistent with SI-derived units for length and dimensionless phase.

CHECK YOURSELF

Three quick tests

  1. Why is the complex exponential method preferred over trigonometric identities for superposition?
    AnswerIt converts differential equations into algebraic equations and simplifies the addition of oscillations with different phases into vector addition in the complex plane.
  2. What is the physical meaning of the imaginary part of the complex solution?
    AnswerIt has no direct physical meaning for a single real-valued observable like displacement; it is a mathematical tool that facilitates calculation. Only the real part (or imaginary part, depending on convention) represents the physical quantity.
  3. If \( C = 5 e^{i\pi/4} \), what are the amplitude and phase?
    AnswerAmplitude is 5, phase is \(\pi/4\) radians.
PROBLEMS

Problem set for PU-103 →

Each derivation in this unit ends with five graded problems with full solutions.

NOTES

Lecture notes drafted with a local model and checked line by line by the editor; every number in the worked example was recomputed.

Derivations cited: — · Threads: force, energy, waves