Optimal. Leaf size=145 \[ \frac {\log \left (2^{2/3} \sqrt [3]{x^6+2 x^3+2 x+1}-2 x\right )}{\sqrt [3]{2}}-\frac {\sqrt {3} \tan ^{-1}\left (\frac {\sqrt {3} x}{2^{2/3} \sqrt [3]{x^6+2 x^3+2 x+1}+x}\right )}{\sqrt [3]{2}}-\frac {\log \left (2 x^2+2^{2/3} \sqrt [3]{x^6+2 x^3+2 x+1} x+\sqrt [3]{2} \left (x^6+2 x^3+2 x+1\right )^{2/3}\right )}{2 \sqrt [3]{2}} \]
________________________________________________________________________________________
Rubi [F] time = 1.94, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} \int \frac {-3-4 x+3 x^6}{\left (1+2 x+x^6\right ) \sqrt [3]{1+2 x+2 x^3+x^6}} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {-3-4 x+3 x^6}{\left (1+2 x+x^6\right ) \sqrt [3]{1+2 x+2 x^3+x^6}} \, dx &=\int \left (\frac {3}{\sqrt [3]{1+2 x+2 x^3+x^6}}-\frac {2 (3+5 x)}{\left (1+2 x+x^6\right ) \sqrt [3]{1+2 x+2 x^3+x^6}}\right ) \, dx\\ &=-\left (2 \int \frac {3+5 x}{\left (1+2 x+x^6\right ) \sqrt [3]{1+2 x+2 x^3+x^6}} \, dx\right )+3 \int \frac {1}{\sqrt [3]{1+2 x+2 x^3+x^6}} \, dx\\ &=-\left (2 \int \left (\frac {1}{2 (1+x) \sqrt [3]{1+2 x+2 x^3+x^6}}+\frac {5+4 x-3 x^2+2 x^3-x^4}{2 \left (1+x-x^2+x^3-x^4+x^5\right ) \sqrt [3]{1+2 x+2 x^3+x^6}}\right ) \, dx\right )+3 \int \frac {1}{\sqrt [3]{1+2 x+2 x^3+x^6}} \, dx\\ &=3 \int \frac {1}{\sqrt [3]{1+2 x+2 x^3+x^6}} \, dx-\int \frac {1}{(1+x) \sqrt [3]{1+2 x+2 x^3+x^6}} \, dx-\int \frac {5+4 x-3 x^2+2 x^3-x^4}{\left (1+x-x^2+x^3-x^4+x^5\right ) \sqrt [3]{1+2 x+2 x^3+x^6}} \, dx\\ &=3 \int \frac {1}{\sqrt [3]{1+2 x+2 x^3+x^6}} \, dx-\int \frac {1}{(1+x) \sqrt [3]{1+2 x+2 x^3+x^6}} \, dx-\int \left (\frac {5}{\left (1+x-x^2+x^3-x^4+x^5\right ) \sqrt [3]{1+2 x+2 x^3+x^6}}+\frac {4 x}{\left (1+x-x^2+x^3-x^4+x^5\right ) \sqrt [3]{1+2 x+2 x^3+x^6}}-\frac {3 x^2}{\left (1+x-x^2+x^3-x^4+x^5\right ) \sqrt [3]{1+2 x+2 x^3+x^6}}+\frac {2 x^3}{\left (1+x-x^2+x^3-x^4+x^5\right ) \sqrt [3]{1+2 x+2 x^3+x^6}}-\frac {x^4}{\left (1+x-x^2+x^3-x^4+x^5\right ) \sqrt [3]{1+2 x+2 x^3+x^6}}\right ) \, dx\\ &=-\left (2 \int \frac {x^3}{\left (1+x-x^2+x^3-x^4+x^5\right ) \sqrt [3]{1+2 x+2 x^3+x^6}} \, dx\right )+3 \int \frac {1}{\sqrt [3]{1+2 x+2 x^3+x^6}} \, dx+3 \int \frac {x^2}{\left (1+x-x^2+x^3-x^4+x^5\right ) \sqrt [3]{1+2 x+2 x^3+x^6}} \, dx-4 \int \frac {x}{\left (1+x-x^2+x^3-x^4+x^5\right ) \sqrt [3]{1+2 x+2 x^3+x^6}} \, dx-5 \int \frac {1}{\left (1+x-x^2+x^3-x^4+x^5\right ) \sqrt [3]{1+2 x+2 x^3+x^6}} \, dx-\int \frac {1}{(1+x) \sqrt [3]{1+2 x+2 x^3+x^6}} \, dx+\int \frac {x^4}{\left (1+x-x^2+x^3-x^4+x^5\right ) \sqrt [3]{1+2 x+2 x^3+x^6}} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [F] time = 0.43, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {-3-4 x+3 x^6}{\left (1+2 x+x^6\right ) \sqrt [3]{1+2 x+2 x^3+x^6}} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.55, size = 145, normalized size = 1.00 \begin {gather*} \frac {\log \left (2^{2/3} \sqrt [3]{x^6+2 x^3+2 x+1}-2 x\right )}{\sqrt [3]{2}}-\frac {\sqrt {3} \tan ^{-1}\left (\frac {\sqrt {3} x}{2^{2/3} \sqrt [3]{x^6+2 x^3+2 x+1}+x}\right )}{\sqrt [3]{2}}-\frac {\log \left (2 x^2+2^{2/3} \sqrt [3]{x^6+2 x^3+2 x+1} x+\sqrt [3]{2} \left (x^6+2 x^3+2 x+1\right )^{2/3}\right )}{2 \sqrt [3]{2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 43.55, size = 478, normalized size = 3.30 \begin {gather*} -\frac {1}{6} \, \sqrt {3} 2^{\frac {2}{3}} \arctan \left (\frac {\sqrt {3} 2^{\frac {1}{6}} {\left (2^{\frac {5}{6}} {\left (x^{18} + 36 \, x^{15} + 6 \, x^{13} + 183 \, x^{12} + 144 \, x^{10} + 288 \, x^{9} + 12 \, x^{8} + 372 \, x^{7} + 183 \, x^{6} + 144 \, x^{5} + 144 \, x^{4} + 44 \, x^{3} + 12 \, x^{2} + 6 \, x + 1\right )} + 12 \, \sqrt {2} {\left (x^{14} + 18 \, x^{11} + 4 \, x^{9} + 38 \, x^{8} + 36 \, x^{6} + 18 \, x^{5} + 4 \, x^{4} + 4 \, x^{3} + x^{2}\right )} {\left (x^{6} + 2 \, x^{3} + 2 \, x + 1\right )}^{\frac {1}{3}} + 12 \cdot 2^{\frac {1}{6}} {\left (x^{13} + 6 \, x^{10} + 4 \, x^{8} + 2 \, x^{7} + 12 \, x^{5} + 6 \, x^{4} + 4 \, x^{3} + 4 \, x^{2} + x\right )} {\left (x^{6} + 2 \, x^{3} + 2 \, x + 1\right )}^{\frac {2}{3}}\right )}}{6 \, {\left (x^{18} + 6 \, x^{13} - 105 \, x^{12} - 216 \, x^{9} + 12 \, x^{8} - 204 \, x^{7} - 105 \, x^{6} + 8 \, x^{3} + 12 \, x^{2} + 6 \, x + 1\right )}}\right ) + \frac {1}{6} \cdot 2^{\frac {2}{3}} \log \left (\frac {6 \cdot 2^{\frac {1}{3}} {\left (x^{6} + 2 \, x^{3} + 2 \, x + 1\right )}^{\frac {1}{3}} x^{2} + 2^{\frac {2}{3}} {\left (x^{6} + 2 \, x + 1\right )} - 6 \, {\left (x^{6} + 2 \, x^{3} + 2 \, x + 1\right )}^{\frac {2}{3}} x}{x^{6} + 2 \, x + 1}\right ) - \frac {1}{12} \cdot 2^{\frac {2}{3}} \log \left (\frac {3 \cdot 2^{\frac {2}{3}} {\left (x^{7} + 6 \, x^{4} + 2 \, x^{2} + x\right )} {\left (x^{6} + 2 \, x^{3} + 2 \, x + 1\right )}^{\frac {2}{3}} + 2^{\frac {1}{3}} {\left (x^{12} + 18 \, x^{9} + 4 \, x^{7} + 38 \, x^{6} + 36 \, x^{4} + 18 \, x^{3} + 4 \, x^{2} + 4 \, x + 1\right )} + 12 \, {\left (x^{8} + 3 \, x^{5} + 2 \, x^{3} + x^{2}\right )} {\left (x^{6} + 2 \, x^{3} + 2 \, x + 1\right )}^{\frac {1}{3}}}{x^{12} + 4 \, x^{7} + 2 \, x^{6} + 4 \, x^{2} + 4 \, x + 1}\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 {3 \, x^{6} - 4 \, x - 3}{{\left (x^{6} + 2 \, x^{3} + 2 \, x + 1\right )}^{\frac {1}{3}} {\left (x^{6} + 2 \, x + 1\right )}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 31.12, size = 1188, normalized size = 8.19
result too large to display
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 {3 \, x^{6} - 4 \, x - 3}{{\left (x^{6} + 2 \, x^{3} + 2 \, x + 1\right )}^{\frac {1}{3}} {\left (x^{6} + 2 \, 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 {-3\,x^6+4\,x+3}{\left (x^6+2\,x+1\right )\,{\left (x^6+2\,x^3+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 {3 x^{6} - 4 x - 3}{\sqrt [3]{\left (x^{2} + 1\right ) \left (x^{4} - x^{2} + 2 x + 1\right )} \left (x + 1\right ) \left (x^{5} - x^{4} + x^{3} - x^{2} + x + 1\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________