71.1.17 problem 31

Internal problem ID [14326]
Book : Ordinary Differential Equations by Charles E. Roberts, Jr. CRC Press. 2010
Section : Chapter 1. Introduction. Exercises page 14
Problem number : 31
Date solved : Tuesday, January 28, 2025 at 06:26:40 AM
CAS classification : [_separable]

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

Solution by Maple

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

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

Solution by Mathematica

Time used: 0.023 (sec). Leaf size: 18

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