← All days ◀ Day 4Day 6 ▶
15-Day Differential Equations Course · Week 1 · Day 05

Second-Order Systems: the Spring–Mass–Damper

Newton's second law with a spring and a damper is the most important differential equation in engineering. Solve it with the characteristic equation, meet natural frequency and damping ratio, and see the same mathematics in an RLC circuit, a torsional shaft and a car suspension — then measure damping from a single tap test.

⏱ about 2–3 hours🧪 Lab: Live oscillator❓ 5-question quiz

1Today's goals

  • Derive m·x″ + c·x′ + k·x = 0 from a free-body diagram
  • Solve it with the characteristic equation and know the three damping cases
  • Compute ωn, ζ and ωd and read them from a response or a root plot
  • Read motion as a spiral in the phase plane
  • Estimate damping from a decay trace by the logarithmic decrement

2From Newton to the equation

A mass m on a spring of stiffness k with a viscous damper c. Displace it by x. The spring pulls back with −k·x, the damper resists motion with −c·x′. Newton:

m·x″ = −c·x′ − k·x ⇔ m·x″ + c·x′ + k·x = 0
Divide by m: x″ + 2ζωn·x′ + ωn²·x = 0, ωn = √(k/m), ζ = c / (2√(k·m))

Two numbers describe everything: ωn, the natural frequency (how fast it wants to swing), and ζ, the damping ratio (what fraction of "critical" damping it has).

SystemEquation"Mass""Damper""Spring"
Mass–spring–damperm·x″ + c·x′ + k·x = Fmck
Torsional shaft and discJ·θ″ + ct·θ′ + kt·θ = TJctkt = G·Jp/L
Series RLC circuitL·q″ + R·q′ + q/C = VLR1/C
Pendulum (small angles)θ″ + (g/ℓ)·θ = 0——ωn² = g/ℓ

3The characteristic equation

Guess x = est. Then x′ = s·x and x″ = s²·x, and the equation becomes algebra:

m·s² + c·s + k = 0 → s = −ζωn ± ωn·√(ζ² − 1)
CaseRootsMotion
Under-damped ζ < 1Complex pair −ζωn ± j·ωd, with ωd = ωn·√(1 − ζ²)x = e−ζωn·t·(A·cos ωd·t + B·sin ωd·t): oscillates inside a decaying envelope
Critically damped ζ = 1Repeated real −ωnx = (A + B·t)·e−ωn·t: fastest return with no overshoot
Over-damped ζ > 1Two negative realsx = A·es₁t + B·es₂t: creeps back slowly
Undamped ζ = 0±j·ωnPure sine for ever; energy ½kx² + ½mv² is constant

The real part of the roots is the decay rate, the imaginary part the oscillation frequency. Plotting the roots in the complex plane is a complete summary of the motion — the idea behind Day 7's s-plane.

Why est, and where the sines come from

Exponentials are the only functions whose derivatives are multiples of themselves, so a linear constant-coefficient equation turns into a polynomial in s. Complex roots come in conjugate pairs s = σ ± jω, and Euler's formula ejωt = cos ωt + j·sin ωt turns the pair into real sines and cosines. The repeated-root case needs the extra t·est because the two exponentials coincide; you can get it as the limit of (es₁t − es₂t)/(s₁ − s₂) as s₂ → s₁.

4Phase plane: motion as a spiral

Plot velocity against displacement. An undamped oscillator traces an ellipse — constant energy. Damping drains energy every cycle, so the ellipse shrinks into a spiral that ends at the origin. The phase plane will be our main tool from Day 9 onward; here is its first appearance.

Logarithmic decrement. For an under-damped system, successive peaks shrink by the same factor:

δ = ln(xn / xn+1) = 2πζ / √(1 − ζ²) → ζ = δ / √(4π² + δ²) ≈ δ / 2π for light damping
Over N cycles: δ = (1/N)·ln(x0/xN)

5Worked example

m = 1 kg, k = 40 N/m, c = 1.5 N·s/m (the lab's default)ωn = √(40/1) = 6.325 rad/s → fn = 1.007 Hz ζ = 1.5 / (2·√40) = 1.5/12.649 = 0.119 → under-damped ωd = 6.325·√(1 − 0.119²) = 6.280 rad/s Roots s = −0.75 ± 6.28j (−ζωn = −c/2m = −0.75) δ = 2π·0.119/0.993 = 0.750 → each peak is e^(−0.75) = 0.47 of the one before
Tap test on a bracket: peak amplitude falls from 2.0 g to 0.5 g over 4 cyclesδ = ln(2.0/0.5)/4 = 1.386/4 = 0.347 ζ = 0.347 / √(4π² + 0.347²) = 0.055 (5.5 % of critical — typical of a bolted steel structure)
Where you meet thisVehicle suspensions (ζ ≈ 0.2–0.4), instrument needles and accelerometers (ζ ≈ 0.7 for the flattest response), machine foundations, door closers (critically damped), building sway, torsional vibration of a gearbox drive line, and every RLC tuned circuit in a radio.

6Lab: live oscillator

Press P to run. Five views of one equation: the moving mass, x(t) with its envelope, the velocity, the spiral in the phase plane, and the two roots in the complex plane. Slide c from 0 upwards and watch the roots travel along the circle of radius ωn, meet on the real axis at critical damping (ζ = 1), and split along it when over-damped.

7Pro tips and common mistakes

  • Use consistent units: k in N/m with m in kg gives ωn in rad/s. Divide by 2π for Hz.
  • Light damping hardly changes the frequency: at ζ = 0.1, ωd is 99.5 % of ωn. Damping shows up in the decay, not in the period.
  • Critical damping is not "best" for everything: it is fastest without overshoot, but a little overshoot (ζ ≈ 0.6–0.7) settles faster within a tolerance band.
  • Real structures are rarely viscous; friction and material damping are approximated by an "equivalent ζ" measured exactly as in the tap test.

8Practice

  1. A 50 kg machine sits on mounts of total stiffness 2×10⁵ N/m with ζ = 0.1. Find fn and the damped period.
  2. What damping c makes it critically damped?
  3. Solve x″ + 4x′ + 13x = 0, x(0) = 1, x′(0) = 0.
  4. In the lab, set ζ ≈ 1. Now raise c further. Which root moves towards zero, and why does the return become slower?

9Quick quiz

5 questions. Click an answer — you get the explanation straight away.

Progress is kept in this browser (and in your account when signed in).