Example 2 — Mass-spring with friction (damped)

We add a viscous friction force γmx˙-\gamma m\dot x proportional to the velocity: x¨+2γx˙+ω02x=0.\ddot x + 2\gamma\dot x + \omega_0^2 x = 0. Characteristic equation λ2+2γλ+ω02=0\lambda^2 + 2\gamma\lambda + \omega_0^2 = 0, with Δ=4γ24ω02\Delta = 4\gamma^2 - 4\omega_0^2. There are three regimes:

  • underdamped (γ<ω0\gamma<\omega_0, Δ<0\Delta<0): λ=γ±iω02γ2\lambda = -\gamma\pm i\sqrt{\omega_0^2-\gamma^2}, an oscillation that dies away exponentially, x(t)=eγt[Acosωt+Bsinωt]x(t) = e^{-\gamma t}\bigl[A\cos\omega' t + B\sin\omega' t\bigr] with ω=ω02γ2\omega' = \sqrt{\omega_0^2-\gamma^2};
  • critically damped (γ=ω0\gamma = \omega_0, Δ=0\Delta=0): x(t)=(A+Bt)eγtx(t) = (A+Bt)e^{-\gamma t}. It is the optimal regime — no oscillation, return to equilibrium in the shortest time — ideal for car shock absorbers;
  • overdamped (γ>ω0\gamma>\omega_0, Δ>0\Delta>0): λ\lambda real and negative, pure and slow exponential decay.

Topics: Differential equations
Concepts: Second-order linear ODE · Characteristic equation · Harmonic oscillator · Damping
Methods: Harmonic oscillator ODE
Skills: Modelling · Reasoning by cases · Solving equations