9.18 Problem number 76

\[ \int \frac {A+B x+C x^2}{(a+b x)^{3/2} \sqrt {c+d x} \sqrt {e+f x}} \, dx \]

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

command

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

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

\[ \frac {2 \, {\left (3 \, {\left (C a^{2} b^{2} - B a b^{3} + A b^{4}\right )} \sqrt {b x + a} \sqrt {d x + c} \sqrt {f x + e} d^{2} f^{2} - {\left ({\left (C a b^{3} c^{2} + {\left (2 \, C a^{2} b^{2} - 2 \, B a b^{3} - A b^{4}\right )} c d - {\left (2 \, C a^{3} b - B a^{2} b^{2} - 2 \, A a b^{3}\right )} d^{2}\right )} f^{2} x + {\left (C a^{2} b^{2} c^{2} + {\left (2 \, C a^{3} b - 2 \, B a^{2} b^{2} - A a b^{3}\right )} c d - {\left (2 \, C a^{4} - B a^{3} b - 2 \, A a^{2} b^{2}\right )} d^{2}\right )} f^{2} - {\left (C a b^{3} c d - C a^{2} b^{2} d^{2} + {\left (C b^{4} c d - C a b^{3} d^{2}\right )} x\right )} e^{2} - {\left ({\left (C b^{4} c^{2} + {\left (2 \, C a b^{3} - 3 \, B b^{4}\right )} c d - {\left (2 \, C a^{2} b^{2} - 2 \, B a b^{3} - A b^{4}\right )} d^{2}\right )} f x + {\left (C a b^{3} c^{2} + {\left (2 \, C a^{2} b^{2} - 3 \, B a b^{3}\right )} c d - {\left (2 \, C a^{3} b - 2 \, B a^{2} b^{2} - A a b^{3}\right )} d^{2}\right )} f\right )} e\right )} \sqrt {b d f} {\rm weierstrassPInverse}\left (\frac {4 \, {\left (b^{2} d^{2} e^{2} + {\left (b^{2} c^{2} - a b c d + a^{2} d^{2}\right )} f^{2} - {\left (b^{2} c d + a b d^{2}\right )} f e\right )}}{3 \, b^{2} d^{2} f^{2}}, -\frac {4 \, {\left (2 \, b^{3} d^{3} e^{3} + {\left (2 \, b^{3} c^{3} - 3 \, a b^{2} c^{2} d - 3 \, a^{2} b c d^{2} + 2 \, a^{3} d^{3}\right )} f^{3} - 3 \, {\left (b^{3} c^{2} d - 4 \, a b^{2} c d^{2} + a^{2} b d^{3}\right )} f^{2} e - 3 \, {\left (b^{3} c d^{2} + a b^{2} d^{3}\right )} f e^{2}\right )}}{27 \, b^{3} d^{3} f^{3}}, \frac {3 \, b d f x + b d e + {\left (b c + a d\right )} f}{3 \, b d f}\right ) - 3 \, {\left ({\left (C a b^{3} c d - {\left (2 \, C a^{2} b^{2} - B a b^{3} + A b^{4}\right )} d^{2}\right )} f^{2} x + {\left (C a^{2} b^{2} c d - {\left (2 \, C a^{3} b - B a^{2} b^{2} + A a b^{3}\right )} d^{2}\right )} f^{2} - {\left ({\left (C b^{4} c d - C a b^{3} d^{2}\right )} f x + {\left (C a b^{3} c d - C a^{2} b^{2} d^{2}\right )} f\right )} e\right )} \sqrt {b d f} {\rm weierstrassZeta}\left (\frac {4 \, {\left (b^{2} d^{2} e^{2} + {\left (b^{2} c^{2} - a b c d + a^{2} d^{2}\right )} f^{2} - {\left (b^{2} c d + a b d^{2}\right )} f e\right )}}{3 \, b^{2} d^{2} f^{2}}, -\frac {4 \, {\left (2 \, b^{3} d^{3} e^{3} + {\left (2 \, b^{3} c^{3} - 3 \, a b^{2} c^{2} d - 3 \, a^{2} b c d^{2} + 2 \, a^{3} d^{3}\right )} f^{3} - 3 \, {\left (b^{3} c^{2} d - 4 \, a b^{2} c d^{2} + a^{2} b d^{3}\right )} f^{2} e - 3 \, {\left (b^{3} c d^{2} + a b^{2} d^{3}\right )} f e^{2}\right )}}{27 \, b^{3} d^{3} f^{3}}, {\rm weierstrassPInverse}\left (\frac {4 \, {\left (b^{2} d^{2} e^{2} + {\left (b^{2} c^{2} - a b c d + a^{2} d^{2}\right )} f^{2} - {\left (b^{2} c d + a b d^{2}\right )} f e\right )}}{3 \, b^{2} d^{2} f^{2}}, -\frac {4 \, {\left (2 \, b^{3} d^{3} e^{3} + {\left (2 \, b^{3} c^{3} - 3 \, a b^{2} c^{2} d - 3 \, a^{2} b c d^{2} + 2 \, a^{3} d^{3}\right )} f^{3} - 3 \, {\left (b^{3} c^{2} d - 4 \, a b^{2} c d^{2} + a^{2} b d^{3}\right )} f^{2} e - 3 \, {\left (b^{3} c d^{2} + a b^{2} d^{3}\right )} f e^{2}\right )}}{27 \, b^{3} d^{3} f^{3}}, \frac {3 \, b d f x + b d e + {\left (b c + a d\right )} f}{3 \, b d f}\right )\right )\right )}}{3 \, {\left ({\left (a b^{5} c d^{2} - a^{2} b^{4} d^{3}\right )} f^{3} x + {\left (a^{2} b^{4} c d^{2} - a^{3} b^{3} d^{3}\right )} f^{3} - {\left ({\left (b^{6} c d^{2} - a b^{5} d^{3}\right )} f^{2} x + {\left (a b^{5} c d^{2} - a^{2} b^{4} d^{3}\right )} f^{2}\right )} e\right )}} \]

Fricas 1.3.7 via sagemath 9.3 output

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