Optimal. Leaf size=124 \[ \frac {\log \left (\sqrt [3]{a^3 x^3+x^6+1}-a x\right )}{3 a}-\frac {\tan ^{-1}\left (\frac {\sqrt {3} a x}{2 \sqrt [3]{a^3 x^3+x^6+1}+a x}\right )}{\sqrt {3} a}-\frac {\log \left (a x \sqrt [3]{a^3 x^3+x^6+1}+\left (a^3 x^3+x^6+1\right )^{2/3}+a^2 x^2\right )}{6 a} \]
________________________________________________________________________________________
Rubi [F] time = 2.06, 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}{\left (1+x^6\right ) \sqrt [3]{1+a^3 x^3+x^6}} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {-1+x^6}{\left (1+x^6\right ) \sqrt [3]{1+a^3 x^3+x^6}} \, dx &=\int \left (\frac {1}{\sqrt [3]{1+a^3 x^3+x^6}}-\frac {2}{\left (1+x^6\right ) \sqrt [3]{1+a^3 x^3+x^6}}\right ) \, dx\\ &=-\left (2 \int \frac {1}{\left (1+x^6\right ) \sqrt [3]{1+a^3 x^3+x^6}} \, dx\right )+\int \frac {1}{\sqrt [3]{1+a^3 x^3+x^6}} \, dx\\ &=-\left (2 \int \left (\frac {1}{3 \left (1+x^2\right ) \sqrt [3]{1+a^3 x^3+x^6}}+\frac {2-x^2}{3 \left (1-x^2+x^4\right ) \sqrt [3]{1+a^3 x^3+x^6}}\right ) \, dx\right )+\frac {\left (\sqrt [3]{1+\frac {2 x^3}{a^3-\sqrt {-4+a^6}}} \sqrt [3]{1+\frac {2 x^3}{a^3+\sqrt {-4+a^6}}}\right ) \int \frac {1}{\sqrt [3]{1+\frac {2 x^3}{a^3-\sqrt {-4+a^6}}} \sqrt [3]{1+\frac {2 x^3}{a^3+\sqrt {-4+a^6}}}} \, dx}{\sqrt [3]{1+a^3 x^3+x^6}}\\ &=\frac {x \sqrt [3]{1+\frac {2 x^3}{a^3-\sqrt {-4+a^6}}} \sqrt [3]{1+\frac {2 x^3}{a^3+\sqrt {-4+a^6}}} F_1\left (\frac {1}{3};\frac {1}{3},\frac {1}{3};\frac {4}{3};-\frac {2 x^3}{a^3-\sqrt {-4+a^6}},-\frac {2 x^3}{a^3+\sqrt {-4+a^6}}\right )}{\sqrt [3]{1+a^3 x^3+x^6}}-\frac {2}{3} \int \frac {1}{\left (1+x^2\right ) \sqrt [3]{1+a^3 x^3+x^6}} \, dx-\frac {2}{3} \int \frac {2-x^2}{\left (1-x^2+x^4\right ) \sqrt [3]{1+a^3 x^3+x^6}} \, dx\\ &=\frac {x \sqrt [3]{1+\frac {2 x^3}{a^3-\sqrt {-4+a^6}}} \sqrt [3]{1+\frac {2 x^3}{a^3+\sqrt {-4+a^6}}} F_1\left (\frac {1}{3};\frac {1}{3},\frac {1}{3};\frac {4}{3};-\frac {2 x^3}{a^3-\sqrt {-4+a^6}},-\frac {2 x^3}{a^3+\sqrt {-4+a^6}}\right )}{\sqrt [3]{1+a^3 x^3+x^6}}-\frac {2}{3} \int \left (\frac {i}{2 (i-x) \sqrt [3]{1+a^3 x^3+x^6}}+\frac {i}{2 (i+x) \sqrt [3]{1+a^3 x^3+x^6}}\right ) \, dx-\frac {2}{3} \int \left (\frac {-1-i \sqrt {3}}{\left (-1-i \sqrt {3}+2 x^2\right ) \sqrt [3]{1+a^3 x^3+x^6}}+\frac {-1+i \sqrt {3}}{\left (-1+i \sqrt {3}+2 x^2\right ) \sqrt [3]{1+a^3 x^3+x^6}}\right ) \, dx\\ &=\frac {x \sqrt [3]{1+\frac {2 x^3}{a^3-\sqrt {-4+a^6}}} \sqrt [3]{1+\frac {2 x^3}{a^3+\sqrt {-4+a^6}}} F_1\left (\frac {1}{3};\frac {1}{3},\frac {1}{3};\frac {4}{3};-\frac {2 x^3}{a^3-\sqrt {-4+a^6}},-\frac {2 x^3}{a^3+\sqrt {-4+a^6}}\right )}{\sqrt [3]{1+a^3 x^3+x^6}}-\frac {1}{3} i \int \frac {1}{(i-x) \sqrt [3]{1+a^3 x^3+x^6}} \, dx-\frac {1}{3} i \int \frac {1}{(i+x) \sqrt [3]{1+a^3 x^3+x^6}} \, dx+\frac {1}{3} \left (2 \left (1-i \sqrt {3}\right )\right ) \int \frac {1}{\left (-1+i \sqrt {3}+2 x^2\right ) \sqrt [3]{1+a^3 x^3+x^6}} \, dx+\frac {1}{3} \left (2 \left (1+i \sqrt {3}\right )\right ) \int \frac {1}{\left (-1-i \sqrt {3}+2 x^2\right ) \sqrt [3]{1+a^3 x^3+x^6}} \, dx\\ &=\frac {x \sqrt [3]{1+\frac {2 x^3}{a^3-\sqrt {-4+a^6}}} \sqrt [3]{1+\frac {2 x^3}{a^3+\sqrt {-4+a^6}}} F_1\left (\frac {1}{3};\frac {1}{3},\frac {1}{3};\frac {4}{3};-\frac {2 x^3}{a^3-\sqrt {-4+a^6}},-\frac {2 x^3}{a^3+\sqrt {-4+a^6}}\right )}{\sqrt [3]{1+a^3 x^3+x^6}}-\frac {1}{3} i \int \frac {1}{(i-x) \sqrt [3]{1+a^3 x^3+x^6}} \, dx-\frac {1}{3} i \int \frac {1}{(i+x) \sqrt [3]{1+a^3 x^3+x^6}} \, dx+\frac {1}{3} \left (2 \left (1-i \sqrt {3}\right )\right ) \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+a^3 x^3+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+a^3 x^3+x^6}}\right ) \, dx+\frac {1}{3} \left (2 \left (1+i \sqrt {3}\right )\right ) \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+a^3 x^3+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+a^3 x^3+x^6}}\right ) \, dx\\ &=\frac {x \sqrt [3]{1+\frac {2 x^3}{a^3-\sqrt {-4+a^6}}} \sqrt [3]{1+\frac {2 x^3}{a^3+\sqrt {-4+a^6}}} F_1\left (\frac {1}{3};\frac {1}{3},\frac {1}{3};\frac {4}{3};-\frac {2 x^3}{a^3-\sqrt {-4+a^6}},-\frac {2 x^3}{a^3+\sqrt {-4+a^6}}\right )}{\sqrt [3]{1+a^3 x^3+x^6}}-\frac {1}{3} i \int \frac {1}{(i-x) \sqrt [3]{1+a^3 x^3+x^6}} \, dx-\frac {1}{3} i \int \frac {1}{(i+x) \sqrt [3]{1+a^3 x^3+x^6}} \, dx-\frac {1}{3} \sqrt {1-i \sqrt {3}} \int \frac {1}{\left (\sqrt {1-i \sqrt {3}}-\sqrt {2} x\right ) \sqrt [3]{1+a^3 x^3+x^6}} \, dx-\frac {1}{3} \sqrt {1-i \sqrt {3}} \int \frac {1}{\left (\sqrt {1-i \sqrt {3}}+\sqrt {2} x\right ) \sqrt [3]{1+a^3 x^3+x^6}} \, dx-\frac {1}{3} \sqrt {1+i \sqrt {3}} \int \frac {1}{\left (\sqrt {1+i \sqrt {3}}-\sqrt {2} x\right ) \sqrt [3]{1+a^3 x^3+x^6}} \, dx-\frac {1}{3} \sqrt {1+i \sqrt {3}} \int \frac {1}{\left (\sqrt {1+i \sqrt {3}}+\sqrt {2} x\right ) \sqrt [3]{1+a^3 x^3+x^6}} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [F] time = 0.43, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {-1+x^6}{\left (1+x^6\right ) \sqrt [3]{1+a^3 x^3+x^6}} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 1.03, size = 128, normalized size = 1.03 \begin {gather*} -\frac {\tan ^{-1}\left (\frac {\sqrt {3} a x}{a x+2 \sqrt [3]{1+a^3 x^3+x^6}}\right )}{\sqrt {3} a}+\frac {\log \left (a^2 x-a \sqrt [3]{1+a^3 x^3+x^6}\right )}{3 a}-\frac {\log \left (a^2 x^2+a x \sqrt [3]{1+a^3 x^3+x^6}+\left (1+a^3 x^3+x^6\right )^{2/3}\right )}{6 a} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 4.79, size = 148, normalized size = 1.19 \begin {gather*} -\frac {2 \, \sqrt {3} \arctan \left (-\frac {4 \, \sqrt {3} {\left (a^{3} x^{3} + x^{6} + 1\right )}^{\frac {1}{3}} a^{2} x^{2} - 2 \, \sqrt {3} {\left (a^{3} x^{3} + x^{6} + 1\right )}^{\frac {2}{3}} a x + \sqrt {3} {\left (a^{3} x^{3} + x^{6} + 1\right )}}{9 \, a^{3} x^{3} + x^{6} + 1}\right ) - \log \left (\frac {x^{6} + 3 \, {\left (a^{3} x^{3} + x^{6} + 1\right )}^{\frac {1}{3}} a^{2} x^{2} - 3 \, {\left (a^{3} x^{3} + x^{6} + 1\right )}^{\frac {2}{3}} a x + 1}{x^{6} + 1}\right )}{6 \, a} \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 {x^{6} - 1}{{\left (a^{3} x^{3} + x^{6} + 1\right )}^{\frac {1}{3}} {\left (x^{6} + 1\right )}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {x^{6}-1}{\left (x^{6}+1\right ) \left (a^{3} x^{3}+x^{6}+1\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*} \int \frac {x^{6} - 1}{{\left (a^{3} x^{3} + x^{6} + 1\right )}^{\frac {1}{3}} {\left (x^{6} + 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 {x^6-1}{\left (x^6+1\right )\,{\left (a^3\,x^3+x^6+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 {\left (x - 1\right ) \left (x + 1\right ) \left (x^{2} - x + 1\right ) \left (x^{2} + x + 1\right )}{\left (x^{2} + 1\right ) \left (x^{4} - x^{2} + 1\right ) \sqrt [3]{a^{3} x^{3} + x^{6} + 1}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________