8.8 Problem number 419

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

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

command

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