55.33.15 problem 224

Internal problem ID [13998]
Book : Handbook of exact solutions for ordinary differential equations. By Polyanin and Zaitsev. Second edition
Section : Chapter 2, Second-Order Differential Equations. section 2.1.2-7
Problem number : 224
Date solved : Thursday, October 02, 2025 at 09:08:35 AM
CAS classification : [[_2nd_order, _with_linear_symmetries], [_2nd_order, _linear, `_with_symmetry_[0,F(x)]`]]

\begin{align*} \left (a \,x^{2}+b \right )^{2} y^{\prime \prime }+2 a x \left (a \,x^{2}+b \right ) y^{\prime }+c y&=0 \end{align*}
Maple. Time used: 0.002 (sec). Leaf size: 47
ode:=(a*x^2+b)^2*diff(diff(y(x),x),x)+2*a*x*(a*x^2+b)*diff(y(x),x)+c*y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = c_1 \sin \left (\frac {\sqrt {c}\, \arctan \left (\frac {a x}{\sqrt {b a}}\right )}{\sqrt {b a}}\right )+c_2 \cos \left (\frac {\sqrt {c}\, \arctan \left (\frac {a x}{\sqrt {b a}}\right )}{\sqrt {b a}}\right ) \]
Mathematica. Time used: 2.047 (sec). Leaf size: 72
ode=(a*x^2+b)^2*D[y[x],{x,2}]+2*a*x*(a*x^2+b)*D[y[x],x]+c*y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to c_1 \cos \left (\frac {\sqrt {c} \arctan \left (\frac {\sqrt {a} x}{\sqrt {b}}\right )}{\sqrt {a} \sqrt {b}}\right )+c_2 \sin \left (\frac {\sqrt {c} \arctan \left (\frac {\sqrt {a} x}{\sqrt {b}}\right )}{\sqrt {a} \sqrt {b}}\right ) \end{align*}
Sympy
from sympy import * 
x = symbols("x") 
a = symbols("a") 
b = symbols("b") 
c = symbols("c") 
y = Function("y") 
ode = Eq(2*a*x*(a*x**2 + b)*Derivative(y(x), x) + c*y(x) + (a*x**2 + b)**2*Derivative(y(x), (x, 2)),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
False