\[ \int \frac {x^3}{\left (a^2+2 a b x+b^2 x^2\right )^{3/2}} \, dx \]
Optimal antiderivative \[ -\frac {3 a^{2}}{b^{4} \sqrt {\left (b x +a \right )^{2}}}+\frac {a^{3}}{2 b^{4} \left (b x +a \right ) \sqrt {\left (b x +a \right )^{2}}}+\frac {x \left (b x +a \right )}{b^{3} \sqrt {\left (b x +a \right )^{2}}}-\frac {3 a \left (b x +a \right ) \ln \left (b x +a \right )}{b^{4} \sqrt {\left (b x +a \right )^{2}}} \]
command
integrate(x^3/(b^2*x^2+2*a*b*x+a^2)^(3/2),x, algorithm="giac")
Giac 1.9.0-11 via sagemath 9.6 output
\[ \frac {x}{b^{3} \mathrm {sgn}\left (b x + a\right )} - \frac {3 \, a \log \left ({\left | b x + a \right |}\right )}{b^{4} \mathrm {sgn}\left (b x + a\right )} - \frac {6 \, a^{2} b x + 5 \, a^{3}}{2 \, {\left (b x + a\right )}^{2} b^{4} \mathrm {sgn}\left (b x + a\right )} \]
Giac 1.7.0 via sagemath 9.3 output
\[ \mathit {sage}_{0} x \]________________________________________________________________________________________