Optimal. Leaf size=107 \[ \text {ArcTan}\left (\frac {\sqrt [4]{-1+x^3}}{x}\right )+\frac {\text {ArcTan}\left (\frac {\sqrt {2} x \sqrt [4]{-1+x^3}}{-x^2+\sqrt {-1+x^3}}\right )}{\sqrt {2}}-\tanh ^{-1}\left (\frac {x}{\sqrt [4]{-1+x^3}}\right )+\frac {\tanh ^{-1}\left (\frac {\sqrt {2} x \sqrt [4]{-1+x^3}}{x^2+\sqrt {-1+x^3}}\right )}{\sqrt {2}} \]
[Out]
________________________________________________________________________________________
Rubi [F]
time = 0.85, 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 {x^4 \left (-4+x^3\right )}{\sqrt [4]{-1+x^3} \left (-1+2 x^3-x^6+x^8\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {x^4 \left (-4+x^3\right )}{\sqrt [4]{-1+x^3} \left (-1+2 x^3-x^6+x^8\right )} \, dx &=\int \left (\frac {-4+x^3}{2 \sqrt [4]{-1+x^3} \left (1-x^3+x^4\right )}+\frac {-4+x^3}{2 \sqrt [4]{-1+x^3} \left (-1+x^3+x^4\right )}\right ) \, dx\\ &=\frac {1}{2} \int \frac {-4+x^3}{\sqrt [4]{-1+x^3} \left (1-x^3+x^4\right )} \, dx+\frac {1}{2} \int \frac {-4+x^3}{\sqrt [4]{-1+x^3} \left (-1+x^3+x^4\right )} \, dx\\ &=\frac {1}{2} \int \left (-\frac {4}{\sqrt [4]{-1+x^3} \left (1-x^3+x^4\right )}+\frac {x^3}{\sqrt [4]{-1+x^3} \left (1-x^3+x^4\right )}\right ) \, dx+\frac {1}{2} \int \left (-\frac {4}{\sqrt [4]{-1+x^3} \left (-1+x^3+x^4\right )}+\frac {x^3}{\sqrt [4]{-1+x^3} \left (-1+x^3+x^4\right )}\right ) \, dx\\ &=\frac {1}{2} \int \frac {x^3}{\sqrt [4]{-1+x^3} \left (1-x^3+x^4\right )} \, dx+\frac {1}{2} \int \frac {x^3}{\sqrt [4]{-1+x^3} \left (-1+x^3+x^4\right )} \, dx-2 \int \frac {1}{\sqrt [4]{-1+x^3} \left (1-x^3+x^4\right )} \, dx-2 \int \frac {1}{\sqrt [4]{-1+x^3} \left (-1+x^3+x^4\right )} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.88, size = 107, normalized size = 1.00 \begin {gather*} \text {ArcTan}\left (\frac {\sqrt [4]{-1+x^3}}{x}\right )+\frac {\text {ArcTan}\left (\frac {\sqrt {2} x \sqrt [4]{-1+x^3}}{-x^2+\sqrt {-1+x^3}}\right )}{\sqrt {2}}-\tanh ^{-1}\left (\frac {x}{\sqrt [4]{-1+x^3}}\right )+\frac {\tanh ^{-1}\left (\frac {\sqrt {2} x \sqrt [4]{-1+x^3}}{x^2+\sqrt {-1+x^3}}\right )}{\sqrt {2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 2.96, size = 364, normalized size = 3.40
method | result | size |
trager | \(-\frac {\RootOf \left (\textit {\_Z}^{4}+1\right ) \ln \left (-\frac {2 \sqrt {x^{3}-1}\, \RootOf \left (\textit {\_Z}^{4}+1\right )^{3} x^{2}-2 \RootOf \left (\textit {\_Z}^{4}+1\right )^{2} \left (x^{3}-1\right )^{\frac {1}{4}} x^{3}+\RootOf \left (\textit {\_Z}^{4}+1\right ) x^{4}-\RootOf \left (\textit {\_Z}^{4}+1\right ) x^{3}+2 \left (x^{3}-1\right )^{\frac {3}{4}} x +\RootOf \left (\textit {\_Z}^{4}+1\right )}{x^{4}+x^{3}-1}\right )}{2}+\frac {\RootOf \left (\textit {\_Z}^{4}+1\right )^{3} \ln \left (\frac {\RootOf \left (\textit {\_Z}^{4}+1\right )^{3} x^{4}-\RootOf \left (\textit {\_Z}^{4}+1\right )^{3} x^{3}-2 \RootOf \left (\textit {\_Z}^{4}+1\right )^{2} \left (x^{3}-1\right )^{\frac {1}{4}} x^{3}+2 \sqrt {x^{3}-1}\, \RootOf \left (\textit {\_Z}^{4}+1\right ) x^{2}-2 \left (x^{3}-1\right )^{\frac {3}{4}} x +\RootOf \left (\textit {\_Z}^{4}+1\right )^{3}}{x^{4}+x^{3}-1}\right )}{2}+\frac {\RootOf \left (\textit {\_Z}^{4}+1\right )^{2} \ln \left (\frac {2 \RootOf \left (\textit {\_Z}^{4}+1\right )^{2} \sqrt {x^{3}-1}\, x^{2}-\RootOf \left (\textit {\_Z}^{4}+1\right )^{2} x^{4}-\RootOf \left (\textit {\_Z}^{4}+1\right )^{2} x^{3}+2 \left (x^{3}-1\right )^{\frac {3}{4}} x -2 \left (x^{3}-1\right )^{\frac {1}{4}} x^{3}+\RootOf \left (\textit {\_Z}^{4}+1\right )^{2}}{x^{4}-x^{3}+1}\right )}{2}-\frac {\ln \left (\frac {2 \left (x^{3}-1\right )^{\frac {3}{4}} x +2 x^{2} \sqrt {x^{3}-1}+2 \left (x^{3}-1\right )^{\frac {1}{4}} x^{3}+x^{4}+x^{3}-1}{x^{4}-x^{3}+1}\right )}{2}\) | \(364\) |
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*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 784 vs.
\(2 (90) = 180\).
time = 31.28, size = 784, normalized size = 7.33 \begin {gather*} -\frac {1}{2} \, \sqrt {2} \arctan \left (\frac {x^{8} + 2 \, x^{7} + x^{6} - 2 \, x^{4} - 2 \, x^{3} + 2 \, \sqrt {2} {\left (3 \, x^{5} - x^{4} + x\right )} {\left (x^{3} - 1\right )}^{\frac {3}{4}} + 2 \, \sqrt {2} {\left (x^{7} - 3 \, x^{6} + 3 \, x^{3}\right )} {\left (x^{3} - 1\right )}^{\frac {1}{4}} + 4 \, {\left (x^{6} + x^{5} - x^{2}\right )} \sqrt {x^{3} - 1} + {\left (16 \, {\left (x^{3} - 1\right )}^{\frac {3}{4}} x^{5} + 2 \, \sqrt {2} {\left (3 \, x^{6} - x^{5} + x^{2}\right )} \sqrt {x^{3} - 1} + \sqrt {2} {\left (x^{8} + 8 \, x^{7} - x^{6} - 8 \, x^{4} + 2 \, x^{3} - 1\right )} + 4 \, {\left (x^{7} + x^{6} - x^{3}\right )} {\left (x^{3} - 1\right )}^{\frac {1}{4}}\right )} \sqrt {\frac {x^{4} - 2 \, \sqrt {2} {\left (x^{3} - 1\right )}^{\frac {1}{4}} x^{3} + x^{3} + 4 \, \sqrt {x^{3} - 1} x^{2} - 2 \, \sqrt {2} {\left (x^{3} - 1\right )}^{\frac {3}{4}} x - 1}{x^{4} + x^{3} - 1}} + 1}{x^{8} - 14 \, x^{7} + x^{6} + 14 \, x^{4} - 2 \, x^{3} + 1}\right ) + \frac {1}{2} \, \sqrt {2} \arctan \left (\frac {x^{8} + 2 \, x^{7} + x^{6} - 2 \, x^{4} - 2 \, x^{3} - 2 \, \sqrt {2} {\left (3 \, x^{5} - x^{4} + x\right )} {\left (x^{3} - 1\right )}^{\frac {3}{4}} - 2 \, \sqrt {2} {\left (x^{7} - 3 \, x^{6} + 3 \, x^{3}\right )} {\left (x^{3} - 1\right )}^{\frac {1}{4}} + 4 \, {\left (x^{6} + x^{5} - x^{2}\right )} \sqrt {x^{3} - 1} + {\left (16 \, {\left (x^{3} - 1\right )}^{\frac {3}{4}} x^{5} - 2 \, \sqrt {2} {\left (3 \, x^{6} - x^{5} + x^{2}\right )} \sqrt {x^{3} - 1} - \sqrt {2} {\left (x^{8} + 8 \, x^{7} - x^{6} - 8 \, x^{4} + 2 \, x^{3} - 1\right )} + 4 \, {\left (x^{7} + x^{6} - x^{3}\right )} {\left (x^{3} - 1\right )}^{\frac {1}{4}}\right )} \sqrt {\frac {x^{4} + 2 \, \sqrt {2} {\left (x^{3} - 1\right )}^{\frac {1}{4}} x^{3} + x^{3} + 4 \, \sqrt {x^{3} - 1} x^{2} + 2 \, \sqrt {2} {\left (x^{3} - 1\right )}^{\frac {3}{4}} x - 1}{x^{4} + x^{3} - 1}} + 1}{x^{8} - 14 \, x^{7} + x^{6} + 14 \, x^{4} - 2 \, x^{3} + 1}\right ) + \frac {1}{8} \, \sqrt {2} \log \left (\frac {4 \, {\left (x^{4} + 2 \, \sqrt {2} {\left (x^{3} - 1\right )}^{\frac {1}{4}} x^{3} + x^{3} + 4 \, \sqrt {x^{3} - 1} x^{2} + 2 \, \sqrt {2} {\left (x^{3} - 1\right )}^{\frac {3}{4}} x - 1\right )}}{x^{4} + x^{3} - 1}\right ) - \frac {1}{8} \, \sqrt {2} \log \left (\frac {4 \, {\left (x^{4} - 2 \, \sqrt {2} {\left (x^{3} - 1\right )}^{\frac {1}{4}} x^{3} + x^{3} + 4 \, \sqrt {x^{3} - 1} x^{2} - 2 \, \sqrt {2} {\left (x^{3} - 1\right )}^{\frac {3}{4}} x - 1\right )}}{x^{4} + x^{3} - 1}\right ) + \frac {1}{2} \, \arctan \left (\frac {2 \, {\left ({\left (x^{3} - 1\right )}^{\frac {1}{4}} x^{3} + {\left (x^{3} - 1\right )}^{\frac {3}{4}} x\right )}}{x^{4} - x^{3} + 1}\right ) + \frac {1}{2} \, \log \left (\frac {x^{4} - 2 \, {\left (x^{3} - 1\right )}^{\frac {1}{4}} x^{3} + x^{3} + 2 \, \sqrt {x^{3} - 1} x^{2} - 2 \, {\left (x^{3} - 1\right )}^{\frac {3}{4}} x - 1}{x^{4} - x^{3} + 1}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
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]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \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^4\,\left (x^3-4\right )}{{\left (x^3-1\right )}^{1/4}\,\left (x^8-x^6+2\,x^3-1\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________