Optimal. Leaf size=105 \[ -\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 {1}{6} \log \left (\sqrt [3]{x^3+1} x+\left (x^3+1\right )^{2/3}+x^2\right )+\frac {\left (x^3+1\right )^{2/3} \left (-17 x^6-2 x^3+5\right )}{20 x^8} \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 94, normalized size of antiderivative = 0.90, number of steps used = 7, number of rules used = 5, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.238, Rules used = {1488, 271, 264, 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 )^{5/3}}{4 x^8}-\frac {7 \left (x^3+1\right )^{5/3}}{20 x^5}-\frac {\left (x^3+1\right )^{2/3}}{2 x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 239
Rule 264
Rule 271
Rule 277
Rule 1488
Rubi steps
\begin {align*} \int \frac {\left (1+x^3\right )^{2/3} \left (-2+x^3+x^6\right )}{x^9} \, dx &=\int \left (-\frac {2 \left (1+x^3\right )^{2/3}}{x^9}+\frac {\left (1+x^3\right )^{2/3}}{x^6}+\frac {\left (1+x^3\right )^{2/3}}{x^3}\right ) \, dx\\ &=-\left (2 \int \frac {\left (1+x^3\right )^{2/3}}{x^9} \, dx\right )+\int \frac {\left (1+x^3\right )^{2/3}}{x^6} \, dx+\int \frac {\left (1+x^3\right )^{2/3}}{x^3} \, dx\\ &=-\frac {\left (1+x^3\right )^{2/3}}{2 x^2}+\frac {\left (1+x^3\right )^{5/3}}{4 x^8}-\frac {\left (1+x^3\right )^{5/3}}{5 x^5}+\frac {3}{4} \int \frac {\left (1+x^3\right )^{2/3}}{x^6} \, dx+\int \frac {1}{\sqrt [3]{1+x^3}} \, dx\\ &=-\frac {\left (1+x^3\right )^{2/3}}{2 x^2}+\frac {\left (1+x^3\right )^{5/3}}{4 x^8}-\frac {7 \left (1+x^3\right )^{5/3}}{20 x^5}+\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.02, size = 50, normalized size = 0.48 \begin {gather*} \frac {\left (x^3+1\right )^{2/3} \left (-7 x^6-2 x^3+5\right )-10 x^6 \, _2F_1\left (-\frac {2}{3},-\frac {2}{3};\frac {1}{3};-x^3\right )}{20 x^8} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.18, size = 105, 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 {1}{6} \log \left (\sqrt [3]{x^3+1} x+\left (x^3+1\right )^{2/3}+x^2\right )+\frac {\left (x^3+1\right )^{2/3} \left (-17 x^6-2 x^3+5\right )}{20 x^8} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.73, size = 117, normalized size = 1.11 \begin {gather*} \frac {20 \, \sqrt {3} x^{8} \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 ) - 10 \, x^{8} \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 (17 \, x^{6} + 2 \, x^{3} - 5\right )} {\left (x^{3} + 1\right )}^{\frac {2}{3}}}{60 \, x^{8}} \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^{6} + x^{3} - 2\right )} {\left (x^{3} + 1\right )}^{\frac {2}{3}}}{x^{9}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.26, size = 44, normalized size = 0.42 \begin {gather*} -\frac {17 x^{9}+19 x^{6}-3 x^{3}-5}{20 x^{8} \left (x^{3}+1\right )^{\frac {1}{3}}}+x \hypergeom \left (\left [\frac {1}{3}, \frac {1}{3}\right ], \left [\frac {4}{3}\right ], -x^{3}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.41, size = 105, normalized size = 1.00 \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 {3 \, {\left (x^{3} + 1\right )}^{\frac {5}{3}}}{5 \, x^{5}} + \frac {{\left (x^{3} + 1\right )}^{\frac {8}{3}}}{4 \, x^{8}} + \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}\,\left (x^6+x^3-2\right )}{x^9} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 3.22, size = 175, normalized size = 1.67 \begin {gather*} \frac {\left (1 + \frac {1}{x^{3}}\right )^{\frac {2}{3}} \Gamma \left (- \frac {5}{3}\right )}{3 \Gamma \left (- \frac {2}{3}\right )} - \frac {2 \left (x^{3} + 1\right )^{\frac {2}{3}} \Gamma \left (- \frac {8}{3}\right )}{3 x^{2} \Gamma \left (- \frac {2}{3}\right )} + \frac {\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} e^{i \pi }} \right )}}{3 x^{2} \Gamma \left (\frac {1}{3}\right )} + \frac {\left (1 + \frac {1}{x^{3}}\right )^{\frac {2}{3}} \Gamma \left (- \frac {5}{3}\right )}{3 x^{3} \Gamma \left (- \frac {2}{3}\right )} + \frac {4 \left (x^{3} + 1\right )^{\frac {2}{3}} \Gamma \left (- \frac {8}{3}\right )}{9 x^{5} \Gamma \left (- \frac {2}{3}\right )} + \frac {10 \left (x^{3} + 1\right )^{\frac {2}{3}} \Gamma \left (- \frac {8}{3}\right )}{9 x^{8} \Gamma \left (- \frac {2}{3}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________