4.6 problem 2(f)

Internal problem ID [3113]

Book: Differential equations with applications and historial notes, George F. Simmons, 1971
Section: Chapter 2, section 11, page 49
Problem number: 2(f).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {2 y-x y^{\prime }=x^{3}} \]

Solution by Maple

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

dsolve((2*y(x)-x^3)=x*diff(y(x),x),y(x), singsol=all)
 

\[ y \left (x \right ) = \left (c_{1} -x \right ) x^{2} \]

Solution by Mathematica

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

DSolve[(2*y[x]-x^3)==x*y'[x],y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to x^2 (-x+c_1) \]