60.7.56 problem 1664 (book 6.73)

Internal problem ID [11606]
Book : Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section : Chapter 6, non-linear second order
Problem number : 1664 (book 6.73)
Date solved : Wednesday, March 05, 2025 at 02:34:53 PM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

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

Maple
ode:=x*diff(diff(y(x),x),x)+2*diff(y(x),x)-x*y(x)^n = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ \text {No solution found} \]
Mathematica
ode=-(x*y[x]^n) + 2*D[y[x],x] + x*D[y[x],{x,2}] == 0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 

Not solved

Sympy
from sympy import * 
x = symbols("x") 
n = symbols("n") 
y = Function("y") 
ode = Eq(-x*y(x)**n + x*Derivative(y(x), (x, 2)) + 2*Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
NotImplementedError : The given ODE -x*(y(x)**n - Derivative(y(x), (x, 2)))/2 + Derivative(y(x), x) cannot be solved by the factorable group method