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 2017 — 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, Laplace transforms, line/surface integrals, Stokes'/divergence theorems; Stewart, Calculus: Early Transcendentals (9th ed., Cengage) — Lagrange multipliers, planes and surfaces in space.
Question 1: Three First- and Second-Order ODEs (a) 7, (b) 7, (c) 6 marks
Given. Three unrelated first- and second-order ODEs, each solvable by a different elementary technique.
Find. The general solution of each.
Approach. (a) Recognize the left side as an exact derivative $(x^2y)'$; (b) separate variables (a Bernoulli equation with $n=2$); (c) solve the constant-coefficient characteristic equation.
(a) Recognize the exact-derivative form. Since $\dfrac{d}{dx}(x^2y)=x^2y'+2xy$, the left side of $x^2y'+2xy=2\sin(3x)$ is already $\dfrac{d}{dx}(x^2y)$ — no integrating factor needs to be derived, it falls out directly from the product rule.
(a) Integrate both sides.
$$x^2y=\int2\sin(3x)\,dx=-\tfrac23\cos(3x)+C\ \Rightarrow\ \boxed{y(x)=\dfrac{C-\tfrac23\cos(3x)}{x^2}}$$
(Check: substituting back reproduces $2\sin3x$ exactly.)
(b) Separate variables. $y'+2xy^2=0$ is Bernoulli with $n=2$; for $y\ne0$, divide by $y^2$: $\dfrac{dy}{y^2}=-2x\,dx$. Integrating, $-\dfrac1y=-x^2+C_1$, so
$$\boxed{y(x)=\dfrac{1}{x^2+C}}$$
(with $C=-C_1$). The division by $y^2$ also discards the singular solution $y\equiv0$, which independently satisfies the equation.
(c) Characteristic equation. For $3y''+5y'-2y=0$, try $y=e^{rx}$: $3r^2+5r-2=0\Rightarrow r=\dfrac{-5\pm\sqrt{25+24}}{6}=\dfrac{-5\pm7}{6}$, giving $r=\tfrac13,\,-2$. So
$$\boxed{y(x)=C_1e^{x/3}+C_2e^{-2x}}$$