Internal problem ID [11678]
Book: Differential Equations by Shepley L. Ross. Third edition. John Willey. New Delhi.
2004.
Section: Chapter 2, Miscellaneous Review. Exercises page 60
Problem number: 4.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {-2 y+y^{\prime } x=-x^{2}} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 14
dsolve((x^2-2*y(x))+(x)*diff(y(x),x)=0,y(x), singsol=all)
\[ y \left (x \right ) = \left (-\ln \left (x \right )+c_{1} \right ) x^{2} \]
✓ Solution by Mathematica
Time used: 0.025 (sec). Leaf size: 16
DSolve[(x^2-2*y[x])+(x)*y'[x]==0,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to x^2 (-\log (x)+c_1) \]