NivaarExam PrepOfficial exam papers ↗

04-BS-1 · December 2016

Question 2 of 8: Forced Oscillator — Resonant and Non-Resonant Forcing Together

Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)

Notes on this paper

National Exams — December 2016 — 04-BS-1 Mathematics. Three-hour, closed-book exam (one double-sided aid sheet permitted, approved calculator allowed). Format: eight questions offered; any five constitute a complete paper and only the first five appearing in the answer book are marked. All eight are solved below for completeness.

Reference texts: Kreyszig, Advanced Engineering Mathematics (10th ed., Wiley) — ODEs, systems of ODEs, line/surface integrals, Stokes'/divergence theorems; Stewart, Calculus: Early Transcendentals (9th ed., Cengage) — Lagrange multipliers, planes and surfaces in space, surface/flux integrals, volumes.

Question 2: Forced Oscillator — Resonant and Non-Resonant Forcing Together 20 marks

Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.

Given. An undamped oscillator with natural frequency $\omega_0=2$, forced simultaneously at its own frequency ($3\cos2t$, resonant) and at a different frequency ($4\cos3t$, non-resonant).

Find. The general solution $x(t)$.

Approach. Solve the homogeneous equation, then find a particular solution for each forcing term separately (superposition), using the resonant trial $t(A\cos2t+B\sin2t)$ for the $2\cos t$-frequency term and the ordinary trial $C\cos3t+D\sin3t$ for the other.

  1. Homogeneous solution. $r^2+4=0\Rightarrow r=\pm2i\Rightarrow x_h(t)=C_1\cos2t+C_2\sin2t$.
  2. Resonant particular solution (for $3\cos2t$). Since $\cos2t$ solves the homogeneous equation, try $x_{p1}=t(A\cos2t+B\sin2t)$. Substituting and simplifying (the $t\cos2t,\,t\sin2t$ terms cancel automatically, leaving only the terms produced by differentiating the envelope $t$ itself): $$x_{p1}''+4x_{p1}=-4A\sin2t+4B\cos2t=3\cos2t\ \Rightarrow\ A=0,\ B=\tfrac34.$$ So $x_{p1}=\tfrac34\,t\sin2t$.
  3. Non-resonant particular solution (for $4\cos3t$). Try $x_{p2}=C\cos3t+D\sin3t$: $x_{p2}''+4x_{p2}=(-9+4)(C\cos3t+D\sin3t)=-5(C\cos3t+D\sin3t)=4\cos3t\Rightarrow C=-\tfrac45,\ D=0$. So $x_{p2}=-\tfrac45\cos3t$.
  4. Superpose. $$x(t)=\boxed{C_1\cos2t+C_2\sin2t+\dfrac34\,t\sin2t-\dfrac45\cos3t}$$ (Check: direct substitution of the full expression into $x''+4x$ reproduces $3\cos2t+4\cos3t$ exactly.)
QuantityResult
Homogeneous solution$C_1\cos2t+C_2\sin2t$
Resonant term ($3\cos2t$)$\tfrac34\,t\sin2t$
Non-resonant term ($4\cos3t$)$-\tfrac45\cos3t$
$x(t)$$C_1\cos2t+C_2\sin2t+\tfrac34\,t\sin2t-\tfrac45\cos3t$