4.6 problem 2(f)

Internal problem ID [2604]

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]

Solve \begin {gather*} \boxed {2 y-x^{3}-y^{\prime } x=0} \end {gather*}

Solution by Maple

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

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

\[ y \relax (x ) = \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]
 

\begin{align*} y(x)\to x^2 (-x+c_1) \\ \end{align*}