Optimal. Leaf size=60 \[ \frac {\sqrt {x^6-1} \left (-4 x^3-1\right )}{6 x^6}+\frac {2}{3} \log \left (\sqrt {x^6-1}+x^3\right )+\frac {1}{3} \tan ^{-1}\left (\sqrt {x^6-1}+x^3\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 56, normalized size of antiderivative = 0.93, number of steps used = 8, number of rules used = 8, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {1475, 811, 844, 217, 206, 266, 63, 203} \begin {gather*} \frac {1}{6} \tan ^{-1}\left (\sqrt {x^6-1}\right )-\frac {\sqrt {x^6-1} \left (4 x^3+1\right )}{6 x^6}+\frac {2}{3} \tanh ^{-1}\left (\frac {x^3}{\sqrt {x^6-1}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 63
Rule 203
Rule 206
Rule 217
Rule 266
Rule 811
Rule 844
Rule 1475
Rubi steps
\begin {align*} \int \frac {\left (1+2 x^3\right ) \sqrt {-1+x^6}}{x^7} \, dx &=\frac {1}{3} \operatorname {Subst}\left (\int \frac {(1+2 x) \sqrt {-1+x^2}}{x^3} \, dx,x,x^3\right )\\ &=-\frac {\left (1+4 x^3\right ) \sqrt {-1+x^6}}{6 x^6}+\frac {1}{12} \operatorname {Subst}\left (\int \frac {2+8 x}{x \sqrt {-1+x^2}} \, dx,x,x^3\right )\\ &=-\frac {\left (1+4 x^3\right ) \sqrt {-1+x^6}}{6 x^6}+\frac {1}{6} \operatorname {Subst}\left (\int \frac {1}{x \sqrt {-1+x^2}} \, dx,x,x^3\right )+\frac {2}{3} \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1+x^2}} \, dx,x,x^3\right )\\ &=-\frac {\left (1+4 x^3\right ) \sqrt {-1+x^6}}{6 x^6}+\frac {1}{12} \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1+x} x} \, dx,x,x^6\right )+\frac {2}{3} \operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {x^3}{\sqrt {-1+x^6}}\right )\\ &=-\frac {\left (1+4 x^3\right ) \sqrt {-1+x^6}}{6 x^6}+\frac {2}{3} \tanh ^{-1}\left (\frac {x^3}{\sqrt {-1+x^6}}\right )+\frac {1}{6} \operatorname {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt {-1+x^6}\right )\\ &=-\frac {\left (1+4 x^3\right ) \sqrt {-1+x^6}}{6 x^6}+\frac {1}{6} \tan ^{-1}\left (\sqrt {-1+x^6}\right )+\frac {2}{3} \tanh ^{-1}\left (\frac {x^3}{\sqrt {-1+x^6}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.07, size = 71, normalized size = 1.18 \begin {gather*} -\frac {\left (x^6-1\right ) \left (-x^6 \tanh ^{-1}\left (\sqrt {1-x^6}\right )+\left (4 x^3+1\right ) \sqrt {1-x^6}+4 x^6 \sin ^{-1}\left (x^3\right )\right )}{6 x^6 \sqrt {-\left (x^6-1\right )^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.18, size = 68, normalized size = 1.13 \begin {gather*} \frac {\left (-1-4 x^3\right ) \sqrt {-1+x^6}}{6 x^6}-\frac {1}{3} \tan ^{-1}\left (\frac {\sqrt {-1+x^6}}{-1+x^3}\right )+\frac {4}{3} \tanh ^{-1}\left (\frac {\sqrt {-1+x^6}}{-1+x^3}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.46, size = 65, normalized size = 1.08 \begin {gather*} \frac {2 \, x^{6} \arctan \left (-x^{3} + \sqrt {x^{6} - 1}\right ) - 4 \, x^{6} \log \left (-x^{3} + \sqrt {x^{6} - 1}\right ) - 4 \, x^{6} - \sqrt {x^{6} - 1} {\left (4 \, x^{3} + 1\right )}}{6 \, x^{6}} \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 {\sqrt {x^{6} - 1} {\left (2 \, x^{3} + 1\right )}}{x^{7}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.53, size = 66, normalized size = 1.10
method | result | size |
trager | \(-\frac {\left (4 x^{3}+1\right ) \sqrt {x^{6}-1}}{6 x^{6}}-\frac {2 \ln \left (-x^{3}+\sqrt {x^{6}-1}\right )}{3}-\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 )}{6}\) | \(66\) |
risch | \(-\frac {4 x^{9}+x^{6}-4 x^{3}-1}{6 x^{6} \sqrt {x^{6}-1}}+\frac {\sqrt {-\mathrm {signum}\left (x^{6}-1\right )}\, \left (-2 \sqrt {\pi }\, \ln \left (\frac {1}{2}+\frac {\sqrt {-x^{6}+1}}{2}\right )+\left (-2 \ln \relax (2)+6 \ln \relax (x )+i \pi \right ) \sqrt {\pi }\right )}{12 \sqrt {\pi }\, \sqrt {\mathrm {signum}\left (x^{6}-1\right )}}+\frac {2 \sqrt {-\mathrm {signum}\left (x^{6}-1\right )}\, \arcsin \left (x^{3}\right )}{3 \sqrt {\mathrm {signum}\left (x^{6}-1\right )}}\) | \(113\) |
meijerg | \(\frac {\sqrt {\mathrm {signum}\left (x^{6}-1\right )}\, \left (\frac {\sqrt {\pi }\, \left (-4 x^{6}+8\right )}{4 x^{6}}-\frac {2 \sqrt {\pi }\, \sqrt {-x^{6}+1}}{x^{6}}+2 \sqrt {\pi }\, \ln \left (\frac {1}{2}+\frac {\sqrt {-x^{6}+1}}{2}\right )-\left (-2 \ln \relax (2)-1+6 \ln \relax (x )+i \pi \right ) \sqrt {\pi }-\frac {2 \sqrt {\pi }}{x^{6}}\right )}{12 \sqrt {\pi }\, \sqrt {-\mathrm {signum}\left (x^{6}-1\right )}}-\frac {i \sqrt {\mathrm {signum}\left (x^{6}-1\right )}\, \left (-\frac {4 i \sqrt {\pi }\, \sqrt {-x^{6}+1}}{x^{3}}-4 i \sqrt {\pi }\, \arcsin \left (x^{3}\right )\right )}{6 \sqrt {\pi }\, \sqrt {-\mathrm {signum}\left (x^{6}-1\right )}}\) | \(157\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.42, size = 67, normalized size = 1.12 \begin {gather*} -\frac {2 \, \sqrt {x^{6} - 1}}{3 \, x^{3}} - \frac {\sqrt {x^{6} - 1}}{6 \, x^{6}} + \frac {1}{6} \, \arctan \left (\sqrt {x^{6} - 1}\right ) + \frac {1}{3} \, \log \left (\frac {\sqrt {x^{6} - 1}}{x^{3}} + 1\right ) - \frac {1}{3} \, \log \left (\frac {\sqrt {x^{6} - 1}}{x^{3}} - 1\right ) \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 {\sqrt {x^6-1}\,\left (2\,x^3+1\right )}{x^7} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 5.30, size = 153, normalized size = 2.55 \begin {gather*} \begin {cases} \frac {i \operatorname {acosh}{\left (\frac {1}{x^{3}} \right )}}{6} + \frac {i}{6 x^{3} \sqrt {-1 + \frac {1}{x^{6}}}} - \frac {i}{6 x^{9} \sqrt {-1 + \frac {1}{x^{6}}}} & \text {for}\: \frac {1}{\left |{x^{6}}\right |} > 1 \\- \frac {\operatorname {asin}{\left (\frac {1}{x^{3}} \right )}}{6} - \frac {\sqrt {1 - \frac {1}{x^{6}}}}{6 x^{3}} & \text {otherwise} \end {cases} + 2 \left (\begin {cases} - \frac {x^{3}}{3 \sqrt {x^{6} - 1}} + \frac {\operatorname {acosh}{\left (x^{3} \right )}}{3} + \frac {1}{3 x^{3} \sqrt {x^{6} - 1}} & \text {for}\: \left |{x^{6}}\right | > 1 \\\frac {i x^{3}}{3 \sqrt {1 - x^{6}}} - \frac {i \operatorname {asin}{\left (x^{3} \right )}}{3} - \frac {i}{3 x^{3} \sqrt {1 - x^{6}}} & \text {otherwise} \end {cases}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________