26.4.6 problem 2(f)

Internal problem ID [4274]
Book : Differential equations with applications and historial notes, George F. Simmons. Second edition. 1971
Section : Chapter 2, section 11, page 49
Problem number : 2(f)
Date solved : Monday, January 27, 2025 at 08:47:21 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 \right ) = \left (-x +c_{1} \right ) x^{2} \]

Solution by Mathematica

Time used: 0.027 (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) \]