NivaarExam PrepOfficial exam papers ↗

04-BS-1 · December 2018

Question 2 of 8: General Solution of a Doubly-Forced Oscillator (Resonant + Non-Resonant)

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

Notes on this paper

National Exams — December 2018 — 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, forced oscillations, tangent planes, line/surface integrals, Stokes'/divergence theorems; Stewart, Calculus: Early Transcendentals (9th ed., Cengage) — vectors, gradients, constrained optimization.

Question 2: General Solution of a Doubly-Forced Oscillator (Resonant + Non-Resonant) (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. $x''+4x=3\cos2t+4\cos3t$.

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

Approach. The homogeneous natural frequency is $\omega_0=2$. The $3\cos2t$ term forces exactly at $\omega_0$ (resonance, needs a $t\sin\omega_0t$-type trial); the $4\cos3t$ term forces off-resonance and takes a plain $\cos3t$ trial. Superpose both particular solutions onto the homogeneous solution.

  1. Homogeneous solution. $r^2+4=0\Rightarrow r=\pm2i$, so $x_h(t)=C_1\cos2t+C_2\sin2t$.
  2. Resonant particular solution for $3\cos2t$. Since $\omega=2=\omega_0$, try $x_{p1}=t(A\cos2t+B\sin2t)$. Substituting and cancelling the (automatically vanishing) $t\cos2t,\,t\sin2t$ terms leaves $-4A\sin2t+4B\cos2t=3\cos2t$, giving $A=0,\ B=\tfrac34$: $$x_{p1}(t)=\tfrac34t\sin2t.$$
  3. Non-resonant particular solution for $4\cos3t$. Try $x_{p2}=D\cos3t$: $-9D+4D=-5D=4\Rightarrow D=-\tfrac45$, so $$x_{p2}(t)=-\tfrac45\cos3t.$$
  4. Superpose. $$x(t)=C_1\cos2t+C_2\sin2t+\tfrac34t\sin2t-\tfrac45\cos3t.$$

$$x(t)=\boxed{C_1\cos2t+C_2\sin2t+\tfrac34t\sin2t-\tfrac45\cos3t}$$

QuantityResult
Natural frequency $\omega_0$$2$
Resonant term ($3\cos2t$)$\tfrac34t\sin2t$
Non-resonant term ($4\cos3t$)$-\tfrac45\cos3t$
$x(t)$$C_1\cos2t+C_2\sin2t+\tfrac34t\sin2t-\tfrac45\cos3t$