78.5.18 problem 4 (g)

Internal problem ID [18161]
Book : DIFFERENTIAL EQUATIONS WITH APPLICATIONS AND HISTORICAL NOTES by George F. Simmons. 3rd edition. 2017. CRC press, Boca Raton FL.
Section : Chapter 2. First order equations. Section 9 (Integrating Factors). Problems at page 80
Problem number : 4 (g)
Date solved : Tuesday, January 28, 2025 at 11:34:37 AM
CAS classification : [_linear]

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

Solution by Maple

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

dsolve(x*diff(y(x),x) -y(x)= 2*x^2-3,y(x), singsol=all)
 
\[ y = c_1 x +2 x^{2}+3 \]

Solution by Mathematica

Time used: 0.031 (sec). Leaf size: 16

DSolve[x*D[y[x],x] -y[x] == 2*x^2-3,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to 2 x^2+c_1 x+3 \]