NivaarExam PrepOfficial exam papers ↗

04-BS-1 · December 2015

Question 2 of 8: Two Initial Value Problems

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

Notes on this paper

National Exams — December 2015 — 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 lines in space, surface/flux integrals, volumes.

Question 2: Two Initial Value Problems (a) 10, (b) 10 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. (a) A separable, nonlinear first-order ODE with $y(1)=2$. (b) A constant-coefficient linear ODE with complex characteristic roots, forced at $\cos(3t)$, and zero initial conditions.

Find. $y(t)$ satisfying each IVP.

Approach. (a) Separate variables and integrate directly. (b) Solve the homogeneous equation (complex roots), find a particular solution by undetermined coefficients, then fix the two constants from the ICs.

  1. (a) Separate and integrate. $\dfrac{dy}{y^2}=-2t\,dt \;\Rightarrow\; -\dfrac1y=-t^2+K \;\Rightarrow\; \dfrac1y=t^2+C.$
  2. (a) Apply the initial condition. $y(1)=2\Rightarrow\dfrac12=1+C\Rightarrow C=-\dfrac12$. So $$y(t)=\frac{1}{t^2-\tfrac12}=\boxed{\dfrac{2}{2t^2-1}}$$ (Check: $y(1)=2/(2-1)=2$ ✓; $y'=-8t/(2t^2-1)^2$ and $2ty^2=8t/(2t^2-1)^2$, so $y'+2ty^2=0$ ✓.)
  3. (b) Homogeneous solution. $r^2-12r+45=0\Rightarrow r=\dfrac{12\pm\sqrt{144-180}}{2}=6\pm3i$, so $$y_h(t)=e^{6t}(C_1\cos3t+C_2\sin3t).$$
  4. (b) Particular solution. Try $y_p=A\cos3t+B\sin3t$ (no resonance, since the homogeneous modes carry the $e^{6t}$ envelope). Substituting and matching coefficients of $\cos3t$ and $\sin3t$ against $18\cos3t+0\sin3t$: $$36A-36B=18,\qquad 36A+36B=0.$$ The second equation gives $B=-A$; substituting into the first, $72A=18\Rightarrow A=\tfrac14,\ B=-\tfrac14$. So $y_p=\tfrac14\cos3t-\tfrac14\sin3t$.
  5. (b) Apply the initial conditions. $y(t)=e^{6t}(C_1\cos3t+C_2\sin3t)+\tfrac14\cos3t-\tfrac14\sin3t$. $y(0)=C_1+\tfrac14=0\Rightarrow C_1=-\tfrac14$. Differentiating, $y'(t)=e^{6t}\big[(6C_1+3C_2)\cos3t+(6C_2-3C_1)\sin3t\big]-\tfrac34\sin3t-\tfrac34\cos3t$, so $$y'(0)=6C_1+3C_2-\tfrac34=0 \;\Rightarrow\; 3C_2=\tfrac34-6\left(-\tfrac14\right)=\tfrac34+\tfrac32=\tfrac94 \;\Rightarrow\; C_2=\tfrac34.$$

$$y(t)=\boxed{e^{6t}\left(-\tfrac14\cos3t+\tfrac34\sin3t\right)+\tfrac14\cos3t-\tfrac14\sin3t}$$

PartResult
(a) $y(t)$$\dfrac{2}{2t^2-1}$
(b) $y(t)$$e^{6t}\left(-\tfrac14\cos3t+\tfrac34\sin3t\right)+\tfrac14\cos3t-\tfrac14\sin3t$