15.21 Problem number 1770

\[ \int \frac {(A+B x) (d+e x)}{\left (a^2+2 a b x+b^2 x^2\right )^{3/2}} \, dx \]

Optimal antiderivative \[ \frac {-A b e +2 a B e -B b d}{b^{3} \sqrt {\left (b x +a \right )^{2}}}-\frac {\left (A b -a B \right ) \left (-a e +b d \right )}{2 b^{3} \left (b x +a \right ) \sqrt {\left (b x +a \right )^{2}}}+\frac {B e \left (b x +a \right ) \ln \left (b x +a \right )}{b^{3} \sqrt {\left (b x +a \right )^{2}}} \]

command

integrate((B*x+A)*(e*x+d)/(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 {B e \log \left ({\left | b x + a \right |}\right )}{b^{3} \mathrm {sgn}\left (b x + a\right )} - \frac {2 \, {\left (B b d - 2 \, B a e + A b e\right )} x + \frac {B a b d + A b^{2} d - 3 \, B a^{2} e + A a b e}{b}}{2 \, {\left (b x + a\right )}^{2} b^{2} \mathrm {sgn}\left (b x + a\right )} \]

Giac 1.7.0 via sagemath 9.3 output

\[ \mathit {sage}_{0} x \]________________________________________________________________________________________