32.21 problem 955

Internal problem ID [3681]

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

CAS Maple gives this as type [[_homogeneous, class C], _dAlembert]

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

Solution by Maple

Time used: 10.266 (sec). Leaf size: 587

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

\begin{align*} y \relax (x ) = 2+\frac {c_{1}}{2}-\frac {\sqrt {-c_{1}^{2}+4 c_{1} \left (x -1\right )}}{2} \\ y \relax (x ) = 2+c_{1}-\sqrt {-c_{1}^{2}+2 c_{1} \left (x -1\right )} \\ \text {Expression too large to display} \\ \end{align*}

Solution by Mathematica

Time used: 5.045 (sec). Leaf size: 187

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

\begin{align*} y(x)\to -\frac {1}{2} \sqrt {-e^{c_1} \left (4 x-4+e^{c_1}\right )}+2-\frac {e^{c_1}}{2} \\ y(x)\to \frac {1}{2} \left (\sqrt {-e^{c_1} \left (4 x-4+e^{c_1}\right )}+4-e^{c_1}\right ) \\ y(x)\to -\sqrt {-e^{c_1} \left (2 x-2+e^{c_1}\right )}+2-e^{c_1} \\ y(x)\to \sqrt {-e^{c_1} \left (2 x-2+e^{c_1}\right )}+2-e^{c_1} \\ y(x)\to 2 \\ y(x)\to x-\sqrt {2} \sqrt {(x-1)^2}+1 \\ y(x)\to x+\sqrt {2} \sqrt {(x-1)^2}+1 \\ \end{align*}