53.3.23 problem 26

Internal problem ID [8485]
Book : Elementary differential equations. By Earl D. Rainville, Phillip E. Bedient. Macmilliam Publishing Co. NY. 6th edition. 1981.
Section : CHAPTER 16. Nonlinear equations. Section 99. Clairaut equation. EXERCISES Page 320
Problem number : 26
Date solved : Sunday, March 30, 2025 at 01:11:46 PM
CAS classification : [_rational, _dAlembert]

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

Maple. Time used: 0.034 (sec). Leaf size: 75
ode:=2*x*diff(y(x),x)^2+(2*x-y(x))*diff(y(x),x)+1-y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = 2 \,{\mathrm e}^{\operatorname {RootOf}\left (-{\mathrm e}^{3 \textit {\_Z}} x +2 \,{\mathrm e}^{2 \textit {\_Z}} x +c_1 \,{\mathrm e}^{\textit {\_Z}}+\textit {\_Z} \,{\mathrm e}^{\textit {\_Z}}-{\mathrm e}^{\textit {\_Z}} x +1\right )} x -2 x +{\mathrm e}^{-\operatorname {RootOf}\left (-{\mathrm e}^{3 \textit {\_Z}} x +2 \,{\mathrm e}^{2 \textit {\_Z}} x +c_1 \,{\mathrm e}^{\textit {\_Z}}+\textit {\_Z} \,{\mathrm e}^{\textit {\_Z}}-{\mathrm e}^{\textit {\_Z}} x +1\right )} \]
Mathematica. Time used: 1.433 (sec). Leaf size: 53
ode=2*x*(D[y[x],x])^2+(2*x-y[x])*D[y[x],x]+1-y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ \text {Solve}\left [\left \{x=\frac {\log (K[1]+1)-\frac {K[1]}{K[1]+1}}{K[1]^2}+\frac {c_1}{K[1]^2},y(x)=2 x K[1]+\frac {1}{K[1]+1}\right \},\{y(x),K[1]\}\right ] \]
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(2*x*Derivative(y(x), x)**2 + (2*x - y(x))*Derivative(y(x), x) - y(x) + 1,0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
Timed Out