29.30.1 problem 859

Internal problem ID [5441]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Various 30
Problem number : 859
Date solved : Sunday, March 30, 2025 at 08:13:30 AM
CAS classification : [[_homogeneous, `class G`]]

\begin{align*} x {y^{\prime }}^{2}+y y^{\prime }-y^{4}&=0 \end{align*}

Maple. Time used: 0.202 (sec). Leaf size: 89
ode:=x*diff(y(x),x)^2+y(x)*diff(y(x),x)-y(x)^4 = 0; 
dsolve(ode,y(x), singsol=all);
 
\begin{align*} y &= -\frac {1}{2 \sqrt {-x}} \\ y &= \frac {1}{2 \sqrt {-x}} \\ y &= 0 \\ y &= -\frac {\sqrt {x \operatorname {sech}\left (-\frac {\ln \left (x \right )}{2}+\frac {c_1}{2}\right )^{2}}\, \coth \left (-\frac {\ln \left (x \right )}{2}+\frac {c_1}{2}\right )}{2 x} \\ y &= \frac {\sqrt {x \operatorname {sech}\left (-\frac {\ln \left (x \right )}{2}+\frac {c_1}{2}\right )^{2}}\, \coth \left (-\frac {\ln \left (x \right )}{2}+\frac {c_1}{2}\right )}{2 x} \\ \end{align*}
Mathematica. Time used: 0.538 (sec). Leaf size: 84
ode=x (D[y[x],x])^2+y[x] D[y[x],x]-y[x]^4==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)\to -\frac {2 e^{\frac {c_1}{2}}}{-4 x+e^{c_1}} \\ y(x)\to \frac {2 e^{\frac {c_1}{2}}}{-4 x+e^{c_1}} \\ y(x)\to 0 \\ y(x)\to -\frac {i}{2 \sqrt {x}} \\ y(x)\to \frac {i}{2 \sqrt {x}} \\ \end{align*}
Sympy. Time used: 18.748 (sec). Leaf size: 39
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(x*Derivative(y(x), x)**2 - y(x)**4 + y(x)*Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ \left [ y{\left (x \right )} = \frac {1}{2 \sqrt {x} \sinh {\left (C_{1} + \frac {\log {\left (x \right )}}{2} \right )}}, \ y{\left (x \right )} = - \frac {1}{2 \sqrt {x} \sinh {\left (C_{1} + \frac {\log {\left (x \right )}}{2} \right )}}\right ] \]