Optimal. Leaf size=168 \[ -\frac {x^2 F_1\left (\frac {2}{3};1,\frac {1}{3};\frac {5}{3};x^3,-\frac {x^3}{2}\right )}{2 \sqrt [3]{2}}+\frac {2 \tan ^{-1}\left (\frac {1+\frac {2 \sqrt [3]{3} x}{\sqrt [3]{2+x^3}}}{\sqrt {3}}\right )}{3^{5/6}}+\frac {\tan ^{-1}\left (\frac {\sqrt [3]{3}+2 \sqrt [3]{2+x^3}}{3^{5/6}}\right )}{3^{5/6}}+\frac {\log \left (1-x^3\right )}{6 \sqrt [3]{3}}+\frac {\log \left (\sqrt [3]{3}-\sqrt [3]{2+x^3}\right )}{2 \sqrt [3]{3}}-\frac {\log \left (\sqrt [3]{3} x-\sqrt [3]{2+x^3}\right )}{\sqrt [3]{3}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.10, antiderivative size = 168, normalized size of antiderivative = 1.00, number of steps
used = 9, number of rules used = 8, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.381, Rules used = {2183, 384, 524,
455, 57, 631, 210, 31} \begin {gather*} -\frac {x^2 F_1\left (\frac {2}{3};1,\frac {1}{3};\frac {5}{3};x^3,-\frac {x^3}{2}\right )}{2 \sqrt [3]{2}}+\frac {2 \text {ArcTan}\left (\frac {\frac {2 \sqrt [3]{3} x}{\sqrt [3]{x^3+2}}+1}{\sqrt {3}}\right )}{3^{5/6}}+\frac {\text {ArcTan}\left (\frac {2 \sqrt [3]{x^3+2}+\sqrt [3]{3}}{3^{5/6}}\right )}{3^{5/6}}+\frac {\log \left (1-x^3\right )}{6 \sqrt [3]{3}}+\frac {\log \left (\sqrt [3]{3}-\sqrt [3]{x^3+2}\right )}{2 \sqrt [3]{3}}-\frac {\log \left (\sqrt [3]{3} x-\sqrt [3]{x^3+2}\right )}{\sqrt [3]{3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 57
Rule 210
Rule 384
Rule 455
Rule 524
Rule 631
Rule 2183
Rubi steps
\begin {align*} \int \frac {2+x}{\left (1+x+x^2\right ) \sqrt [3]{2+x^3}} \, dx &=\int \left (\frac {1-i \sqrt {3}}{\left (1-i \sqrt {3}+2 x\right ) \sqrt [3]{2+x^3}}+\frac {1+i \sqrt {3}}{\left (1+i \sqrt {3}+2 x\right ) \sqrt [3]{2+x^3}}\right ) \, dx\\ &=\left (1-i \sqrt {3}\right ) \int \frac {1}{\left (1-i \sqrt {3}+2 x\right ) \sqrt [3]{2+x^3}} \, dx+\left (1+i \sqrt {3}\right ) \int \frac {1}{\left (1+i \sqrt {3}+2 x\right ) \sqrt [3]{2+x^3}} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [F]
time = 10.10, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {2+x}{\left (1+x+x^2\right ) \sqrt [3]{2+x^3}} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.08, size = 0, normalized size = 0.00 \[\int \frac {2+x}{\left (x^{2}+x +1\right ) \left (x^{3}+2\right )^{\frac {1}{3}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x + 2}{\sqrt [3]{x^{3} + 2} \left (x^{2} + x + 1\right )}\, dx \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*} \text {could not integrate} \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 {x+2}{{\left (x^3+2\right )}^{1/3}\,\left (x^2+x+1\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________