13.89 Problem number 966

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

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

command

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

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

\[ -\frac {\sqrt {3 \, x^{2} - 1} {\left (x^{2} + 1\right )} \sqrt {-3 \, x^{2} + 2}}{9 \, x} \]

Fricas 1.3.7 via sagemath 9.3 output

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