Optimal. Leaf size=85 \[ \frac {1}{4} \text {RootSum}\left [\text {$\#$1}^8-3 \text {$\#$1}^4+3\& ,\frac {-\text {$\#$1}^4 \log \left (\sqrt [4]{x^4-1}-\text {$\#$1} x\right )+\text {$\#$1}^4 \log (x)+2 \log \left (\sqrt [4]{x^4-1}-\text {$\#$1} x\right )-2 \log (x)}{2 \text {$\#$1}^5-3 \text {$\#$1}}\& \right ] \]
________________________________________________________________________________________
Rubi [C] time = 0.43, antiderivative size = 369, normalized size of antiderivative = 4.34, number of steps used = 10, number of rules used = 5, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {6728, 377, 212, 208, 205} \begin {gather*} \frac {\sqrt [4]{\frac {-\sqrt {3}+i}{-\sqrt {3}+3 i}} \left (-\sqrt {3}+3 i\right ) \tan ^{-1}\left (\frac {x}{\sqrt [4]{\frac {-\sqrt {3}+i}{-\sqrt {3}+3 i}} \sqrt [4]{x^4-1}}\right )}{6 \left (-\sqrt {3}+i\right )}+\frac {\sqrt [4]{\frac {\sqrt {3}+i}{\sqrt {3}+3 i}} \left (\sqrt {3}+3 i\right ) \tan ^{-1}\left (\frac {x}{\sqrt [4]{\frac {\sqrt {3}+i}{\sqrt {3}+3 i}} \sqrt [4]{x^4-1}}\right )}{6 \left (\sqrt {3}+i\right )}+\frac {\sqrt [4]{\frac {-\sqrt {3}+i}{-\sqrt {3}+3 i}} \left (-\sqrt {3}+3 i\right ) \tanh ^{-1}\left (\frac {x}{\sqrt [4]{\frac {-\sqrt {3}+i}{-\sqrt {3}+3 i}} \sqrt [4]{x^4-1}}\right )}{6 \left (-\sqrt {3}+i\right )}+\frac {\sqrt [4]{\frac {\sqrt {3}+i}{\sqrt {3}+3 i}} \left (\sqrt {3}+3 i\right ) \tanh ^{-1}\left (\frac {x}{\sqrt [4]{\frac {\sqrt {3}+i}{\sqrt {3}+3 i}} \sqrt [4]{x^4-1}}\right )}{6 \left (\sqrt {3}+i\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 205
Rule 208
Rule 212
Rule 377
Rule 6728
Rubi steps
\begin {align*} \int \frac {1+x^4}{\sqrt [4]{-1+x^4} \left (1+x^4+x^8\right )} \, dx &=\int \left (\frac {1-\frac {i}{\sqrt {3}}}{\sqrt [4]{-1+x^4} \left (1-i \sqrt {3}+2 x^4\right )}+\frac {1+\frac {i}{\sqrt {3}}}{\sqrt [4]{-1+x^4} \left (1+i \sqrt {3}+2 x^4\right )}\right ) \, dx\\ &=\frac {1}{3} \left (3-i \sqrt {3}\right ) \int \frac {1}{\sqrt [4]{-1+x^4} \left (1-i \sqrt {3}+2 x^4\right )} \, dx+\frac {1}{3} \left (3+i \sqrt {3}\right ) \int \frac {1}{\sqrt [4]{-1+x^4} \left (1+i \sqrt {3}+2 x^4\right )} \, dx\\ &=\frac {1}{3} \left (3-i \sqrt {3}\right ) \operatorname {Subst}\left (\int \frac {1}{1-i \sqrt {3}-\left (3-i \sqrt {3}\right ) x^4} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )+\frac {1}{3} \left (3+i \sqrt {3}\right ) \operatorname {Subst}\left (\int \frac {1}{1+i \sqrt {3}-\left (3+i \sqrt {3}\right ) x^4} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )\\ &=-\frac {\left (1-i \sqrt {3}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {i-\sqrt {3}}-\sqrt {3 i-\sqrt {3}} x^2} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )}{2 \sqrt {3 \left (i-\sqrt {3}\right )}}-\frac {\left (1-i \sqrt {3}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {i-\sqrt {3}}+\sqrt {3 i-\sqrt {3}} x^2} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )}{2 \sqrt {3 \left (i-\sqrt {3}\right )}}+\frac {\left (1+i \sqrt {3}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {i+\sqrt {3}}-\sqrt {3 i+\sqrt {3}} x^2} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )}{2 \sqrt {3 \left (i+\sqrt {3}\right )}}+\frac {\left (1+i \sqrt {3}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {i+\sqrt {3}}+\sqrt {3 i+\sqrt {3}} x^2} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )}{2 \sqrt {3 \left (i+\sqrt {3}\right )}}\\ &=\frac {\sqrt [4]{\frac {i-\sqrt {3}}{3 i-\sqrt {3}}} \left (3+i \sqrt {3}\right ) \tan ^{-1}\left (\frac {x}{\sqrt [4]{\frac {i-\sqrt {3}}{3 i-\sqrt {3}}} \sqrt [4]{-1+x^4}}\right )}{6 \left (1+i \sqrt {3}\right )}+\frac {\sqrt [4]{\frac {i+\sqrt {3}}{3 i+\sqrt {3}}} \left (3 i+\sqrt {3}\right ) \tan ^{-1}\left (\frac {x}{\sqrt [4]{\frac {i+\sqrt {3}}{3 i+\sqrt {3}}} \sqrt [4]{-1+x^4}}\right )}{6 \left (i+\sqrt {3}\right )}+\frac {\sqrt [4]{\frac {i-\sqrt {3}}{3 i-\sqrt {3}}} \left (3+i \sqrt {3}\right ) \tanh ^{-1}\left (\frac {x}{\sqrt [4]{\frac {i-\sqrt {3}}{3 i-\sqrt {3}}} \sqrt [4]{-1+x^4}}\right )}{6 \left (1+i \sqrt {3}\right )}+\frac {\sqrt [4]{\frac {i+\sqrt {3}}{3 i+\sqrt {3}}} \left (3 i+\sqrt {3}\right ) \tanh ^{-1}\left (\frac {x}{\sqrt [4]{\frac {i+\sqrt {3}}{3 i+\sqrt {3}}} \sqrt [4]{-1+x^4}}\right )}{6 \left (i+\sqrt {3}\right )}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.56, size = 257, normalized size = 3.02 \begin {gather*} \frac {1}{6} \left (\frac {\tan ^{-1}\left (\frac {x}{\sqrt [4]{\frac {\sqrt {3}-i}{\sqrt {3}-3 i}} \sqrt [4]{x^4-1}}\right )}{\left (\frac {\sqrt {3}-i}{\sqrt {3}-3 i}\right )^{3/4}}+\frac {\tan ^{-1}\left (\frac {x}{\sqrt [4]{\frac {\sqrt {3}+i}{\sqrt {3}+3 i}} \sqrt [4]{x^4-1}}\right )}{\left (\frac {\sqrt {3}+i}{\sqrt {3}+3 i}\right )^{3/4}}+\frac {\tanh ^{-1}\left (\frac {x}{\sqrt [4]{\frac {\sqrt {3}-i}{\sqrt {3}-3 i}} \sqrt [4]{x^4-1}}\right )}{\left (\frac {\sqrt {3}-i}{\sqrt {3}-3 i}\right )^{3/4}}+\frac {\tanh ^{-1}\left (\frac {x}{\sqrt [4]{\frac {\sqrt {3}+i}{\sqrt {3}+3 i}} \sqrt [4]{x^4-1}}\right )}{\left (\frac {\sqrt {3}+i}{\sqrt {3}+3 i}\right )^{3/4}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.27, size = 85, normalized size = 1.00 \begin {gather*} \frac {1}{4} \text {RootSum}\left [3-3 \text {$\#$1}^4+\text {$\#$1}^8\&,\frac {-2 \log (x)+2 \log \left (\sqrt [4]{-1+x^4}-x \text {$\#$1}\right )+\log (x) \text {$\#$1}^4-\log \left (\sqrt [4]{-1+x^4}-x \text {$\#$1}\right ) \text {$\#$1}^4}{-3 \text {$\#$1}+2 \text {$\#$1}^5}\&\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^{4} + 1}{{\left (x^{8} + x^{4} + 1\right )} {\left (x^{4} - 1\right )}^{\frac {1}{4}}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 16.57, size = 1514, normalized size = 17.81
method | result | size |
trager | \(\text {Expression too large to display}\) | \(1514\) |
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^{4} + 1}{{\left (x^{8} + x^{4} + 1\right )} {\left (x^{4} - 1\right )}^{\frac {1}{4}}}\,{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 {x^4+1}{{\left (x^4-1\right )}^{1/4}\,\left (x^8+x^4+1\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{4} + 1}{\sqrt [4]{\left (x - 1\right ) \left (x + 1\right ) \left (x^{2} + 1\right )} \left (x^{2} - x + 1\right ) \left (x^{2} + x + 1\right ) \left (x^{4} - x^{2} + 1\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________