Optimal. Leaf size=177 \[ \frac {\log \left (3 \sqrt [3]{x^2-x+1}+\sqrt [3]{3} x-2 \sqrt [3]{3}\right )}{3 \sqrt [3]{3}}-\frac {\log \left (3^{2/3} x^2+9 \left (x^2-x+1\right )^{2/3}+\left (6 \sqrt [3]{3}-3 \sqrt [3]{3} x\right ) \sqrt [3]{x^2-x+1}-4\ 3^{2/3} x+4\ 3^{2/3}\right )}{6 \sqrt [3]{3}}-\frac {\tan ^{-1}\left (\frac {\frac {\sqrt [3]{x^2-x+1}}{\sqrt {3}}-\frac {2 x}{3 \sqrt [6]{3}}+\frac {4}{3 \sqrt [6]{3}}}{\sqrt [3]{x^2-x+1}}\right )}{3^{5/6}} \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 88, normalized size of antiderivative = 0.50, number of steps used = 1, number of rules used = 1, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {750} \begin {gather*} \frac {\log \left (-3^{2/3} \sqrt [3]{x^2-x+1}-x+2\right )}{2 \sqrt [3]{3}}-\frac {\tan ^{-1}\left (\frac {2 (2-x)}{3 \sqrt [6]{3} \sqrt [3]{x^2-x+1}}+\frac {1}{\sqrt {3}}\right )}{3^{5/6}}-\frac {\log (x+1)}{2 \sqrt [3]{3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 750
Rubi steps
\begin {align*} \int \frac {1}{(1+x) \sqrt [3]{1-x+x^2}} \, dx &=-\frac {\tan ^{-1}\left (\frac {1}{\sqrt {3}}+\frac {2 (2-x)}{3 \sqrt [6]{3} \sqrt [3]{1-x+x^2}}\right )}{3^{5/6}}-\frac {\log (1+x)}{2 \sqrt [3]{3}}+\frac {\log \left (2-x-3^{2/3} \sqrt [3]{1-x+x^2}\right )}{2 \sqrt [3]{3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.06, size = 120, normalized size = 0.68 \begin {gather*} -\frac {3 \sqrt [3]{\frac {2 x-i \sqrt {3}-1}{x+1}} \sqrt [3]{\frac {2 x+i \sqrt {3}-1}{x+1}} F_1\left (\frac {2}{3};\frac {1}{3},\frac {1}{3};\frac {5}{3};\frac {3-i \sqrt {3}}{2 x+2},\frac {3+i \sqrt {3}}{2 x+2}\right )}{2\ 2^{2/3} \sqrt [3]{x^2-x+1}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.21, size = 177, normalized size = 1.00 \begin {gather*} -\frac {\tan ^{-1}\left (\frac {\frac {4}{3 \sqrt [6]{3}}-\frac {2 x}{3 \sqrt [6]{3}}+\frac {\sqrt [3]{1-x+x^2}}{\sqrt {3}}}{\sqrt [3]{1-x+x^2}}\right )}{3^{5/6}}+\frac {\log \left (-2 \sqrt [3]{3}+\sqrt [3]{3} x+3 \sqrt [3]{1-x+x^2}\right )}{3 \sqrt [3]{3}}-\frac {\log \left (4\ 3^{2/3}-4\ 3^{2/3} x+3^{2/3} x^2+\left (6 \sqrt [3]{3}-3 \sqrt [3]{3} x\right ) \sqrt [3]{1-x+x^2}+9 \left (1-x+x^2\right )^{2/3}\right )}{6 \sqrt [3]{3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 2.31, size = 175, normalized size = 0.99 \begin {gather*} -\frac {1}{18} \cdot 3^{\frac {2}{3}} \log \left (\frac {3 \cdot 3^{\frac {2}{3}} {\left (x^{2} - x + 1\right )}^{\frac {2}{3}} + 3^{\frac {1}{3}} {\left (x^{2} - 4 \, x + 4\right )} - 3 \, {\left (x^{2} - x + 1\right )}^{\frac {1}{3}} {\left (x - 2\right )}}{x^{2} + 2 \, x + 1}\right ) + \frac {1}{9} \cdot 3^{\frac {2}{3}} \log \left (\frac {3^{\frac {1}{3}} {\left (x - 2\right )} + 3 \, {\left (x^{2} - x + 1\right )}^{\frac {1}{3}}}{x + 1}\right ) - \frac {1}{3} \cdot 3^{\frac {1}{6}} \arctan \left (\frac {3^{\frac {1}{6}} {\left (6 \cdot 3^{\frac {2}{3}} {\left (x^{2} - x + 1\right )}^{\frac {2}{3}} {\left (x - 2\right )} + 3^{\frac {1}{3}} {\left (x^{3} + 3 \, x^{2} + 3 \, x + 1\right )} + 6 \, {\left (x^{2} - x + 1\right )}^{\frac {1}{3}} {\left (x^{2} - 4 \, x + 4\right )}\right )}}{3 \, {\left (x^{3} - 15 \, x^{2} + 21 \, x - 17\right )}}\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 \frac {1}{{\left (x^{2} - x + 1\right )}^{\frac {1}{3}} {\left (x + 1\right )}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 14.08, size = 1416, normalized size = 8.00
method | result | size |
trager | \(\text {Expression too large to display}\) | \(1416\) |
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*} \int \frac {1}{{\left (x^{2} - x + 1\right )}^{\frac {1}{3}} {\left (x + 1\right )}}\,{d x} \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 {1}{\left (x+1\right )\,{\left (x^2-x+1\right )}^{1/3}} \,d x \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 {1}{\left (x + 1\right ) \sqrt [3]{x^{2} - x + 1}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________