59.1.161 problem 163

Internal problem ID [9333]
Book : Collection of Kovacic problems
Section : section 1
Problem number : 163
Date solved : Sunday, March 30, 2025 at 02:32:35 PM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

\begin{align*} 4 x^{2} \left (x^{2}+3 x +1\right ) y^{\prime \prime }+8 x^{2} \left (3+2 x \right ) y^{\prime }+\left (9 x^{2}+3 x +1\right ) y&=0 \end{align*}

Maple. Time used: 0.014 (sec). Leaf size: 24
ode:=4*x^2*(x^2+3*x+1)*diff(diff(y(x),x),x)+8*x^2*(2*x+3)*diff(y(x),x)+(9*x^2+3*x+1)*y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = \frac {\sqrt {x}\, \left (\ln \left (x \right ) c_2 +c_1 \right )}{x^{2}+3 x +1} \]
Mathematica. Time used: 0.058 (sec). Leaf size: 29
ode=4*x^2*(1+3*x+x^2)*D[y[x],{x,2}]+8*x^2*(3+2*x)*D[y[x],x]+(1+3*x+9*x^2)*y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to \frac {\sqrt {x} (c_2 \log (x)+c_1)}{x^2+3 x+1} \]
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(8*x**2*(2*x + 3)*Derivative(y(x), x) + 4*x**2*(x**2 + 3*x + 1)*Derivative(y(x), (x, 2)) + (9*x**2 + 3*x + 1)*y(x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
False