NivaarExam PrepOfficial exam papers ↗

04-BS-1 · December 2018

Question 1 of 8: General Solutions of Two First–/Second–Order ODEs

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 1: General Solutions of Two First–/Second–Order ODEs (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) The linear first-order ODE $y'+xy=2xe^{-x^2}$. (b) The linear constant-coefficient second-order ODE $y''+y'-6y=0$.

Find. The general solution $y(x)$ in each case.

Approach. (a) Use an integrating factor $\mu=e^{\int x\,dx}$. (b) Solve the characteristic equation for the constant-coefficient homogeneous ODE.

  1. (a) Integrating factor. $\mu(x)=e^{\int x\,dx}=e^{x^2/2}$. Multiplying through, $$\left(e^{x^2/2}y\right)'=2xe^{-x^2}\cdot e^{x^2/2}=2xe^{-x^2/2}.$$
  2. (a) Integrate. $\displaystyle\int 2xe^{-x^2/2}\,dx=-2e^{-x^2/2}+K$, so $$e^{x^2/2}y=-2e^{-x^2/2}+K\ \Longrightarrow\ y=-2e^{-x^2}+Ke^{-x^2/2}.$$
  3. (b) Characteristic equation. $r^2+r-6=0=(r+3)(r-2)\Rightarrow r=-3,\,2$, so $$y(x)=C_1e^{-3x}+C_2e^{2x}.$$

$$\text{(a)}\quad y(x)=\boxed{Ke^{-x^2/2}-2e^{-x^2}}\qquad\qquad\text{(b)}\quad y(x)=\boxed{C_1e^{-3x}+C_2e^{2x}}$$

QuantityResult
(a) Integrating factor$e^{x^2/2}$
(a) $y(x)$$Ke^{-x^2/2}-2e^{-x^2}$
(b) Characteristic roots$r=-3,\,2$
(b) $y(x)$$C_1e^{-3x}+C_2e^{2x}$
← Paper overview