23.83 Problem number 1059

\[ \int \frac {(2-5 x) \sqrt {x}}{\sqrt {2+5 x+3 x^2}} \, dx \]

Optimal antiderivative \[ \frac {136 \left (2+3 x \right ) \sqrt {x}}{27 \sqrt {3 x^{2}+5 x +2}}-\frac {136 \left (1+x \right )^{\frac {3}{2}} \sqrt {\frac {1}{1+x}}\, \EllipticE \left (\frac {\sqrt {x}}{\sqrt {1+x}}, \frac {i \sqrt {2}}{2}\right ) \sqrt {2}\, \sqrt {\frac {2+3 x}{1+x}}}{27 \sqrt {3 x^{2}+5 x +2}}+\frac {10 \left (1+x \right )^{\frac {3}{2}} \sqrt {\frac {1}{1+x}}\, \EllipticF \left (\frac {\sqrt {x}}{\sqrt {1+x}}, \frac {i \sqrt {2}}{2}\right ) \sqrt {2}\, \sqrt {\frac {2+3 x}{1+x}}}{9 \sqrt {3 x^{2}+5 x +2}}-\frac {10 \sqrt {x}\, \sqrt {3 x^{2}+5 x +2}}{9} \]

command

integrate((2-5*x)*x^(1/2)/(3*x^2+5*x+2)^(1/2),x, algorithm="fricas")

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

\[ -\frac {500}{243} \, \sqrt {3} {\rm weierstrassPInverse}\left (\frac {28}{27}, \frac {80}{729}, x + \frac {5}{9}\right ) - \frac {136}{27} \, \sqrt {3} {\rm weierstrassZeta}\left (\frac {28}{27}, \frac {80}{729}, {\rm weierstrassPInverse}\left (\frac {28}{27}, \frac {80}{729}, x + \frac {5}{9}\right )\right ) - \frac {10}{9} \, \sqrt {3 \, x^{2} + 5 \, x + 2} \sqrt {x} \]

Fricas 1.3.7 via sagemath 9.3 output

\[ {\rm integral}\left (-\frac {{\left (5 \, x - 2\right )} \sqrt {x}}{\sqrt {3 \, x^{2} + 5 \, x + 2}}, x\right ) \]