NivaarExam PrepOfficial exam papers ↗

04-BS-1 · December 2015

Question 1 of 8: Two First- and Second-Order ODEs

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 1: Two First- and 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) A first-order linear ODE with variable coefficient $x$ and forcing $2xe^{-x^2}$. (b) A homogeneous, constant-coefficient second-order ODE.

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

Approach. (a) Solve by an integrating factor $\mu(x)=e^{\int x\,dx}$. (b) Solve the characteristic (auxiliary) equation and combine the two real exponential modes.

  1. (a) Integrating factor. The equation $y'+xy=2xe^{-x^2}$ has integrating factor $$\mu(x)=e^{\int x\,dx}=e^{x^2/2}.$$
  2. (a) Multiply through and integrate. Multiplying both sides by $\mu$, $$\left(e^{x^2/2}y\right)'=2xe^{-x^2}\cdot e^{x^2/2}=2xe^{-x^2/2}.$$ The right side integrates directly, since $\dfrac{d}{dx}e^{-x^2/2}=-xe^{-x^2/2}$: $$\int 2xe^{-x^2/2}\,dx=-2e^{-x^2/2}+C.$$ So $e^{x^2/2}y=-2e^{-x^2/2}+C$.
  3. (a) Solve for $y$. Dividing by $e^{x^2/2}$, $$y(x)=\boxed{Ce^{-x^2/2}-2e^{-x^2}}$$ (Check: $y'=-Cxe^{-x^2/2}+4xe^{-x^2}$, and $y'+xy=-Cxe^{-x^2/2}+4xe^{-x^2}+Cxe^{-x^2/2}-2xe^{-x^2}=2xe^{-x^2}$ ✓.)
  4. (b) Characteristic equation. For $y''+y'-6y=0$, try $y=e^{rx}$: $$r^2+r-6=0=(r+3)(r-2)=0 \;\Rightarrow\; r=-3,\ 2.$$
  5. (b) General solution. Two distinct real roots give two independent exponential modes: $$y(x)=\boxed{C_1e^{-3x}+C_2e^{2x}}$$
PartResult
(a) $y(x)$$Ce^{-x^2/2}-2e^{-x^2}$
(b) $y(x)$$C_1e^{-3x}+C_2e^{2x}$
← Paper overview