Differential EquationsVibrations and Oscillations3 of 4
Vibrations and Oscillations · 3

Forced Vibrations and Resonance

When an outside periodic force pushes a mass on a spring, we want to find how the driving frequency of that push interacts with the spring's own natural frequency.

1

Undamped Forced Vibrations

To see how the two frequencies interact without friction in the way, we start with an undamped spring-mass system driven by a steady cosine push:

mx′′+kx\displaystyle m\accel{x''} + kx =F0cos⁡(ωt)\displaystyle = \push{F_0\cos(\omega t)}

Here F0\push{F_0} is the strength of the push and ω\push{\omega} is the driving frequency, while the spring and mass on the left side have their own natural frequency ω0=km\own{\omega_0} = \sqrt{\tfrac{k}{m}}. Let's find the total motion when we drive x′′+9x=10cos⁡(2t)\accel{x''} + 9x = \push{10\cos(2t)} starting from rest at equilibrium, x(0)=0\total{x(0)} = 0 and x′(0)=0\rate{x'(0)} = 0.

Undamped Forced Vibrations
x′′+9xx′′+9x=10cos⁡(2t)\hphantom{x'' + 9x}\mathllap{\htmlClass{lc-orange}{x''} + 9x} = \htmlClass{lc-green}{10\cos(2t)}
x′′+9xx(0)=0,x′(0)=0\hphantom{x'' + 9x}\mathllap{\htmlClass{lc-blue}{x(0)}} = 0,\quad \htmlClass{lc-pink}{x'(0)} = 0
x′′+9xx(t)=?\hphantom{x'' + 9x}\mathllap{\htmlClass{lc-blue}{x(t)}} = {?}
x=0\htmlClass{lc-mute}{x = 0}
Text solution
Find the natural motion and natural frequencySolve the homogeneous equation x′′+9x=0\accel{x''} + 9x = 0 to get the natural frequency ω0=91=3\own{\omega_0} = \sqrt{\tfrac{9}{1}} = 3 and the natural motion.
xnatural(t)\displaystyle \own{x_{\text{natural}}(t)} =C1cos⁡(3t)+C2sin⁡(3t)\displaystyle = C_1\cos(3t) + C_2\sin(3t)
Substitute the forced cosine guessBecause ω=2\push{\omega} = 2 differs from ω0=3\own{\omega_0} = 3 and there is no x′\rate{x'} term to mix sines and cosines, substitute xforced(t)=Acos⁡(2t)\push{x_{\text{forced}}(t)} = A\cos(2t) into x′′+9x=10cos⁡(2t)\accel{x''} + 9x = \push{10\cos(2t)}.
−4Acos⁡(2t)+9Acos⁡(2t)\displaystyle -4A\cos(2t) + 9A\cos(2t) =10cos⁡(2t)  ⟹  (9−4)A\displaystyle = \push{10\cos(2t)} \implies (\own{9} - \push{4})A =10  ⟹  A\displaystyle = \push{10} \implies A =2\displaystyle = 2
Add the motions and apply the initial conditionsCombine the natural and forced motions, then plug in x(0)=0\total{x(0)} = 0 and x′(0)=0\rate{x'(0)} = 0 to find C1=−2C_1 = -2 and C2=0C_2 = 0.
x(t)\displaystyle \total{x(t)} =C1cos⁡(3t)+C2sin⁡(3t)⏟natural motion (ω0=3)+2cos⁡(2t)⏟forced motion (ω=2)\displaystyle = \underbrace{\own{C_1\cos(3t) + C_2\sin(3t)}}_{\text{natural motion }(\own{\omega_0} = 3)} + \underbrace{\push{2\cos(2t)}}_{\text{forced motion }(\push{\omega} = 2)} =2(cos⁡(2t)−cos⁡(3t))\displaystyle = 2\bigl(\push{\cos(2t)} - \own{\cos(3t)}\bigr)

Because there is no damping to drain energy away, starting from rest with a push at ω=2\push{\omega} = 2 also sets off the natural motion at ω0=3\own{\omega_0} = 3, and the mass oscillates at both frequencies forever. In general, whenever ω≠ω0\push{\omega} \neq \own{\omega_0}, after we divide the equation by mm, taking two derivatives of Acos⁡(ωt)\push{A\cos(\omega t)} brings out −ω2-\push{\omega^2} while the spring term brings out ω02=km\own{\omega_0^2} = \tfrac{k}{m}, giving the forced amplitude directly:

A\displaystyle A =F0mω02−ω2\displaystyle = \frac{\dfrac{\push{F_0}}{m}}{\own{\omega_0^2} - \push{\omega^2}}

Notice that when you push faster than the natural frequency (ω>ω0\push{\omega} > \own{\omega_0}), AA comes out negative, which simply means the forced cosine wave is flipped upside down relative to the push.

2

Beats

When the driving frequency ω\push{\omega} is close to the natural frequency ω0\own{\omega_0}, the two cosine waves in a system starting from rest drift in and out of step to produce beats: a fast oscillation whose amplitude slowly grows and shrinks.

To see the fast oscillation and the slow amplitude wave directly in the algebra, we rewrite a difference of cosines as a product of sines:

cos⁡(ωt)−cos⁡(ω0t)\displaystyle \push{\cos(\omega t)} - \own{\cos(\omega_0 t)} =2sin⁡(ω0−ω2t)sin⁡(ω0+ω2t)\displaystyle = 2\sin\left(\frac{\own{\omega_0} - \push{\omega}}{2}t\right)\sin\left(\frac{\own{\omega_0} + \push{\omega}}{2}t\right)

Now let's apply this identity to x′′+100x=36cos⁡(8t)\accel{x''} + 100x = \push{36\cos(8t)} with x(0)=0\total{x(0)} = 0 and x′(0)=0\rate{x'(0)} = 0, where the driving frequency ω=8\push{\omega} = 8 is close to the natural frequency ω0=10\own{\omega_0} = 10.

Beats
x′′+100xx′′+100x=36cos⁡(8t)\hphantom{x'' + 100x}\mathllap{\htmlClass{lc-orange}{x''} + 100x} = \htmlClass{lc-green}{36\cos(8t)}
x′′+100xx(0)=0,x′(0)=0\hphantom{x'' + 100x}\mathllap{\htmlClass{lc-blue}{x(0)}} = 0,\quad \htmlClass{lc-pink}{x'(0)} = 0
x′′+100xx(t)=?\hphantom{x'' + 100x}\mathllap{\htmlClass{lc-blue}{x(t)}} = {?}
0\htmlClass{lc-mute}{0}
2\htmlClass{lc-mute}{2}
4\htmlClass{lc-mute}{4}
6\htmlClass{lc-mute}{6}
12\htmlClass{lc-mute}{12}
ω\htmlClass{lc-mute}{\omega}
ω0=10\htmlClass{lc-violet}{\omega_0} = 10
ω=8\htmlClass{lc-green}{\omega} = 8
Text solution
Find the difference of cosinesUse ω0=10\own{\omega_0} = 10 and ω=8\push{\omega} = 8 to compute the forced amplitude AA, then apply x(0)=0\total{x(0)} = 0 and x′(0)=0\rate{x'(0)} = 0 to write the total motion.
A\displaystyle A =36102−82\displaystyle = \frac{\push{36}}{\own{10^2} - \push{8^2}} =36100−64\displaystyle = \frac{\push{36}}{\own{100} - \push{64}} =1  ⟹  x(t)\displaystyle = 1 \implies \total{x(t)} =cos⁡(8t)−cos⁡(10t)\displaystyle = \push{\cos(8t)} - \own{\cos(10t)}
Rewrite as a product of sinesPlug half the frequency difference 10−82=1\frac{\own{10} - \push{8}}{2} = 1 and the average frequency 10+82=9\frac{\own{10} + \push{8}}{2} = 9 into the trig identity.
x(t)\displaystyle \total{x(t)} =2sin⁡(t)⏟slow envelope sin⁡(9t)⏟fast wave\displaystyle = \underbrace{\total{2\sin(t)}}_{\text{slow envelope}}\,\underbrace{\sin(9t)}_{\text{fast wave}}
Find the envelope period and the spacing between zerosDivide 2π2\pi by the envelope frequency 11 for a full cycle of the envelope, then take half that period for the time between consecutive zeros (or consecutive peaks).
Tenvelope\displaystyle T_{\text{envelope}} =2π1\displaystyle = \frac{2\pi}{1} =2π,time between zeros\displaystyle = 2\pi, \qquad \text{time between zeros} =Tenvelope2\displaystyle = \frac{T_{\text{envelope}}}{2} =π\displaystyle = \pi

Because the fast wave sin⁡(9t)\sin(9t) bounces between +2sin⁡(t)+\total{2\sin(t)} and −2sin⁡(t)-\total{2\sin(t)}, one full period TenvelopeT_{\text{envelope}} of the slow sine wave forms two beats, so consecutive zeros or peaks of the beats happen every half-period of the envelope.

2sin⁡(t)\htmlClass{lc-blue}{2\sin(t)}
−2sin⁡(t)\htmlClass{lc-blue}{-2\sin(t)}
2π9\dfrac{2\pi}{9}
π\pi
Tenvelope=2πT_{\text{envelope}} = 2\pi
x\htmlClass{lc-mute}{x}
t\htmlClass{lc-mute}{t}

As ω\push{\omega} gets closer to ω0\own{\omega_0}, the two cosine waves stay in step for longer stretches, so each beat inside the envelope ±2F0mω02−ω2sin⁡(ω0−ω2t)\pm\dfrac{\tfrac{2\push{F_0}}{m}}{\own{\omega_0^2} - \push{\omega^2}}\sin\bigl(\frac{\own{\omega_0} - \push{\omega}}{2}t\bigr) lasts longer and grows taller.

As the driving frequency gets closer to the natural frequency, the two waves stay in step for longer stretches, so each beat stretches wider in time and grows taller.
3

Pure Resonance

When we drive an undamped system at its exact natural frequency (ω=ω0\push{\omega} = \own{\omega_0}), every push adds energy in step with the spring's motion, producing pure resonance: oscillations whose amplitude grows without bound.

In x′′+9x=12cos⁡(3t)\accel{x''} + 9x = \push{12\cos(3t)}, the driving frequency ω=3\push{\omega} = 3 matches the natural frequency ω0=3\own{\omega_0} = 3, so our earlier amplitude formula divides by 32−32=0\own{3^2} - \push{3^2} = 0 because cos⁡(3t)\own{\cos(3t)} already solves the natural equation x′′+9x=0\accel{x''} + 9x = 0.

Pure Resonance
xforced(t)x′′+9x=12cos⁡(3t)\hphantom{x_{\text{forced}}(t)}\mathllap{\htmlClass{lc-orange}{x''} + 9x} = \htmlClass{lc-green}{12\cos(3t)}
xforced(t)xforced(t)=?\hphantom{x_{\text{forced}}(t)}\mathllap{\htmlClass{lc-green}{x_{\text{forced}}(t)}} = {?}
0\htmlClass{lc-mute}{0}
1\htmlClass{lc-mute}{1}
2\htmlClass{lc-mute}{2}
4\htmlClass{lc-mute}{4}
ω\htmlClass{lc-mute}{\omega}
ω0=3\htmlClass{lc-violet}{\omega_0} = 3
ω=3\htmlClass{lc-green}{\omega} = 3
Text solution
Multiply the trial guess by ttBecause ω=3\push{\omega} = 3 matches the natural frequency ω0=3\own{\omega_0} = 3, multiply the cosine-and-sine guess by tt.
xforced(t)\displaystyle \push{x_{\text{forced}}(t)} =Atcos⁡(3t)+Btsin⁡(3t)\displaystyle = At\cos(3t) + Bt\sin(3t)
Substitute into x′′+9x\accel{x''} + 9x and cancel the tt termsDifferentiate twice with the product rule and add 9xforced9\push{x_{\text{forced}}}, which cancels all terms still multiplied by tt.
(−6Asin⁡(3t)+6Bcos⁡(3t))+t(−9Acos⁡(3t)−9Bsin⁡(3t))+9(Atcos⁡(3t)+Btsin⁡(3t))\displaystyle \bigl(-6A\sin(3t) + 6B\cos(3t)\bigr) + \cancel{t\bigl(-9A\cos(3t) - 9B\sin(3t)\bigr)} + \cancel{9\bigl(At\cos(3t) + Bt\sin(3t)\bigr)} =12cos⁡(3t)\displaystyle = \push{12\cos(3t)}
Match the remaining coefficientsSet the remaining sine and cosine terms equal to 12cos⁡(3t)\push{12\cos(3t)} to solve for AA and BB.
−6Asin⁡(3t)+6Bcos⁡(3t)\displaystyle -6A\sin(3t) + 6B\cos(3t) =12cos⁡(3t)  ⟹  A\displaystyle = \push{12\cos(3t)} \implies A =0,6B\displaystyle = 0, \quad 6B =12  ⟹  B\displaystyle = 12 \implies B =2\displaystyle = 2

This gives the forced motion

xforced(t)\displaystyle \push{x_{\text{forced}}(t)} =2t⏟growing amplitudesin⁡(3t)\displaystyle = \underbrace{\push{2t}}_{\text{growing amplitude}}\sin(3t)

whose oscillations grow linearly between the straight lines y=2ty = \push{2t} and y=−2ty = -\push{2t} as time goes on.

4

Transient and Steady-State Motion

In a real system with damping cx′\rate{cx'}, friction drains away the natural motion over time, splitting the total motion of mx′′+cx′+kx=F0cos⁡(ωt)m\accel{x''} + \rate{cx'} + kx = \push{F_0\cos(\omega t)} into a temporary transient solution that dies out and a permanent steady-state solution kept going by the push.

Because the damping term cx′\rate{cx'} mixes cosines and sines and makes the mass lag behind the push, the steady-state motion needs both cosine and sine terms at frequency ω\push{\omega}, which combine into one shifted wave of amplitude R\push{R}:

Acos⁡(ωt)+Bsin⁡(ωt)\displaystyle A\cos(\omega t) + B\sin(\omega t) =Rcos⁡(ωt−δ),R\displaystyle = \push{R}\cos(\omega t - \delta), \qquad \push{R} =A2+B2\displaystyle = \sqrt{A^2 + B^2}

Let's find the transient and steady-state motion for the damped system x′′+2x′+7x=25cos⁡(2t)\accel{x''} + \rate{2x'} + 7x = \push{25\cos(2t)}.

Transient and Steady-State Motion
x′′+2x′+7xx′′+2x′+7x=25cos⁡(2t)\hphantom{x'' + 2x' + 7x}\mathllap{\htmlClass{lc-orange}{x''} + \htmlClass{lc-pink}{2x'} + 7x} = \htmlClass{lc-green}{25\cos(2t)}
x′′+2x′+7xxsteady(t)=?\hphantom{x'' + 2x' + 7x}\mathllap{\htmlClass{lc-green}{x_{\text{steady}}(t)}} = {?}
x′′+2x′+7xR=?\hphantom{x'' + 2x' + 7x}\mathllap{\htmlClass{lc-green}{R}} = {?}
x=0\htmlClass{lc-mute}{x = 0}
Text solution
Solve the homogeneous equation for the transient motionFind the roots of r2+2r+7=0r^2 + 2r + 7 = 0 to get r=−1±6 ir = -1 \pm \sqrt{6}\,i and write the decaying natural motion.
xtransient(t)\displaystyle \own{x_{\text{transient}}(t)} =e−t⏟decays to 0(C1cos⁡(6 t)+C2sin⁡(6 t))\displaystyle = \underbrace{\own{e^{-t}}}_{\text{decays to }0}\bigl(C_1\cos(\sqrt{6}\,t) + C_2\sin(\sqrt{6}\,t)\bigr)
Substitute the steady-state guess and collect like termsPlug xsteady(t)=Acos⁡(2t)+Bsin⁡(2t)\push{x_{\text{steady}}(t)} = A\cos(2t) + B\sin(2t) into x′′+2x′+7x=25cos⁡(2t)\accel{x''} + \rate{2x'} + 7x = \push{25\cos(2t)} and match the cosine and sine coefficients separately.
Cosine terms:(7−4)A+4B=25  ⟹  3A+4B=25Sine terms:−4A+(7−4)B=0  ⟹  −4A+3B=0\displaystyle \begin{aligned} \text{Cosine terms:} & \\ (\accel{7 - 4})A + \rate{4}B &= \push{25} \\ \implies \accel{3}A + \rate{4}B &= \push{25} \\[6pt] \text{Sine terms:} & \\ -\rate{4}A + (\accel{7 - 4})B &= 0 \\ \implies -\rate{4}A + \accel{3}B &= 0 \end{aligned}
Solve for AA, BB, and the steady-state amplitude R\push{R}Use 3B=4A\accel{3}B = \rate{4}A together with 3A+4B=25\accel{3}A + \rate{4}B = \push{25} to find A=3A = 3 and B=4B = 4, then find the hypotenuse for R\push{R}.
xsteady(t)\displaystyle \push{x_{\text{steady}}(t)} =3cos⁡(2t)+4sin⁡(2t),R\displaystyle = 3\cos(2t) + 4\sin(2t), \qquad \push{R} =32+42\displaystyle = \sqrt{3^2 + 4^2} =5\displaystyle = 5

No matter how the mass starts at t=0t = 0, the initial conditions only change the decaying transient motion at the beginning; once e−t\own{e^{-t}} drains that transient motion away, the total motion x(t)\total{x(t)} always settles into the exact same steady-state wave xsteady(t)\push{x_{\text{steady}}(t)}.

Every starting position produces a different transient motion at first, then settles into the exact same steady-state wave.
5

Practical Resonance

With damping keeping the oscillations finite at every frequency, practical resonance is the driving frequency ωmax⁡\push{\omega_{\max}} that produces the largest possible steady-state amplitude R(ω)\push{R(\omega)}.

In our previous example, the coefficients 3\accel{3} and 4\rate{4} in the equations 3A+4B=25\accel{3}A + \rate{4}B = \push{25} and −4A+3B=0-\rate{4}A + \accel{3}B = 0 came directly from k−mω2\accel{k - m\omega^2} and cω\rate{c\omega}. Let's see how a right triangle with those legs gives the amplitude curve R(ω)\push{R(\omega)} for any driving frequency ω\push{\omega}, and where its peak sits for x′′+2x′+7x=25cos⁡(ωt)\accel{x''} + \rate{2x'} + 7x = \push{25\cos(\omega t)}.

Practical Resonance
x′′+2x′+7x\displaystyle \accel{x''} + \rate{2x'} + 7x =25cos⁡(ωt)\displaystyle = \push{25\cos(\omega t)}
ωmax⁡\displaystyle \push{\omega_{\max}} =?,R(ωmax⁡)\displaystyle = {?}, \qquad \push{R(\omega_{\max})} =?\displaystyle = {?}
k−mω2\htmlClass{lc-orange}{k - m\omega^2}
cω\htmlClass{lc-pink}{c\omega}
(k−mω2)2+c2ω2\sqrt{\htmlClass{lc-orange}{(k - m\omega^2)^2} + \htmlClass{lc-pink}{c^2\omega^2}}

For any damped system mx′′+cx′+kx=F0cos⁡(ωt)m\accel{x''} + \rate{cx'} + kx = \push{F_0\cos(\omega t)}, dividing the driving force F0\push{F_0} by the hypotenuse gives the steady-state amplitude R(ω)\push{R(\omega)}, and minimizing the denominator gives the peak frequency ωmax⁡\push{\omega_{\max}}:

R(ω)=F0(k−mω2)2+c2ω2,ωmax⁡=km−c22m2=ω02−c22m2\displaystyle \begin{aligned} \push{R(\omega)} &= \frac{\push{F_0}}{\sqrt{\accel{(k - m\omega^2)^2} + \rate{c^2\omega^2}}}, \\ \push{\omega_{\max}} &= \sqrt{\own{\frac{k}{m}} - \frac{\rate{c^2}}{2m^2}} = \sqrt{\own{\omega_0^2} - \frac{\rate{c^2}}{2m^2}} \end{aligned}
Text solution
Find the practical resonance frequency ωmax⁡\push{\omega_{\max}}Substitute m=1m = 1, c=2\rate{c} = 2, and ω02=km=7\own{\omega_0^2} = \tfrac{k}{m} = 7 into the peak frequency formula.
ωmax⁡\displaystyle \push{\omega_{\max}} =7−222(1)2\displaystyle = \sqrt{\own{7} - \frac{\rate{2^2}}{2(1)^2}} =7−2\displaystyle = \sqrt{7 - 2} =5\displaystyle = \sqrt{5}
Compute the maximum steady-state amplitude R(ωmax⁡)\push{R(\omega_{\max})}Plug ω2=5\push{\omega^2} = 5 into R(ω)\push{R(\omega)} along with F0=25\push{F_0} = 25, m=1m = 1, c=2\rate{c} = 2, and k=7k = 7.
R(5)\displaystyle \push{R(\sqrt{5})} =25(7−5)2+22(5)\displaystyle = \frac{\push{25}}{\sqrt{\accel{(7 - 5)^2} + \rate{2^2(5)}}} =254+20\displaystyle = \frac{\push{25}}{\sqrt{\accel{4} + \rate{20}}} =2524≈5.10\displaystyle = \frac{25}{\sqrt{24}} \approx 5.10

Because the damping term c2ω2\rate{c^2\omega^2} in the denominator grows as ω\push{\omega} increases, the amplitude reaches its peak of 5.105.10 at ωmax⁡=5\push{\omega_{\max}} = \sqrt{5}, slightly below the natural frequency ω0=7\own{\omega_0} = \sqrt{7} (where R(7)≈4.72\push{R(\sqrt{7})} \approx 4.72).

As the damping c\rate{c} increases, the peak on R(ω)\push{R(\omega)} shrinks and shifts further below ω0\own{\omega_0} according to ωmax⁡=ω02−c22m2\push{\omega_{\max}} = \sqrt{\own{\omega_0^2} - \tfrac{\rate{c^2}}{2m^2}}, until at c2=2mk\rate{c^2} = 2mk the peak reaches ω=0\push{\omega} = 0 and the curve only decreases from the start.

Adding damping doesn't just flatten the resonance curve, it also pulls the peak to a lower frequency until the peak disappears completely.

Key concepts

Everything in mx′′+cx′+kx=F0cos⁡(ωt)m\accel{x''} + \rate{cx'} + kx = \push{F_0\cos(\omega t)} depends on two checks: whether there is a damping term cx′\rate{cx'}, and how the driving frequency ω\push{\omega} compares to the natural frequency ω0=km\own{\omega_0} = \sqrt{\tfrac{k}{m}}.

When there is no damping (c=0\rate{c} = 0), the natural motion never dies out, and there is no x′\rate{x'} derivative to mix sines and cosines:

Away from the natural frequency (ω≠ω0\push{\omega} \neq \own{\omega_0})

Do not include a sine term in the forced guess; a cosine push needs only xforced(t)=Acos⁡(ωt)\push{x_{\text{forced}}(t)} = A\cos(\omega t) with amplitude A=F0mω02−ω2A = \dfrac{\tfrac{\push{F_0}}{m}}{\own{\omega_0^2} - \push{\omega^2}} (for x′′+9x=10cos⁡(2t)\accel{x''} + 9x = \push{10\cos(2t)}, A=1032−22=2A = \frac{\push{10}}{\own{3^2} - \push{2^2}} = 2). When the mass starts from rest at equilibrium and ω\push{\omega} is close to ω0\own{\omega_0}, rewrite A(cos⁡(ωt)−cos⁡(ω0t))A(\push{\cos(\omega t)} - \own{\cos(\omega_0 t)}) using cos⁡(ωt)−cos⁡(ω0t)\push{\cos(\omega t)} - \own{\cos(\omega_0 t)} =2sin⁡(ω0−ω2t)sin⁡(ω0+ω2t)= 2\sin\bigl(\frac{\own{\omega_0} - \push{\omega}}{2}t\bigr)\sin\bigl(\frac{\own{\omega_0} + \push{\omega}}{2}t\bigr) to read off beats: the slow envelope has period Tenvelope=2πω0−ω2T_{\text{envelope}} = \dfrac{2\pi}{\tfrac{\own{\omega_0} - \push{\omega}}{2}} and consecutive zeros spaced half a period apart (for cos⁡(8t)−cos⁡(10t)=2sin⁡(t)sin⁡(9t)\push{\cos(8t)} - \own{\cos(10t)} = \total{2\sin(t)}\sin(9t), Tenvelope=2πT_{\text{envelope}} = 2\pi and zeros are π\pi apart).

At the natural frequency (ω=ω0\push{\omega} = \own{\omega_0}, pure resonance)

Because cos⁡(ω0t)\own{\cos(\omega_0 t)} already solves the natural equation, multiply the trial guess by tt: xforced(t)\push{x_{\text{forced}}(t)} =Atcos⁡(ω0t)+Btsin⁡(ω0t)= At\cos(\omega_0 t) + Bt\sin(\omega_0 t). The tt terms cancel out and leave an oscillation Btsin⁡(ω0t)\push{Bt}\sin(\omega_0 t) growing linearly between y=±Bty = \pm \push{Bt} (for x′′+9x=12cos⁡(3t)\accel{x''} + 9x = \push{12\cos(3t)}, xforced(t)=2tsin⁡(3t)\push{x_{\text{forced}}(t)} = \push{2t}\sin(3t) between y=±2ty = \pm \push{2t}).

When damping is present (c>0\rate{c} > 0), the natural motion gets a decaying exponential factor and becomes the temporary transient solution, while the forced motion is the permanent steady-state solution:

Steady-state wave and amplitude

Because cx′\rate{cx'} mixes sines and cosines and makes the natural motion decay, never multiply the forced guess by tt when c>0\rate{c} > 0. Always use xsteady(t)=Acos⁡(ωt)+Bsin⁡(ωt)\push{x_{\text{steady}}(t)} = A\cos(\omega t) + B\sin(\omega t), whose steady-state amplitude is R(ω)=A2+B2=F0(k−mω2)2+c2ω2\push{R(\omega)} = \sqrt{A^2 + B^2} = \frac{\push{F_0}}{\sqrt{\accel{(k - m\omega^2)^2} + \rate{c^2\omega^2}}} (for x′′+2x′+7x=25cos⁡(2t)\accel{x''} + \rate{2x'} + 7x = \push{25\cos(2t)}, xsteady(t)=3cos⁡(2t)+4sin⁡(2t)\push{x_{\text{steady}}(t)} = 3\cos(2t) + 4\sin(2t) with R=5\push{R} = 5).

Practical resonance (ωmax⁡\push{\omega_{\max}})

As you vary the driving frequency ω\push{\omega}, the steady-state amplitude R(ω)\push{R(\omega)} peaks below ω0\own{\omega_0} at ωmax⁡=km−c22m2=ω02−c22m2\push{\omega_{\max}} = \sqrt{\own{\frac{k}{m}} - \frac{\rate{c^2}}{2m^2}} = \sqrt{\own{\omega_0^2} - \frac{\rate{c^2}}{2m^2}} (for x′′+2x′+7x=25cos⁡(ωt)\accel{x''} + \rate{2x'} + 7x = \push{25\cos(\omega t)}, ωmax⁡=7−2=5\push{\omega_{\max}} = \sqrt{7 - 2} = \sqrt{5}), unless heavy damping c2≥2mk\rate{c^2} \ge 2mk makes the inside of the square root zero or negative so R(ω)\push{R(\omega)} decreases steadily from ω=0\push{\omega} = 0.

6

Practice

1

Solve the initial value problem 2x′′+32x=40cos⁡(6t)2\accel{x''} + 32x = \push{40\cos(6t)}, x(0)=2\total{x(0)} = 2, x′(0)=0\rate{x'(0)} = 0.

Divide the entire equation by m=2m = 2 first so that it matches x′′+ω02x=F0mcos⁡(ωt)\accel{x''} + \own{\omega_0^2} x = \tfrac{\push{F_0}}{m}\push{\cos(\omega t)} before reading off ω0\own{\omega_0} and F0m\tfrac{\push{F_0}}{m}.

Dividing by 22 gives x′′+16x=20cos⁡(6t)\accel{x''} + 16x = \push{20\cos(6t)}, so ω0=4\own{\omega_0} = 4, ω=6\push{\omega} = 6, and F0m=20\tfrac{\push{F_0}}{m} = 20 (using 4040 without dividing by m=2m = 2 gives A=−2A = -2). The forced amplitude is
A\displaystyle A =2042−62\displaystyle = \frac{\push{20}}{\own{4^2} - \push{6^2}} =2016−36\displaystyle = \frac{\push{20}}{\own{16} - \push{36}} =−1\displaystyle = -1
(subtracting in the reverse order 62−42=206^2 - 4^2 = 20 gives the wrong sign A=1A = 1 and leads to x(t)=cos⁡(4t)+cos⁡(6t)x(t) = \cos(4t) + \cos(6t)). This gives xforced(t)=−cos⁡(6t)\push{x_{\text{forced}}(t)} = -\cos(6t) and total motion
x(t)\displaystyle \total{x(t)} =C1cos⁡(4t)+C2sin⁡(4t)−cos⁡(6t)\displaystyle = \own{C_1\cos(4t) + C_2\sin(4t)} \push{- \cos(6t)}
Applying x(0)=2\total{x(0)} = 2 to the full solution gives C1−1=2C_1 \push{- 1} = 2, so C1=3C_1 = 3 (plugging x(0)=2\total{x(0)} = 2 into only the natural part before adding −cos⁡(6t)\push{-\cos(6t)} gives C1=2C_1 = 2 and 2cos⁡(4t)−cos⁡(6t)2\cos(4t) - \cos(6t)). Applying x′(0)=0\rate{x'(0)} = 0 gives 4C2=04C_2 = 0, so C2=0C_2 = 0, and
x(t)\displaystyle \total{x(t)} =3cos⁡(4t)−cos⁡(6t)\displaystyle = 3\cos(4t) - \cos(6t)
2

An undamped spring-mass system starting from rest at equilibrium satisfies x′′+225x=312cos⁡(11t)\accel{x''} + 225x = \push{312\cos(11t)}, x(0)=0\total{x(0)} = 0, x′(0)=0\rate{x'(0)} = 0. Rewrite the motion x(t)\total{x(t)} as a product of two sine waves, and find the maximum amplitude of the beats, the period of the slow envelope, and the time between consecutive zeros of the envelope.

Find AA from ω02=225\own{\omega_0^2} = 225 and ω=11\push{\omega} = 11, then apply the product identity using half the difference and the average of 15\own{15} and 11\push{11}.

Here ω0=15\own{\omega_0} = 15, ω=11\push{\omega} = 11, and
A\displaystyle A =312225−121\displaystyle = \frac{\push{312}}{\own{225} - \push{121}} =312104\displaystyle = \frac{312}{104} =3\displaystyle = 3
so starting from rest at equilibrium gives x(t)=3(cos⁡(11t)−cos⁡(15t))\total{x(t)} = 3\bigl(\push{\cos(11t)} - \own{\cos(15t)}\bigr). Since 15−112=2\frac{\own{15} - \push{11}}{2} = 2 and 15+112=13\frac{\own{15} + \push{11}}{2} = 13, the trig identity multiplies A=3A = 3 by 22:
x(t)\displaystyle \total{x(t)} =6sin⁡(2t)sin⁡(13t)\displaystyle = \total{6\sin(2t)}\sin(13t)
(forgetting the factor of 22 in the identity gives 3sin⁡(2t)sin⁡(13t)3\sin(2t)\sin(13t) and a maximum amplitude of 33). From the slow envelope 6sin⁡(2t)\total{6\sin(2t)}, the maximum amplitude is 66, the period of the envelope is Tenvelope=2π2=πT_{\text{envelope}} = \frac{2\pi}{2} = \pi, and the time between consecutive zeros of the envelope is half the envelope period, π2\frac{\pi}{2} (giving the full period π\pi misses that sin⁡(2t)\sin(2t) hits zero twice per period).
3

Find the forced motion xforced(t)\push{x_{\text{forced}}(t)} for the undamped system x′′+25x=30cos⁡(5t)\accel{x''} + 25x = \push{30\cos(5t)}, and give the equations of the two straight lines that bound its growing oscillations.

Since the driving frequency ω=5\push{\omega} = 5 matches ω0=5\own{\omega_0} = 5, substitute xforced(t)=Atcos⁡(5t)+Btsin⁡(5t)\push{x_{\text{forced}}(t)} = At\cos(5t) + Bt\sin(5t) into x′′+25x\accel{x''} + 25x and combine the remaining sine and cosine terms from the product rule.

Because ω=5\push{\omega} = 5 matches the natural frequency ω0=5\own{\omega_0} = 5, we substitute xforced(t)=Atcos⁡(5t)+Btsin⁡(5t)\push{x_{\text{forced}}(t)} = At\cos(5t) + Bt\sin(5t) into x′′+25x=30cos⁡(5t)\accel{x''} + 25x = \push{30\cos(5t)}. The terms multiplied by tt cancel, and the two remaining terms from the product rule combine to leave
−10Asin⁡(5t)+10Bcos⁡(5t)\displaystyle -10A\sin(5t) + 10B\cos(5t) =30cos⁡(5t)\displaystyle = \push{30\cos(5t)}
(counting that product-rule term only once when differentiating twice gives −5Asin⁡(5t)+5Bcos⁡(5t)-5A\sin(5t) + 5B\cos(5t) and leads to 6tsin⁡(5t)6t\sin(5t)). Matching coefficients gives A=0A = 0 and 10B=30  ⟹  B=310B = 30 \implies B = 3, so
xforced(t)\displaystyle \push{x_{\text{forced}}(t)} =3tsin⁡(5t),bounded by y\displaystyle = \push{3t}\sin(5t), \quad \text{bounded by } y =3t and y\displaystyle = \push{3t} \text{ and } y =−3t\displaystyle = -\push{3t}
4

For the damped forced system x′′+4x′+13x=40cos⁡(3t)\accel{x''} + \rate{4x'} + 13x = \push{40\cos(3t)}, find the general form of the transient solution, the steady-state solution xsteady(t)\push{x_{\text{steady}}(t)}, and the steady-state amplitude R\push{R}.

Find the roots of r2+4r+13=0r^2 + 4r + 13 = 0 for the transient part, then plug xsteady(t)=Acos⁡(3t)+Bsin⁡(3t)\push{x_{\text{steady}}(t)} = A\cos(3t) + B\sin(3t) into the differential equation and match the cosine and sine terms.

The characteristic equation r2+4r+13=0r^2 + 4r + 13 = 0 has roots r=−2±3ir = -2 \pm 3i, so the transient solution is
xtransient(t)\displaystyle \own{x_{\text{transient}}(t)} =e−2t(C1cos⁡(3t)+C2sin⁡(3t))\displaystyle = \own{e^{-2t}}\bigl(C_1\cos(3t) + C_2\sin(3t)\bigr)
Because damping is present, e−2tcos⁡(3t)\own{e^{-2t}\cos(3t)} is not a pure cosine, so we do not multiply the steady-state guess by tt. Substituting xsteady(t)=Acos⁡(3t)+Bsin⁡(3t)\push{x_{\text{steady}}(t)} = A\cos(3t) + B\sin(3t) into x′′+4x′+13x=40cos⁡(3t)\accel{x''} + \rate{4x'} + 13x = \push{40\cos(3t)} gives (13−9)A+12B=40(\accel{13 - 9})A + \rate{12}B = \push{40} for the cosine terms and −12A+(13−9)B=0-\rate{12}A + (\accel{13 - 9})B = 0 for the sine terms, or
4A+12B\displaystyle \accel{4}A + \rate{12}B =40and−12A+4B\displaystyle = \push{40} \quad \text{and} \quad -\rate{12}A + \accel{4}B =0\displaystyle = 0
(dropping the minus sign from the derivative of Acos⁡(3t)A\cos(3t) in 4x′\rate{4x'} gives 12A+4B=012A + 4B = 0 and leads to −54cos⁡(3t)+154sin⁡(3t)-\frac{5}{4}\cos(3t) + \frac{15}{4}\sin(3t)). From the second equation, B=3AB = 3A, which gives A=1A = 1 and B=3B = 3, so
xsteady(t)\displaystyle \push{x_{\text{steady}}(t)} =cos⁡(3t)+3sin⁡(3t),R\displaystyle = \cos(3t) + 3\sin(3t), \qquad \push{R} =12+32\displaystyle = \sqrt{1^2 + 3^2} =10\displaystyle = \sqrt{10}
5

A damped system satisfies x′′+2x′+10x=18cos⁡(ωt)\accel{x''} + \rate{2x'} + 10x = \push{18\cos(\omega t)}. Find the driving frequency ωmax⁡\push{\omega_{\max}} that produces practical resonance and the resulting maximum steady-state amplitude R(ωmax⁡)\push{R(\omega_{\max})}.

Use ωmax⁡=km−c22m2\push{\omega_{\max}} = \sqrt{\own{\tfrac{k}{m}} - \tfrac{\rate{c^2}}{2m^2}} first, then substitute ωmax⁡2\push{\omega_{\max}^2} into the denominator of R(ω)\push{R(\omega)}.

With m=1m = 1, c=2\rate{c} = 2, k=10k = 10, and F0=18\push{F_0} = 18, the practical resonance frequency is
ωmax⁡\displaystyle \push{\omega_{\max}} =101−222(1)2\displaystyle = \sqrt{\own{\frac{10}{1}} - \frac{\rate{2^2}}{2(1)^2}} =10−2\displaystyle = \sqrt{10 - 2} =8\displaystyle = \sqrt{8} =22\displaystyle = 2\sqrt{2}
(dividing c2\rate{c^2} by 4m24m^2 instead of 2m22m^2 confuses ωmax⁡\push{\omega_{\max}} with the damped natural frequency 10−1=3\sqrt{10 - 1} = 3, which gives R(3)=1837R(3) = \frac{18}{\sqrt{37}}). Evaluating R(ω)\push{R(\omega)} at ω=22\push{\omega} = 2\sqrt{2} (where ω2=8\push{\omega^2} = 8) gives
R(22)\displaystyle \push{R(2\sqrt{2})} =18(10−8)2+22(8)\displaystyle = \frac{\push{18}}{\sqrt{\accel{(10 - 8)^2} + \rate{2^2(8)}}} =184+32\displaystyle = \frac{\push{18}}{\sqrt{\accel{4} + \rate{32}}} =186\displaystyle = \frac{18}{6} =3\displaystyle = 3
6

For the damped system 2x′′+cx′+9x=F0cos⁡(ωt)2\accel{x''} + \rate{cx'} + 9x = \push{F_0\cos(\omega t)} with c>0\rate{c} > 0, find all values of the damping constant c\rate{c} for which the steady-state amplitude curve R(ω)\push{R(\omega)} has no resonance peak at any positive frequency, and describe how R(ω)\push{R(\omega)} behaves as ω\push{\omega} increases from 00 when c\rate{c} is in this range.

Check when the expression inside the square root of ωmax⁡=km−c22m2\push{\omega_{\max}} = \sqrt{\own{\tfrac{k}{m}} - \tfrac{\rate{c^2}}{2m^2}} is zero or negative, keeping track of m=2m = 2.

From ωmax⁡=km−c22m2\push{\omega_{\max}} = \sqrt{\own{\frac{k}{m}} - \frac{\rate{c^2}}{2m^2}}, there is no positive resonance peak when c22m2≥km\frac{\rate{c^2}}{2m^2} \ge \own{\frac{k}{m}}, or
c2\displaystyle \rate{c^2} ≥2mk\displaystyle \ge 2mk =2(2)(9)\displaystyle = 2(2)(9) =36  ⟹  c\displaystyle = 36 \implies \rate{c} ≥6\displaystyle \ge 6
(leaving out m=2m = 2 gives c2≥18  ⟹  c≥32c^2 \ge 18 \implies c \ge 3\sqrt{2}, while using the critical damping condition c2≥4mk=72c^2 \ge 4mk = 72 gives c≥62c \ge 6\sqrt{2}). For all c≥6\rate{c} \ge 6, R(ω)\push{R(\omega)} decreases steadily as ω\push{\omega} increases from 00.