Optimal. Leaf size=154 \[ -\frac {\left (x^4+x^2\right )^{2/3}}{x \left (x^2+1\right )}+\frac {\tan ^{-1}\left (\frac {3^{2/3} x \sqrt [3]{x^4+x^2}}{\sqrt [3]{3} x^2-\left (x^4+x^2\right )^{2/3}}\right )}{3^{2/3}}-\frac {2 \tanh ^{-1}\left (\frac {\sqrt [6]{3} x}{\sqrt [3]{x^4+x^2}}\right )}{3 \sqrt [6]{3}}-\frac {\tanh ^{-1}\left (\frac {\sqrt [6]{3} x^2+\frac {\left (x^4+x^2\right )^{2/3}}{\sqrt [6]{3}}}{x \sqrt [3]{x^4+x^2}}\right )}{3 \sqrt [6]{3}} \]
________________________________________________________________________________________
Rubi [F] time = 2.21, 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 {-1+x^6}{\sqrt [3]{x^2+x^4} \left (1+x^6\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {-1+x^6}{\sqrt [3]{x^2+x^4} \left (1+x^6\right )} \, dx &=\frac {\left (x^{2/3} \sqrt [3]{1+x^2}\right ) \int \frac {-1+x^6}{x^{2/3} \sqrt [3]{1+x^2} \left (1+x^6\right )} \, dx}{\sqrt [3]{x^2+x^4}}\\ &=\frac {\left (3 x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \frac {-1+x^{18}}{\sqrt [3]{1+x^6} \left (1+x^{18}\right )} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2+x^4}}\\ &=\frac {\left (3 x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \left (\frac {1}{\sqrt [3]{1+x^6}}-\frac {2}{\sqrt [3]{1+x^6} \left (1+x^{18}\right )}\right ) \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2+x^4}}\\ &=\frac {\left (3 x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt [3]{1+x^6}} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2+x^4}}-\frac {\left (6 x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt [3]{1+x^6} \left (1+x^{18}\right )} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2+x^4}}\\ &=\frac {3 x \sqrt [3]{1+x^2} \, _2F_1\left (\frac {1}{6},\frac {1}{3};\frac {7}{6};-x^2\right )}{\sqrt [3]{x^2+x^4}}-\frac {\left (6 x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \left (\frac {1}{9 \left (1+x^2\right ) \sqrt [3]{1+x^6}}+\frac {2-x^2}{9 \left (1-x^2+x^4\right ) \sqrt [3]{1+x^6}}+\frac {2-x^6}{3 \sqrt [3]{1+x^6} \left (1-x^6+x^{12}\right )}\right ) \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2+x^4}}\\ &=\frac {3 x \sqrt [3]{1+x^2} \, _2F_1\left (\frac {1}{6},\frac {1}{3};\frac {7}{6};-x^2\right )}{\sqrt [3]{x^2+x^4}}-\frac {\left (2 x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (1+x^2\right ) \sqrt [3]{1+x^6}} \, dx,x,\sqrt [3]{x}\right )}{3 \sqrt [3]{x^2+x^4}}-\frac {\left (2 x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \frac {2-x^2}{\left (1-x^2+x^4\right ) \sqrt [3]{1+x^6}} \, dx,x,\sqrt [3]{x}\right )}{3 \sqrt [3]{x^2+x^4}}-\frac {\left (2 x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \frac {2-x^6}{\sqrt [3]{1+x^6} \left (1-x^6+x^{12}\right )} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2+x^4}}\\ &=\frac {3 x \sqrt [3]{1+x^2} \, _2F_1\left (\frac {1}{6},\frac {1}{3};\frac {7}{6};-x^2\right )}{\sqrt [3]{x^2+x^4}}-\frac {\left (2 x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \left (\frac {i}{2 (i-x) \sqrt [3]{1+x^6}}+\frac {i}{2 (i+x) \sqrt [3]{1+x^6}}\right ) \, dx,x,\sqrt [3]{x}\right )}{3 \sqrt [3]{x^2+x^4}}-\frac {\left (2 x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \left (\frac {-1-i \sqrt {3}}{\left (-1-i \sqrt {3}+2 x^2\right ) \sqrt [3]{1+x^6}}+\frac {-1+i \sqrt {3}}{\left (-1+i \sqrt {3}+2 x^2\right ) \sqrt [3]{1+x^6}}\right ) \, dx,x,\sqrt [3]{x}\right )}{3 \sqrt [3]{x^2+x^4}}-\frac {\left (2 x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \left (\frac {-1-i \sqrt {3}}{\sqrt [3]{1+x^6} \left (-1-i \sqrt {3}+2 x^6\right )}+\frac {-1+i \sqrt {3}}{\sqrt [3]{1+x^6} \left (-1+i \sqrt {3}+2 x^6\right )}\right ) \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2+x^4}}\\ &=\frac {3 x \sqrt [3]{1+x^2} \, _2F_1\left (\frac {1}{6},\frac {1}{3};\frac {7}{6};-x^2\right )}{\sqrt [3]{x^2+x^4}}-\frac {\left (i x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{(i-x) \sqrt [3]{1+x^6}} \, dx,x,\sqrt [3]{x}\right )}{3 \sqrt [3]{x^2+x^4}}-\frac {\left (i x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{(i+x) \sqrt [3]{1+x^6}} \, dx,x,\sqrt [3]{x}\right )}{3 \sqrt [3]{x^2+x^4}}-\frac {\left (2 \left (-1-i \sqrt {3}\right ) x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (-1-i \sqrt {3}+2 x^2\right ) \sqrt [3]{1+x^6}} \, dx,x,\sqrt [3]{x}\right )}{3 \sqrt [3]{x^2+x^4}}-\frac {\left (2 \left (-1-i \sqrt {3}\right ) x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt [3]{1+x^6} \left (-1-i \sqrt {3}+2 x^6\right )} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2+x^4}}-\frac {\left (2 \left (-1+i \sqrt {3}\right ) x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (-1+i \sqrt {3}+2 x^2\right ) \sqrt [3]{1+x^6}} \, dx,x,\sqrt [3]{x}\right )}{3 \sqrt [3]{x^2+x^4}}-\frac {\left (2 \left (-1+i \sqrt {3}\right ) x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt [3]{1+x^6} \left (-1+i \sqrt {3}+2 x^6\right )} \, dx,x,\sqrt [3]{x}\right )}{\sqrt [3]{x^2+x^4}}\\ &=-\frac {2 x \sqrt [3]{1+x^2} F_1\left (\frac {1}{6};\frac {1}{3},1;\frac {7}{6};-x^2,\frac {2 x^2}{1-i \sqrt {3}}\right )}{\sqrt [3]{x^2+x^4}}-\frac {2 x \sqrt [3]{1+x^2} F_1\left (\frac {1}{6};\frac {1}{3},1;\frac {7}{6};-x^2,\frac {2 x^2}{1+i \sqrt {3}}\right )}{\sqrt [3]{x^2+x^4}}+\frac {3 x \sqrt [3]{1+x^2} \, _2F_1\left (\frac {1}{6},\frac {1}{3};\frac {7}{6};-x^2\right )}{\sqrt [3]{x^2+x^4}}-\frac {\left (i x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{(i-x) \sqrt [3]{1+x^6}} \, dx,x,\sqrt [3]{x}\right )}{3 \sqrt [3]{x^2+x^4}}-\frac {\left (i x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{(i+x) \sqrt [3]{1+x^6}} \, dx,x,\sqrt [3]{x}\right )}{3 \sqrt [3]{x^2+x^4}}-\frac {\left (2 \left (-1-i \sqrt {3}\right ) x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \left (\frac {\sqrt {1+i \sqrt {3}}}{2 \left (-1-i \sqrt {3}\right ) \left (\sqrt {1+i \sqrt {3}}-\sqrt {2} x\right ) \sqrt [3]{1+x^6}}+\frac {\sqrt {1+i \sqrt {3}}}{2 \left (-1-i \sqrt {3}\right ) \left (\sqrt {1+i \sqrt {3}}+\sqrt {2} x\right ) \sqrt [3]{1+x^6}}\right ) \, dx,x,\sqrt [3]{x}\right )}{3 \sqrt [3]{x^2+x^4}}-\frac {\left (2 \left (-1+i \sqrt {3}\right ) x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \left (\frac {\sqrt {1-i \sqrt {3}}}{2 \left (-1+i \sqrt {3}\right ) \left (\sqrt {1-i \sqrt {3}}-\sqrt {2} x\right ) \sqrt [3]{1+x^6}}+\frac {\sqrt {1-i \sqrt {3}}}{2 \left (-1+i \sqrt {3}\right ) \left (\sqrt {1-i \sqrt {3}}+\sqrt {2} x\right ) \sqrt [3]{1+x^6}}\right ) \, dx,x,\sqrt [3]{x}\right )}{3 \sqrt [3]{x^2+x^4}}\\ &=-\frac {2 x \sqrt [3]{1+x^2} F_1\left (\frac {1}{6};\frac {1}{3},1;\frac {7}{6};-x^2,\frac {2 x^2}{1-i \sqrt {3}}\right )}{\sqrt [3]{x^2+x^4}}-\frac {2 x \sqrt [3]{1+x^2} F_1\left (\frac {1}{6};\frac {1}{3},1;\frac {7}{6};-x^2,\frac {2 x^2}{1+i \sqrt {3}}\right )}{\sqrt [3]{x^2+x^4}}+\frac {3 x \sqrt [3]{1+x^2} \, _2F_1\left (\frac {1}{6},\frac {1}{3};\frac {7}{6};-x^2\right )}{\sqrt [3]{x^2+x^4}}-\frac {\left (i x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{(i-x) \sqrt [3]{1+x^6}} \, dx,x,\sqrt [3]{x}\right )}{3 \sqrt [3]{x^2+x^4}}-\frac {\left (i x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{(i+x) \sqrt [3]{1+x^6}} \, dx,x,\sqrt [3]{x}\right )}{3 \sqrt [3]{x^2+x^4}}+\frac {\left (\left (-1+i \sqrt {3}\right ) x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (\sqrt {1-i \sqrt {3}}-\sqrt {2} x\right ) \sqrt [3]{1+x^6}} \, dx,x,\sqrt [3]{x}\right )}{3 \sqrt {1-i \sqrt {3}} \sqrt [3]{x^2+x^4}}+\frac {\left (\left (-1+i \sqrt {3}\right ) x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (\sqrt {1-i \sqrt {3}}+\sqrt {2} x\right ) \sqrt [3]{1+x^6}} \, dx,x,\sqrt [3]{x}\right )}{3 \sqrt {1-i \sqrt {3}} \sqrt [3]{x^2+x^4}}+\frac {\left (\left (-1-i \sqrt {3}\right ) x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (\sqrt {1+i \sqrt {3}}-\sqrt {2} x\right ) \sqrt [3]{1+x^6}} \, dx,x,\sqrt [3]{x}\right )}{3 \sqrt {1+i \sqrt {3}} \sqrt [3]{x^2+x^4}}+\frac {\left (\left (-1-i \sqrt {3}\right ) x^{2/3} \sqrt [3]{1+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (\sqrt {1+i \sqrt {3}}+\sqrt {2} x\right ) \sqrt [3]{1+x^6}} \, dx,x,\sqrt [3]{x}\right )}{3 \sqrt {1+i \sqrt {3}} \sqrt [3]{x^2+x^4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [F] time = 1.02, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {-1+x^6}{\sqrt [3]{x^2+x^4} \left (1+x^6\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.55, size = 154, normalized size = 1.00 \begin {gather*} -\frac {\left (x^4+x^2\right )^{2/3}}{x \left (x^2+1\right )}+\frac {\tan ^{-1}\left (\frac {3^{2/3} x \sqrt [3]{x^4+x^2}}{\sqrt [3]{3} x^2-\left (x^4+x^2\right )^{2/3}}\right )}{3^{2/3}}-\frac {2 \tanh ^{-1}\left (\frac {\sqrt [6]{3} x}{\sqrt [3]{x^4+x^2}}\right )}{3 \sqrt [6]{3}}-\frac {\tanh ^{-1}\left (\frac {\sqrt [6]{3} x^2+\frac {\left (x^4+x^2\right )^{2/3}}{\sqrt [6]{3}}}{x \sqrt [3]{x^4+x^2}}\right )}{3 \sqrt [6]{3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 3.07, size = 1749, normalized size = 11.36
result too large to display
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 {x^{6} - 1}{{\left (x^{6} + 1\right )} {\left (x^{4} + x^{2}\right )}^{\frac {1}{3}}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 33.33, size = 7488, normalized size = 48.62 \begin {gather*} \text {output too large to display} \end {gather*}
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 {x^{6} - 1}{{\left (x^{6} + 1\right )} {\left (x^{4} + x^{2}\right )}^{\frac {1}{3}}}\,{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 {x^6-1}{{\left (x^4+x^2\right )}^{1/3}\,\left (x^6+1\right )} \,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 {\left (x - 1\right ) \left (x + 1\right ) \left (x^{2} - x + 1\right ) \left (x^{2} + x + 1\right )}{\sqrt [3]{x^{2} \left (x^{2} + 1\right )} \left (x^{2} + 1\right ) \left (x^{4} - x^{2} + 1\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________