71.7.8 problem 12

Internal problem ID [14429]
Book : Ordinary Differential Equations by Charles E. Roberts, Jr. CRC Press. 2010
Section : Chapter 2. The Initial Value Problem. Exercises 2.3.3, page 71
Problem number : 12
Date solved : Tuesday, January 28, 2025 at 06:30:46 AM
CAS classification : [_separable]

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

Solution by Maple

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

dsolve(x-y(x)*diff(y(x),x)=0,y(x), singsol=all)
 
\begin{align*} y &= \sqrt {x^{2}+c_{1}} \\ y &= -\sqrt {x^{2}+c_{1}} \\ \end{align*}

Solution by Mathematica

Time used: 0.072 (sec). Leaf size: 35

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