4.9 problem 98

Internal problem ID [3356]

Book: Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section: Various 4
Problem number: 98.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

\[ \boxed {y^{\prime }-\sqrt {{| y|}}=0} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 29

dsolve(diff(y(x),x) = sqrt(abs(y(x))),y(x), singsol=all)
 

\[ x +2 \left (\left \{\begin {array}{cc} \sqrt {-y \left (x \right )} & y \left (x \right )\le 0 \\ -\sqrt {y \left (x \right )} & 0<y \left (x \right ) \end {array}\right .\right )+c_{1} = 0 \]

Solution by Mathematica

Time used: 0.164 (sec). Leaf size: 31

DSolve[y'[x]==Sqrt[Abs[y[x]]],y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \text {InverseFunction}\left [\int _1^{\text {$\#$1}}\frac {1}{\sqrt {| K[1]| }}dK[1]\&\right ][x+c_1] \\ y(x)\to 0 \\ \end{align*}