23.123 Problem number 1271

\[ \int \frac {(A+B x) (d+e x)^{7/2}}{\left (b x+c x^2\right )^{3/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 )}{b^{2} c \sqrt {c \,x^{2}+b x}}+\frac {2 \left (30 A \,c^{4} d^{3}+48 b^{4} B \,e^{3}-15 b \,c^{3} d^{2} \left (3 A e +B d \right )-8 b^{3} c \,e^{2} \left (5 A e +16 B d \right )+b^{2} c^{2} d e \left (95 A e +103 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}}{15 \left (-b \right )^{\frac {3}{2}} c^{\frac {7}{2}} \sqrt {1+\frac {e x}{d}}\, \sqrt {c \,x^{2}+b x}}-\frac {2 d \left (-b e +c d \right ) \left (30 A \,c^{3} d^{2}-24 b^{3} B \,e^{2}-15 b \,c^{2} d \left (2 A e +B d \right )+b^{2} c e \left (20 A e +43 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}}}{15 \left (-b \right )^{\frac {3}{2}} c^{\frac {7}{2}} \sqrt {e x +d}\, \sqrt {c \,x^{2}+b x}}+\frac {2 e \left (10 A \,c^{2} d +6 b^{2} B e -5 b c \left (A e +B d \right )\right ) \left (e x +d \right )^{\frac {3}{2}} \sqrt {c \,x^{2}+b x}}{5 b^{2} c^{2}}+\frac {2 e \left (30 A \,c^{3} d^{2}-24 b^{3} B \,e^{2}-15 b \,c^{2} d \left (2 A e +B d \right )+b^{2} c e \left (20 A e +43 B d \right )\right ) \sqrt {e x +d}\, \sqrt {c \,x^{2}+b x}}{15 b^{2} c^{3}} \]

command

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

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

\[ \frac {2 \, {\left ({\left (15 \, {\left (B b c^{5} - 2 \, A c^{6}\right )} d^{4} x^{2} + 15 \, {\left (B b^{2} c^{4} - 2 \, A b c^{5}\right )} d^{4} x - 8 \, {\left ({\left (6 \, B b^{5} c - 5 \, A b^{4} c^{2}\right )} x^{2} + {\left (6 \, B b^{6} - 5 \, A b^{5} c\right )} x\right )} e^{4} + {\left ({\left (152 \, B b^{4} c^{2} - 115 \, A b^{3} c^{3}\right )} d x^{2} + {\left (152 \, B b^{5} c - 115 \, A b^{4} c^{2}\right )} d x\right )} e^{3} - {\left ({\left (158 \, B b^{3} c^{3} - 85 \, A b^{2} c^{4}\right )} d^{2} x^{2} + {\left (158 \, B b^{4} c^{2} - 85 \, A b^{3} c^{3}\right )} d^{2} x\right )} e^{2} + {\left ({\left (47 \, B b^{2} c^{4} + 60 \, A b c^{5}\right )} d^{3} x^{2} + {\left (47 \, B b^{3} c^{3} + 60 \, A b^{2} c^{4}\right )} d^{3} x\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 (8 \, {\left ({\left (6 \, B b^{4} c^{2} - 5 \, A b^{3} c^{3}\right )} x^{2} + {\left (6 \, B b^{5} c - 5 \, A b^{4} c^{2}\right )} x\right )} e^{4} - {\left ({\left (128 \, B b^{3} c^{3} - 95 \, A b^{2} c^{4}\right )} d x^{2} + {\left (128 \, B b^{4} c^{2} - 95 \, A b^{3} c^{3}\right )} d x\right )} e^{3} + {\left ({\left (103 \, B b^{2} c^{4} - 45 \, A b c^{5}\right )} d^{2} x^{2} + {\left (103 \, B b^{3} c^{3} - 45 \, A b^{2} c^{4}\right )} d^{2} x\right )} e^{2} - 15 \, {\left ({\left (B b c^{5} - 2 \, A c^{6}\right )} d^{3} x^{2} + {\left (B b^{2} c^{4} - 2 \, A b c^{5}\right )} d^{3} x\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 \, {\left (45 \, {\left (B b^{2} c^{4} - A b c^{5}\right )} d^{2} x e^{2} - {\left (3 \, B b^{2} c^{4} x^{3} - {\left (6 \, B b^{3} c^{3} - 5 \, A b^{2} c^{4}\right )} x^{2} - 4 \, {\left (6 \, B b^{4} c^{2} - 5 \, A b^{3} c^{3}\right )} x\right )} e^{4} - {\left (16 \, B b^{2} c^{4} d x^{2} + {\left (61 \, B b^{3} c^{3} - 45 \, A b^{2} c^{4}\right )} d x\right )} e^{3} + 15 \, {\left (A b c^{5} d^{3} - {\left (B b c^{5} - 2 \, A c^{6}\right )} d^{3} x\right )} e\right )} \sqrt {c x^{2} + b x} \sqrt {x e + d}\right )} e^{\left (-1\right )}}{45 \, {\left (b^{2} c^{6} x^{2} + b^{3} c^{5} x\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^{2} x^{4} + 2 \, b c x^{3} + b^{2} x^{2}}, x\right ) \]