73.4.14 problem 5.2 (d)

Internal problem ID [15096]
Book : Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell. second edition. CRC Press. FL, USA. 2020
Section : Chapter 5. LINEAR FIRST ORDER EQUATIONS. Additional exercises. page 103
Problem number : 5.2 (d)
Date solved : Tuesday, January 28, 2025 at 07:30:35 AM
CAS classification : [_separable]

\begin{align*} y^{\prime }-2 y x&=x \end{align*}

Solution by Maple

Time used: 0.002 (sec). Leaf size: 12

dsolve(diff(y(x),x)-2*x*y(x)=x,y(x), singsol=all)
 
\[ y = -\frac {1}{2}+{\mathrm e}^{x^{2}} c_{1} \]

Solution by Mathematica

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

DSolve[D[y[x],x]-2*x*y[x]==x,y[x],x,IncludeSingularSolutions -> True]
 
\begin{align*} y(x)\to -\frac {1}{2}+c_1 e^{x^2} \\ y(x)\to -\frac {1}{2} \\ \end{align*}