Internal problem ID [870]
Book: Elementary differential equations with boundary value problems. William F. Trench.
Brooks/Cole 2001
Section: Chapter 1, Introduction. Section 1.2 Page 14
Problem number: 2(b).
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {y^{\prime } x +y=x^{2}} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 16
dsolve(x*diff(y(x),x) +y(x)= x^2,y(x), singsol=all)
\[ y \left (x \right ) = \frac {x^{3}+3 c_{1}}{3 x} \]
✓ Solution by Mathematica
Time used: 0.026 (sec). Leaf size: 19
DSolve[x*y'[x] +y[x]== x^2,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to \frac {x^2}{3}+\frac {c_1}{x} \]