30.29 problem 889

Internal problem ID [3617]

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

CAS Maple gives this as type [_quadrature]

Solve \begin {gather*} \boxed {4 \left (2-x \right ) \left (y^{\prime }\right )^{2}+1=0} \end {gather*}

Solution by Maple

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

dsolve(4*(2-x)*diff(y(x),x)^2+1 = 0,y(x), singsol=all)
 

\begin{align*} y \relax (x ) = -\sqrt {x -2}+c_{1} \\ y \relax (x ) = \sqrt {x -2}+c_{1} \\ \end{align*}

Solution by Mathematica

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

DSolve[4(2-x) (y'[x])^2+1==0,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to -\sqrt {x-2}+c_1 \\ y(x)\to \sqrt {x-2}+c_1 \\ \end{align*}