Question 1 of 7: General Solutions of Three First–/Second–Order ODEs
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
National Exams — 04-BS-1 Mathematics. Three-hour, closed-book exam. Format: seven questions offered; Question 1 is split (a) 7, (b) 7, (c) 6 marks, Questions 2–7 are 20 marks each; any five questions constitute a complete paper and only the first five appearing in the answer book are marked. All seven are solved below for completeness.
Reference texts: Kreyszig, Advanced Engineering Mathematics (10th ed., Wiley) — ODEs, Laplace transforms and Fourier series for periodic forcing, tangent lines to surface intersections, line/surface integrals; Stewart, Calculus: Early Transcendentals (9th ed., Cengage) — spherical coordinates and volumes, vector line integrals.
Question 1: General Solutions of Three First–/Second–Order ODEs (a) 7, (b) 7, (c) 6 marks
Given. Three independent first-order-reducible ODEs in $x$: (a) a constant-coefficient second-order equation missing $y$, forced by $\sin2x$; (b) a separable (Bernoulli, $n=2$) equation; (c) a first-order linear equation.
Find. The general solution $y(x)$ in each case.
Approach. (a) Solve the homogeneous equation via its characteristic roots, then use undetermined coefficients for the sinusoidal forcing. (b) Separate variables directly. (c) Divide through to standard linear form and apply an integrating factor.
(a) Homogeneous solution. The characteristic equation $r^2+2r=0$ factors as $r(r+2)=0$, giving $r=0,-2$:
$$y_h=C_1+C_2e^{-2x}.$$
(a) Particular solution. Try $y_p=A\cos2x+B\sin2x$. Then $y_p''+2y_p'=(-4A+4B)\cos2x+(-4A-4B)\sin2x$. Matching to $\sin2x$: $-4A+4B=0$ and $-4A-4B=1$, so $A=B=-\tfrac18$:
$$y_p=-\tfrac18\cos2x-\tfrac18\sin2x.$$
$$y(x)=\boxed{C_1+C_2e^{-2x}-\tfrac18\cos2x-\tfrac18\sin2x}$$
(b) Separate variables. $y'=-xy^2\Rightarrow\dfrac{dy}{y^2}=-x\,dx\Rightarrow-\dfrac1y=-\dfrac{x^2}{2}+C_0$:
$$y(x)=\boxed{\dfrac{2}{x^2+C}}\quad(\text{plus the singular solution }y\equiv0).$$
(c) Standard linear form and integrating factor. Divide by $2x$: $y'+\dfrac{1}{2x}y=x^{1/2}$. The integrating factor is $\mu=e^{\int\frac{1}{2x}dx}=x^{1/2}$, and $\big(x^{1/2}y\big)'=x^{1/2}\cdot x^{1/2}=x$.