Optimal. Leaf size=38 \[ \frac {2 \tan ^{-1}\left (\frac {\sqrt {x^6-1}}{\sqrt {3}}\right )}{\sqrt {3}}-\frac {1}{3} \tan ^{-1}\left (\sqrt {x^6-1}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 38, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.148, Rules used = {573, 156, 63, 203} \begin {gather*} \frac {2 \tan ^{-1}\left (\frac {\sqrt {x^6-1}}{\sqrt {3}}\right )}{\sqrt {3}}-\frac {1}{3} \tan ^{-1}\left (\sqrt {x^6-1}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 63
Rule 156
Rule 203
Rule 573
Rubi steps
\begin {align*} \int \frac {-2+5 x^6}{x \sqrt {-1+x^6} \left (2+x^6\right )} \, dx &=\frac {1}{6} \operatorname {Subst}\left (\int \frac {-2+5 x}{\sqrt {-1+x} x (2+x)} \, dx,x,x^6\right )\\ &=-\left (\frac {1}{6} \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1+x} x} \, dx,x,x^6\right )\right )+\operatorname {Subst}\left (\int \frac {1}{\sqrt {-1+x} (2+x)} \, dx,x,x^6\right )\\ &=-\left (\frac {1}{3} \operatorname {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt {-1+x^6}\right )\right )+2 \operatorname {Subst}\left (\int \frac {1}{3+x^2} \, dx,x,\sqrt {-1+x^6}\right )\\ &=-\frac {1}{3} \tan ^{-1}\left (\sqrt {-1+x^6}\right )+\frac {2 \tan ^{-1}\left (\frac {\sqrt {-1+x^6}}{\sqrt {3}}\right )}{\sqrt {3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 38, normalized size = 1.00 \begin {gather*} \frac {2 \tan ^{-1}\left (\frac {\sqrt {x^6-1}}{\sqrt {3}}\right )}{\sqrt {3}}-\frac {1}{3} \tan ^{-1}\left (\sqrt {x^6-1}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.04, size = 38, normalized size = 1.00 \begin {gather*} -\frac {1}{3} \tan ^{-1}\left (\sqrt {-1+x^6}\right )+\frac {2 \tan ^{-1}\left (\frac {\sqrt {-1+x^6}}{\sqrt {3}}\right )}{\sqrt {3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.45, size = 29, normalized size = 0.76 \begin {gather*} \frac {2}{3} \, \sqrt {3} \arctan \left (\frac {1}{3} \, \sqrt {3} \sqrt {x^{6} - 1}\right ) - \frac {1}{3} \, \arctan \left (\sqrt {x^{6} - 1}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.36, size = 29, normalized size = 0.76 \begin {gather*} \frac {2}{3} \, \sqrt {3} \arctan \left (\frac {1}{3} \, \sqrt {3} \sqrt {x^{6} - 1}\right ) - \frac {1}{3} \, \arctan \left (\sqrt {x^{6} - 1}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.86, size = 76, normalized size = 2.00
method | result | size |
trager | \(\frac {\RootOf \left (\textit {\_Z}^{2}+1\right ) \ln \left (\frac {-\RootOf \left (\textit {\_Z}^{2}+1\right )+\sqrt {x^{6}-1}}{x^{3}}\right )}{3}-\frac {\RootOf \left (\textit {\_Z}^{2}+3\right ) \ln \left (\frac {\RootOf \left (\textit {\_Z}^{2}+3\right ) x^{6}-4 \RootOf \left (\textit {\_Z}^{2}+3\right )+6 \sqrt {x^{6}-1}}{x^{6}+2}\right )}{3}\) | \(76\) |
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 {5 \, x^{6} - 2}{{\left (x^{6} + 2\right )} \sqrt {x^{6} - 1} x}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.51, size = 29, normalized size = 0.76 \begin {gather*} \frac {2\,\sqrt {3}\,\mathrm {atan}\left (\frac {\sqrt {3}\,\sqrt {x^6-1}}{3}\right )}{3}-\frac {\mathrm {atan}\left (\sqrt {x^6-1}\right )}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 19.84, size = 36, normalized size = 0.95 \begin {gather*} \frac {2 \sqrt {3} \operatorname {atan}{\left (\frac {\sqrt {3} \sqrt {x^{6} - 1}}{3} \right )}}{3} - \frac {\operatorname {atan}{\left (\sqrt {x^{6} - 1} \right )}}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________