Spring-Mass Systems and Harmonic Oscillators
Problem
A 2 kg mass is attached to a spring with stiffness k = 50 N/m and damping c = 4 N·s/m. Solve m·x″ + c·x′ + k·x = 0 and show the decaying oscillation.
Explanation
The canonical second-order physical ODE
Newton's second law applied to a mass on a spring with a dashpot (viscous damper) gives
Forces in play:
- : spring restoring force (Hooke's law).
- : drag force proportional to velocity (dashpot / viscous damping).
- : inertia.
This is the textbook damped harmonic oscillator — one of the most-studied equations in physics and engineering.
The given system
- Mass: kg.
- Stiffness: N/m.
- Damping: N·s/m.
So .
Step-by-step
Step 1 — Normalise to standard form.
Divide by :
Step 2 — Characteristic equation (see #181).
Discriminant → complex conjugate roots:
So , .
Step 3 — Identify the regime.
⇒ under-damped. Oscillates while decaying.
The critical damping would be
Our is far below 20, so we're well into the under-damped regime.
Step 4 — General solution.
Natural frequency (un-damped): rad/s. Damped frequency: rad/s. Decay rate: s⁻¹. Time constant (envelope): s.
Step 5 — Apply initial conditions.
Say m (displaced 10 cm) and (released from rest).
. .
Verification (structural)
Both and solve because satisfy the characteristic equation. Any linear combination does too (superposition — see #200).
The three damping regimes, geometrically
Let (decay rate) and (natural frequency). Then:
- Under-damped (): oscillates inside an envelope . Bouncy. (Our case.)
- Critically damped (): . Returns fastest, no overshoot.
- Over-damped (): two decaying exponentials with different rates. Sluggish return, no oscillation.
Shock absorbers in cars are tuned near critical damping — any less and the car bounces; any more and it wallows.
Energy and the envelope
Total mechanical energy decays exponentially: Damping dissipates energy at the rate per unit time. Not conserved — the dashpot converts it to heat.
Quality factor Q
A dimensionless measure of "how bouncy" an oscillator is:
- : very under-damped, rings many cycles before decaying. Tuning forks, crystals, high-Q LC circuits.
- : critically damped.
- : over-damped.
Our system: . Moderately under-damped — you'd hear a few dying bounces.
Where this equation shows up
- Mechanical: car suspension, building response to wind, pendulums, bridges, watch escapements.
- Electrical: RLC circuit (#203) — literally the same ODE with , , , .
- Acoustic: speaker cone dynamics, room resonance.
- Biological: heart rhythms (to first order), swinging limbs during walking.
Master this one ODE and you have a mental model for half of undergraduate physics.
Common mistakes
- Forgetting to divide by . The characteristic equation is — easy to accidentally use .
- Confusing natural and damped frequency. is what you'd see with no damping; is what you actually observe (slightly slower).
- Sign of the damping force. Damping opposes motion, so the term has sign on the left side (or as a force on the right).
- Reading the amplitude off the wrong thing. The envelope is , where , not .
Try it in the visualization
Draw the mass sliding on a track, attached to a spring (coil drawing) and dashpot (cylinder). Animate as the mass moves. Overlay the curve with its envelope. Slide from to to watch the three regimes morph: pure oscillation → under-damped → critically damped → over-damped.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.