Question 1 of 8: Three First- and Second-Order ODEs — Integrating Factor, Separable/Bernoulli, and Complex Characteristic Roots
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
National Exams — May 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) — first-order and constant-coefficient ODEs, Cauchy–Euler equations, eigenvalues and linear systems, line/surface integrals, the divergence theorem; Stewart, Calculus: Early Transcendentals (9th ed., Cengage) — lines and planes in space, tangent-plane linear approximation, line integrals of vector fields; Strang, Introduction to Linear Algebra (6th ed.) — eigenvalues/eigenvectors, systems of linear ODEs, quadratic forms and principal axes.
Question 1: Three First- and Second-Order ODEs — Integrating Factor, Separable/Bernoulli, and Complex Characteristic Roots (a) 7, (b) 7, (c) 6 marks
Given. Three unrelated ODEs: (a) a linear first-order equation with an exponential forcing term shaped to match the integrating factor; (b) a separable (Bernoulli, $n=2$) first-order equation; (c) a constant-coefficient linear second-order homogeneous equation.
Find. The general solution $y(x)$ in each part.
Approach. (a) Multiply by the integrating factor $\mu=e^{\int 2x\,dx}=e^{x^2}$ so the left side collapses to $(\mu y)'$. (b) Separate variables directly (equivalently, this is Bernoulli with $n=2$: dividing by $y^2$ linearizes it in $1/y$). (c) Solve the characteristic equation; complex roots give an oscillatory-times-exponential solution.
(a) Integrate and solve for $y$. $e^{x^2}y=\displaystyle\int 2x\,dx=x^2+C_1$, so
$$y(x)=\boxed{(x^2+C_1)e^{-x^2}}.$$
(b) Separate variables. For $y\ne0$, $\dfrac{dy}{y^2}=-2x\,dx$. Integrating both sides,
$$-\frac1y=-x^2+C\ \Rightarrow\ \frac1y=x^2-C\ \Rightarrow\ y(x)=\boxed{\dfrac{1}{x^2+C_2}}$$
(renaming $-C\to C_2$); the division by $y^2$ also loses the singular solution $y\equiv0$, which independently satisfies the ODE.
(c) Characteristic equation. $r^2-2r+3=0\ \Rightarrow\ r=\dfrac{2\pm\sqrt{4-12}}{2}=1\pm i\sqrt2$. Complex roots $p\pm qi$ with $p=1,\ q=\sqrt2$ give
$$y(x)=\boxed{e^{x}\big(C_3\cos(\sqrt2\,x)+C_4\sin(\sqrt2\,x)\big)}.$$
Part
Result
(a) $y(x)$
$(x^2+C_1)e^{-x^2}$
(b) $y(x)$
$\dfrac{1}{x^2+C_2}$ (plus the singular solution $y\equiv0$)