NivaarExam PrepOfficial exam papers ↗

04-BS-1 · May 2016

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

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

Notes on this paper

National Exams — May 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 1: Three First- and Second-Order ODEs (a) 7, (b) 7, (c) 6 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 whose left side is already a disguised exact derivative. (b) A separable, nonlinear first-order ODE. (c) A homogeneous Euler–Cauchy (equidimensional) second-order ODE.

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

Approach. (a) Recognize $xy'+y=(xy)'$ and integrate directly. (b) Separate variables. (c) Try $y=x^m$ to reduce the Euler–Cauchy equation to an algebraic indicial equation.

  1. (a) Collapse the left side to an exact derivative. By the product rule, $\dfrac{d}{dx}(xy)=xy'+y$, so the ODE is exactly $$(xy)'=2\cos(3x).$$
  2. (a) Integrate and solve for $y$. Integrating both sides, $$xy=\int 2\cos(3x)\,dx=\tfrac23\sin(3x)+C.$$ Dividing by $x$, $$y(x)=\boxed{\dfrac{2\sin(3x)}{3x}+\dfrac{C}{x}}$$ (Check: $xy=\tfrac23\sin3x+C\Rightarrow(xy)'=2\cos3x$, and $(xy)'=xy'+y$ by the product rule ✓.)
  3. (b) Separate variables. $y'+2xy^2=0\Rightarrow \dfrac{dy}{y^2}=-2x\,dx$ (excluding the trivial solution $y\equiv0$, which also satisfies the ODE). Integrating, $$-\frac1y=-x^2+K \;\Rightarrow\; \frac1y=x^2-K.$$
  4. (b) Solve for $y$. Relabelling the constant ($C=-K$), $$y(x)=\boxed{\dfrac{1}{x^2+C}}$$ (Check: $y'=-\dfrac{2x}{(x^2+C)^2}$, and $2xy^2=\dfrac{2x}{(x^2+C)^2}$, so $y'+2xy^2=0$ ✓.)
  5. (c) Euler–Cauchy trial solution. For $2x^2y''+5xy'-2y=0$, try $y=x^m$: then $y'=mx^{m-1}$, $y''=m(m-1)x^{m-2}$, and substituting gives $$2m(m-1)x^m+5mx^m-2x^m=0 \;\Rightarrow\; 2m^2+3m-2=0.$$
  6. (c) Solve the indicial equation. By the quadratic formula, $$m=\frac{-3\pm\sqrt{9+16}}{4}=\frac{-3\pm5}{4}\;\Rightarrow\; m=\tfrac12,\ -2.$$ Two distinct real roots give two independent power-law modes: $$y(x)=\boxed{C_1\sqrt{x}+\dfrac{C_2}{x^2}}$$ (Check at $m=\tfrac12$: $2x^2\!\left(-\tfrac14x^{-3/2}\right)+5x\!\left(\tfrac12x^{-1/2}\right)-2x^{1/2}=-\tfrac12x^{1/2}+\tfrac52x^{1/2}-2x^{1/2}=0$ ✓.)
PartResult
(a) $y(x)$$\dfrac{2\sin(3x)}{3x}+\dfrac{C}{x}$
(b) $y(x)$$\dfrac{1}{x^2+C}$
(c) $y(x)$$C_1\sqrt{x}+\dfrac{C_2}{x^2}$
← Paper overview