Optimal. Leaf size=85 \[ -\frac {1}{3} \tan ^{-1}\left (\frac {x}{\sqrt {1-x^6}}\right )-\frac {1}{3} \tan ^{-1}\left (\frac {x \sqrt {1-x^6}}{x^6+x^2-1}\right )-\frac {\tanh ^{-1}\left (\frac {\sqrt {3} x \sqrt {1-x^6}}{x^6-x^2-1}\right )}{\sqrt {3}} \]
________________________________________________________________________________________
Rubi [F] time = 2.68, 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 {\sqrt {1-x^6} \left (1+2 x^6\right ) \left (1+x^2-x^4-2 x^6-x^8+x^{12}\right )}{\left (-1+x^6\right ) \left (-1+2 x^6-3 x^{12}+x^{18}\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {\sqrt {1-x^6} \left (1+2 x^6\right ) \left (1+x^2-x^4-2 x^6-x^8+x^{12}\right )}{\left (-1+x^6\right ) \left (-1+2 x^6-3 x^{12}+x^{18}\right )} \, dx &=-\int \frac {\left (1+2 x^6\right ) \left (1+x^2-x^4-2 x^6-x^8+x^{12}\right )}{\sqrt {1-x^6} \left (-1+2 x^6-3 x^{12}+x^{18}\right )} \, dx\\ &=-\int \left (\frac {2}{\sqrt {1-x^6}}+\frac {3+x^2-x^4-4 x^6+x^8-2 x^{10}+3 x^{12}-2 x^{14}}{\sqrt {1-x^6} \left (-1+2 x^6-3 x^{12}+x^{18}\right )}\right ) \, dx\\ &=-\left (2 \int \frac {1}{\sqrt {1-x^6}} \, dx\right )-\int \frac {3+x^2-x^4-4 x^6+x^8-2 x^{10}+3 x^{12}-2 x^{14}}{\sqrt {1-x^6} \left (-1+2 x^6-3 x^{12}+x^{18}\right )} \, dx\\ &=-\frac {x \left (1-x^2\right ) \sqrt {\frac {1+x^2+x^4}{\left (1-\left (1+\sqrt {3}\right ) x^2\right )^2}} F\left (\cos ^{-1}\left (\frac {1-\left (1-\sqrt {3}\right ) x^2}{1-\left (1+\sqrt {3}\right ) x^2}\right )|\frac {1}{4} \left (2+\sqrt {3}\right )\right )}{\sqrt [4]{3} \sqrt {-\frac {x^2 \left (1-x^2\right )}{\left (1-\left (1+\sqrt {3}\right ) x^2\right )^2}} \sqrt {1-x^6}}-\int \left (\frac {-3-2 x^2}{3 \sqrt {1-x^6} \left (-1-x^2+x^6\right )}-\frac {2 \left (6-5 x^2+4 x^4-6 x^6+2 x^8\right )}{3 \sqrt {1-x^6} \left (1-x^2+x^4-2 x^6+x^8+x^{12}\right )}\right ) \, dx\\ &=-\frac {x \left (1-x^2\right ) \sqrt {\frac {1+x^2+x^4}{\left (1-\left (1+\sqrt {3}\right ) x^2\right )^2}} F\left (\cos ^{-1}\left (\frac {1-\left (1-\sqrt {3}\right ) x^2}{1-\left (1+\sqrt {3}\right ) x^2}\right )|\frac {1}{4} \left (2+\sqrt {3}\right )\right )}{\sqrt [4]{3} \sqrt {-\frac {x^2 \left (1-x^2\right )}{\left (1-\left (1+\sqrt {3}\right ) x^2\right )^2}} \sqrt {1-x^6}}-\frac {1}{3} \int \frac {-3-2 x^2}{\sqrt {1-x^6} \left (-1-x^2+x^6\right )} \, dx+\frac {2}{3} \int \frac {6-5 x^2+4 x^4-6 x^6+2 x^8}{\sqrt {1-x^6} \left (1-x^2+x^4-2 x^6+x^8+x^{12}\right )} \, dx\\ &=-\frac {x \left (1-x^2\right ) \sqrt {\frac {1+x^2+x^4}{\left (1-\left (1+\sqrt {3}\right ) x^2\right )^2}} F\left (\cos ^{-1}\left (\frac {1-\left (1-\sqrt {3}\right ) x^2}{1-\left (1+\sqrt {3}\right ) x^2}\right )|\frac {1}{4} \left (2+\sqrt {3}\right )\right )}{\sqrt [4]{3} \sqrt {-\frac {x^2 \left (1-x^2\right )}{\left (1-\left (1+\sqrt {3}\right ) x^2\right )^2}} \sqrt {1-x^6}}-\frac {1}{3} \int \left (-\frac {3}{\sqrt {1-x^6} \left (-1-x^2+x^6\right )}-\frac {2 x^2}{\sqrt {1-x^6} \left (-1-x^2+x^6\right )}\right ) \, dx+\frac {2}{3} \int \left (\frac {6}{\sqrt {1-x^6} \left (1-x^2+x^4-2 x^6+x^8+x^{12}\right )}-\frac {5 x^2}{\sqrt {1-x^6} \left (1-x^2+x^4-2 x^6+x^8+x^{12}\right )}+\frac {4 x^4}{\sqrt {1-x^6} \left (1-x^2+x^4-2 x^6+x^8+x^{12}\right )}-\frac {6 x^6}{\sqrt {1-x^6} \left (1-x^2+x^4-2 x^6+x^8+x^{12}\right )}+\frac {2 x^8}{\sqrt {1-x^6} \left (1-x^2+x^4-2 x^6+x^8+x^{12}\right )}\right ) \, dx\\ &=-\frac {x \left (1-x^2\right ) \sqrt {\frac {1+x^2+x^4}{\left (1-\left (1+\sqrt {3}\right ) x^2\right )^2}} F\left (\cos ^{-1}\left (\frac {1-\left (1-\sqrt {3}\right ) x^2}{1-\left (1+\sqrt {3}\right ) x^2}\right )|\frac {1}{4} \left (2+\sqrt {3}\right )\right )}{\sqrt [4]{3} \sqrt {-\frac {x^2 \left (1-x^2\right )}{\left (1-\left (1+\sqrt {3}\right ) x^2\right )^2}} \sqrt {1-x^6}}+\frac {2}{3} \int \frac {x^2}{\sqrt {1-x^6} \left (-1-x^2+x^6\right )} \, dx+\frac {4}{3} \int \frac {x^8}{\sqrt {1-x^6} \left (1-x^2+x^4-2 x^6+x^8+x^{12}\right )} \, dx+\frac {8}{3} \int \frac {x^4}{\sqrt {1-x^6} \left (1-x^2+x^4-2 x^6+x^8+x^{12}\right )} \, dx-\frac {10}{3} \int \frac {x^2}{\sqrt {1-x^6} \left (1-x^2+x^4-2 x^6+x^8+x^{12}\right )} \, dx+4 \int \frac {1}{\sqrt {1-x^6} \left (1-x^2+x^4-2 x^6+x^8+x^{12}\right )} \, dx-4 \int \frac {x^6}{\sqrt {1-x^6} \left (1-x^2+x^4-2 x^6+x^8+x^{12}\right )} \, dx+\int \frac {1}{\sqrt {1-x^6} \left (-1-x^2+x^6\right )} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [F] time = 0.62, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {1-x^6} \left (1+2 x^6\right ) \left (1+x^2-x^4-2 x^6-x^8+x^{12}\right )}{\left (-1+x^6\right ) \left (-1+2 x^6-3 x^{12}+x^{18}\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [C] time = 18.18, size = 105, normalized size = 1.24 \begin {gather*} -\frac {1}{3} \tan ^{-1}\left (\frac {x}{\sqrt {1-x^6}}\right )+\frac {1}{3} \left (1+i \sqrt {3}\right ) \tan ^{-1}\left (\frac {\left (1-i \sqrt {3}\right ) x}{2 \sqrt {1-x^6}}\right )+\frac {1}{3} \left (1-i \sqrt {3}\right ) \tan ^{-1}\left (\frac {\left (1+i \sqrt {3}\right ) x}{2 \sqrt {1-x^6}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 1.19, size = 440, normalized size = 5.18 \begin {gather*} -\frac {1}{12} \, \sqrt {3} \log \left (\frac {16 \, {\left (x^{12} - 5 \, x^{8} - 2 \, x^{6} + x^{4} + 2 \, \sqrt {3} {\left (x^{7} - x^{3} - x\right )} \sqrt {-x^{6} + 1} + 5 \, x^{2} + 1\right )}}{x^{12} + x^{8} - 2 \, x^{6} + x^{4} - x^{2} + 1}\right ) + \frac {1}{12} \, \sqrt {3} \log \left (\frac {16 \, {\left (x^{12} - 5 \, x^{8} - 2 \, x^{6} + x^{4} - 2 \, \sqrt {3} {\left (x^{7} - x^{3} - x\right )} \sqrt {-x^{6} + 1} + 5 \, x^{2} + 1\right )}}{x^{12} + x^{8} - 2 \, x^{6} + x^{4} - x^{2} + 1}\right ) + \frac {1}{6} \, \arctan \left (\frac {2 \, \sqrt {-x^{6} + 1} x}{x^{6} + x^{2} - 1}\right ) + \frac {1}{3} \, \arctan \left (-\frac {\sqrt {-x^{6} + 1} x + {\left (x^{6} - \sqrt {3} \sqrt {-x^{6} + 1} x - x^{2} - 1\right )} \sqrt {\frac {x^{12} - 5 \, x^{8} - 2 \, x^{6} + x^{4} + 2 \, \sqrt {3} {\left (x^{7} - x^{3} - x\right )} \sqrt {-x^{6} + 1} + 5 \, x^{2} + 1}{x^{12} + x^{8} - 2 \, x^{6} + x^{4} - x^{2} + 1}}}{x^{6} + x^{2} - 1}\right ) - \frac {1}{3} \, \arctan \left (\frac {\sqrt {-x^{6} + 1} x + {\left (x^{6} + \sqrt {3} \sqrt {-x^{6} + 1} x - x^{2} - 1\right )} \sqrt {\frac {x^{12} - 5 \, x^{8} - 2 \, x^{6} + x^{4} - 2 \, \sqrt {3} {\left (x^{7} - x^{3} - x\right )} \sqrt {-x^{6} + 1} + 5 \, x^{2} + 1}{x^{12} + x^{8} - 2 \, x^{6} + x^{4} - x^{2} + 1}}}{x^{6} + x^{2} - 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 {{\left (x^{12} - x^{8} - 2 \, x^{6} - x^{4} + x^{2} + 1\right )} {\left (2 \, x^{6} + 1\right )} \sqrt {-x^{6} + 1}}{{\left (x^{18} - 3 \, x^{12} + 2 \, x^{6} - 1\right )} {\left (x^{6} - 1\right )}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 180.00, size = 0, normalized size = 0.00 \[\int \frac {\sqrt {-x^{6}+1}\, \left (2 x^{6}+1\right ) \left (x^{12}-x^{8}-2 x^{6}-x^{4}+x^{2}+1\right )}{\left (x^{6}-1\right ) \left (x^{18}-3 x^{12}+2 x^{6}-1\right )}\, 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 {{\left (x^{12} - x^{8} - 2 \, x^{6} - x^{4} + x^{2} + 1\right )} {\left (2 \, x^{6} + 1\right )} \sqrt {-x^{6} + 1}}{{\left (x^{18} - 3 \, x^{12} + 2 \, x^{6} - 1\right )} {\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 {\left (2\,x^6+1\right )\,\left (x^{12}-x^8-2\,x^6-x^4+x^2+1\right )}{\sqrt {1-x^6}\,\left (x^{18}-3\,x^{12}+2\,x^6-1\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________