78.6.6 problem 2 (f)

Internal problem ID [18174]
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 10 (Linear equations). Problems at page 82
Problem number : 2 (f)
Date solved : Tuesday, January 28, 2025 at 11:36:12 AM
CAS classification : [_linear]

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

Solution by Maple

Time used: 0.001 (sec). Leaf size: 13

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

Solution by Mathematica

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

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