22.181 Problem number 2447

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

Optimal antiderivative \[ \frac {2 \left (c^{2} d^{2}-6 b^{2} e^{2}+c e \left (-3 a e +13 b d \right )+14 c e \left (-b e +2 c d \right ) x \right ) \left (c \,x^{2}+b x +a \right )^{\frac {3}{2}} \sqrt {e x +d}}{231 c^{2} e}+\frac {2 e \left (c \,x^{2}+b x +a \right )^{\frac {5}{2}} \sqrt {e x +d}}{11 c}+\frac {2 \left (8 c^{4} d^{4}+8 b^{4} e^{4}-c^{3} d^{2} e \left (-42 a e +19 b d \right )-b^{2} c \,e^{3} \left (21 a e +19 b d \right )+3 c^{2} e^{2} \left (-10 a^{2} e^{2}+17 a b d e +2 b^{2} d^{2}\right )-3 c e \left (-b e +2 c d \right ) \left (c^{2} d^{2}+8 b^{2} e^{2}-c e \left (31 a e +b d \right )\right ) x \right ) \sqrt {e x +d}\, \sqrt {c \,x^{2}+b x +a}}{1155 c^{3} e^{3}}-\frac {8 \left (-b e +2 c d \right ) \left (c^{2} d^{2}-2 b^{2} e^{2}-c e \left (-9 a e +b d \right )\right ) \left (c^{2} d^{2}+b^{2} e^{2}-c e \left (3 a e +b d \right )\right ) \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 {-4 a c +b^{2}}\, \sqrt {e x +d}\, \sqrt {-\frac {c \left (c \,x^{2}+b x +a \right )}{-4 a c +b^{2}}}}{1155 c^{4} e^{4} \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 \left (a \,e^{2}-b d e +c \,d^{2}\right ) \left (16 c^{4} d^{4}-8 b^{4} e^{4}-4 c^{3} d^{2} e \left (-21 a e +8 b d \right )+b^{2} c \,e^{3} \left (51 a e +13 b d \right )+3 c^{2} e^{2} \left (-20 a^{2} e^{2}-28 a b d e +b^{2} d^{2}\right )\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 {-4 a c +b^{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 )}}}{1155 c^{4} e^{4} \sqrt {e x +d}\, \sqrt {c \,x^{2}+b x +a}} \]

command

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

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

\[ \frac {2 \, {\left ({\left (16 \, c^{6} d^{6} - 48 \, b c^{5} d^{5} e + 3 \, {\left (11 \, b^{2} c^{4} + 36 \, a c^{5}\right )} d^{4} e^{2} + 2 \, {\left (7 \, b^{3} c^{3} - 108 \, a b c^{4}\right )} d^{3} e^{3} + 3 \, {\left (11 \, b^{4} c^{2} - 102 \, a b^{2} c^{3} + 312 \, a^{2} c^{4}\right )} d^{2} e^{4} - 6 \, {\left (8 \, b^{5} c - 69 \, a b^{3} c^{2} + 156 \, a^{2} b c^{3}\right )} d e^{5} + {\left (16 \, b^{6} - 144 \, a b^{4} c + 369 \, a^{2} b^{2} c^{2} - 180 \, a^{3} c^{3}\right )} e^{6}\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 ) + 24 \, {\left (2 \, c^{6} d^{5} e - 5 \, b c^{5} d^{4} e^{2} + 2 \, {\left (b^{2} c^{4} + 6 \, a c^{5}\right )} d^{3} e^{3} + 2 \, {\left (b^{3} c^{3} - 9 \, a b c^{4}\right )} d^{2} e^{4} - {\left (5 \, b^{4} c^{2} - 36 \, a b^{2} c^{3} + 54 \, a^{2} c^{4}\right )} d e^{5} + {\left (2 \, b^{5} c - 15 \, a b^{3} c^{2} + 27 \, a^{2} b c^{3}\right )} e^{6}\right )} \sqrt {c} e^{\frac {1}{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 ) + 3 \, {\left (8 \, c^{6} d^{4} e^{2} + {\left (105 \, c^{6} x^{4} + 140 \, b c^{5} x^{3} + 8 \, b^{4} c^{2} - 51 \, a b^{2} c^{3} + 60 \, a^{2} c^{4} + 5 \, {\left (b^{2} c^{4} + 39 \, a c^{5}\right )} x^{2} - 2 \, {\left (3 \, b^{3} c^{3} - 16 \, a b c^{4}\right )} x\right )} e^{6} + {\left (140 \, c^{6} d x^{3} + 205 \, b c^{5} d x^{2} + 2 \, {\left (7 \, b^{2} c^{4} + 163 \, a c^{5}\right )} d x - {\left (19 \, b^{3} c^{3} - 116 \, a b c^{4}\right )} d\right )} e^{5} + {\left (5 \, c^{6} d^{2} x^{2} + 14 \, b c^{5} d^{2} x + {\left (6 \, b^{2} c^{4} + 47 \, a c^{5}\right )} d^{2}\right )} e^{4} - {\left (6 \, c^{6} d^{3} x + 19 \, b c^{5} d^{3}\right )} e^{3}\right )} \sqrt {c x^{2} + b x + a} \sqrt {x e + d}\right )} e^{\left (-5\right )}}{3465 \, c^{5}} \]

Fricas 1.3.7 via sagemath 9.3 output

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