40.6.10 problem 19

Internal problem ID [6690]
Book : Schaums Outline. Theory and problems of Differential Equations, 1st edition. Frank Ayres. McGraw Hill 1952
Section : Chapter 10. Singular solutions, Extraneous loci. Supplemetary problems. Page 74
Problem number : 19
Date solved : Sunday, March 30, 2025 at 11:19:47 AM
CAS classification : [[_homogeneous, `class A`], _rational, _dAlembert]

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

Maple. Time used: 0.060 (sec). Leaf size: 103
ode:=(1+diff(y(x),x)^2)*(x-y(x))^2 = (y(x)*diff(y(x),x)+x)^2; 
dsolve(ode,y(x), singsol=all);
 
\begin{align*} y &= 0 \\ y &= \operatorname {RootOf}\left (-2 \ln \left (x \right )-\int _{}^{\textit {\_Z}}\frac {2 \textit {\_a}^{2}+\sqrt {2}\, \sqrt {\textit {\_a} \left (\textit {\_a} -1\right )^{2}}}{\textit {\_a} \left (\textit {\_a}^{2}+1\right )}d \textit {\_a} +2 c_1 \right ) x \\ y &= \operatorname {RootOf}\left (-2 \ln \left (x \right )+\int _{}^{\textit {\_Z}}\frac {\sqrt {2}\, \sqrt {\textit {\_a} \left (\textit {\_a} -1\right )^{2}}-2 \textit {\_a}^{2}}{\textit {\_a} \left (\textit {\_a}^{2}+1\right )}d \textit {\_a} +2 c_1 \right ) x \\ \end{align*}
Mathematica. Time used: 4.222 (sec). Leaf size: 167
ode=(D[y[x],x]^2+1)*(x-y[x])^2==(x+y[x]*D[y[x],x])^2; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)\to -\sqrt {-x \left (x+2 e^{\frac {c_1}{2}}\right )}-e^{\frac {c_1}{2}} \\ y(x)\to \sqrt {-x \left (x+2 e^{\frac {c_1}{2}}\right )}-e^{\frac {c_1}{2}} \\ y(x)\to e^{\frac {c_1}{2}}-\sqrt {x \left (-x+2 e^{\frac {c_1}{2}}\right )} \\ y(x)\to \sqrt {x \left (-x+2 e^{\frac {c_1}{2}}\right )}+e^{\frac {c_1}{2}} \\ y(x)\to -\sqrt {-x^2} \\ y(x)\to \sqrt {-x^2} \\ \end{align*}
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-(x + y(x)*Derivative(y(x), x))**2 + (x - y(x))**2*(Derivative(y(x), x)**2 + 1),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
Timed Out