7.15 problem 190

Internal problem ID [15078]

Book: A book of problems in ordinary differential equations. M.L. KRASNOV, A.L. KISELYOV, G.I. MARKARENKO. MIR, MOSCOW. 1983
Section: Section 7, Total differential equations. The integrating factor. Exercises page 61
Problem number: 190.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

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

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

\[ y \left (x \right ) = \left (x +c_{1} \right ) x \]

Solution by Mathematica

Time used: 0.024 (sec). Leaf size: 11

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

\[ y(x)\to x (x+c_1) \]