Differential Equations · Undergraduate

Mechanical Vibrations: Springs, Damping and Resonance

Quick answer

A mass on a spring obeys mx″ + cx′ + kx = F(t): mass times acceleration equals the spring force −kx, the damping force −cx′ and any outside force. Without damping it oscillates at the natural frequency ω₀ = √(k/m). Damping changes the character of the motion according to the sign of c² − 4mk: negative gives decaying oscillations, zero gives the fastest return without overshoot, and positive gives a slow creep back. A periodic force at the natural frequency causes resonance.

What you'll learn

  • Write the equation of motion for a mass on a spring
  • Find the natural frequency and period
  • Classify damping by the sign of c² − 4mk
  • Explain resonance under periodic forcing

The equation of motion

Hang a mass mm on a spring and pull it a distance xx from rest. The spring pulls back with force −kx-kx (Hooke’s law), friction or air resists with force −cx′-cx', and an outside force F(t)F(t) may push. Newton’s second law, mass times acceleration equals total force, gives

mx′′+cx′+kx=F(t)mx'' + cx' + kx = F(t)

This is a second-order linear equation with constant coefficients, so everything we know about those applies.

Free, undamped motion

With c=0c = 0 and F=0F = 0: mx′′+kx=0mx'' + kx = 0. The characteristic roots are ±ik/m\pm i\sqrt{k/m}, so the mass oscillates forever with

ω0=kmperiod T=2πω0\omega_0 = \sqrt{\frac{k}{m}} \qquad \text{period } T = \frac{2\pi}{\omega_0}

A stiffer spring (larger kk) vibrates faster; a heavier mass (larger mm), slower.

Why the sign of c² − 4mk decides the motion

The characteristic equation mr2+cr+k=0mr^2 + cr + k = 0 has discriminant c2−4mkc^2 - 4mk.

  • c2<4mkc^2 < 4mk, underdamped. Complex roots: the mass oscillates while the swings die out like e−ct/(2m)e^{-ct/(2m)}.
  • c2=4mkc^2 = 4mk, critically damped. A repeated root: the mass returns to rest as fast as possible without overshooting.
  • c2>4mkc^2 > 4mk, overdamped. Two negative real roots: the mass creeps back slowly, never crossing the rest position.

The damping competes with the spring’s tendency to oscillate, and the discriminant measures which one wins. Car shock absorbers are tuned near critical damping, so a bump is absorbed without bouncing.

Three kinds of damping, same spring and mass Three solutions of x″ + cx′ + 4x = 0, each starting at x = 1 at rest. The underdamped one (c = 2) dips below zero and oscillates as it fades. The critically damped one (c = 4) falls to zero fastest without crossing. The overdamped one (c = 5) approaches zero more slowly, also without crossing. 1234561tx
  • underdamped, c = 2
  • critical, c = 4
  • overdamped, c = 5
Three kinds of damping, same spring and mass

Worked examples

Common mistakes

Practice problems

  1. Find the natural frequency and period for m=0.5m = 0.5 kg, k=8k = 8 N/m.

    Answer

    ω0=4\omega_0 = 4 rad/s; T=π2≈1.571T = \tfrac{\pi}{2} \approx 1.571 s

    Full solution

    ω0=8/0.5=16\omega_0 = \sqrt{8/0.5} = \sqrt{16}.

  2. Classify x′′+6x′+9x=0x'' + 6x' + 9x = 0.

    Answer

    Critically damped

    Full solution

    c2=36=4(1)(9)c^2 = 36 = 4(1)(9).

  3. Classify 2x′′+3x′+x=02x'' + 3x' + x = 0.

    Answer

    Overdamped

    Full solution

    c2=9>4(2)(1)=8c^2 = 9 > 4(2)(1) = 8.

  4. Classify x′′+x′+4x=0x'' + x' + 4x = 0.

    Answer

    Underdamped

    Full solution

    c2=1<16c^2 = 1 < 16.

  5. Find the amplitude of x=3cos⁡2t+4sin⁡2tx = 3\cos 2t + 4\sin 2t.

    Answer

    55

    Full solution

    A combination Acos⁡ωt+Bsin⁡ωtA\cos\omega t + B\sin\omega t has amplitude A2+B2\sqrt{A^2 + B^2}.

  6. Solve x′′+9x=0x'' + 9x = 0 with x(0)=0x(0) = 0, x′(0)=6x'(0) = 6.

    Answer

    x=2sin⁡3tx = 2\sin 3t

    Full solution

    x=c1cos⁡3t+c2sin⁡3tx = c_1\cos 3t + c_2\sin 3t, c1=0c_1 = 0, 3c2=63c_2 = 6.

  7. At what forcing frequency does x′′+16x=sin⁡ωtx'' + 16x = \sin\omega t resonate?

    Answer

    ω=4\omega = 4

    Full solution

    The natural frequency is 16=4\sqrt{16} = 4.

  8. A student calls x′′+4x′+4x=0x'' + 4x' + 4x = 0 overdamped because the damping is large. Correct it.

    Answer

    It is critically damped: c2=16=4mkc^2 = 16 = 4mk.

    Full solution

    The classification depends on c2−4mkc^2 - 4mk, here exactly 00, which gives a repeated root.

Frequently asked questions

What is the equation of a mass on a spring?

mx″ + cx′ + kx = F(t), where m is the mass, c the damping constant, k the spring constant and F an outside force. It is Newton's second law with Hooke's law for the spring.

What is the natural frequency?

ω₀ = √(k/m), the angular frequency of undamped, unforced oscillation. The period is 2π/ω₀.

How do you tell overdamped from underdamped?

Compare c² with 4mk. If c² < 4mk the system is underdamped and oscillates; if c² = 4mk it is critically damped; if c² > 4mk it is overdamped.

What is resonance?

When an undamped system is pushed by a periodic force at its own natural frequency, the response grows without bound, like t·sin ω₀t.

Why is critical damping useful?

It returns the mass to rest as fast as possible without overshooting, which is what car shock absorbers and door closers aim for.

What to learn next