23.130 Problem number 1278

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

Optimal antiderivative \[ -\frac {2 \left (e x +d \right )^{\frac {5}{2}} \left (A b c d +\left (2 A \,c^{2} d +b^{2} B e -b c \left (A e +B d \right )\right ) x \right )}{3 b^{2} c \left (c \,x^{2}+b x \right )^{\frac {3}{2}}}+\frac {2 \left (b c \,d^{2} \left (8 A \,c^{2} d +b^{2} B e -b c \left (9 A e +4 B d \right )\right )+\left (16 A \,c^{4} d^{3}-4 b^{4} B \,e^{3}+b^{3} c \,e^{2} \left (A e +4 B d \right )-8 b \,c^{3} d^{2} \left (3 A e +B d \right )+b^{2} c^{2} d e \left (6 A e +5 B d \right )\right ) x \right ) \sqrt {e x +d}}{3 b^{4} c^{2} \sqrt {c \,x^{2}+b x}}-\frac {2 \left (16 A \,c^{4} d^{3}-8 b^{4} B \,e^{3}+b^{3} c \,e^{2} \left (2 A e +5 B d \right )-8 b \,c^{3} d^{2} \left (3 A e +B d \right )+b^{2} c^{2} d e \left (4 A e +5 B d \right )\right ) \EllipticE \left (\frac {\sqrt {c}\, \sqrt {x}}{\sqrt {-b}}, \sqrt {\frac {b e}{c d}}\right ) \sqrt {x}\, \sqrt {1+\frac {c x}{b}}\, \sqrt {e x +d}}{3 \left (-b \right )^{\frac {7}{2}} c^{\frac {5}{2}} \sqrt {1+\frac {e x}{d}}\, \sqrt {c \,x^{2}+b x}}+\frac {2 d \left (-b e +c d \right ) \left (16 A \,c^{3} d^{2}+4 b^{3} B \,e^{2}+b^{2} c e \left (-A e +B d \right )-8 b \,c^{2} d \left (2 A e +B d \right )\right ) \EllipticF \left (\frac {\sqrt {c}\, \sqrt {x}}{\sqrt {-b}}, \sqrt {\frac {b e}{c d}}\right ) \sqrt {x}\, \sqrt {1+\frac {c x}{b}}\, \sqrt {1+\frac {e x}{d}}}{3 \left (-b \right )^{\frac {7}{2}} c^{\frac {5}{2}} \sqrt {e x +d}\, \sqrt {c \,x^{2}+b x}} \]

command

integrate((B*x+A)*(e*x+d)^(7/2)/(c*x^2+b*x)^(5/2),x, algorithm="fricas")

Fricas 1.3.8 (sbcl 2.2.11.debian) via sagemath 9.6 output

\[ -\frac {2 \, {\left ({\left (8 \, {\left (B b c^{6} - 2 \, A c^{7}\right )} d^{4} x^{4} + 16 \, {\left (B b^{2} c^{5} - 2 \, A b c^{6}\right )} d^{4} x^{3} + 8 \, {\left (B b^{3} c^{4} - 2 \, A b^{2} c^{5}\right )} d^{4} x^{2} + 2 \, {\left ({\left (4 \, B b^{5} c^{2} - A b^{4} c^{3}\right )} x^{4} + 2 \, {\left (4 \, B b^{6} c - A b^{5} c^{2}\right )} x^{3} + {\left (4 \, B b^{7} - A b^{6} c\right )} x^{2}\right )} e^{4} - 3 \, {\left ({\left (3 \, B b^{4} c^{3} + A b^{3} c^{4}\right )} d x^{4} + 2 \, {\left (3 \, B b^{5} c^{2} + A b^{4} c^{3}\right )} d x^{3} + {\left (3 \, B b^{6} c + A b^{5} c^{2}\right )} d x^{2}\right )} e^{3} - {\left ({\left (4 \, B b^{3} c^{4} + 13 \, A b^{2} c^{5}\right )} d^{2} x^{4} + 2 \, {\left (4 \, B b^{4} c^{3} + 13 \, A b^{3} c^{4}\right )} d^{2} x^{3} + {\left (4 \, B b^{5} c^{2} + 13 \, A b^{4} c^{3}\right )} d^{2} x^{2}\right )} e^{2} - {\left ({\left (9 \, B b^{2} c^{5} - 32 \, A b c^{6}\right )} d^{3} x^{4} + 2 \, {\left (9 \, B b^{3} c^{4} - 32 \, A b^{2} c^{5}\right )} d^{3} x^{3} + {\left (9 \, B b^{4} c^{3} - 32 \, A b^{3} c^{4}\right )} d^{3} x^{2}\right )} e\right )} \sqrt {c} e^{\frac {1}{2}} {\rm weierstrassPInverse}\left (\frac {4 \, {\left (c^{2} d^{2} - b c d e + b^{2} e^{2}\right )} e^{\left (-2\right )}}{3 \, c^{2}}, -\frac {4 \, {\left (2 \, c^{3} d^{3} - 3 \, b c^{2} d^{2} e - 3 \, b^{2} c d e^{2} + 2 \, b^{3} e^{3}\right )} e^{\left (-3\right )}}{27 \, c^{3}}, \frac {{\left (c d + {\left (3 \, c x + b\right )} e\right )} e^{\left (-1\right )}}{3 \, c}\right ) + 3 \, {\left (2 \, {\left ({\left (4 \, B b^{4} c^{3} - A b^{3} c^{4}\right )} x^{4} + 2 \, {\left (4 \, B b^{5} c^{2} - A b^{4} c^{3}\right )} x^{3} + {\left (4 \, B b^{6} c - A b^{5} c^{2}\right )} x^{2}\right )} e^{4} - {\left ({\left (5 \, B b^{3} c^{4} + 4 \, A b^{2} c^{5}\right )} d x^{4} + 2 \, {\left (5 \, B b^{4} c^{3} + 4 \, A b^{3} c^{4}\right )} d x^{3} + {\left (5 \, B b^{5} c^{2} + 4 \, A b^{4} c^{3}\right )} d x^{2}\right )} e^{3} - {\left ({\left (5 \, B b^{2} c^{5} - 24 \, A b c^{6}\right )} d^{2} x^{4} + 2 \, {\left (5 \, B b^{3} c^{4} - 24 \, A b^{2} c^{5}\right )} d^{2} x^{3} + {\left (5 \, B b^{4} c^{3} - 24 \, A b^{3} c^{4}\right )} d^{2} x^{2}\right )} e^{2} + 8 \, {\left ({\left (B b c^{6} - 2 \, A c^{7}\right )} d^{3} x^{4} + 2 \, {\left (B b^{2} c^{5} - 2 \, A b c^{6}\right )} d^{3} x^{3} + {\left (B b^{3} c^{4} - 2 \, A b^{2} c^{5}\right )} d^{3} x^{2}\right )} e\right )} \sqrt {c} e^{\frac {1}{2}} {\rm weierstrassZeta}\left (\frac {4 \, {\left (c^{2} d^{2} - b c d e + b^{2} e^{2}\right )} e^{\left (-2\right )}}{3 \, c^{2}}, -\frac {4 \, {\left (2 \, c^{3} d^{3} - 3 \, b c^{2} d^{2} e - 3 \, b^{2} c d e^{2} + 2 \, b^{3} e^{3}\right )} e^{\left (-3\right )}}{27 \, c^{3}}, {\rm weierstrassPInverse}\left (\frac {4 \, {\left (c^{2} d^{2} - b c d e + b^{2} e^{2}\right )} e^{\left (-2\right )}}{3 \, c^{2}}, -\frac {4 \, {\left (2 \, c^{3} d^{3} - 3 \, b c^{2} d^{2} e - 3 \, b^{2} c d e^{2} + 2 \, b^{3} e^{3}\right )} e^{\left (-3\right )}}{27 \, c^{3}}, \frac {{\left (c d + {\left (3 \, c x + b\right )} e\right )} e^{\left (-1\right )}}{3 \, c}\right )\right ) + 3 \, \sqrt {c x^{2} + b x} {\left ({\left ({\left (5 \, B b^{4} c^{3} - 2 \, A b^{3} c^{4}\right )} x^{3} + {\left (4 \, B b^{5} c^{2} - A b^{4} c^{3}\right )} x^{2}\right )} e^{4} - {\left ({\left (5 \, B b^{3} c^{4} + 4 \, A b^{2} c^{5}\right )} d x^{3} + {\left (2 \, B b^{4} c^{3} + 7 \, A b^{3} c^{4}\right )} d x^{2}\right )} e^{3} + {\left (10 \, A b^{3} c^{4} d^{2} x - {\left (5 \, B b^{2} c^{5} - 24 \, A b c^{6}\right )} d^{2} x^{3} - {\left (8 \, B b^{3} c^{4} - 37 \, A b^{2} c^{5}\right )} d^{2} x^{2}\right )} e^{2} + {\left (A b^{3} c^{4} d^{3} + 8 \, {\left (B b c^{6} - 2 \, A c^{7}\right )} d^{3} x^{3} + 12 \, {\left (B b^{2} c^{5} - 2 \, A b c^{6}\right )} d^{3} x^{2} + 3 \, {\left (B b^{3} c^{4} - 2 \, A b^{2} c^{5}\right )} d^{3} x\right )} e\right )} \sqrt {x e + d}\right )} e^{\left (-1\right )}}{9 \, {\left (b^{4} c^{6} x^{4} + 2 \, b^{5} c^{5} x^{3} + b^{6} c^{4} x^{2}\right )}} \]

Fricas 1.3.7 via sagemath 9.3 output

\[ {\rm integral}\left (\frac {{\left (B e^{3} x^{4} + A d^{3} + {\left (3 \, B d e^{2} + A e^{3}\right )} x^{3} + 3 \, {\left (B d^{2} e + A d e^{2}\right )} x^{2} + {\left (B d^{3} + 3 \, A d^{2} e\right )} x\right )} \sqrt {c x^{2} + b x} \sqrt {e x + d}}{c^{3} x^{6} + 3 \, b c^{2} x^{5} + 3 \, b^{2} c x^{4} + b^{3} x^{3}}, x\right ) \]