Differential Equations › Section C · Second order differential equations › Topic C.11

Mechanical vibrations

A mass bouncing on a spring brings together everything in this section: the three kinds of roots become three kinds of damping, and the nonhomogeneous methods explain beats, resonance and the steady response to a driving force.

Building the model

Hang a mass \(m\) on a spring with constant \(k\). At rest it stretches the spring by \(L\), and Hooke's law balances its weight: \(mg = kL\). Measure the displacement \(u(t)\) from this equilibrium, with downward positive, and take \(g = 9.80\) m/s². Four forces act: gravity \(mg\), the spring force \(-k(L + u)\), a damping force \(-\gamma u'\) opposing the motion, with damping coefficient \(\gamma \ge 0\) in N s/m, and any external force \(F(t)\). Newton's second law, with \(mg - kL = 0\), gives

mu'' + \gamma u' + ku = F(t)

a constant coefficient equation of exactly the kind this section has studied. Gravity has dropped out, which is why a vertical spring behaves like a horizontal one.

Free, undamped motion

With \(\gamma = 0\) and \(F = 0\), the equation \(mu'' + ku = 0\) has roots \(\pm\omega_0 i\), where \(\omega_0 = \sqrt{k/m}\) is the natural angular frequency in rad/s. The solution \(c_1\cos\omega_0t + c_2\sin\omega_0t\) is simple harmonic motion with period \(T = 2\pi/\omega_0 = 2\pi\sqrt{m/k}\), the formula met in the physics course. It is clearer as a single cosine,

u = A\cos(\omega_0t - \delta)

with amplitude \(A = \sqrt{c_1^2 + c_2^2}\) and phase angle \(\delta\) chosen so that \(\cos\delta = c_1/A\) and \(\sin\delta = c_2/A\). Use both conditions: \(\tan\delta = c_2/c_1\) alone leaves two angles, \(\pi\) apart.

Worked example: amplitude and phase

A 0.250 kg mass stretches a spring 2.45 cm. It is raised 3.00 cm above equilibrium and given a downward velocity of 0.800 m/s. 1.

k = \frac{mg}{L} = \frac{(0.250)(9.80)}{0.0245} = 100\ \text{N/m}

so \(\omega_0 = \sqrt{100/0.250} = 20.0\) rad/s and \(T = 0.314\) s. 2. With upward negative, \(u(0) = -0.0300\) m and \(u'(0) = 0.800\) m/s. 3. So \(c_1 = -0.0300\) and \(20c_2 = 0.800\), giving \(c_2 = 0.0400\). 4.

A = \sqrt{0.0300^2 + 0.0400^2} = 0.0500\ \text{m}

5. \(\cos\delta = -0.6\) and \(\sin\delta = 0.8\) put \(\delta\) in the second quadrant: \(\delta = \pi - \arctan\frac{4}{3} = 2.21\). 6. \(u = 0.0500\cos(20.0t - 2.21)\) m. Check: at \(t = 0\), \(0.0500\cos(-2.21) = -0.0300\).

Free, damped motion

With damping and no external force, \(mu'' + \gamma u' + ku = 0\) has roots

r = \frac{-\gamma \pm \sqrt{\gamma^2 - 4mk}}{2m}

The critical damping coefficient \(\gamma_{cr} = 2\sqrt{mk}\) separates three cases, matching the three kinds of roots. Underdamped, \(\gamma < \gamma_{cr}\): complex roots, so the mass oscillates inside the envelope \(e^{-\gamma t/(2m)}\) with quasi-frequency \(\mu = \frac{\sqrt{4mk - \gamma^2}}{2m}\), always below \(\omega_0\). Critically damped, \(\gamma = \gamma_{cr}\): a repeated root, so \(u = (c_1 + c_2t)e^{-\gamma t/(2m)}\), the fastest return without oscillating. Overdamped, \(\gamma > \gamma_{cr}\): two negative real roots, a slower return without oscillating. In every case, \(u \to 0\).

Worked example: three dampers

Keep \(m = 0.250\) kg and \(k = 100\) N/m, so \(\gamma_{cr} = 2\sqrt{25.0} = 10.0\) N s/m. 1. \(\gamma = 0.500\): the roots are \(-1.00 \pm 19.97i\), so the motion is underdamped. The quasi-frequency, 19.97 rad/s, is almost exactly \(\omega_0\), and each cycle the envelope shrinks by the factor \(e^{-2\pi/19.97} = 0.730\), so light damping mainly reduces the amplitude. 2. \(\gamma = 10.0\): one repeated root, \(-20.0\), so \(u = (c_1 + c_2t)e^{-20.0t}\), critically damped. 3. \(\gamma = 12.5\): the roots are \(\frac{-12.5 \pm 7.50}{0.500}\), that is \(-10.0\) and \(-40.0\), so \(u = c_1e^{-10.0t} + c_2e^{-40.0t}\), overdamped. Its slower term, \(e^{-10.0t}\), decays more slowly than \(e^{-20.0t}\).

Forced motion without damping: beats

Now drive an undamped spring: \(mu'' + ku = F_0\cos\omega t\) with \(\omega \ne \omega_0\). Undetermined coefficients gives

u_p = \frac{F_0}{m(\omega_0^2 - \omega^2)}\cos\omega t

Starting from rest at equilibrium, the solution is this particular solution minus the same multiple of \(\cos\omega_0t\), and a product identity rewrites it as

u = \frac{2F_0}{m(\omega_0^2 - \omega^2)}\sin\frac{(\omega_0 - \omega)t}{2}\,\sin\frac{(\omega_0 + \omega)t}{2}

When \(\omega\) is close to \(\omega_0\), the second sine oscillates rapidly while the first changes slowly, so the motion swells and fades periodically. These are beats, the same effect musicians listen for when tuning two notes against each other.

Resonance

If the driving frequency equals the natural frequency, \(\omega = \omega_0\), the guess \(\cos\omega_0t\) already lies in \(u_c\), so the modification rule from "Undetermined coefficients" applies. The result is

u_p = \frac{F_0}{2m\omega_0}\,t\sin\omega_0t

an oscillation whose amplitude grows in proportion to \(t\), without bound. This is pure resonance. No real system has exactly zero damping, so in practice the growth levels off, as the next cards show, but the response at resonance can still be large enough to damage machinery or structures, which is why engineers design to avoid it.

Forced motion with damping

With \(\gamma > 0\) and \(F = F_0\cos\omega t\), the general solution is \(u = u_c + u_p\). Every free solution decays, so \(u_c\) is called the transient. What remains is the steady state \(u_p\), which oscillates at the driving frequency \(\omega\), not \(\omega_0\), whatever the initial conditions. Its amplitude is

A(\omega) = \frac{F_0}{\sqrt{m^2(\omega_0^2 - \omega^2)^2 + \gamma^2\omega^2}}

which, for light damping, is largest near \(\omega_0\); the smaller \(\gamma\) is, the taller and narrower that peak. Calculus puts the peak at \(\omega^2 = \omega_0^2 - \frac{\gamma^2}{2m^2}\): below \(\omega_0\) for any damping, and further below as \(\gamma\) grows. Once \(\gamma^2 \ge 2mk\) there is no peak at all, and the amplitude only falls as \(\omega\) rises.

Worked example: driving at the natural frequency

Find the long-run motion of

0.250u'' + 5.00u' + 100u = 3.00\cos 20.0t

1. Here \(\omega = 20.0 = \omega_0\), but \(\gamma = 5.00 > 0\), so every term of \(u_c\) carries a decaying exponential, \(\cos 20.0t\) is not in \(u_c\) and no modification is needed. 2. Guess \(u_p = P\cos 20.0t + Q\sin 20.0t\). 3. The \(m\) and \(k\) terms cancel, since \(0.250(400) = 100\), leaving \(100Q = 3.00\) from the cosine terms and \(-100P = 0\) from the sine terms. 4. So \(u_p = 0.0300\sin 20.0t\) m, an amplitude of 3.00 cm, a quarter cycle behind the force. 5. The transient carries \(e^{-10.0t}\), and \(e^{-5} \approx 0.0067\), so after 0.5 s the transient is below 1% of its starting size.

The electrical analogy

A circuit with an inductance \(L\), resistance \(R\) and capacitance \(C\) in series, driven by a voltage \(E(t)\), obeys

Lq'' + Rq' + \frac{1}{C}q = E(t)

for the charge \(q\) on the capacitor. It is the same equation with inductance playing the role of mass, resistance of damping, and \(1/C\) of the spring constant, so its natural frequency is \(\frac{1}{\sqrt{LC}}\). Everything above carries over: underdamped circuits ring, and a lightly damped circuit responds strongly near its resonant frequency, which is how a radio tuner selects one station.

Common mistakes to avoid

First, ignoring the sign convention: with downward positive, a mass raised above equilibrium has negative \(u(0)\). Second, finding \(k\) from mass instead of weight: \(k = mg/L\), not \(m/L\). Third, mixing angular frequency in rad/s with frequency in Hz; \(f = \omega/2\pi\). Fourth, taking \(\delta = \arctan(c_2/c_1)\) without checking the quadrant. Fifth, thinking a damped, driven system settles at \(\omega_0\); it follows the driving frequency. Sixth, calling critical damping the most damping; overdamping has more and returns more slowly.

Key takeaways

A spring-mass system obeys \(mu'' + \gamma u' + ku = F(t)\), with \(k = mg/L\) and \(u\) measured from equilibrium. Undamped free motion is \(A\cos(\omega_0t - \delta)\) with \(\omega_0 = \sqrt{k/m}\). Damping is under, critical or over as \(\gamma\) is below, equal to or above \(2\sqrt{mk}\). Undamped driving near \(\omega_0\) gives beats, and at \(\omega_0\) unbounded resonance. With damping, the transient dies and a steady state at the driving frequency remains. RLC circuits obey the same equation.

Flashcards

Flashcard

mu″ + γu′ + ku = F(t)

Spring-mass-damper equation

Newton's second law, u measured from equilibrium.

Test your understanding

Question 1 of 5

A 2.00 kg mass stretches a spring 0.196 m when at rest. Taking g = 9.80 m/s², what is the spring constant?

Question 2 of 5

A spring system has m = 1.00 kg, k = 16.0 N/m and γ = 6.00 N s/m, with no external force. How does it move?

Question 3 of 5

An undamped system 0.500u″ + 50.0u = F₀ cos ωt is driven at various frequencies. Which ω produces pure resonance?

Question 4 of 5

An undamped mass moves with u = 0.0600 cos 5t + 0.0800 sin 5t metres. What is the amplitude?

Question 5 of 5

A damped spring is driven by F₀ cos ωt. Long after it starts, how does it move?

← Previous topicNext topic →