78.1.2 problem 1 (b)

Internal problem ID [18057]
Book : DIFFERENTIAL EQUATIONS WITH APPLICATIONS AND HISTORICAL NOTES by George F. Simmons. 3rd edition. 2017. CRC press, Boca Raton FL.
Section : Chapter 1. The Nature of Differential Equations. Separable Equations. Section 2. Problems at page 9
Problem number : 1 (b)
Date solved : Tuesday, January 28, 2025 at 11:23:33 AM
CAS classification : [_separable]

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

Solution by Maple

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

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

Solution by Mathematica

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

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