Internal problem ID [3356]
Internal file name [OUTPUT/2848_Sunday_June_05_2022_08_41_43_AM_6406403/index.tex
]
Book: Ordinary differential equations and their solutions. By George Moseley Murphy.
1960
Section: Various 4
Problem number: 98.
ODE order: 1.
ODE degree: 1.
The type(s) of ODE detected by this program : "quadrature"
Maple gives the following as the ode type
[_quadrature]
\[ \boxed {y^{\prime }-\sqrt {{| y|}}=0} \]
Integrating both sides gives \begin{align*}
\int \frac {1}{\sqrt {{| y |}}}d y &= \int d x \\
\left \{\begin {array}{cc} -2 \sqrt {-y} & y\le 0 \\ 2 \sqrt {y} & 0 The solution(s) found are the following \begin{align*}
\tag{1} \left \{\begin {array}{cc} -2 \sqrt {-y} & y\le 0 \\ 2 \sqrt {y} & 0 Verification of solutions
\[
\left \{\begin {array}{cc} -2 \sqrt {-y} & y\le 0 \\ 2 \sqrt {y} & 0 \[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & y^{\prime }-\sqrt {{| y|}}=0 \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 1 \\ {} & {} & y^{\prime } \\ \bullet & {} & \textrm {Solve for the highest derivative}\hspace {3pt} \\ {} & {} & y^{\prime }=\sqrt {{| y|}} \\ \bullet & {} & \textrm {Separate variables}\hspace {3pt} \\ {} & {} & \frac {y^{\prime }}{\sqrt {{| y|}}}=1 \\ \bullet & {} & \textrm {Integrate both sides with respect to}\hspace {3pt} x \\ {} & {} & \int \frac {y^{\prime }}{\sqrt {{| y|}}}d x =\int 1d x +c_{1} \\ \bullet & {} & \textrm {Evaluate integral}\hspace {3pt} \\ {} & {} & \left \{\begin {array}{cc} -2 \sqrt {-y} & y\le 0 \\ 2 \sqrt {y} & 0 Maple trace
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 29
\[
x +2 \left (\left \{\begin {array}{cc} \sqrt {-y \left (x \right )} & y \left (x \right )\le 0 \\ -\sqrt {y \left (x \right )} & 0 ✓ Solution by Mathematica
Time used: 0.164 (sec). Leaf size: 31
\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*}
4.9.2 Maple step by step solution
`Methods for first order ODEs:
--- Trying classification methods ---
trying a quadrature
trying 1st order linear
trying Bernoulli
trying separable
<- separable successful`
dsolve(diff(y(x),x) = sqrt(abs(y(x))),y(x), singsol=all)
DSolve[y'[x]==Sqrt[Abs[y[x]]],y[x],x,IncludeSingularSolutions -> True]