Optimal. Leaf size=199 \[ -\frac {\sqrt {2} \left (-4+\sqrt {-4+a} \sqrt {a}+a\right ) \text {ArcTan}\left (\frac {\sqrt {2} \sqrt {-1+x^5}}{\sqrt {2-\sqrt {-4+a} \sqrt {a}-a}}\right )}{5 \sqrt {2-\sqrt {-4+a} \sqrt {a}-a} \sqrt {-4+a} \sqrt {a}}-\frac {\sqrt {2} \left (4+\sqrt {-4+a} \sqrt {a}-a\right ) \text {ArcTan}\left (\frac {\sqrt {2} \sqrt {-1+x^5}}{\sqrt {2+\sqrt {-4+a} \sqrt {a}-a}}\right )}{5 \sqrt {2+\sqrt {-4+a} \sqrt {a}-a} \sqrt {-4+a} \sqrt {a}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.32, antiderivative size = 60, normalized size of antiderivative = 0.30, number of steps
used = 6, number of rules used = 5, integrand size = 34, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.147, Rules used = {1607, 6847,
840, 1178, 642} \begin {gather*} \frac {\log \left (\sqrt {a} \sqrt {x^5-1}+x^5\right )}{5 \sqrt {a}}-\frac {\log \left (x^5-\sqrt {a} \sqrt {x^5-1}\right )}{5 \sqrt {a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 642
Rule 840
Rule 1178
Rule 1607
Rule 6847
Rubi steps
\begin {align*} \int \frac {2 x^4-x^9}{\sqrt {-1+x^5} \left (a-a x^5+x^{10}\right )} \, dx &=\int \frac {x^4 \left (2-x^5\right )}{\sqrt {-1+x^5} \left (a-a x^5+x^{10}\right )} \, dx\\ &=\frac {1}{5} \text {Subst}\left (\int \frac {2-x}{\sqrt {-1+x} \left (a-a x+x^2\right )} \, dx,x,x^5\right )\\ &=\frac {2}{5} \text {Subst}\left (\int \frac {1-x^2}{1+(2-a) x^2+x^4} \, dx,x,\sqrt {-1+x^5}\right )\\ &=-\frac {\text {Subst}\left (\int \frac {\sqrt {a}+2 x}{-1-\sqrt {a} x-x^2} \, dx,x,\sqrt {-1+x^5}\right )}{5 \sqrt {a}}-\frac {\text {Subst}\left (\int \frac {\sqrt {a}-2 x}{-1+\sqrt {a} x-x^2} \, dx,x,\sqrt {-1+x^5}\right )}{5 \sqrt {a}}\\ &=-\frac {\log \left (x^5-\sqrt {a} \sqrt {-1+x^5}\right )}{5 \sqrt {a}}+\frac {\log \left (x^5+\sqrt {a} \sqrt {-1+x^5}\right )}{5 \sqrt {a}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.27, size = 180, normalized size = 0.90 \begin {gather*} -\frac {\sqrt {2} \left (\frac {\left (-4+\sqrt {-4+a} \sqrt {a}+a\right ) \text {ArcTan}\left (\frac {\sqrt {2} \sqrt {-1+x^5}}{\sqrt {2-\sqrt {-4+a} \sqrt {a}-a}}\right )}{\sqrt {2-\sqrt {-4+a} \sqrt {a}-a}}+\frac {\left (4+\sqrt {-4+a} \sqrt {a}-a\right ) \text {ArcTan}\left (\frac {\sqrt {2} \sqrt {-1+x^5}}{\sqrt {2+\sqrt {-4+a} \sqrt {a}-a}}\right )}{\sqrt {2+\sqrt {-4+a} \sqrt {a}-a}}\right )}{5 \sqrt {-4+a} \sqrt {a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.04, size = 0, normalized size = 0.00 \[\int \frac {-x^{9}+2 x^{4}}{\sqrt {x^{5}-1}\, \left (x^{10}-a \,x^{5}+a \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*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 86, normalized size = 0.43 \begin {gather*} \left [\frac {\log \left (\frac {x^{10} + 2 \, \sqrt {x^{5} - 1} \sqrt {a} x^{5} + a x^{5} - a}{x^{10} - a x^{5} + a}\right )}{5 \, \sqrt {a}}, -\frac {2 \, \sqrt {-a} \arctan \left (\frac {\sqrt {x^{5} - 1} \sqrt {-a} x^{5}}{a x^{5} - a}\right )}{5 \, a}\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(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.24, size = 47, normalized size = 0.24 \begin {gather*} \frac {\ln \left (\frac {a\,x^5-a+x^{10}+2\,\sqrt {a}\,x^5\,\sqrt {x^5-1}}{x^{10}-a\,x^5+a}\right )}{5\,\sqrt {a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________