Optimal. Leaf size=93 \[ -\frac {1}{3} \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 )}{\sqrt {3}}-\frac {\left (x^3-1\right )^{2/3}}{2 x^2}+\frac {1}{6} \log \left (\sqrt [3]{x^3-1} x+\left (x^3-1\right )^{2/3}+x^2\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 62, normalized size of antiderivative = 0.67, number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {277, 239} \begin {gather*} -\frac {1}{2} \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 )}{\sqrt {3}}-\frac {\left (x^3-1\right )^{2/3}}{2 x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 239
Rule 277
Rubi steps
\begin {align*} \int \frac {\left (-1+x^3\right )^{2/3}}{x^3} \, dx &=-\frac {\left (-1+x^3\right )^{2/3}}{2 x^2}+\int \frac {1}{\sqrt [3]{-1+x^3}} \, dx\\ &=-\frac {\left (-1+x^3\right )^{2/3}}{2 x^2}+\frac {\tan ^{-1}\left (\frac {1+\frac {2 x}{\sqrt [3]{-1+x^3}}}{\sqrt {3}}\right )}{\sqrt {3}}-\frac {1}{2} \log \left (-x+\sqrt [3]{-1+x^3}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.01, size = 40, normalized size = 0.43 \begin {gather*} -\frac {\left (x^3-1\right )^{2/3} \, _2F_1\left (-\frac {2}{3},-\frac {2}{3};\frac {1}{3};x^3\right )}{2 x^2 \left (1-x^3\right )^{2/3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.15, size = 93, normalized size = 1.00 \begin {gather*} -\frac {1}{3} \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 )}{\sqrt {3}}-\frac {\left (x^3-1\right )^{2/3}}{2 x^2}+\frac {1}{6} \log \left (\sqrt [3]{x^3-1} x+\left (x^3-1\right )^{2/3}+x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.75, size = 105, normalized size = 1.13 \begin {gather*} \frac {2 \, \sqrt {3} x^{2} \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 ) - x^{2} \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 (x^{3} - 1\right )}^{\frac {2}{3}}}{6 \, x^{2}} \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 (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 = 0.35, size = 43, normalized size = 0.46 \begin {gather*} -\frac {\left (x^{3}-1\right )^{\frac {2}{3}}}{2 x^{2}}+\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 )}{\mathrm {signum}\left (x^{3}-1\right )^{\frac {1}{3}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.57, size = 81, normalized size = 0.87 \begin {gather*} -\frac {1}{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 {{\left (x^{3} - 1\right )}^{\frac {2}{3}}}{2 \, x^{2}} + \frac {1}{6} \, \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}{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 [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (x^3-1\right )}^{2/3}}{x^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 0.91, size = 37, normalized size = 0.40 \begin {gather*} \frac {e^{\frac {2 i \pi }{3}} \Gamma \left (- \frac {2}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {2}{3}, - \frac {2}{3} \\ \frac {1}{3} \end {matrix}\middle | {x^{3}} \right )}}{3 x^{2} \Gamma \left (\frac {1}{3}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________