55.33.10 problem 220

Internal problem ID [13993]
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 : 220
Date solved : Thursday, October 02, 2025 at 09:08:31 AM
CAS classification : [_Halm]

\begin{align*} \left (x^{2}+1\right )^{2} y^{\prime \prime }+a y&=0 \end{align*}
Maple. Time used: 0.008 (sec). Leaf size: 55
ode:=(x^2+1)^2*diff(diff(y(x),x),x)+a*y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = \left (\left (\frac {x +i}{-x +i}\right )^{-\frac {\sqrt {a +1}}{2}} c_2 +\left (\frac {x +i}{-x +i}\right )^{\frac {\sqrt {a +1}}{2}} c_1 \right ) \sqrt {x^{2}+1} \]
Mathematica. Time used: 0.126 (sec). Leaf size: 83
ode=(x^2+1)^2*D[y[x],{x,2}]+a*y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to \frac {1}{2} \sqrt {x^2+1} e^{i \sqrt {a+1} \arctan (x)} \left (\frac {i c_2 (1-i x)^{\sqrt {a+1}} (1+i x)^{-\sqrt {a+1}}}{\sqrt {a+1}}+2 c_1\right ) \end{align*}
Sympy. Time used: 0.226 (sec). Leaf size: 97
from sympy import * 
x = symbols("x") 
a = symbols("a") 
y = Function("y") 
ode = Eq(a*y(x) + (x**2 + 1)**2*Derivative(y(x), (x, 2)),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = \frac {\sqrt {x^{2} + 1} \left (C_{1} \sqrt {\frac {x^{2}}{x^{2} + 1}} {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2} - \frac {\sqrt {a + 1}}{2}, \frac {\sqrt {a + 1}}{2} + \frac {1}{2} \\ \frac {3}{2} \end {matrix}\middle | {\frac {x^{2}}{x^{2} + 1}} \right )} + C_{2} {{}_{2}F_{1}\left (\begin {matrix} - \frac {\sqrt {a + 1}}{2}, \frac {\sqrt {a + 1}}{2} \\ \frac {1}{2} \end {matrix}\middle | {\frac {x^{2}}{x^{2} + 1}} \right )}\right ) \sqrt [4]{x^{2}}}{\sqrt {x}} \]