2.1 problem 3.4 a

Internal problem ID [12968]

Book: Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell. second edition. CRC Press. FL, USA. 2020
Section: Chapter 3. Some basics about First order equations. Additional exercises. page 63
Problem number: 3.4 a.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

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

\[ y = 2+c_{1} {\mathrm e}^{-\frac {3 x^{2}}{2}} \]

Solution by Mathematica

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

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

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