Optimal. Leaf size=121 \[ -\frac {1}{4} \text {RootSum}\left [2 \text {$\#$1}^8-5 \text {$\#$1}^4+1\& ,\frac {-3 \text {$\#$1}^4 \log \left (\sqrt [4]{x^4-1}-\text {$\#$1} x\right )+3 \text {$\#$1}^4 \log (x)+2 \log \left (\sqrt [4]{x^4-1}-\text {$\#$1} x\right )-2 \log (x)}{4 \text {$\#$1}^5-5 \text {$\#$1}}\& \right ]+\frac {1}{2} \tan ^{-1}\left (\frac {x}{\sqrt [4]{x^4-1}}\right )+\frac {1}{2} \tanh ^{-1}\left (\frac {x}{\sqrt [4]{x^4-1}}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.60, antiderivative size = 231, normalized size of antiderivative = 1.91, number of steps used = 16, number of rules used = 6, integrand size = 36, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {6728, 240, 212, 206, 203, 377} \begin {gather*} \frac {1}{2} \tan ^{-1}\left (\frac {x}{\sqrt [4]{x^4-1}}\right )-\frac {\sqrt [4]{2047-439 \sqrt {17}} \tan ^{-1}\left (\frac {\sqrt [4]{\frac {2}{5+\sqrt {17}}} x}{\sqrt [4]{x^4-1}}\right )}{4 \sqrt {17}}-\frac {\sqrt [4]{2047+439 \sqrt {17}} \tan ^{-1}\left (\frac {\sqrt [4]{5+\sqrt {17}} x}{\sqrt {2} \sqrt [4]{x^4-1}}\right )}{4 \sqrt {17}}+\frac {1}{2} \tanh ^{-1}\left (\frac {x}{\sqrt [4]{x^4-1}}\right )-\frac {\sqrt [4]{2047-439 \sqrt {17}} \tanh ^{-1}\left (\frac {\sqrt [4]{\frac {2}{5+\sqrt {17}}} x}{\sqrt [4]{x^4-1}}\right )}{4 \sqrt {17}}-\frac {\sqrt [4]{2047+439 \sqrt {17}} \tanh ^{-1}\left (\frac {\sqrt [4]{5+\sqrt {17}} x}{\sqrt {2} \sqrt [4]{x^4-1}}\right )}{4 \sqrt {17}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 203
Rule 206
Rule 212
Rule 240
Rule 377
Rule 6728
Rubi steps
\begin {align*} \int \frac {1-2 x^4+2 x^8}{\sqrt [4]{-1+x^4} \left (-2-x^4+2 x^8\right )} \, dx &=\int \left (\frac {1}{\sqrt [4]{-1+x^4}}+\frac {3-x^4}{\sqrt [4]{-1+x^4} \left (-2-x^4+2 x^8\right )}\right ) \, dx\\ &=\int \frac {1}{\sqrt [4]{-1+x^4}} \, dx+\int \frac {3-x^4}{\sqrt [4]{-1+x^4} \left (-2-x^4+2 x^8\right )} \, dx\\ &=\int \left (\frac {-1+\frac {11}{\sqrt {17}}}{\sqrt [4]{-1+x^4} \left (-1-\sqrt {17}+4 x^4\right )}+\frac {-1-\frac {11}{\sqrt {17}}}{\sqrt [4]{-1+x^4} \left (-1+\sqrt {17}+4 x^4\right )}\right ) \, dx+\operatorname {Subst}\left (\int \frac {1}{1-x^4} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )+\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )+\frac {1}{17} \left (-17+11 \sqrt {17}\right ) \int \frac {1}{\sqrt [4]{-1+x^4} \left (-1-\sqrt {17}+4 x^4\right )} \, dx-\frac {1}{17} \left (17+11 \sqrt {17}\right ) \int \frac {1}{\sqrt [4]{-1+x^4} \left (-1+\sqrt {17}+4 x^4\right )} \, dx\\ &=\frac {1}{2} \tan ^{-1}\left (\frac {x}{\sqrt [4]{-1+x^4}}\right )+\frac {1}{2} \tanh ^{-1}\left (\frac {x}{\sqrt [4]{-1+x^4}}\right )+\frac {1}{17} \left (-17+11 \sqrt {17}\right ) \operatorname {Subst}\left (\int \frac {1}{-1-\sqrt {17}-\left (3-\sqrt {17}\right ) x^4} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )-\frac {1}{17} \left (17+11 \sqrt {17}\right ) \operatorname {Subst}\left (\int \frac {1}{-1+\sqrt {17}-\left (3+\sqrt {17}\right ) x^4} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )\\ &=\frac {1}{2} \tan ^{-1}\left (\frac {x}{\sqrt [4]{-1+x^4}}\right )+\frac {1}{2} \tanh ^{-1}\left (\frac {x}{\sqrt [4]{-1+x^4}}\right )-\frac {1}{2} \sqrt {\frac {1}{34} \left (37-\sqrt {17}\right )} \operatorname {Subst}\left (\int \frac {1}{\sqrt {5+\sqrt {17}}-\sqrt {2} x^2} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )-\frac {1}{2} \sqrt {\frac {1}{34} \left (37-\sqrt {17}\right )} \operatorname {Subst}\left (\int \frac {1}{\sqrt {5+\sqrt {17}}+\sqrt {2} x^2} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )-\frac {1}{2} \sqrt {\frac {1}{34} \left (37+\sqrt {17}\right )} \operatorname {Subst}\left (\int \frac {1}{\sqrt {5-\sqrt {17}}-\sqrt {2} x^2} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )-\frac {1}{2} \sqrt {\frac {1}{34} \left (37+\sqrt {17}\right )} \operatorname {Subst}\left (\int \frac {1}{\sqrt {5-\sqrt {17}}+\sqrt {2} x^2} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )\\ &=\frac {1}{2} \tan ^{-1}\left (\frac {x}{\sqrt [4]{-1+x^4}}\right )-\frac {\sqrt [4]{2047-439 \sqrt {17}} \tan ^{-1}\left (\frac {\sqrt [4]{\frac {2}{5+\sqrt {17}}} x}{\sqrt [4]{-1+x^4}}\right )}{4 \sqrt {17}}-\frac {\sqrt [4]{2047+439 \sqrt {17}} \tan ^{-1}\left (\frac {\sqrt [4]{5+\sqrt {17}} x}{\sqrt {2} \sqrt [4]{-1+x^4}}\right )}{4 \sqrt {17}}+\frac {1}{2} \tanh ^{-1}\left (\frac {x}{\sqrt [4]{-1+x^4}}\right )-\frac {\sqrt [4]{2047-439 \sqrt {17}} \tanh ^{-1}\left (\frac {\sqrt [4]{\frac {2}{5+\sqrt {17}}} x}{\sqrt [4]{-1+x^4}}\right )}{4 \sqrt {17}}-\frac {\sqrt [4]{2047+439 \sqrt {17}} \tanh ^{-1}\left (\frac {\sqrt [4]{5+\sqrt {17}} x}{\sqrt {2} \sqrt [4]{-1+x^4}}\right )}{4 \sqrt {17}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.30, size = 223, normalized size = 1.84 \begin {gather*} \frac {1}{68} \left (34 \tan ^{-1}\left (\frac {x}{\sqrt [4]{x^4-1}}\right )-\sqrt {17} \sqrt [4]{2047-439 \sqrt {17}} \tan ^{-1}\left (\frac {\sqrt [4]{\frac {2}{5+\sqrt {17}}} x}{\sqrt [4]{x^4-1}}\right )-\sqrt {17} \sqrt [4]{2047+439 \sqrt {17}} \tan ^{-1}\left (\frac {\sqrt [4]{5+\sqrt {17}} x}{\sqrt {2} \sqrt [4]{x^4-1}}\right )+34 \tanh ^{-1}\left (\frac {x}{\sqrt [4]{x^4-1}}\right )-\sqrt {17} \sqrt [4]{2047-439 \sqrt {17}} \tanh ^{-1}\left (\frac {\sqrt [4]{\frac {2}{5+\sqrt {17}}} x}{\sqrt [4]{x^4-1}}\right )-\sqrt {17} \sqrt [4]{2047+439 \sqrt {17}} \tanh ^{-1}\left (\frac {\sqrt [4]{5+\sqrt {17}} x}{\sqrt {2} \sqrt [4]{x^4-1}}\right )\right ) \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.35, size = 121, normalized size = 1.00 \begin {gather*} \frac {1}{2} \tan ^{-1}\left (\frac {x}{\sqrt [4]{-1+x^4}}\right )+\frac {1}{2} \tanh ^{-1}\left (\frac {x}{\sqrt [4]{-1+x^4}}\right )-\frac {1}{4} \text {RootSum}\left [1-5 \text {$\#$1}^4+2 \text {$\#$1}^8\&,\frac {-2 \log (x)+2 \log \left (\sqrt [4]{-1+x^4}-x \text {$\#$1}\right )+3 \log (x) \text {$\#$1}^4-3 \log \left (\sqrt [4]{-1+x^4}-x \text {$\#$1}\right ) \text {$\#$1}^4}{-5 \text {$\#$1}+4 \text {$\#$1}^5}\&\right ] \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.65, size = 456, normalized size = 3.77 \begin {gather*} -\frac {1}{34} \, \sqrt {17} {\left (439 \, \sqrt {17} + 2047\right )}^{\frac {1}{4}} \arctan \left (\frac {{\left (\sqrt {2} {\left (3 \, \sqrt {17} x - 7 \, x\right )} \sqrt {-\frac {{\left (\sqrt {17} x^{2} - 37 \, x^{2}\right )} \sqrt {439 \, \sqrt {17} + 2047} - 1352 \, \sqrt {x^{4} - 1}}{x^{2}}} - 52 \, {\left (x^{4} - 1\right )}^{\frac {1}{4}} {\left (3 \, \sqrt {17} - 7\right )}\right )} {\left (439 \, \sqrt {17} + 2047\right )}^{\frac {1}{4}}}{2704 \, x}\right ) - \frac {1}{34} \, \sqrt {17} {\left (-439 \, \sqrt {17} + 2047\right )}^{\frac {1}{4}} \arctan \left (\frac {\sqrt {2} {\left (3 \, \sqrt {17} x + 7 \, x\right )} {\left (-439 \, \sqrt {17} + 2047\right )}^{\frac {1}{4}} \sqrt {\frac {{\left (\sqrt {17} x^{2} + 37 \, x^{2}\right )} \sqrt {-439 \, \sqrt {17} + 2047} + 1352 \, \sqrt {x^{4} - 1}}{x^{2}}} - 52 \, {\left (x^{4} - 1\right )}^{\frac {1}{4}} {\left (3 \, \sqrt {17} + 7\right )} {\left (-439 \, \sqrt {17} + 2047\right )}^{\frac {1}{4}}}{2704 \, x}\right ) - \frac {1}{136} \, \sqrt {17} {\left (439 \, \sqrt {17} + 2047\right )}^{\frac {1}{4}} \log \left (\frac {{\left (59 \, \sqrt {17} x - 155 \, x\right )} {\left (439 \, \sqrt {17} + 2047\right )}^{\frac {3}{4}} + 35152 \, {\left (x^{4} - 1\right )}^{\frac {1}{4}}}{x}\right ) + \frac {1}{136} \, \sqrt {17} {\left (439 \, \sqrt {17} + 2047\right )}^{\frac {1}{4}} \log \left (-\frac {{\left (59 \, \sqrt {17} x - 155 \, x\right )} {\left (439 \, \sqrt {17} + 2047\right )}^{\frac {3}{4}} - 35152 \, {\left (x^{4} - 1\right )}^{\frac {1}{4}}}{x}\right ) - \frac {1}{136} \, \sqrt {17} {\left (-439 \, \sqrt {17} + 2047\right )}^{\frac {1}{4}} \log \left (\frac {{\left (59 \, \sqrt {17} x + 155 \, x\right )} {\left (-439 \, \sqrt {17} + 2047\right )}^{\frac {3}{4}} + 35152 \, {\left (x^{4} - 1\right )}^{\frac {1}{4}}}{x}\right ) + \frac {1}{136} \, \sqrt {17} {\left (-439 \, \sqrt {17} + 2047\right )}^{\frac {1}{4}} \log \left (-\frac {{\left (59 \, \sqrt {17} x + 155 \, x\right )} {\left (-439 \, \sqrt {17} + 2047\right )}^{\frac {3}{4}} - 35152 \, {\left (x^{4} - 1\right )}^{\frac {1}{4}}}{x}\right ) - \frac {1}{2} \, \arctan \left (\frac {{\left (x^{4} - 1\right )}^{\frac {1}{4}}}{x}\right ) + \frac {1}{4} \, \log \left (\frac {x + {\left (x^{4} - 1\right )}^{\frac {1}{4}}}{x}\right ) - \frac {1}{4} \, \log \left (-\frac {x - {\left (x^{4} - 1\right )}^{\frac {1}{4}}}{x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.04, size = 0, normalized size = 0.00 \[\int \frac {2 x^{8}-2 x^{4}+1}{\left (x^{4}-1\right )^{\frac {1}{4}} \left (2 x^{8}-x^{4}-2\right )}\, dx\]
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 {2 \, x^{8} - 2 \, x^{4} + 1}{{\left (2 \, x^{8} - x^{4} - 2\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 {2\,x^8-2\,x^4+1}{{\left (x^4-1\right )}^{1/4}\,\left (-2\,x^8+x^4+2\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]
________________________________________________________________________________________