\[ \int \frac {A+B x^2+C x^4+D x^6+F x^8}{x^2 \left (a+b x^2\right )^{9/2}} \, dx \]
Optimal antiderivative \[ -\frac {A}{a x \left (b \,x^{2}+a \right )^{\frac {7}{2}}}-\frac {\left (8 A b -B a \right ) x}{a^{2} \left (b \,x^{2}+a \right )^{\frac {7}{2}}}-\frac {\left (48 A \,b^{2}-a \left (6 b B +a C \right )\right ) x^{3}}{3 a^{3} \left (b \,x^{2}+a \right )^{\frac {7}{2}}}-\frac {\left (192 A \,b^{3}-a \left (24 b^{2} B +4 a b C +3 a^{2} D\right )\right ) x^{5}}{15 a^{4} \left (b \,x^{2}+a \right )^{\frac {7}{2}}}-\frac {\left (384 A \,b^{4}-a \left (48 B \,b^{3}+8 C a \,b^{2}+6 D a^{2} b +15 F \,a^{3}\right )\right ) x^{7}}{105 a^{5} \left (b \,x^{2}+a \right )^{\frac {7}{2}}} \]
command
integrate((F*x**8+D*x**6+C*x**4+B*x**2+A)/x**2/(b*x**2+a)**(9/2),x)
Sympy 1.10.1 under Python 3.10.4 output
\[ \text {output too large to display} \]
Sympy 1.8 under Python 3.8.8 output \[ \text {Timed out} \]_____________________________________________________