60.3.191 problem 1205

Internal problem ID [11187]
Book : Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section : Chapter 2, linear second order
Problem number : 1205
Date solved : Sunday, March 30, 2025 at 07:45:21 PM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

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

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

Not solved

Sympy
from sympy import * 
x = symbols("x") 
a = symbols("a") 
y = Function("y") 
f = Function("f") 
ode = Eq(a*x**2*Derivative(y(x), x) + x**2*Derivative(y(x), (x, 2)) + f(x)*y(x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
ValueError : Expected Expr or iterable but got None