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