Optimal. Leaf size=102 \[ \frac {1}{27} \log \left (\sqrt [3]{x^3-1}-x\right )-\frac {\tan ^{-1}\left (\frac {\sqrt {3} x}{2 \sqrt [3]{x^3-1}+x}\right )}{9 \sqrt {3}}+\frac {1}{18} \left (x^3-1\right )^{2/3} \left (3 x^4-2 x\right )-\frac {1}{54} \log \left (\sqrt [3]{x^3-1} x+\left (x^3-1\right )^{2/3}+x^2\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 79, normalized size of antiderivative = 0.77, number of steps used = 3, number of rules used = 3, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {279, 321, 239} \begin {gather*} -\frac {1}{9} \left (x^3-1\right )^{2/3} x+\frac {1}{18} \log \left (\sqrt [3]{x^3-1}-x\right )-\frac {\tan ^{-1}\left (\frac {\frac {2 x}{\sqrt [3]{x^3-1}}+1}{\sqrt {3}}\right )}{9 \sqrt {3}}+\frac {1}{6} \left (x^3-1\right )^{2/3} x^4 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 239
Rule 279
Rule 321
Rubi steps
\begin {align*} \int x^3 \left (-1+x^3\right )^{2/3} \, dx &=\frac {1}{6} x^4 \left (-1+x^3\right )^{2/3}-\frac {1}{3} \int \frac {x^3}{\sqrt [3]{-1+x^3}} \, dx\\ &=-\frac {1}{9} x \left (-1+x^3\right )^{2/3}+\frac {1}{6} x^4 \left (-1+x^3\right )^{2/3}-\frac {1}{9} \int \frac {1}{\sqrt [3]{-1+x^3}} \, dx\\ &=-\frac {1}{9} x \left (-1+x^3\right )^{2/3}+\frac {1}{6} x^4 \left (-1+x^3\right )^{2/3}-\frac {\tan ^{-1}\left (\frac {1+\frac {2 x}{\sqrt [3]{-1+x^3}}}{\sqrt {3}}\right )}{9 \sqrt {3}}+\frac {1}{18} \log \left (-x+\sqrt [3]{-1+x^3}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.02, size = 44, normalized size = 0.43 \begin {gather*} \frac {1}{6} x \left (x^3-1\right )^{2/3} \left (\frac {\, _2F_1\left (-\frac {2}{3},\frac {1}{3};\frac {4}{3};x^3\right )}{\left (1-x^3\right )^{2/3}}+x^3-1\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.20, size = 102, normalized size = 1.00 \begin {gather*} \frac {1}{18} \left (-1+x^3\right )^{2/3} \left (-2 x+3 x^4\right )-\frac {\tan ^{-1}\left (\frac {\sqrt {3} x}{x+2 \sqrt [3]{-1+x^3}}\right )}{9 \sqrt {3}}+\frac {1}{27} \log \left (-x+\sqrt [3]{-1+x^3}\right )-\frac {1}{54} \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 = 94, normalized size = 0.92 \begin {gather*} \frac {1}{18} \, {\left (3 \, x^{4} - 2 \, x\right )} {\left (x^{3} - 1\right )}^{\frac {2}{3}} + \frac {1}{27} \, \sqrt {3} \arctan \left (\frac {\sqrt {3} x + 2 \, \sqrt {3} {\left (x^{3} - 1\right )}^{\frac {1}{3}}}{3 \, x}\right ) + \frac {1}{27} \, \log \left (-\frac {x - {\left (x^{3} - 1\right )}^{\frac {1}{3}}}{x}\right ) - \frac {1}{54} \, \log \left (\frac {x^{2} + {\left (x^{3} - 1\right )}^{\frac {1}{3}} x + {\left (x^{3} - 1\right )}^{\frac {2}{3}}}{x^{2}}\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 {\left (x^{3} - 1\right )}^{\frac {2}{3}} x^{3}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 1.78, size = 33, normalized size = 0.32
method | result | size |
meijerg | \(\frac {\mathrm {signum}\left (x^{3}-1\right )^{\frac {2}{3}} x^{4} \hypergeom \left (\left [-\frac {2}{3}, \frac {4}{3}\right ], \left [\frac {7}{3}\right ], x^{3}\right )}{4 \left (-\mathrm {signum}\left (x^{3}-1\right )\right )^{\frac {2}{3}}}\) | \(33\) |
risch | \(\frac {x \left (3 x^{3}-2\right ) \left (x^{3}-1\right )^{\frac {2}{3}}}{18}-\frac {\left (-\mathrm {signum}\left (x^{3}-1\right )\right )^{\frac {1}{3}} x \hypergeom \left (\left [\frac {1}{3}, \frac {1}{3}\right ], \left [\frac {4}{3}\right ], x^{3}\right )}{9 \mathrm {signum}\left (x^{3}-1\right )^{\frac {1}{3}}}\) | \(49\) |
trager | \(\frac {x \left (3 x^{3}-2\right ) \left (x^{3}-1\right )^{\frac {2}{3}}}{18}+\frac {\ln \left (-2 \RootOf \left (\textit {\_Z}^{2}+\textit {\_Z} +1\right )^{2} x^{3}+3 \RootOf \left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) \left (x^{3}-1\right )^{\frac {2}{3}} x -5 \RootOf \left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) x^{3}+3 x \left (x^{3}-1\right )^{\frac {2}{3}}-3 x^{2} \left (x^{3}-1\right )^{\frac {1}{3}}-2 x^{3}+2 \RootOf \left (\textit {\_Z}^{2}+\textit {\_Z} +1\right )+1\right )}{27}+\frac {\RootOf \left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) \ln \left (\RootOf \left (\textit {\_Z}^{2}+\textit {\_Z} +1\right )^{2} x^{3}-3 \RootOf \left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) \left (x^{3}-1\right )^{\frac {2}{3}} x +3 \RootOf \left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) \left (x^{3}-1\right )^{\frac {1}{3}} x^{2}+\RootOf \left (\textit {\_Z}^{2}+\textit {\_Z} +1\right ) x^{3}+3 x^{2} \left (x^{3}-1\right )^{\frac {1}{3}}-2 x^{3}+\RootOf \left (\textit {\_Z}^{2}+\textit {\_Z} +1\right )+2\right )}{27}\) | \(199\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.42, size = 121, normalized size = 1.19 \begin {gather*} \frac {1}{27} \, \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 {\frac {{\left (x^{3} - 1\right )}^{\frac {2}{3}}}{x^{2}} + \frac {2 \, {\left (x^{3} - 1\right )}^{\frac {5}{3}}}{x^{5}}}{18 \, {\left (\frac {2 \, {\left (x^{3} - 1\right )}}{x^{3}} - \frac {{\left (x^{3} - 1\right )}^{2}}{x^{6}} - 1\right )}} - \frac {1}{54} \, \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 {1}{27} \, \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 [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x^3\,{\left (x^3-1\right )}^{2/3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 1.03, size = 34, normalized size = 0.33 \begin {gather*} \frac {x^{4} e^{\frac {2 i \pi }{3}} \Gamma \left (\frac {4}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {2}{3}, \frac {4}{3} \\ \frac {7}{3} \end {matrix}\middle | {x^{3}} \right )}}{3 \Gamma \left (\frac {7}{3}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________