23.178 Problem number 1651

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

Optimal antiderivative \[ -\frac {2 \left (e x +d \right )^{\frac {3}{2}}}{3 \left (c \,x^{2}+b x +a \right )^{\frac {3}{2}}}-\frac {2 e \left (2 c x +b \right ) \sqrt {e x +d}}{\left (-4 a c +b^{2}\right ) \sqrt {c \,x^{2}+b x +a}}+\frac {2 e \EllipticE \left (\frac {\sqrt {\frac {b +2 c x +\sqrt {-4 a c +b^{2}}}{\sqrt {-4 a c +b^{2}}}}\, \sqrt {2}}{2}, \sqrt {-\frac {2 e \sqrt {-4 a c +b^{2}}}{2 c d -e \left (b +\sqrt {-4 a c +b^{2}}\right )}}\right ) \sqrt {2}\, \sqrt {e x +d}\, \sqrt {-\frac {c \left (c \,x^{2}+b x +a \right )}{-4 a c +b^{2}}}}{\sqrt {-4 a c +b^{2}}\, \sqrt {c \,x^{2}+b x +a}\, \sqrt {\frac {c \left (e x +d \right )}{2 c d -e \left (b +\sqrt {-4 a c +b^{2}}\right )}}}-\frac {2 e \left (-b e +2 c d \right ) \EllipticF \left (\frac {\sqrt {\frac {b +2 c x +\sqrt {-4 a c +b^{2}}}{\sqrt {-4 a c +b^{2}}}}\, \sqrt {2}}{2}, \sqrt {-\frac {2 e \sqrt {-4 a c +b^{2}}}{2 c d -e \left (b +\sqrt {-4 a c +b^{2}}\right )}}\right ) \sqrt {2}\, \sqrt {-\frac {c \left (c \,x^{2}+b x +a \right )}{-4 a c +b^{2}}}\, \sqrt {\frac {c \left (e x +d \right )}{2 c d -e \left (b +\sqrt {-4 a c +b^{2}}\right )}}}{c \sqrt {-4 a c +b^{2}}\, \sqrt {e x +d}\, \sqrt {c \,x^{2}+b x +a}} \]

command

integrate((2*c*x+b)*(e*x+d)^(3/2)/(c*x^2+b*x+a)^(5/2),x, algorithm="fricas")

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

\[ -\frac {2 \, {\left ({\left (2 \, c^{3} d x^{4} + 4 \, b c^{2} d x^{3} + 4 \, a b c d x + 2 \, a^{2} c d + 2 \, {\left (b^{2} c + 2 \, a c^{2}\right )} d x^{2} - {\left (b c^{2} x^{4} + 2 \, b^{2} c x^{3} + 2 \, a b^{2} x + a^{2} b + {\left (b^{3} + 2 \, a b c\right )} 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 + {\left (b^{2} - 3 \, a c\right )} 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 \, {\left (b^{2} c - 6 \, a c^{2}\right )} d e^{2} + {\left (2 \, b^{3} - 9 \, a b c\right )} 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 ) + 6 \, {\left (c^{3} x^{4} + 2 \, b c^{2} x^{3} + 2 \, a b c x + a^{2} c + {\left (b^{2} c + 2 \, a c^{2}\right )} x^{2}\right )} \sqrt {c} e^{\frac {3}{2}} {\rm weierstrassZeta}\left (\frac {4 \, {\left (c^{2} d^{2} - b c d e + {\left (b^{2} - 3 \, a c\right )} 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 \, {\left (b^{2} c - 6 \, a c^{2}\right )} d e^{2} + {\left (2 \, b^{3} - 9 \, a b c\right )} e^{3}\right )} e^{\left (-3\right )}}{27 \, c^{3}}, {\rm weierstrassPInverse}\left (\frac {4 \, {\left (c^{2} d^{2} - b c d e + {\left (b^{2} - 3 \, a c\right )} 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 \, {\left (b^{2} c - 6 \, a c^{2}\right )} d e^{2} + {\left (2 \, b^{3} - 9 \, a b c\right )} 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 ) + \sqrt {c x^{2} + b x + a} {\left ({\left (b^{2} c - 4 \, a c^{2}\right )} d + {\left (6 \, c^{3} x^{3} + 9 \, b c^{2} x^{2} + 3 \, a b c + 2 \, {\left (2 \, b^{2} c + a c^{2}\right )} x\right )} e\right )} \sqrt {x e + d}\right )}}{3 \, {\left (a^{2} b^{2} c - 4 \, a^{3} c^{2} + {\left (b^{2} c^{3} - 4 \, a c^{4}\right )} x^{4} + 2 \, {\left (b^{3} c^{2} - 4 \, a b c^{3}\right )} x^{3} + {\left (b^{4} c - 2 \, a b^{2} c^{2} - 8 \, a^{2} c^{3}\right )} x^{2} + 2 \, {\left (a b^{3} c - 4 \, a^{2} b c^{2}\right )} x\right )}} \]

Fricas 1.3.7 via sagemath 9.3 output

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