8.7 problem 1(g)

Internal problem ID [6255]

Book: Differential Equations: Theory, Technique, and Practice by George Simmons, Steven Krantz. McGraw-Hill NY. 2007. 1st Edition.
Section: Chapter 1. What is a differential equation. Problems for Review and Discovery. Page 53
Problem number: 1(g).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

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

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

Solution by Mathematica

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

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

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