83.27.11 problem 11

Internal problem ID [19286]
Book : A Text book for differentional equations for postgraduate students by Ray and Chaturvedi. First edition, 1958. BHASKAR press. INDIA
Section : Chapter VII. Exact differential equations and certain particular forms of equations. Exercise VII (A) at page 104
Problem number : 11
Date solved : Monday, March 31, 2025 at 07:05:41 PM
CAS classification : [[_2nd_order, _exact, _nonlinear], _Liouville, [_2nd_order, _with_linear_symmetries], [_2nd_order, _reducible, _mu_x_y1], [_2nd_order, _reducible, _mu_xy]]

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

Maple. Time used: 0.024 (sec). Leaf size: 35
ode:=x*y(x)*diff(diff(y(x),x),x)+x*diff(y(x),x)^2+y(x)*diff(y(x),x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\begin{align*} y &= 0 \\ y &= \sqrt {2 c_1 \ln \left (x \right )+2 c_2} \\ y &= -\sqrt {2 c_1 \ln \left (x \right )+2 c_2} \\ \end{align*}
Mathematica. Time used: 0.276 (sec). Leaf size: 19
ode=x*y[x]*D[y[x],{x,2}]+x*D[y[x],x]^2+y[x]*D[y[x],x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to c_2 \sqrt {2 \log (x)+c_1} \]
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(x*y(x)*Derivative(y(x), (x, 2)) + x*Derivative(y(x), x)**2 + y(x)*Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
NotImplementedError : The given ODE Derivative(y(x), x) - (sqrt((-4*x**2*Derivative(y(x), (x, 2)) + y(x))*y(x)) - y(x))/(2*x) cannot be solved by the factorable group method