23.4.78 problem 78

Internal problem ID [6380]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Part II. Chapter 4. THE NONLINEAR EQUATION OF SECOND ORDER, page 380
Problem number : 78
Date solved : Tuesday, September 30, 2025 at 02:54:53 PM
CAS classification : [_Emden, [_2nd_order, _with_linear_symmetries]]

\begin{align*} x y^{n}+2 y^{\prime }+x y^{\prime \prime }&=0 \end{align*}
Maple
ode:=x*y(x)^n+2*diff(y(x),x)+x*diff(diff(y(x),x),x) = 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)