This chapter shows where simple harmonic, damped and forced oscillation come from: one differential equation and the roots of its characteristic equation. Springs, pendulums, RLC circuits and second-order control loops obey the same equation, so one pass here serves them all.
Updated 30 Oct 2026
What you will be able to do
You will derive the motion of a mass on a spring from Newton's second law and read off its period and energy. You will tell the three kinds of damped motion from the roots of one quadratic. You will find the steady response to a sinusoidal push, locate resonance and measure its sharpness with one number. You will also find how two masses joined by a spring can move together at a single frequency.
Before you start
Newton's second law and Hooke's law, F=−kx
Differentiation, including the chain rule and finding a minimum with the second derivative
Complex numbers with j2=−1: modulus, argument and Euler's formula, ejθ=cosθ+jsinθ
Linear equations with constant coefficients: trying x=est, and adding solutions to get another solution
The quadratic formula
The small-angle approximation sinθ≈θ, with θ in radians
Simple harmonic motion
A spring pulls a displaced mass back with a force proportional to the displacement. A force that always points back to the centre and grows with distance makes the mass overshoot, return, and overshoot again. Writing Newton's second law for this force gives one equation, and every oscillator in this chapter is a variation of it. Here x is the displacement from the rest position in metres and t is time in seconds.
EQUATION OF SIMPLE HARMONIC MOTION
mx¨=−kx⇒x¨+ω02x=0,ω0=mk
Holds for a mass m (kg) on a spring of stiffness k (N/m) that obeys Hooke's law, with no friction. A dot is d/dt.ω0 is the natural angular frequency in rad/s; f=ω0/(2π) in Hz.
SOLUTION AND PERIOD
x(t)=Acos(ω0t+φ),T=ω02π
Check by differentiating twice: x¨=−ω02Acos(ω0t+φ)=−ω02x. The amplitude A (m) and phase φ (rad) are fixed by the starting position and velocity. The period T (s) does not depend on A.
Uses v=x˙=−ω0Asin(ω0t+φ) and mω02=k.E is in joules and is constant: energy passes between motion and the spring, and none is lost.
PENDULUM AT SMALL ANGLES
mLθ¨=−mgsinθ≈−mgθ⇒θ¨+Lgθ=0,ω0=Lg,T=2πgL
Holds for a point mass m on a light string of length L (m), with no friction and θ in radians small enough that sinθ≈θ. Along the arc s=Lθ, so the acceleration is Lθ¨; gravity's part along the arc is −mgsinθ.g=9.8 m/s2. The mass cancels, so T does not depend on it.
WORKED EXAMPLE
A 0.50 kg mass on a 200 N/m spring is pulled 0.10 m from its rest position and released from rest. Find the period, the energy and the largest speed.
▸ Solution
The equation is x¨+ω02x=0 with ω0=k/m, so ω0=200/0.50=400=20 rad/s.
The period is T=2π/ω0=2π/20=0.314 s, because one cycle is 2π rad of phase.
The mass starts at rest 0.10 m out, so A=0.10 m. Energy is constant, so use the instant of release, when the speed is zero: E=21kA2=21(200)(0.10)2=1.0 J.
The speed is largest when all of E is motion, at x=0. From v=−ω0Asin(ω0t+φ), vmax=ω0A=20×0.10=2.0 m/s.
Check: 21mvmax2=21(0.50)(2.0)2=1.0 J, which equals E.
Answer:T=0.314 s, E=1.0 J, vmax=2.0 m/s.
Damped oscillation
Real systems lose energy. Take a friction force −bv that opposes the velocity. Newton's law then has a term in x˙, and the question becomes what that term does to the solution. Try x=est: the equation turns into a quadratic in s, and its two roots decide the kind of motion.
Holds for a friction force −bv with b (kg/s) constant. Dividing by m gives 2γ=b/m, so γ=b/(2m) is the damping constant in s−1, and ω02=k/m. Substituting x=est gives (s2+2γs+ω02)est=0, and est is never zero.
UNDERDAMPED MOTION
x(t)=Ae−γtcos(ωdt+φ),ωd=ω02−γ2
Holds for γ<ω0, where the square root is jωd. Adding the solutions e(−γ±jωd)t with conjugate weights and using Euler's formula gives this real form. The decay comes from −γ, the oscillation from ωd (rad/s). The envelope falls to 1/e in 1/γ seconds.
Case
Condition
Roots
Motion
Underdamped
γ<ω0
−γ±jωd
Oscillates inside a decaying envelope
Critically damped
γ=ω0
−γ (twice)
x=(C1+C2t)e−γt, with C1 (m) and C2 (m/s) set by the start: no oscillation, the fastest decay for a given ω0
Overdamped
γ>ω0
two real negatives
Sum of two decaying exponentials, slow creep back
A repeated root gives only one exponential, e−γt. The second solution is te−γt: substitute it into x¨+2γx˙+γ2x=0 and every term cancels.
WATCH OUT FOR
γ is not b. The equation must read x¨+2γx˙+…, so 2γ=b/m. Test: divide by m first, then read off the coefficient of x˙.
Forced oscillation, resonance and coupled masses
Now push the damped mass with a force F0cosωt. The motion is a transient, the free damped motion of the last section, which dies out, plus a steady state at the driving frequency ω. The coefficients are real, so the real part of the complex solution for the force F0ejωt solves the equation for F0cosωt: the differential equation becomes algebra. Resonance is the large steady response when ω is near ω0.
STEADY-STATE AMPLITUDE AND PHASE
A(ω)=(ω02−ω2)2+4γ2ω2F0/m,tanδ=ω02−ω22γω
Holds once the transient has died out (γ>0), for x¨+2γx˙+ω02x=(F0/m)cosωt, F0 in N. Put x=Re[Xejωt]: each dot gives a factor jω, so (ω02−ω2+2jγω)X=F0/m; the bracket is s2+2γs+ω02 at s=jω.A=∣X∣ in m; δ, from 0 to π rad, is how far the motion lags the force.
Driving frequency
Amplitude
Phase lag δ
ω=0
F0/(mω02)=F0/k
0
ω=ω0
F0/(2mγω0)
90∘
ω→∞
→0
→180∘
For γ<ω0/2 the amplitude rises from the static value F0/k, peaks and then falls. The peak is where the quantity under the square root is least. Write u=ω2, so that quantity is (ω02−u)2+4γ2u; its derivative in u is −2(ω02−u)+4γ2, zero at u=ω02−2γ2, and its second derivative, 2, is positive, so this is a minimum. That u is positive only when γ<ω0/2, and for light damping it is very close to ω02. For heavier damping the amplitude only falls as ω rises.
QUALITY FACTOR AS ENERGY RATIO
E∝e−2γt,Ploss=−E˙=2γE⇒Q=Ploss/ω0E=2γω0
Holds for light damping (γ≪ω0), where A∝e−γt and E≈21kA2, so E falls as A2.Ploss (W) is the rate of energy loss, and Ploss/ω0 the energy lost per radian of phase. Q is a pure number; at ω=ω0,A=QF0/k.
WORKED EXAMPLE
The 0.50 kg, 200 N/m system now has a friction force −bv with b=2.0 kg/s and is driven by F0cosωt with F0=1.0 N and ω=ω0. Find Q and the steady amplitude.
▸ Solution
Divide by m:γ=b/(2m)=2.0/(2×0.50)=2.0 s−1, and ω0=20 rad/s as before.
Since γ<ω0, the system is underdamped, and Q=ω0/(2γ)=20/4.0=5.
At ω=ω0 the term ω02−ω2 vanishes, and F0/m=2.0 m/s2, so A=(F0/m)/(2γω0)=2.0/(2×2.0×20)=0.025 m.
Check against Q: the static push gives F0/k=1.0/200=0.0050 m, and 5×0.0050=0.025 m.
Answer:Q=5 and A=0.025 m, five times the static displacement.
Two equal masses m lie in a line: wall, spring k, mass 1, spring kc, mass 2, spring k, wall. Let x1,x2 (m) be their displacements from rest, positive the same way. Each outer spring gives its mass the force −kxi. The middle spring is stretched by x2−x1, so it pulls mass 1 with +kc(x2−x1) and mass 2 with −kc(x2−x1). A normal mode is a motion in which both masses oscillate at one frequency.
Holds with no friction: Newton's law for each mass, divided by m. Adding gives s¨=−(k/m)s for s=x1+x2: the masses move together at ω1. Subtracting gives d¨=−mk+2kcd for d=x1−x2: they move opposite at ω2. Released from rest with equal displacements, only the first mode appears; with opposite ones, only the second.
Check yourself
CHECK YOURSELF 1
For x¨+2γx˙+ω02x=0 with γ>ω0, which statement is correct?
(A)
The motion oscillates with a decaying envelope
(B)
The roots are real and negative and the motion does not oscillate
(C)
The roots are complex with positive real part
(D)
The motion is simple harmonic
▸ Answer and solution
Answer: (B)
The roots are −γ±γ2−ω02.
For γ>ω0 the square root is real and smaller than γ, so both roots are real and negative.
Real negative roots give decaying exponentials with no oscillation: overdamped.
CHECK YOURSELF 2One or more options are correct
A damped mass is driven by F0cosωt and the transient has died away. Which statements are correct?
(A)
The steady amplitude does not depend on the starting position
(B)
The steady motion has frequency ω, the driving frequency
(C)
At ω=ω0 the motion lags the force by 90∘
(D)
As ω→∞ the amplitude grows without limit
▸ Answer and solution
Answer: (A), (B), (C)
The steady part comes from (ω02−ω2+2jγω)X=F0/m, which has no starting condition in it: A is true.
The solution is Re[Xejωt], so its frequency is ω: B is true.
At ω0,tanδ=2γω0/0→∞, so δ=90∘: C is true.
As ω→∞ the denominator grows like ω2, so A→0: D is false.
CHECK YOURSELF 3
A lightly damped oscillator has natural angular frequency ω0=100 rad/s and damping constant γ=2.5 s−1. Find its quality factor Q.
▸ Answer and solution
Answer:20 (accepted range ±0.01)
Q=ω0/(2γ).
Q=100/(2×2.5)=100/5=20.
CHECK YOURSELF 4
Two 1.0 kg masses sit in a line on a frictionless horizontal track: wall, spring of 100 N/m, mass, spring of 50 N/m, mass, spring of 100 N/m, wall. Find the higher normal-mode angular frequency in rad/s.
▸ Answer and solution
Answer:14.14 (accepted range ±0.05)
The higher mode has the masses moving in opposite directions, with ω2=(k+2kc)/m.
k+2kc=100+2×50=200 N/m.
ω2=200/1.0=14.14 rad/s. The lower mode is 100/1.0=10 rad/s.