11.1 problem Ex 1

Internal problem ID [11177]

Book: An elementary treatise on differential equations by Abraham Cohen. DC heath publishers. 1906
Section: Chapter 2, differential equations of the first order and the first degree. Article 18. Transformation of variables. Page 26
Problem number: Ex 1.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

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

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

\[ y \left (x \right ) = \frac {x}{2}+{\mathrm e}^{-x^{2}} c_{1} x \]

Solution by Mathematica

Time used: 0.082 (sec). Leaf size: 21

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

\[ y(x)\to x \left (\frac {1}{2}+c_1 e^{-x^2}\right ) \]