8.9 Problem number 420

\[ \int \frac {(a+b x)^{5/2} (A+B x)}{x^6} \, dx \]

Optimal antiderivative \[ \frac {b \left (3 A b -10 B a \right ) \left (b x +a \right )^{\frac {3}{2}}}{48 x^{3} a}+\frac {\left (3 A b -10 B a \right ) \left (b x +a \right )^{\frac {5}{2}}}{40 a \,x^{4}}-\frac {A \left (b x +a \right )^{\frac {7}{2}}}{5 a \,x^{5}}-\frac {b^{4} \left (3 A b -10 B a \right ) \arctanh \left (\frac {\sqrt {b x +a}}{\sqrt {a}}\right )}{128 a^{\frac {5}{2}}}+\frac {b^{2} \left (3 A b -10 B a \right ) \sqrt {b x +a}}{64 a \,x^{2}}+\frac {b^{3} \left (3 A b -10 B a \right ) \sqrt {b x +a}}{128 a^{2} x} \]

command

integrate((b*x+a)**(5/2)*(B*x+A)/x**6,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} \]_____________________________________________________