6.12 problem 12

Internal problem ID [1998]

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: 12.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.038 (sec). Leaf size: 19

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

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