71.3.13 problem 8

Internal problem ID [14363]
Book : Ordinary Differential Equations by Charles E. Roberts, Jr. CRC Press. 2010
Section : Chapter 2. The Initial Value Problem. Exercises 2.1, page 40
Problem number : 8
Date solved : Tuesday, January 28, 2025 at 06:27:42 AM
CAS classification : [_separable]

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

Solution by Maple

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

dsolve(diff(y(x),x)=x/y(x),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.081 (sec). Leaf size: 35

DSolve[D[y[x],x]==x/y[x],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*}