Optimal. Leaf size=67 \[ -\frac {x}{2 \sqrt [4]{x^4-1}}+\frac {3 \tan ^{-1}\left (\frac {\sqrt [4]{2} x}{\sqrt [4]{x^4-1}}\right )}{4 \sqrt [4]{2}}+\frac {3 \tanh ^{-1}\left (\frac {\sqrt [4]{2} x}{\sqrt [4]{x^4-1}}\right )}{4 \sqrt [4]{2}} \]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 67, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.292, Rules used = {1455, 527, 12, 377, 212, 206, 203} \begin {gather*} -\frac {x}{2 \sqrt [4]{x^4-1}}+\frac {3 \tan ^{-1}\left (\frac {\sqrt [4]{2} x}{\sqrt [4]{x^4-1}}\right )}{4 \sqrt [4]{2}}+\frac {3 \tanh ^{-1}\left (\frac {\sqrt [4]{2} x}{\sqrt [4]{x^4-1}}\right )}{4 \sqrt [4]{2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 203
Rule 206
Rule 212
Rule 377
Rule 527
Rule 1455
Rubi steps
\begin {align*} \int \frac {-1+2 x^4}{\sqrt [4]{-1+x^4} \left (-1+x^8\right )} \, dx &=\int \frac {-1+2 x^4}{\left (-1+x^4\right )^{5/4} \left (1+x^4\right )} \, dx\\ &=-\frac {x}{2 \sqrt [4]{-1+x^4}}+\frac {1}{2} \int \frac {3}{\sqrt [4]{-1+x^4} \left (1+x^4\right )} \, dx\\ &=-\frac {x}{2 \sqrt [4]{-1+x^4}}+\frac {3}{2} \int \frac {1}{\sqrt [4]{-1+x^4} \left (1+x^4\right )} \, dx\\ &=-\frac {x}{2 \sqrt [4]{-1+x^4}}+\frac {3}{2} \operatorname {Subst}\left (\int \frac {1}{1-2 x^4} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )\\ &=-\frac {x}{2 \sqrt [4]{-1+x^4}}+\frac {3}{4} \operatorname {Subst}\left (\int \frac {1}{1-\sqrt {2} x^2} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )+\frac {3}{4} \operatorname {Subst}\left (\int \frac {1}{1+\sqrt {2} x^2} \, dx,x,\frac {x}{\sqrt [4]{-1+x^4}}\right )\\ &=-\frac {x}{2 \sqrt [4]{-1+x^4}}+\frac {3 \tan ^{-1}\left (\frac {\sqrt [4]{2} x}{\sqrt [4]{-1+x^4}}\right )}{4 \sqrt [4]{2}}+\frac {3 \tanh ^{-1}\left (\frac {\sqrt [4]{2} x}{\sqrt [4]{-1+x^4}}\right )}{4 \sqrt [4]{2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.20, size = 91, normalized size = 1.36 \begin {gather*} \frac {3 \left (-\log \left (1-\frac {\sqrt [4]{2} x}{\sqrt [4]{1-x^4}}\right )+\log \left (\frac {\sqrt [4]{2} x}{\sqrt [4]{1-x^4}}+1\right )+2 \tan ^{-1}\left (\frac {\sqrt [4]{2} x}{\sqrt [4]{1-x^4}}\right )\right )}{8 \sqrt [4]{2}}-\frac {x}{2 \sqrt [4]{x^4-1}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.34, size = 67, normalized size = 1.00 \begin {gather*} -\frac {x}{2 \sqrt [4]{-1+x^4}}+\frac {3 \tan ^{-1}\left (\frac {\sqrt [4]{2} x}{\sqrt [4]{-1+x^4}}\right )}{4 \sqrt [4]{2}}+\frac {3 \tanh ^{-1}\left (\frac {\sqrt [4]{2} x}{\sqrt [4]{-1+x^4}}\right )}{4 \sqrt [4]{2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 5.52, size = 243, normalized size = 3.63 \begin {gather*} -\frac {12 \cdot 2^{\frac {3}{4}} {\left (x^{4} - 1\right )} \arctan \left (\frac {4 \cdot 2^{\frac {3}{4}} {\left (x^{4} - 1\right )}^{\frac {1}{4}} x^{3} + 4 \cdot 2^{\frac {1}{4}} {\left (x^{4} - 1\right )}^{\frac {3}{4}} x + 2^{\frac {3}{4}} {\left (2 \cdot 2^{\frac {3}{4}} \sqrt {x^{4} - 1} x^{2} + 2^{\frac {1}{4}} {\left (3 \, x^{4} - 1\right )}\right )}}{2 \, {\left (x^{4} + 1\right )}}\right ) - 3 \cdot 2^{\frac {3}{4}} {\left (x^{4} - 1\right )} \log \left (\frac {4 \, \sqrt {2} {\left (x^{4} - 1\right )}^{\frac {1}{4}} x^{3} + 4 \cdot 2^{\frac {1}{4}} \sqrt {x^{4} - 1} x^{2} + 2^{\frac {3}{4}} {\left (3 \, x^{4} - 1\right )} + 4 \, {\left (x^{4} - 1\right )}^{\frac {3}{4}} x}{x^{4} + 1}\right ) + 3 \cdot 2^{\frac {3}{4}} {\left (x^{4} - 1\right )} \log \left (\frac {4 \, \sqrt {2} {\left (x^{4} - 1\right )}^{\frac {1}{4}} x^{3} - 4 \cdot 2^{\frac {1}{4}} \sqrt {x^{4} - 1} x^{2} - 2^{\frac {3}{4}} {\left (3 \, x^{4} - 1\right )} + 4 \, {\left (x^{4} - 1\right )}^{\frac {3}{4}} x}{x^{4} + 1}\right ) + 16 \, {\left (x^{4} - 1\right )}^{\frac {3}{4}} x}{32 \, {\left (x^{4} - 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 {2 \, x^{4} - 1}{{\left (x^{8} - 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 [C] time = 2.13, size = 215, normalized size = 3.21
method | result | size |
risch | \(-\frac {x}{2 \left (x^{4}-1\right )^{\frac {1}{4}}}-\frac {3 \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}-8\right )^{2}\right ) \ln \left (\frac {\sqrt {x^{4}-1}\, \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}-8\right )^{2}\right ) \RootOf \left (\textit {\_Z}^{4}-8\right )^{2} x^{2}-2 \left (x^{4}-1\right )^{\frac {1}{4}} \RootOf \left (\textit {\_Z}^{4}-8\right )^{2} x^{3}-3 \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}-8\right )^{2}\right ) x^{4}+4 \left (x^{4}-1\right )^{\frac {3}{4}} x +\RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}-8\right )^{2}\right )}{x^{4}+1}\right )}{16}-\frac {3 \RootOf \left (\textit {\_Z}^{4}-8\right ) \ln \left (\frac {-\sqrt {x^{4}-1}\, \RootOf \left (\textit {\_Z}^{4}-8\right )^{3} x^{2}+2 \left (x^{4}-1\right )^{\frac {1}{4}} \RootOf \left (\textit {\_Z}^{4}-8\right )^{2} x^{3}-3 x^{4} \RootOf \left (\textit {\_Z}^{4}-8\right )+4 \left (x^{4}-1\right )^{\frac {3}{4}} x +\RootOf \left (\textit {\_Z}^{4}-8\right )}{x^{4}+1}\right )}{16}\) | \(215\) |
trager | \(-\frac {x}{2 \left (x^{4}-1\right )^{\frac {1}{4}}}+\frac {3 \RootOf \left (\textit {\_Z}^{4}-8\right ) \ln \left (\frac {\sqrt {x^{4}-1}\, \RootOf \left (\textit {\_Z}^{4}-8\right )^{3} x^{2}+2 \left (x^{4}-1\right )^{\frac {1}{4}} \RootOf \left (\textit {\_Z}^{4}-8\right )^{2} x^{3}+3 x^{4} \RootOf \left (\textit {\_Z}^{4}-8\right )+4 \left (x^{4}-1\right )^{\frac {3}{4}} x -\RootOf \left (\textit {\_Z}^{4}-8\right )}{x^{4}+1}\right )}{16}-\frac {3 \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}-8\right )^{2}\right ) \ln \left (\frac {\sqrt {x^{4}-1}\, \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}-8\right )^{2}\right ) \RootOf \left (\textit {\_Z}^{4}-8\right )^{2} x^{2}-2 \left (x^{4}-1\right )^{\frac {1}{4}} \RootOf \left (\textit {\_Z}^{4}-8\right )^{2} x^{3}-3 \RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}-8\right )^{2}\right ) x^{4}+4 \left (x^{4}-1\right )^{\frac {3}{4}} x +\RootOf \left (\textit {\_Z}^{2}+\RootOf \left (\textit {\_Z}^{4}-8\right )^{2}\right )}{x^{4}+1}\right )}{16}\) | \(216\) |
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^{4} - 1}{{\left (x^{8} - 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 {2\,x^4-1}{{\left (x^4-1\right )}^{1/4}\,\left (x^8-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 {2 x^{4} - 1}{\sqrt [4]{\left (x - 1\right ) \left (x + 1\right ) \left (x^{2} + 1\right )} \left (x - 1\right ) \left (x + 1\right ) \left (x^{2} + 1\right ) \left (x^{4} + 1\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________