Internal problem ID [1987]
Book: Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath.
Boston. 1964
Section: Exercise 10, page 41
Problem number: 1.
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: 16
dsolve(x*diff(y(x),x)+2*y(x)=x^2,y(x), singsol=all)
\[ y \left (x \right ) = \frac {x^{4}+4 c_{1}}{4 x^{2}} \]
✓ Solution by Mathematica
Time used: 0.026 (sec). Leaf size: 19
DSolve[x*y'[x]+2*y[x]==x^2,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to \frac {x^2}{4}+\frac {c_1}{x^2} \]