Internal problem ID [3400]
Book: Ordinary differential equations and their solutions. By George Moseley Murphy.
1960
Section: Various 5
Problem number: 144.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {x y^{\prime }-y=-x^{2}} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 11
dsolve(x*diff(y(x),x)+x^2-y(x) = 0,y(x), singsol=all)
\[ y \left (x \right ) = \left (c_{1} -x \right ) x \]
✓ Solution by Mathematica
Time used: 0.027 (sec). Leaf size: 13
DSolve[x y'[x]+x^2-y[x]==0,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to x (-x+c_1) \]