6.10 problem 10

Internal problem ID [1996]

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

CAS Maple gives this as type [_linear]

\[ \boxed {y^{2} x^{\prime }+\left (y^{2}+2 y \right ) x=1} \]

Solution by Maple

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

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

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

Solution by Mathematica

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

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

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