Optimal. Leaf size=101 \[ -\frac {2}{3} \log \left (\sqrt [3]{x^3-1}-x\right )-\frac {2 \tan ^{-1}\left (\frac {\sqrt {3} x}{2 \sqrt [3]{x^3-1}+x}\right )}{\sqrt {3}}+\frac {\sqrt [3]{x^3-1} \left (1-9 x^3\right )}{4 x^4}+\frac {1}{3} \log \left (\sqrt [3]{x^3-1} x+\left (x^3-1\right )^{2/3}+x^2\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 109, normalized size of antiderivative = 1.08, number of steps used = 9, number of rules used = 9, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.450, Rules used = {451, 277, 331, 292, 31, 634, 618, 204, 628} \begin {gather*} -\frac {2 \sqrt [3]{x^3-1}}{x}-\frac {2}{3} \log \left (1-\frac {x}{\sqrt [3]{x^3-1}}\right )-\frac {2 \tan ^{-1}\left (\frac {\frac {2 x}{\sqrt [3]{x^3-1}}+1}{\sqrt {3}}\right )}{\sqrt {3}}-\frac {\left (x^3-1\right )^{4/3}}{4 x^4}+\frac {1}{3} \log \left (\frac {x}{\sqrt [3]{x^3-1}}+\frac {x^2}{\left (x^3-1\right )^{2/3}}+1\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 204
Rule 277
Rule 292
Rule 331
Rule 451
Rule 618
Rule 628
Rule 634
Rubi steps
\begin {align*} \int \frac {\sqrt [3]{-1+x^3} \left (-1+2 x^3\right )}{x^5} \, dx &=-\frac {\left (-1+x^3\right )^{4/3}}{4 x^4}+2 \int \frac {\sqrt [3]{-1+x^3}}{x^2} \, dx\\ &=-\frac {2 \sqrt [3]{-1+x^3}}{x}-\frac {\left (-1+x^3\right )^{4/3}}{4 x^4}+2 \int \frac {x}{\left (-1+x^3\right )^{2/3}} \, dx\\ &=-\frac {2 \sqrt [3]{-1+x^3}}{x}-\frac {\left (-1+x^3\right )^{4/3}}{4 x^4}+2 \operatorname {Subst}\left (\int \frac {x}{1-x^3} \, dx,x,\frac {x}{\sqrt [3]{-1+x^3}}\right )\\ &=-\frac {2 \sqrt [3]{-1+x^3}}{x}-\frac {\left (-1+x^3\right )^{4/3}}{4 x^4}+\frac {2}{3} \operatorname {Subst}\left (\int \frac {1}{1-x} \, dx,x,\frac {x}{\sqrt [3]{-1+x^3}}\right )-\frac {2}{3} \operatorname {Subst}\left (\int \frac {1-x}{1+x+x^2} \, dx,x,\frac {x}{\sqrt [3]{-1+x^3}}\right )\\ &=-\frac {2 \sqrt [3]{-1+x^3}}{x}-\frac {\left (-1+x^3\right )^{4/3}}{4 x^4}-\frac {2}{3} \log \left (1-\frac {x}{\sqrt [3]{-1+x^3}}\right )+\frac {1}{3} \operatorname {Subst}\left (\int \frac {1+2 x}{1+x+x^2} \, dx,x,\frac {x}{\sqrt [3]{-1+x^3}}\right )-\operatorname {Subst}\left (\int \frac {1}{1+x+x^2} \, dx,x,\frac {x}{\sqrt [3]{-1+x^3}}\right )\\ &=-\frac {2 \sqrt [3]{-1+x^3}}{x}-\frac {\left (-1+x^3\right )^{4/3}}{4 x^4}-\frac {2}{3} \log \left (1-\frac {x}{\sqrt [3]{-1+x^3}}\right )+\frac {1}{3} \log \left (1+\frac {x^2}{\left (-1+x^3\right )^{2/3}}+\frac {x}{\sqrt [3]{-1+x^3}}\right )+2 \operatorname {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1+\frac {2 x}{\sqrt [3]{-1+x^3}}\right )\\ &=-\frac {2 \sqrt [3]{-1+x^3}}{x}-\frac {\left (-1+x^3\right )^{4/3}}{4 x^4}-\frac {2 \tan ^{-1}\left (\frac {1+\frac {2 x}{\sqrt [3]{-1+x^3}}}{\sqrt {3}}\right )}{\sqrt {3}}-\frac {2}{3} \log \left (1-\frac {x}{\sqrt [3]{-1+x^3}}\right )+\frac {1}{3} \log \left (1+\frac {x^2}{\left (-1+x^3\right )^{2/3}}+\frac {x}{\sqrt [3]{-1+x^3}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.03, size = 52, normalized size = 0.51 \begin {gather*} \frac {\sqrt [3]{x^3-1} \left (-\frac {8 x^3 \, _2F_1\left (-\frac {1}{3},-\frac {1}{3};\frac {2}{3};x^3\right )}{\sqrt [3]{1-x^3}}-x^3+1\right )}{4 x^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.15, size = 101, normalized size = 1.00 \begin {gather*} \frac {\left (1-9 x^3\right ) \sqrt [3]{-1+x^3}}{4 x^4}-\frac {2 \tan ^{-1}\left (\frac {\sqrt {3} x}{x+2 \sqrt [3]{-1+x^3}}\right )}{\sqrt {3}}-\frac {2}{3} \log \left (-x+\sqrt [3]{-1+x^3}\right )+\frac {1}{3} \log \left (x^2+x \sqrt [3]{-1+x^3}+\left (-1+x^3\right )^{2/3}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.69, size = 112, normalized size = 1.11 \begin {gather*} -\frac {8 \, \sqrt {3} x^{4} \arctan \left (-\frac {25382 \, \sqrt {3} {\left (x^{3} - 1\right )}^{\frac {1}{3}} x^{2} - 13720 \, \sqrt {3} {\left (x^{3} - 1\right )}^{\frac {2}{3}} x + \sqrt {3} {\left (5831 \, x^{3} - 7200\right )}}{58653 \, x^{3} - 8000}\right ) + 4 \, x^{4} \log \left (-3 \, {\left (x^{3} - 1\right )}^{\frac {1}{3}} x^{2} + 3 \, {\left (x^{3} - 1\right )}^{\frac {2}{3}} x + 1\right ) + 3 \, {\left (9 \, x^{3} - 1\right )} {\left (x^{3} - 1\right )}^{\frac {1}{3}}}{12 \, x^{4}} \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 {{\left (2 \, x^{3} - 1\right )} {\left (x^{3} - 1\right )}^{\frac {1}{3}}}{x^{5}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 2.45, size = 57, normalized size = 0.56
method | result | size |
risch | \(-\frac {9 x^{6}-10 x^{3}+1}{4 x^{4} \left (x^{3}-1\right )^{\frac {2}{3}}}+\frac {\left (-\mathrm {signum}\left (x^{3}-1\right )\right )^{\frac {2}{3}} x^{2} \hypergeom \left (\left [\frac {2}{3}, \frac {2}{3}\right ], \left [\frac {5}{3}\right ], x^{3}\right )}{\mathrm {signum}\left (x^{3}-1\right )^{\frac {2}{3}}}\) | \(57\) |
meijerg | \(-\frac {2 \mathrm {signum}\left (x^{3}-1\right )^{\frac {1}{3}} \hypergeom \left (\left [-\frac {1}{3}, -\frac {1}{3}\right ], \left [\frac {2}{3}\right ], x^{3}\right )}{\left (-\mathrm {signum}\left (x^{3}-1\right )\right )^{\frac {1}{3}} x}+\frac {\mathrm {signum}\left (x^{3}-1\right )^{\frac {1}{3}} \left (-x^{3}+1\right )^{\frac {4}{3}}}{4 \left (-\mathrm {signum}\left (x^{3}-1\right )\right )^{\frac {1}{3}} x^{4}}\) | \(66\) |
trager | \(-\frac {\left (9 x^{3}-1\right ) \left (x^{3}-1\right )^{\frac {1}{3}}}{4 x^{4}}+\frac {2 \ln \left (2916347648 \RootOf \left (256 \textit {\_Z}^{2}-16 \textit {\_Z} +1\right )^{2} x^{3}+3103405824 \RootOf \left (256 \textit {\_Z}^{2}-16 \textit {\_Z} +1\right ) \left (x^{3}-1\right )^{\frac {2}{3}} x +3103405824 \RootOf \left (256 \textit {\_Z}^{2}-16 \textit {\_Z} +1\right ) \left (x^{3}-1\right )^{\frac {1}{3}} x^{2}+2921134096 \RootOf \left (256 \textit {\_Z}^{2}-16 \textit {\_Z} +1\right ) x^{3}-1508552373 x \left (x^{3}-1\right )^{\frac {2}{3}}-1508552373 x^{2} \left (x^{3}-1\right )^{\frac {1}{3}}-1497160390 x^{3}-23330781184 \RootOf \left (256 \textit {\_Z}^{2}-16 \textit {\_Z} +1\right )^{2}+7434849264 \RootOf \left (256 \textit {\_Z}^{2}-16 \textit {\_Z} +1\right )+476369215\right )}{3}-\frac {32 \ln \left (2916347648 \RootOf \left (256 \textit {\_Z}^{2}-16 \textit {\_Z} +1\right )^{2} x^{3}+3103405824 \RootOf \left (256 \textit {\_Z}^{2}-16 \textit {\_Z} +1\right ) \left (x^{3}-1\right )^{\frac {2}{3}} x +3103405824 \RootOf \left (256 \textit {\_Z}^{2}-16 \textit {\_Z} +1\right ) \left (x^{3}-1\right )^{\frac {1}{3}} x^{2}+2921134096 \RootOf \left (256 \textit {\_Z}^{2}-16 \textit {\_Z} +1\right ) x^{3}-1508552373 x \left (x^{3}-1\right )^{\frac {2}{3}}-1508552373 x^{2} \left (x^{3}-1\right )^{\frac {1}{3}}-1497160390 x^{3}-23330781184 \RootOf \left (256 \textit {\_Z}^{2}-16 \textit {\_Z} +1\right )^{2}+7434849264 \RootOf \left (256 \textit {\_Z}^{2}-16 \textit {\_Z} +1\right )+476369215\right ) \RootOf \left (256 \textit {\_Z}^{2}-16 \textit {\_Z} +1\right )}{3}+\frac {32 \RootOf \left (256 \textit {\_Z}^{2}-16 \textit {\_Z} +1\right ) \ln \left (2916347648 \RootOf \left (256 \textit {\_Z}^{2}-16 \textit {\_Z} +1\right )^{2} x^{3}-3103405824 \RootOf \left (256 \textit {\_Z}^{2}-16 \textit {\_Z} +1\right ) \left (x^{3}-1\right )^{\frac {2}{3}} x -3103405824 \RootOf \left (256 \textit {\_Z}^{2}-16 \textit {\_Z} +1\right ) \left (x^{3}-1\right )^{\frac {1}{3}} x^{2}-3285677552 \RootOf \left (256 \textit {\_Z}^{2}-16 \textit {\_Z} +1\right ) x^{3}-1314589509 x \left (x^{3}-1\right )^{\frac {2}{3}}-1314589509 x^{2} \left (x^{3}-1\right )^{\frac {1}{3}}-1303197526 x^{3}-23330781184 \RootOf \left (256 \textit {\_Z}^{2}-16 \textit {\_Z} +1\right )^{2}-4518501616 \RootOf \left (256 \textit {\_Z}^{2}-16 \textit {\_Z} +1\right )+849911430\right )}{3}\) | \(457\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.44, size = 93, normalized size = 0.92 \begin {gather*} \frac {2}{3} \, \sqrt {3} \arctan \left (\frac {1}{3} \, \sqrt {3} {\left (\frac {2 \, {\left (x^{3} - 1\right )}^{\frac {1}{3}}}{x} + 1\right )}\right ) - \frac {2 \, {\left (x^{3} - 1\right )}^{\frac {1}{3}}}{x} - \frac {{\left (x^{3} - 1\right )}^{\frac {4}{3}}}{4 \, x^{4}} + \frac {1}{3} \, \log \left (\frac {{\left (x^{3} - 1\right )}^{\frac {1}{3}}}{x} + \frac {{\left (x^{3} - 1\right )}^{\frac {2}{3}}}{x^{2}} + 1\right ) - \frac {2}{3} \, \log \left (\frac {{\left (x^{3} - 1\right )}^{\frac {1}{3}}}{x} - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.12, size = 55, normalized size = 0.54 \begin {gather*} \frac {{\left (x^3-1\right )}^{1/3}-x^3\,{\left (x^3-1\right )}^{1/3}}{4\,x^4}-\frac {2\,{\left (x^3-1\right )}^{1/3}\,{{}}_2{\mathrm {F}}_1\left (-\frac {1}{3},-\frac {1}{3};\ \frac {2}{3};\ x^3\right )}{x\,{\left (1-x^3\right )}^{1/3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 2.35, size = 167, normalized size = 1.65 \begin {gather*} - \begin {cases} \frac {\sqrt [3]{-1 + \frac {1}{x^{3}}} e^{- \frac {2 i \pi }{3}} \Gamma \left (- \frac {4}{3}\right )}{3 \Gamma \left (- \frac {1}{3}\right )} - \frac {\sqrt [3]{-1 + \frac {1}{x^{3}}} e^{- \frac {2 i \pi }{3}} \Gamma \left (- \frac {4}{3}\right )}{3 x^{3} \Gamma \left (- \frac {1}{3}\right )} & \text {for}\: \frac {1}{\left |{x^{3}}\right |} > 1 \\- \frac {\sqrt [3]{1 - \frac {1}{x^{3}}} \Gamma \left (- \frac {4}{3}\right )}{3 \Gamma \left (- \frac {1}{3}\right )} + \frac {\sqrt [3]{1 - \frac {1}{x^{3}}} \Gamma \left (- \frac {4}{3}\right )}{3 x^{3} \Gamma \left (- \frac {1}{3}\right )} & \text {otherwise} \end {cases} + \frac {2 e^{\frac {i \pi }{3}} \Gamma \left (- \frac {1}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{3}, - \frac {1}{3} \\ \frac {2}{3} \end {matrix}\middle | {x^{3}} \right )}}{3 x \Gamma \left (\frac {2}{3}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________