8.7 problem 1(g)

Internal problem ID [5502]

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]

Solve \begin {gather*} \boxed {2 y x +y^{\prime } x^{2}=0} \end {gather*}

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 \relax (x ) = \frac {c_{1}}{x^{2}} \]

Solution by Mathematica

Time used: 0.057 (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*}