Optimal. Leaf size=87 \[ \tan ^{-1}\left (\frac {x \sqrt {-x^6-x^4-x^2+1}}{x^6+x^4+x^2-1}\right )-\sqrt {2} \tan ^{-1}\left (\frac {\sqrt {2} x \sqrt {-x^6-x^4-x^2+1}}{x^6+x^4+x^2-1}\right ) \]
________________________________________________________________________________________
Rubi [F] time = 2.59, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} \int \frac {\left (1-x^2+2 x^4\right ) \sqrt {1-x^2-x^4-x^6}}{\left (-1+x^2\right ) \left (1+x^2\right ) \left (-1+x^4+x^6\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {\left (1-x^2+2 x^4\right ) \sqrt {1-x^2-x^4-x^6}}{\left (-1+x^2\right ) \left (1+x^2\right ) \left (-1+x^4+x^6\right )} \, dx &=\int \left (\frac {\sqrt {1-x^2-x^4-x^6}}{-1+x^2}+\frac {2 \sqrt {1-x^2-x^4-x^6}}{1+x^2}-\frac {x^2 \left (2+3 x^2\right ) \sqrt {1-x^2-x^4-x^6}}{-1+x^4+x^6}\right ) \, dx\\ &=2 \int \frac {\sqrt {1-x^2-x^4-x^6}}{1+x^2} \, dx+\int \frac {\sqrt {1-x^2-x^4-x^6}}{-1+x^2} \, dx-\int \frac {x^2 \left (2+3 x^2\right ) \sqrt {1-x^2-x^4-x^6}}{-1+x^4+x^6} \, dx\\ &=2 \int \left (\frac {i \sqrt {1-x^2-x^4-x^6}}{2 (i-x)}+\frac {i \sqrt {1-x^2-x^4-x^6}}{2 (i+x)}\right ) \, dx+\int \left (\frac {\sqrt {1-x^2-x^4-x^6}}{2 (-1+x)}-\frac {\sqrt {1-x^2-x^4-x^6}}{2 (1+x)}\right ) \, dx-\int \left (\frac {2 x^2 \sqrt {1-x^2-x^4-x^6}}{-1+x^4+x^6}+\frac {3 x^4 \sqrt {1-x^2-x^4-x^6}}{-1+x^4+x^6}\right ) \, dx\\ &=i \int \frac {\sqrt {1-x^2-x^4-x^6}}{i-x} \, dx+i \int \frac {\sqrt {1-x^2-x^4-x^6}}{i+x} \, dx+\frac {1}{2} \int \frac {\sqrt {1-x^2-x^4-x^6}}{-1+x} \, dx-\frac {1}{2} \int \frac {\sqrt {1-x^2-x^4-x^6}}{1+x} \, dx-2 \int \frac {x^2 \sqrt {1-x^2-x^4-x^6}}{-1+x^4+x^6} \, dx-3 \int \frac {x^4 \sqrt {1-x^2-x^4-x^6}}{-1+x^4+x^6} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [F] time = 0.39, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (1-x^2+2 x^4\right ) \sqrt {1-x^2-x^4-x^6}}{\left (-1+x^2\right ) \left (1+x^2\right ) \left (-1+x^4+x^6\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.20, size = 87, normalized size = 1.00 \begin {gather*} \tan ^{-1}\left (\frac {x \sqrt {1-x^2-x^4-x^6}}{-1+x^2+x^4+x^6}\right )-\sqrt {2} \tan ^{-1}\left (\frac {\sqrt {2} x \sqrt {1-x^2-x^4-x^6}}{-1+x^2+x^4+x^6}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.64, size = 184, normalized size = 2.11 \begin {gather*} -\frac {1}{10} \, \sqrt {2} \arctan \left (\frac {2 \, \sqrt {2} {\left (6 \, x^{7} + x^{5} - 4 \, x^{3} + x\right )} \sqrt {-x^{6} - x^{4} - x^{2} + 1}}{17 \, x^{10} + 11 \, x^{8} - 2 \, x^{6} - 18 \, x^{4} + 9 \, x^{2} - 1}\right ) + \frac {1}{5} \, \sqrt {2} \arctan \left (\frac {2 \, \sqrt {2} {\left (x^{7} + x^{3} - 2 \, x\right )} \sqrt {-x^{6} - x^{4} - x^{2} + 1}}{3 \, x^{10} + 3 \, x^{8} + 10 \, x^{6} + 6 \, x^{4} + 11 \, x^{2} - 1}\right ) + \frac {1}{2} \, \arctan \left (\frac {2 \, \sqrt {-x^{6} - x^{4} - x^{2} + 1} x}{x^{6} + x^{4} + 2 \, x^{2} - 1}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {-x^{6} - x^{4} - x^{2} + 1} {\left (2 \, x^{4} - x^{2} + 1\right )}}{{\left (x^{6} + x^{4} - 1\right )} {\left (x^{2} + 1\right )} {\left (x^{2} - 1\right )}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 1.08, size = 173, normalized size = 1.99
method | result | size |
trager | \(\frac {\RootOf \left (\textit {\_Z}^{2}+2\right ) \ln \left (\frac {\RootOf \left (\textit {\_Z}^{2}+2\right ) x^{6}+\RootOf \left (\textit {\_Z}^{2}+2\right ) x^{4}+3 \RootOf \left (\textit {\_Z}^{2}+2\right ) x^{2}-4 \sqrt {-x^{6}-x^{4}-x^{2}+1}\, x -\RootOf \left (\textit {\_Z}^{2}+2\right )}{\left (-1+x \right ) \left (1+x \right ) \left (x^{2}+1\right )^{2}}\right )}{2}-\frac {\RootOf \left (\textit {\_Z}^{2}+1\right ) \ln \left (\frac {\RootOf \left (\textit {\_Z}^{2}+1\right ) x^{6}+\RootOf \left (\textit {\_Z}^{2}+1\right ) x^{4}+2 \RootOf \left (\textit {\_Z}^{2}+1\right ) x^{2}-2 \sqrt {-x^{6}-x^{4}-x^{2}+1}\, x -\RootOf \left (\textit {\_Z}^{2}+1\right )}{x^{6}+x^{4}-1}\right )}{2}\) | \(173\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {-x^{6} - x^{4} - x^{2} + 1} {\left (2 \, x^{4} - x^{2} + 1\right )}}{{\left (x^{6} + x^{4} - 1\right )} {\left (x^{2} + 1\right )} {\left (x^{2} - 1\right )}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\left (2\,x^4-x^2+1\right )\,\sqrt {-x^6-x^4-x^2+1}}{\left (x^2-1\right )\,\left (x^2+1\right )\,\left (x^6+x^4-1\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________