Optimal. Leaf size=70 \[ -\frac {x \sqrt {x-2 x^4-x^6}}{-1+x^5}-\frac {\text {ArcTan}\left (\frac {\sqrt {2} x \sqrt {x-2 x^4-x^6}}{-1+2 x^3+x^5}\right )}{\sqrt {2}} \]
[Out]
________________________________________________________________________________________
Rubi [F]
time = 2.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 {\left (3+2 x^5\right ) \sqrt {x-2 x^4-x^6}}{\left (-1+x^5\right )^2} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {\left (3+2 x^5\right ) \sqrt {x-2 x^4-x^6}}{\left (-1+x^5\right )^2} \, dx &=\frac {\sqrt {x-2 x^4-x^6} \int \frac {\sqrt {x} \sqrt {1-2 x^3-x^5} \left (3+2 x^5\right )}{\left (-1+x^5\right )^2} \, dx}{\sqrt {x} \sqrt {1-2 x^3-x^5}}\\ &=\frac {\left (2 \sqrt {x-2 x^4-x^6}\right ) \text {Subst}\left (\int \frac {x^2 \sqrt {1-2 x^6-x^{10}} \left (3+2 x^{10}\right )}{\left (-1+x^{10}\right )^2} \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt {1-2 x^3-x^5}}\\ &=\frac {\left (2 \sqrt {x-2 x^4-x^6}\right ) \text {Subst}\left (\int \left (\frac {\sqrt {1-2 x^6-x^{10}}}{20 (-1+x)^2}+\frac {\sqrt {1-2 x^6-x^{10}}}{20 (1+x)^2}-\frac {3 \sqrt {1-2 x^6-x^{10}}}{10 \left (-1+x^2\right )}+\frac {\left (-1+3 x-x^2\right ) \sqrt {1-2 x^6-x^{10}}}{4 \left (1-x+x^2-x^3+x^4\right )^2}+\frac {\left (1-x+5 x^2-3 x^3\right ) \sqrt {1-2 x^6-x^{10}}}{20 \left (1-x+x^2-x^3+x^4\right )}+\frac {\left (-1-3 x-x^2\right ) \sqrt {1-2 x^6-x^{10}}}{4 \left (1+x+x^2+x^3+x^4\right )^2}+\frac {\left (1+x+5 x^2+3 x^3\right ) \sqrt {1-2 x^6-x^{10}}}{20 \left (1+x+x^2+x^3+x^4\right )}\right ) \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt {1-2 x^3-x^5}}\\ &=\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \frac {\sqrt {1-2 x^6-x^{10}}}{(-1+x)^2} \, dx,x,\sqrt {x}\right )}{10 \sqrt {x} \sqrt {1-2 x^3-x^5}}+\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \frac {\sqrt {1-2 x^6-x^{10}}}{(1+x)^2} \, dx,x,\sqrt {x}\right )}{10 \sqrt {x} \sqrt {1-2 x^3-x^5}}+\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \frac {\left (1-x+5 x^2-3 x^3\right ) \sqrt {1-2 x^6-x^{10}}}{1-x+x^2-x^3+x^4} \, dx,x,\sqrt {x}\right )}{10 \sqrt {x} \sqrt {1-2 x^3-x^5}}+\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \frac {\left (1+x+5 x^2+3 x^3\right ) \sqrt {1-2 x^6-x^{10}}}{1+x+x^2+x^3+x^4} \, dx,x,\sqrt {x}\right )}{10 \sqrt {x} \sqrt {1-2 x^3-x^5}}+\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \frac {\left (-1+3 x-x^2\right ) \sqrt {1-2 x^6-x^{10}}}{\left (1-x+x^2-x^3+x^4\right )^2} \, dx,x,\sqrt {x}\right )}{2 \sqrt {x} \sqrt {1-2 x^3-x^5}}+\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \frac {\left (-1-3 x-x^2\right ) \sqrt {1-2 x^6-x^{10}}}{\left (1+x+x^2+x^3+x^4\right )^2} \, dx,x,\sqrt {x}\right )}{2 \sqrt {x} \sqrt {1-2 x^3-x^5}}-\frac {\left (3 \sqrt {x-2 x^4-x^6}\right ) \text {Subst}\left (\int \frac {\sqrt {1-2 x^6-x^{10}}}{-1+x^2} \, dx,x,\sqrt {x}\right )}{5 \sqrt {x} \sqrt {1-2 x^3-x^5}}\\ &=\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \frac {\sqrt {1-2 x^6-x^{10}}}{(-1+x)^2} \, dx,x,\sqrt {x}\right )}{10 \sqrt {x} \sqrt {1-2 x^3-x^5}}+\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \frac {\sqrt {1-2 x^6-x^{10}}}{(1+x)^2} \, dx,x,\sqrt {x}\right )}{10 \sqrt {x} \sqrt {1-2 x^3-x^5}}+\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \left (\frac {\sqrt {1-2 x^6-x^{10}}}{1-x+x^2-x^3+x^4}-\frac {x \sqrt {1-2 x^6-x^{10}}}{1-x+x^2-x^3+x^4}+\frac {5 x^2 \sqrt {1-2 x^6-x^{10}}}{1-x+x^2-x^3+x^4}-\frac {3 x^3 \sqrt {1-2 x^6-x^{10}}}{1-x+x^2-x^3+x^4}\right ) \, dx,x,\sqrt {x}\right )}{10 \sqrt {x} \sqrt {1-2 x^3-x^5}}+\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \left (\frac {\sqrt {1-2 x^6-x^{10}}}{1+x+x^2+x^3+x^4}+\frac {x \sqrt {1-2 x^6-x^{10}}}{1+x+x^2+x^3+x^4}+\frac {5 x^2 \sqrt {1-2 x^6-x^{10}}}{1+x+x^2+x^3+x^4}+\frac {3 x^3 \sqrt {1-2 x^6-x^{10}}}{1+x+x^2+x^3+x^4}\right ) \, dx,x,\sqrt {x}\right )}{10 \sqrt {x} \sqrt {1-2 x^3-x^5}}+\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \left (-\frac {\sqrt {1-2 x^6-x^{10}}}{\left (1-x+x^2-x^3+x^4\right )^2}+\frac {3 x \sqrt {1-2 x^6-x^{10}}}{\left (1-x+x^2-x^3+x^4\right )^2}-\frac {x^2 \sqrt {1-2 x^6-x^{10}}}{\left (1-x+x^2-x^3+x^4\right )^2}\right ) \, dx,x,\sqrt {x}\right )}{2 \sqrt {x} \sqrt {1-2 x^3-x^5}}+\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \left (-\frac {\sqrt {1-2 x^6-x^{10}}}{\left (1+x+x^2+x^3+x^4\right )^2}-\frac {3 x \sqrt {1-2 x^6-x^{10}}}{\left (1+x+x^2+x^3+x^4\right )^2}-\frac {x^2 \sqrt {1-2 x^6-x^{10}}}{\left (1+x+x^2+x^3+x^4\right )^2}\right ) \, dx,x,\sqrt {x}\right )}{2 \sqrt {x} \sqrt {1-2 x^3-x^5}}-\frac {\left (3 \sqrt {x-2 x^4-x^6}\right ) \text {Subst}\left (\int \left (\frac {\sqrt {1-2 x^6-x^{10}}}{2 (-1+x)}-\frac {\sqrt {1-2 x^6-x^{10}}}{2 (1+x)}\right ) \, dx,x,\sqrt {x}\right )}{5 \sqrt {x} \sqrt {1-2 x^3-x^5}}\\ &=\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \frac {\sqrt {1-2 x^6-x^{10}}}{(-1+x)^2} \, dx,x,\sqrt {x}\right )}{10 \sqrt {x} \sqrt {1-2 x^3-x^5}}+\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \frac {\sqrt {1-2 x^6-x^{10}}}{(1+x)^2} \, dx,x,\sqrt {x}\right )}{10 \sqrt {x} \sqrt {1-2 x^3-x^5}}+\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \frac {\sqrt {1-2 x^6-x^{10}}}{1-x+x^2-x^3+x^4} \, dx,x,\sqrt {x}\right )}{10 \sqrt {x} \sqrt {1-2 x^3-x^5}}-\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \frac {x \sqrt {1-2 x^6-x^{10}}}{1-x+x^2-x^3+x^4} \, dx,x,\sqrt {x}\right )}{10 \sqrt {x} \sqrt {1-2 x^3-x^5}}+\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \frac {\sqrt {1-2 x^6-x^{10}}}{1+x+x^2+x^3+x^4} \, dx,x,\sqrt {x}\right )}{10 \sqrt {x} \sqrt {1-2 x^3-x^5}}+\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \frac {x \sqrt {1-2 x^6-x^{10}}}{1+x+x^2+x^3+x^4} \, dx,x,\sqrt {x}\right )}{10 \sqrt {x} \sqrt {1-2 x^3-x^5}}-\frac {\left (3 \sqrt {x-2 x^4-x^6}\right ) \text {Subst}\left (\int \frac {\sqrt {1-2 x^6-x^{10}}}{-1+x} \, dx,x,\sqrt {x}\right )}{10 \sqrt {x} \sqrt {1-2 x^3-x^5}}+\frac {\left (3 \sqrt {x-2 x^4-x^6}\right ) \text {Subst}\left (\int \frac {\sqrt {1-2 x^6-x^{10}}}{1+x} \, dx,x,\sqrt {x}\right )}{10 \sqrt {x} \sqrt {1-2 x^3-x^5}}-\frac {\left (3 \sqrt {x-2 x^4-x^6}\right ) \text {Subst}\left (\int \frac {x^3 \sqrt {1-2 x^6-x^{10}}}{1-x+x^2-x^3+x^4} \, dx,x,\sqrt {x}\right )}{10 \sqrt {x} \sqrt {1-2 x^3-x^5}}+\frac {\left (3 \sqrt {x-2 x^4-x^6}\right ) \text {Subst}\left (\int \frac {x^3 \sqrt {1-2 x^6-x^{10}}}{1+x+x^2+x^3+x^4} \, dx,x,\sqrt {x}\right )}{10 \sqrt {x} \sqrt {1-2 x^3-x^5}}-\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \frac {\sqrt {1-2 x^6-x^{10}}}{\left (1-x+x^2-x^3+x^4\right )^2} \, dx,x,\sqrt {x}\right )}{2 \sqrt {x} \sqrt {1-2 x^3-x^5}}-\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \frac {x^2 \sqrt {1-2 x^6-x^{10}}}{\left (1-x+x^2-x^3+x^4\right )^2} \, dx,x,\sqrt {x}\right )}{2 \sqrt {x} \sqrt {1-2 x^3-x^5}}+\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \frac {x^2 \sqrt {1-2 x^6-x^{10}}}{1-x+x^2-x^3+x^4} \, dx,x,\sqrt {x}\right )}{2 \sqrt {x} \sqrt {1-2 x^3-x^5}}-\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \frac {\sqrt {1-2 x^6-x^{10}}}{\left (1+x+x^2+x^3+x^4\right )^2} \, dx,x,\sqrt {x}\right )}{2 \sqrt {x} \sqrt {1-2 x^3-x^5}}-\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \frac {x^2 \sqrt {1-2 x^6-x^{10}}}{\left (1+x+x^2+x^3+x^4\right )^2} \, dx,x,\sqrt {x}\right )}{2 \sqrt {x} \sqrt {1-2 x^3-x^5}}+\frac {\sqrt {x-2 x^4-x^6} \text {Subst}\left (\int \frac {x^2 \sqrt {1-2 x^6-x^{10}}}{1+x+x^2+x^3+x^4} \, dx,x,\sqrt {x}\right )}{2 \sqrt {x} \sqrt {1-2 x^3-x^5}}+\frac {\left (3 \sqrt {x-2 x^4-x^6}\right ) \text {Subst}\left (\int \frac {x \sqrt {1-2 x^6-x^{10}}}{\left (1-x+x^2-x^3+x^4\right )^2} \, dx,x,\sqrt {x}\right )}{2 \sqrt {x} \sqrt {1-2 x^3-x^5}}-\frac {\left (3 \sqrt {x-2 x^4-x^6}\right ) \text {Subst}\left (\int \frac {x \sqrt {1-2 x^6-x^{10}}}{\left (1+x+x^2+x^3+x^4\right )^2} \, dx,x,\sqrt {x}\right )}{2 \sqrt {x} \sqrt {1-2 x^3-x^5}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 4.25, size = 87, normalized size = 1.24 \begin {gather*} \frac {\sqrt {x-2 x^4-x^6} \left (-\frac {2 x^{3/2}}{-1+x^5}-\frac {\sqrt {2} \tanh ^{-1}\left (\frac {\sqrt {2} x^{3/2}}{\sqrt {-1+2 x^3+x^5}}\right )}{\sqrt {-1+2 x^3+x^5}}\right )}{2 \sqrt {x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 1.53, size = 101, normalized size = 1.44
method | result | size |
trager | \(-\frac {x \sqrt {-x^{6}-2 x^{4}+x}}{x^{5}-1}+\frac {\RootOf \left (\textit {\_Z}^{2}+2\right ) \ln \left (\frac {-\RootOf \left (\textit {\_Z}^{2}+2\right ) x^{5}-4 \RootOf \left (\textit {\_Z}^{2}+2\right ) x^{3}+4 \sqrt {-x^{6}-2 x^{4}+x}\, x +\RootOf \left (\textit {\_Z}^{2}+2\right )}{\left (-1+x \right ) \left (x^{4}+x^{3}+x^{2}+x +1\right )}\right )}{4}\) | \(101\) |
risch | \(\frac {x^{2} \left (x^{5}+2 x^{3}-1\right )}{\left (x^{5}-1\right ) \sqrt {-x \left (x^{5}+2 x^{3}-1\right )}}-\frac {\RootOf \left (\textit {\_Z}^{2}+2\right ) \ln \left (\frac {\RootOf \left (\textit {\_Z}^{2}+2\right ) x^{5}+4 \RootOf \left (\textit {\_Z}^{2}+2\right ) x^{3}+4 \sqrt {-x^{6}-2 x^{4}+x}\, x -\RootOf \left (\textit {\_Z}^{2}+2\right )}{\left (-1+x \right ) \left (x^{4}+x^{3}+x^{2}+x +1\right )}\right )}{4}\) | \(114\) |
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 [A]
time = 0.41, size = 69, normalized size = 0.99 \begin {gather*} -\frac {\sqrt {2} {\left (x^{5} - 1\right )} \arctan \left (\frac {2 \, \sqrt {2} \sqrt {-x^{6} - 2 \, x^{4} + x} x}{x^{5} + 4 \, x^{3} - 1}\right ) + 4 \, \sqrt {-x^{6} - 2 \, x^{4} + x} x}{4 \, {\left (x^{5} - 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 {\left (2\,x^5+3\right )\,\sqrt {-x^6-2\,x^4+x}}{{\left (x^5-1\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________