Timedora

Forced Oscillations: Response, Steady State, and Resonance

A lesson on decomposing forced oscillations, calculating sinusoidal steady-state motion, and understanding resonance with and without damping.

From the General Solution to

A forced oscillator is modeled by an equation such as

mx′′+cx′+kx=F(t),m x''+c x'+kx=F(t),

where m>0m>0 is mass, c≥0c\ge 0 is the damping coefficient, k>0k>0 is stiffness, and F(t)F(t) is an external force. The solution has two contributions: the system’s response without the external force, and a response that accounts for the force.

First solve the associated homogeneous equation, obtained by setting the force to zero:

mx′′+cx′+kx=0.m x''+c x'+kx=0.

Call its general solution xh(t)x_h(t). Then find a particular solution xp(t)x_p(t) to the forced equation. Because the equation is linear, their sum solves the full equation:

x(t)=xh(t)+xp(t).x(t)=x_h(t)+x_p(t).

This is superposition. Initial conditions determine the constants in xhx_h, but do not change the method for finding xpx_p. Thus the full solution can vary with the oscillator’s initial state even though its particular forced contribution is unchanged.

When damping is positive, the homogeneous response typically decays over time. This fading part is the . The forced contribution that remains is the . For sinusoidal forcing, the oscillates at the frequency of the force. The distinction is useful: the general solution describes both the initial adjustment and the lasting response, while the isolates the behavior that persists after the has faded.

Example. For x′′+2x′+5x=4cos⁡(2t)x''+2x'+5x=4\cos(2t), the is xh(t)=e−t(C1cos⁡(2t)+C2sin⁡(2t))x_h(t)=e^{-t}(C_1\cos(2t)+C_2\sin(2t)), and a particular solution is xp(t)=417cos⁡(2t)+1617sin⁡(2t)x_p(t)=\frac{4}{17}\cos(2t)+\frac{16}{17}\sin(2t). Adding them gives the general solution. The factor e−te^{-t} makes the homogeneous contribution decay, so it is the ; the two sinusoidal terms are the , oscillating at the 22. Their amplitude is (4/17)2+(16/17)2=4/17\sqrt{(4/17)^2+(16/17)^2}=4/\sqrt{17}. Initial conditions set C1C_1 and C2C_2, but do not alter this steady-state contribution.

Calculating Sinusoidal Response

Consider sinusoidal forcing:

mx′′+cx′+kx=F0cos⁡(ωt).m x''+c x'+kx=F_0\cos(\omega t).

Since differentiating sine and cosine terms preserves their frequency, try a particular solution at that same frequency:

xp=Acos⁡(ωt)+Bsin⁡(ωt).x_p=A\cos(\omega t)+B\sin(\omega t).

Its derivatives are

xp′=−Aωsin⁡(ωt)+Bωcos⁡(ωt),xp′′=−Aω2cos⁡(ωt)−Bω2sin⁡(ωt).x_p'=-A\omega\sin(\omega t)+B\omega\cos(\omega t),\qquad x_p''=-A\omega^2\cos(\omega t)-B\omega^2\sin(\omega t).

Substitute these into the equation. The cosine terms have coefficient (k−mω2)A+cωB(k-m\omega^2)A+c\omega B; the sine terms have coefficient (k−mω2)B−cωA(k-m\omega^2)B-c\omega A. Matching them to the right-hand side, which has cosine coefficient F0F_0 and sine coefficient zero, gives

(k−mω2)A+cωB=F0,(k−mω2)B−cωA=0.(k-m\omega^2)A+c\omega B=F_0,\qquad (k-m\omega^2)B-c\omega A=0.

Solving this pair yields

A=F0(k−mω2)(k−mω2)2+(cω)2,B=F0cω(k−mω2)2+(cω)2.A=\frac{F_0(k-m\omega^2)}{(k-m\omega^2)^2+(c\omega)^2},\qquad B=\frac{F_0c\omega}{(k-m\omega^2)^2+(c\omega)^2}.

The same response can be written as xp(t)=Rcos⁡(ωt−δ)x_p(t)=R\cos(\omega t-\delta). Expanding this expression gives cosine coefficient Rcos⁡δR\cos\delta and sine coefficient Rsin⁡δR\sin\delta, so A=Rcos⁡δA=R\cos\delta and B=Rsin⁡δB=R\sin\delta. Therefore

R=A2+B2=F0(k−mω2)2+(cω)2,δ=atan2⁡(cω, k−mω2).R=\sqrt{A^2+B^2}=\frac{F_0}{\sqrt{(k-m\omega^2)^2+(c\omega)^2}},\qquad \delta=\operatorname{atan2}(c\omega,\,k-m\omega^2).

The has the ω\omega; the system parameters and determine its amplitude and phase.

Worked example. Solve

x′′+2x′+5x=4cos⁡(2t).x''+2x'+5x=4\cos(2t).

First, the homogeneous characteristic equation is r2+2r+5=0r^2+2r+5=0, with roots −1±2i-1\pm2i. Hence

xh(t)=e−t(C1cos⁡(2t)+C2sin⁡(2t)).x_h(t)=e^{-t}\bigl(C_1\cos(2t)+C_2\sin(2t)\bigr).

For the particular part, use xp=Acos⁡(2t)+Bsin⁡(2t)x_p=A\cos(2t)+B\sin(2t). Here m=1m=1, c=2c=2, k=5k=5, F0=4F_0=4, and ω=2\omega=2, so k−mω2=1k-m\omega^2=1 and cω=4c\omega=4. The matching equations become

A+4B=4,B−4A=0.A+4B=4,\qquad B-4A=0.

The second equation gives B=4AB=4A. Substituting into the first gives 17A=417A=4, so A=4/17A=4/17 and B=16/17B=16/17. Thus

x(t)=e−t(C1cos⁡(2t)+C2sin⁡(2t))+417cos⁡(2t)+1617sin⁡(2t).x(t)=e^{-t}\bigl(C_1\cos(2t)+C_2\sin(2t)\bigr) +\frac{4}{17}\cos(2t)+\frac{16}{17}\sin(2t).

The exponential factor makes the first contribution decay; it is the . The last two terms are the , with amplitude

R=(417)2+(1617)2=417.R=\sqrt{\left(\frac{4}{17}\right)^2+\left(\frac{16}{17}\right)^2}=\frac{4}{\sqrt{17}}.

If initial conditions are supplied, they determine C1C_1 and C2C_2; they do not change this particular steady-state solution. The sine-and-cosine trial applies to sinusoidal forcing; at undamped exact it duplicates a , so a different particular-solution form is needed.

and the Role of Damping

For an undamped oscillator, set c=0c=0. Its is

ω0=km.\omega_0=\sqrt{\frac{k}{m}}.

Away from this frequency, the sinusoidal particular solution has amplitude

R=F0∣k−mω2∣.R=\frac{F_0}{|k-m\omega^2|}.

As the approaches ω0\omega_0, the denominator approaches zero. At exact , ω=ω0\omega=\omega_0, the usual sinusoidal trial duplicates a . A suitable particular solution then grows in time, so the ideal undamped model has no bounded steady-state oscillation.

Positive damping changes this conclusion: the response remains bounded, and its amplitude is largest near the natural frequency. The peak need not occur exactly at ω0\omega_0. Thus “” should not be taken to mean an unbounded response in every model: unbounded growth here is specific to exact in the ideal undamped case, while damping limits the response.

  • : A forced oscillator described by a linear equation such as mx′′+cx′+kx=F(t)m x''+c x'+kx=F(t), where F(t)F(t) is an external force.

  • : The coefficients of cosine and sine in a particular solution matched to sinusoidal forcing.

  • : The phase parameter δ\delta in the representation Rcos⁡(ωt−δ)R\cos(\omega t-\delta).