1.8 problem 3(b)

Internal problem ID [10559]

Book: Differential Equations by Shepley L. Ross. Third edition. John Willey. New Delhi. 2004.
Section: Chapter 1, Differential equations and their solutions. Exercises page 13
Problem number: 3(b).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

\[ \boxed {y^{\prime }+4 x y-8 x=0} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 14

dsolve(diff(y(x),x)+4*x*y(x)=8*x,y(x), singsol=all)
 

\[ y \left (x \right ) = 2+{\mathrm e}^{-2 x^{2}} c_{1} \]

Solution by Mathematica

Time used: 0.045 (sec). Leaf size: 22

DSolve[y'[x]+4*x*y[x]==8*x,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to 2+c_1 e^{-2 x^2} \\ y(x)\to 2 \\ \end{align*}