Optimal. Leaf size=93 \[ \frac {1}{10} \left (-5-\sqrt {5}\right ) \tan ^{-1}\left (\frac {\sqrt {\frac {3}{2}+\frac {\sqrt {5}}{2}} x}{\sqrt {x^4-x^2-1}}\right )+\frac {1}{10} \left (5-\sqrt {5}\right ) \tan ^{-1}\left (\frac {\sqrt {\frac {2}{3+\sqrt {5}}} x}{\sqrt {x^4-x^2-1}}\right ) \]
________________________________________________________________________________________
Rubi [F] time = 0.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^4\right ) \sqrt {-1-x^2+x^4}}{1-x^2-3 x^4+x^6+x^8} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {\left (1+x^4\right ) \sqrt {-1-x^2+x^4}}{1-x^2-3 x^4+x^6+x^8} \, dx &=\int \left (\frac {\sqrt {-1-x^2+x^4}}{1-x^2-3 x^4+x^6+x^8}+\frac {x^4 \sqrt {-1-x^2+x^4}}{1-x^2-3 x^4+x^6+x^8}\right ) \, dx\\ &=\int \frac {\sqrt {-1-x^2+x^4}}{1-x^2-3 x^4+x^6+x^8} \, dx+\int \frac {x^4 \sqrt {-1-x^2+x^4}}{1-x^2-3 x^4+x^6+x^8} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 6.48, size = 5470, normalized size = 58.82 \begin {gather*} \text {Result too large to show} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.42, size = 81, normalized size = 0.87 \begin {gather*} \frac {1}{10} \left (5-\sqrt {5}\right ) \tan ^{-1}\left (\frac {\left (\sqrt {5}-1\right ) x}{2 \sqrt {x^4-x^2-1}}\right )+\frac {1}{10} \left (-5-\sqrt {5}\right ) \tan ^{-1}\left (\frac {\left (1+\sqrt {5}\right ) x}{2 \sqrt {x^4-x^2-1}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.64, size = 313, normalized size = 3.37 \begin {gather*} \frac {1}{10} \, \sqrt {10} \sqrt {\sqrt {5} + 3} \arctan \left (-\frac {2 \, \sqrt {10} \sqrt {x^{4} - x^{2} - 1} {\left (5 \, x^{3} + \sqrt {5} {\left (2 \, x^{5} - 5 \, x^{3} - 2 \, x\right )}\right )} \sqrt {\sqrt {5} + 3} + \sqrt {10} {\left (15 \, x^{8} - 65 \, x^{6} + 5 \, x^{4} + 65 \, x^{2} - \sqrt {5} {\left (7 \, x^{8} - 29 \, x^{6} + x^{4} + 29 \, x^{2} + 7\right )} + 15\right )} \sqrt {4 \, \sqrt {5} + 9} \sqrt {\sqrt {5} + 3}}{20 \, {\left (x^{8} - 5 \, x^{6} + 3 \, x^{4} + 5 \, x^{2} + 1\right )}}\right ) + \frac {1}{10} \, \sqrt {10} \sqrt {-\sqrt {5} + 3} \arctan \left (-\frac {40 \, \sqrt {10} \sqrt {x^{4} - x^{2} - 1} {\left (5 \, x^{3} - \sqrt {5} {\left (2 \, x^{5} - 5 \, x^{3} - 2 \, x\right )}\right )} \sqrt {-\sqrt {5} + 3} + \sqrt {10} {\left (15 \, x^{8} - 65 \, x^{6} + 5 \, x^{4} + 65 \, x^{2} + \sqrt {5} {\left (7 \, x^{8} - 29 \, x^{6} + x^{4} + 29 \, x^{2} + 7\right )} + 15\right )} \sqrt {-\sqrt {5} + 3} \sqrt {-1600 \, \sqrt {5} + 3600}}{400 \, {\left (x^{8} - 5 \, x^{6} + 3 \, x^{4} + 5 \, x^{2} + 1\right )}}\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^{4} - x^{2} - 1} {\left (x^{4} + 1\right )}}{x^{8} + x^{6} - 3 \, x^{4} - x^{2} + 1}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.09, size = 216, normalized size = 2.32 \begin {gather*} -\frac {6 \sqrt {2}\, \sqrt {5}\, \arctan \left (\frac {4 \sqrt {x^{4}-x^{2}-1}\, \sqrt {2}}{x \left (2 \sqrt {10}-2 \sqrt {2}\right )}\right )}{5 \left (2 \sqrt {10}-2 \sqrt {2}\right )}+\frac {2 \sqrt {2}\, \arctan \left (\frac {4 \sqrt {x^{4}-x^{2}-1}\, \sqrt {2}}{x \left (2 \sqrt {10}-2 \sqrt {2}\right )}\right )}{2 \sqrt {10}-2 \sqrt {2}}+\frac {2 \sqrt {2}\, \arctan \left (\frac {4 \sqrt {x^{4}-x^{2}-1}\, \sqrt {2}}{x \left (2 \sqrt {10}+2 \sqrt {2}\right )}\right )}{2 \sqrt {10}+2 \sqrt {2}}+\frac {6 \sqrt {2}\, \sqrt {5}\, \arctan \left (\frac {4 \sqrt {x^{4}-x^{2}-1}\, \sqrt {2}}{x \left (2 \sqrt {10}+2 \sqrt {2}\right )}\right )}{5 \left (2 \sqrt {10}+2 \sqrt {2}\right )} \end {gather*}
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^{4} - x^{2} - 1} {\left (x^{4} + 1\right )}}{x^{8} + x^{6} - 3 \, x^{4} - x^{2} + 1}\,{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 (x^4+1\right )\,\sqrt {x^4-x^2-1}}{x^8+x^6-3\,x^4-x^2+1} \,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]
________________________________________________________________________________________