50.8.7 problem 1(g)

Internal problem ID [7923]
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)
Date solved : Monday, January 27, 2025 at 03:32:33 PM
CAS classification : [_separable]

\begin{align*} 2 y x +x^{2} y^{\prime }&=0 \end{align*}

Solution by Maple

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

dsolve(2*x*y(x)+x^2*diff(y(x),x)=0,y(x), singsol=all)
 
\[ y = \frac {c_{1}}{x^{2}} \]

Solution by Mathematica

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

DSolve[2*x*y[x]+x^2*D[y[x],x]==0,y[x],x,IncludeSingularSolutions -> True]
 
\begin{align*} y(x)\to \frac {c_1}{x^2} \\ y(x)\to 0 \\ \end{align*}