1.9 problem 23

Internal problem ID [12582]

Book: Ordinary Differential Equations by Charles E. Roberts, Jr. CRC Press. 2010
Section: Chapter 1. Introduction. Exercises page 14
Problem number: 23.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

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

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

Solution by Mathematica

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

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

\begin{align*} y(x)\to \frac {c_1}{x^2} \\ y(x)\to 0 \\ \end{align*}