3.6 problem 4.3 (f)

Internal problem ID [13304]

Book: Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell. second edition. CRC Press. FL, USA. 2020
Section: Chapter 4. SEPARABLE FIRST ORDER EQUATIONS. Additional exercises. page 90
Problem number: 4.3 (f).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.052 (sec). Leaf size: 24

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

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