05 Complex Oscillations
05 Complex Oscillations
05 Complex Oscillations
5. Complex Oscillations
In physics and the other quantitative sciences, complex numbers are widely used for
analyzing oscillations and waves. We begin our study of this topic with an elementary
model called the damped harmonic oscillator.
Damping force
The quantity in square brackets is a linear differential operator acting on x(t). The
three terms in the operator correspond to the three ingredients of the damped harmonic
oscillator model: (i) a second derivative term stemming from Newton’s second law, (ii)
a first derivative term representing damping, and (iii) a constant term representing the
spring force.
Writing the differential equation this way emphasizes its linearity, a property that
is important for finding the solutions, as discussed below.
31
Y. D. Chong (2021) MH2801: Complex Methods for the Sciences
where A and ϕ are free parameters. This is a sinusoidal oscillation with amplitude A, phase
ϕ, and frequency ω0 .
The parameter ω0 comes from the spring constant k = mω02 . (In fact, the spring constant
was parameterized this way so that the solution ends up with this nice form.) We call ω0
the natural frequency, meaning the frequency of the oscillator in the absence of damping
or other disturbances.
Note—Some authors call ω0 the “angular frequency”, reserving the term “frequency”
for the quantity f0 = ω0 /2π. But since we will always deal with ω0 rather than f0 , we
will refer to ω0 as simply “frequency”.
d2 z dz
2
+ 2γ + ω02 z(t) = 0, z(t) ∈ C. (5.5)
dt dt
The parameter-counting rule for real ODEs (see Section 1.3) generalizes to complex ODEs,
except that the free parameters should be complex numbers. In this case, the complex
damped harmonic oscillator equation is a second-order ODE, so its general solution must
have two complex free parameters.
If we can find a solution z(t) for the complex damped harmonic oscillator equation, then
its real part x(t) = Re[z(t)] would be a solution to the real damped harmonic oscillator
32
Y. D. Chong (2021) MH2801: Complex Methods for the Sciences
equation, since
d2 x dx 2 d2 Re[z] dRe[z]
+ 2γ + ω0 x(t) = + 2γ + ω02 Re[z(t)] (5.6)
dt2 dt dt2
2 dt
d z dz 2
= Re + 2γ + ω 0 z(t) (5.7)
dt2 dt
= 0. (5.8)
Here, we have used the fact that the Re[· · · ] operation can be freely shuffled in or out of
derivatives and sums with real coefficients (see Section 3.1).
is also a solution. This can be verified by direct substitution into the ODE.
Due to linearity, a good strategy for finding the general solution is to identify two different
specific solutions, z1 (t) and z2 (t). Then we can construct the above linear superposition, with
the two complex coefficients a1 and a2 serving as free parameters. Any solution containing
two free parameters is automatically the general solution.
So now we have to find some specific solutions. Let us make a guess, or ansatz:
This equation holds for all t if and only if the complex second-order polynomial on the
left-hand side is zero:
The solutions to the polynomial can be obtained from the quadratic formula:
q
ω = −iγ ± ω02 − γ 2 . (5.15)
Either ω+ or ω− gives a valid specific solution to the damped harmonic oscillator equation.
Note that the solution is specific and contains no free parameters, since ω± is entirely deter-
mined by γ and ω0 (which are fixed parameters appearing in the ODE, not free parameters).
33
Y. D. Chong (2021) MH2801: Complex Methods for the Sciences
The values depend on the oscillator parameters γ and ω0 . The plot below shows how ω±
move in the complex plane as γ and ω0 are varied:
2. If we increase γ from zero with ω0 fixed, both ω+ and ω− move downwards in the
complex plane, along a circular arc.
3. At γ = ω0 , the frequencies meet along the imaginary axis.
4. For γ > ω0 , the two frequencies move apart along the imaginary axis.
To understand the implications of these complex frequencies, let uswrite the real and
imaginary parts of ω as ωR + iωI . Then
If both ωR and ωI are non-zero, this describes a spiral trajectory in the complex plane (see
Section 3.6) whose magnitude either increases or decreases with time, depending on the sign
of ωI . To see this explicitly, we can write
Assuming that γ > 0, the complex frequencies given by Eq. (5.17) always have ωI < 0.
Referring to Eq. (5.20), this means the solutions are always damped. Moreover, if ωR ̸= 0,
then z(t) executes a clockwise (for ω+ ) or counterclockwise (for ω− ) inward spiral; in either
case, Re[z(t)] describes an oscillation with diminishing amplitude, consistent with our guess
from Section 5.1.2. On the other hand, if ωR = 0, then the solution is a pure exponential de-
cay with no oscillation. In the next few sections, we will undertake a systematic examination
of these two distinct behaviors.
34
Y. D. Chong (2021) MH2801: Complex Methods for the Sciences
By taking a linear superposition of these specific solutions, we obtain the general solution
for the complex damped harmonic oscillator equation:
so that ω± = −iγ ± Ω. Plugging this into the complex general solution gives
Hence,
This is called an under-damped solution. The coefficients A and B are two independent
real parameters, so this serves as a general solution for the real damped harmonic oscillator
equation. Using the trigonometric formulas, the solution can be equivalently written as
( p
−γt
C = A2 + B 2 ,
x(t) = C e cos Ωt + Φ , where (5.30)
Φ = − tan−1 [B/A] .
This shows explicitly that it consists of a sinusoidal oscillation (with frequency Ω) overlaid
on an “envelope” given by the exponentially decreasing function exp(−γt). The graph of
x(t) versus t is plotted below:
35
Y. D. Chong (2021) MH2801: Complex Methods for the Sciences
Since γ + Γ is associated with a faster-decaying exponential, for large t the second term
becomes negligible compared to the first term, and the solution has the limiting form
A plot of x(t) versus t is shown below, with the limiting form plotted as dashes.
36
Y. D. Chong (2021) MH2801: Complex Methods for the Sciences
The over-damped solution has an interesting feature: for stronger damping, the decay
rate at long times is slower. This is the opposite of the under-damped oscillator’s behavior!
Mathematically, it happens because the decay rate (γ − Γ), appearing in the limiting form
of x(t) for large t, is a decreasing function of γ.
In the over-damped regime, the motion of the oscillator is dominated by the damping
force rather than the spring force. Therefore, as the oscillator tries to return to its equilib-
rium position x = 0, the damping acts against this motion, and the stronger the damping,
the slower the decay to equilibrium. By contrast, in the under-damped regime, the spring
force is dominant, so stronger damping leads to faster decay via faster dissipation of the
oscillator’s kinetic energy.
However, mechanics problems are often expressed in terms of an initial value problem,
specifying the state of the system at some initial time t = 0. In other words, given z(0) ≡ x0
and ż(0) ≡ v0 , what is z(t) in terms of x0 and v0 ?
We can solve the initial-value problem by finding z(0) and ż(0) in terms of the above
general solution for z(t):
z(0) = a+ + a− = x0 (5.39)
ż(0) = −iω+ a+ − iω− a− = v0 . (5.40)
37
Y. D. Chong (2021) MH2801: Complex Methods for the Sciences
We can plug these coefficients back into the general solution. After some algebra, the result
simplifies to
γx0 + v0
q
z(t) = e−γt x0 cos(Ωt) + sin(Ωt) , where Ω ≡ ω02 − γ 2 . (5.43)
Ω
For the under-damped case, Ω is real, and this solution is consistent with the one we derived
om Section 5.3.1, except that it is now explicitly expressed in terms our initial conditions
x0 and v0 . As for the over-damped case, we can perform the replacement
q
Ω → iΓ = i γ 2 − ω02 . (5.44)
Then, using the relationships between trigonometric and hyperbolic functions from Sec-
tion 3.5.3, the solution can be re-written as
−γt γx0 + v0
z(t) = e x0 cosh(Γt) + i sinh(Γt) (5.45)
iΓ
x0 γx0 + v0 x0 γx0 + v0
= + e−(γ−Γ)t + − e−(γ+Γ)t , (5.46)
2 2Γ 2 2Γ
5.5 Exercises
1. In Section 5.2.2, we encountered the complex frequencies
q
ω± = −iγ ± ω02 − γ 2 . (5.47)
For fixed ω0 and ω0 > γ (under-damping), prove that ω± lie along a circular arc in
the complex plane.
2. Derive the general solution for the critically damped harmonic oscillator by following
these steps:
(a) Consider the complex ODE, in the under-damped regime ω0 > γ. We saw in
Section 5.3 that the general solution has the form
q q
z(t) = ψ+ exp −γ − i ω02 − γ 2 t + ψ− exp −γ + i ω02 − γ 2 t (5.48)
38
Y. D. Chong (2021) MH2801: Complex Methods for the Sciences
(b) The expression for z(t) is presently parameterized by the independent parameters
ψ+ , ψ− , ε, and γ. We are free to re-define the parameters, by taking
α = ψ+ + ψ− (5.49)
β = −iε(ψ+ − ψ− ). (5.50)
Using these equations, express z(t) using a new set of independent complex pa-
rameters, one of which is ε. Explicitly identify the other independent parameters,
and state whether they are real or complex.
(c) Expand the exponentials in z(t) in terms of the parameter ε. Then show that in
the limit ε → 0, z(t) reduces to the critically-damped general solution (5.37).
3. Repeat the above derivation for the critically-damped solution, but starting from the
over-damped regime γ > ω0 .
4. Let z(t) be a complex function of a real input t, which obeys the differential equation
dz
= −i (ω1 − iγ) z(t), (5.51)
dt
where ω1 and γ are real. Find the general solution for z(t), and hence show that z(t)
satisfies the damped oscillator equation
2
d d 2
+ 2γ + ω 0 z(t) = 0 (5.52)
dt2 dt
for some ω02 . Finally, show that this harmonic oscillator is always under-damped.
[solution available]
39