Optimal. Leaf size=45 \[ \frac {1}{8} \text {RootSum}\left [\text {$\#$1}^8+4 \text {$\#$1}^4+1\& ,\frac {\log \left (\sqrt {x^4-1}-\text {$\#$1} x\right )-\log (x)}{\text {$\#$1}}\& \right ] \]
________________________________________________________________________________________
Rubi [C] time = 10.75, antiderivative size = 2783, normalized size of antiderivative = 61.84, number of steps used = 319, number of rules used = 14, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.518, Rules used = {1586, 6728, 1429, 406, 222, 409, 1215, 1457, 540, 253, 538, 537, 1519, 6725}
result too large to display
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 222
Rule 253
Rule 406
Rule 409
Rule 537
Rule 538
Rule 540
Rule 1215
Rule 1429
Rule 1457
Rule 1519
Rule 1586
Rule 6725
Rule 6728
Rubi steps
\begin {align*} \int \frac {-1+x^{16}}{\sqrt {-1+x^4} \left (1-x^8+x^{16}\right )} \, dx &=\int \frac {\sqrt {-1+x^4} \left (1+x^4+x^8+x^{12}\right )}{1-x^8+x^{16}} \, dx\\ &=\int \left (\frac {\sqrt {-1+x^4}}{1-x^8+x^{16}}+\frac {x^4 \sqrt {-1+x^4}}{1-x^8+x^{16}}+\frac {x^8 \sqrt {-1+x^4}}{1-x^8+x^{16}}+\frac {x^{12} \sqrt {-1+x^4}}{1-x^8+x^{16}}\right ) \, dx\\ &=\int \frac {\sqrt {-1+x^4}}{1-x^8+x^{16}} \, dx+\int \frac {x^4 \sqrt {-1+x^4}}{1-x^8+x^{16}} \, dx+\int \frac {x^8 \sqrt {-1+x^4}}{1-x^8+x^{16}} \, dx+\int \frac {x^{12} \sqrt {-1+x^4}}{1-x^8+x^{16}} \, dx\\ &=\int \left (\frac {2 i \sqrt {-1+x^4}}{\sqrt {3} \left (1+i \sqrt {3}-2 x^8\right )}+\frac {2 i \sqrt {-1+x^4}}{\sqrt {3} \left (-1+i \sqrt {3}+2 x^8\right )}\right ) \, dx+\int \left (\frac {\left (1-\frac {i}{\sqrt {3}}\right ) \sqrt {-1+x^4}}{-1-i \sqrt {3}+2 x^8}+\frac {\left (1+\frac {i}{\sqrt {3}}\right ) \sqrt {-1+x^4}}{-1+i \sqrt {3}+2 x^8}\right ) \, dx+\int \left (\frac {2 i x^4 \sqrt {-1+x^4}}{\sqrt {3} \left (1+i \sqrt {3}-2 x^8\right )}+\frac {2 i x^4 \sqrt {-1+x^4}}{\sqrt {3} \left (-1+i \sqrt {3}+2 x^8\right )}\right ) \, dx+\int \left (\frac {i \left (1+i \sqrt {3}\right ) x^4 \sqrt {-1+x^4}}{\sqrt {3} \left (1+i \sqrt {3}-2 x^8\right )}-\frac {i \left (-1+i \sqrt {3}\right ) x^4 \sqrt {-1+x^4}}{\sqrt {3} \left (-1+i \sqrt {3}+2 x^8\right )}\right ) \, dx\\ \end {align*}
rest of steps removed due to Latex formating problem.
________________________________________________________________________________________
Mathematica [C] time = 22.23, size = 127, normalized size = 2.82 \begin {gather*} \frac {(-1)^{5/6} \sqrt {1-x^4} \left (-4 F\left (\left .\sin ^{-1}(x)\right |-1\right )+\Pi \left (-\sqrt [12]{-1};\left .\sin ^{-1}(x)\right |-1\right )+\Pi \left (\sqrt [12]{-1};\left .\sin ^{-1}(x)\right |-1\right )+\Pi \left (-(-1)^{5/12};\left .\sin ^{-1}(x)\right |-1\right )+\Pi \left ((-1)^{5/12};\left .\sin ^{-1}(x)\right |-1\right )+\Pi \left (-(-1)^{7/12};\left .\sin ^{-1}(x)\right |-1\right )+\Pi \left ((-1)^{7/12};\left .\sin ^{-1}(x)\right |-1\right )+\Pi \left (-(-1)^{11/12};\left .\sin ^{-1}(x)\right |-1\right )+\Pi \left ((-1)^{11/12};\left .\sin ^{-1}(x)\right |-1\right )\right )}{2 \left (\sqrt {3}-i\right ) \sqrt {x^4-1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.35, size = 45, normalized size = 1.00 \begin {gather*} \frac {1}{8} \text {RootSum}\left [1+4 \text {$\#$1}^4+\text {$\#$1}^8\&,\frac {-\log (x)+\log \left (\sqrt {-1+x^4}-x \text {$\#$1}\right )}{\text {$\#$1}}\&\right ] \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [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]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{16} - 1}{{\left (x^{16} - x^{8} + 1\right )} \sqrt {x^{4} - 1}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 6.63, size = 63, normalized size = 1.40
method | result | size |
elliptic | \(\frac {\left (\munderset {\textit {\_R} =\RootOf \left (16 \textit {\_Z}^{8}+16 \textit {\_Z}^{4}+1\right )}{\sum }\frac {\left (2 \textit {\_R}^{6}+\textit {\_R}^{2}\right ) \ln \left (\frac {\sqrt {x^{4}-1}\, \sqrt {2}}{2 x}-\textit {\_R} \right )}{2 \textit {\_R}^{7}+\textit {\_R}^{3}}\right ) \sqrt {2}}{16}\) | \(63\) |
default | \(-\frac {i \sqrt {x^{2}+1}\, \sqrt {-x^{2}+1}\, \EllipticF \left (i x , i\right )}{\sqrt {x^{4}-1}}+\frac {\left (\munderset {\underline {\hspace {1.25 ex}}\alpha =\RootOf \left (\textit {\_Z}^{16}-\textit {\_Z}^{8}+1\right )}{\sum }\underline {\hspace {1.25 ex}}\alpha \left (-\frac {\arctanh \left (\frac {\underline {\hspace {1.25 ex}}\alpha ^{2} \left (\underline {\hspace {1.25 ex}}\alpha ^{14}-\underline {\hspace {1.25 ex}}\alpha ^{6}+x^{2}\right )}{\sqrt {\underline {\hspace {1.25 ex}}\alpha ^{4}-1}\, \sqrt {x^{4}-1}}\right )}{\sqrt {\underline {\hspace {1.25 ex}}\alpha ^{4}-1}}+\frac {2 i \left (-\underline {\hspace {1.25 ex}}\alpha ^{15}+\underline {\hspace {1.25 ex}}\alpha ^{7}\right ) \sqrt {x^{2}+1}\, \sqrt {-x^{2}+1}\, \EllipticPi \left (i x , \underline {\hspace {1.25 ex}}\alpha ^{14}-\underline {\hspace {1.25 ex}}\alpha ^{6}, i\right )}{\sqrt {x^{4}-1}}\right )\right )}{16}\) | \(145\) |
trager | \(-262144 \ln \left (\frac {-64 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{2} x^{2}-x^{4}+16 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right ) \sqrt {x^{4}-1}\, x +1}{64 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{2} x^{2}-x^{4}+1}\right ) \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{7}-256 \ln \left (\frac {-64 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{2} x^{2}-x^{4}+16 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right ) \sqrt {x^{4}-1}\, x +1}{64 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{2} x^{2}-x^{4}+1}\right ) \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{3}+64 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{2} \RootOf \left (-4096 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{6}-4 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{2}+\textit {\_Z}^{2}\right ) \ln \left (-\frac {-67108864 \RootOf \left (-4096 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{6}-4 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{2}+\textit {\_Z}^{2}\right ) \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{8} x^{2}-65536 \RootOf \left (-4096 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{6}-4 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{2}+\textit {\_Z}^{2}\right ) \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{4} x^{2}-256 \RootOf \left (-4096 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{6}-4 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{2}+\textit {\_Z}^{2}\right ) \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{2} x^{4}+256 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{2} \RootOf \left (-4096 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{6}-4 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{2}+\textit {\_Z}^{2}\right )+x \sqrt {x^{4}-1}}{262144 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{6} x^{2}+256 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{2} x^{2}-x^{4}+1}\right )+\RootOf \left (-4096 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{6}-4 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{2}+\textit {\_Z}^{2}\right ) \ln \left (\frac {256 \RootOf \left (-4096 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{6}-4 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{2}+\textit {\_Z}^{2}\right ) \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{2} x^{2}-4 \RootOf \left (-4096 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{6}-4 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{2}+\textit {\_Z}^{2}\right ) x^{4}+x \sqrt {x^{4}-1}+4 \RootOf \left (-4096 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{6}-4 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{2}+\textit {\_Z}^{2}\right )}{64 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{2} x^{2}+x^{4}-1}\right )+\RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right ) \ln \left (-\frac {1048576 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{7} x^{2}+1024 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{3} x^{2}-4 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right ) x^{4}+x \sqrt {x^{4}-1}+4 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )}{262144 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{6} x^{2}+256 \RootOf \left (16777216 \textit {\_Z}^{8}+16384 \textit {\_Z}^{4}+1\right )^{2} x^{2}+x^{4}-1}\right )\) | \(919\) |
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 {x^{16} - 1}{{\left (x^{16} - x^{8} + 1\right )} \sqrt {x^{4} - 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.02 \begin {gather*} \int \frac {x^{16}-1}{\sqrt {x^4-1}\,\left (x^{16}-x^8+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]
________________________________________________________________________________________