29.30.29 problem 889

Internal problem ID [5469]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Various 30
Problem number : 889
Date solved : Monday, January 27, 2025 at 11:25:08 AM
CAS classification : [_quadrature]

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

Solution by Maple

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

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

Solution by Mathematica

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

DSolve[4(2-x) (D[y[x],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*}