Optimal. Leaf size=250 \[ \frac {\left (4 \sqrt {2} a^{3/2}+\sqrt {2} \sqrt {4 a+1} \sqrt {a}+\sqrt {2} \sqrt {a}\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {a} \sqrt {x^5+1}}{\sqrt {-2 a-\sqrt {4 a+1}-1}}\right )}{5 \sqrt {4 a+1} \sqrt {-2 a-\sqrt {4 a+1}-1}}+\frac {\left (-4 \sqrt {2} a^{3/2}+\sqrt {2} \sqrt {4 a+1} \sqrt {a}-\sqrt {2} \sqrt {a}\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {a} \sqrt {x^5+1}}{\sqrt {-2 a+\sqrt {4 a+1}-1}}\right )}{5 \sqrt {4 a+1} \sqrt {-2 a+\sqrt {4 a+1}-1}}+\frac {2 \sqrt {x^5+1}}{5 x^5} \]
________________________________________________________________________________________
Rubi [A] time = 0.81, antiderivative size = 89, normalized size of antiderivative = 0.36, number of steps used = 18, number of rules used = 12, integrand size = 32, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {6728, 266, 47, 63, 207, 50, 6715, 824, 826, 1161, 618, 206} \begin {gather*} \frac {2}{5} \sqrt {a} \tanh ^{-1}\left (\sqrt {4 a+1}-2 \sqrt {a} \sqrt {x^5+1}\right )-\frac {2}{5} \sqrt {a} \tanh ^{-1}\left (2 \sqrt {a} \sqrt {x^5+1}+\sqrt {4 a+1}\right )+\frac {2 \sqrt {x^5+1}}{5 x^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 47
Rule 50
Rule 63
Rule 206
Rule 207
Rule 266
Rule 618
Rule 824
Rule 826
Rule 1161
Rule 6715
Rule 6728
Rubi steps
\begin {align*} \int \frac {\sqrt {1+x^5} \left (2+x^5\right )}{x^6 \left (-1-x^5+a x^{10}\right )} \, dx &=\int \left (-\frac {2 \sqrt {1+x^5}}{x^6}+\frac {\sqrt {1+x^5}}{x}-\frac {x^4 \sqrt {1+x^5} \left (-1-2 a+a x^5\right )}{-1-x^5+a x^{10}}\right ) \, dx\\ &=-\left (2 \int \frac {\sqrt {1+x^5}}{x^6} \, dx\right )+\int \frac {\sqrt {1+x^5}}{x} \, dx-\int \frac {x^4 \sqrt {1+x^5} \left (-1-2 a+a x^5\right )}{-1-x^5+a x^{10}} \, dx\\ &=\frac {1}{5} \operatorname {Subst}\left (\int \frac {\sqrt {1+x}}{x} \, dx,x,x^5\right )-\frac {1}{5} \operatorname {Subst}\left (\int \frac {\sqrt {1+x} (-1-2 a+a x)}{-1-x+a x^2} \, dx,x,x^5\right )-\frac {2}{5} \operatorname {Subst}\left (\int \frac {\sqrt {1+x}}{x^2} \, dx,x,x^5\right )\\ &=\frac {2 \sqrt {1+x^5}}{5 x^5}-\frac {\operatorname {Subst}\left (\int \frac {-2 a^2-a^2 x}{\sqrt {1+x} \left (-1-x+a x^2\right )} \, dx,x,x^5\right )}{5 a}\\ &=\frac {2 \sqrt {1+x^5}}{5 x^5}-\frac {2 \operatorname {Subst}\left (\int \frac {-a^2-a^2 x^2}{a+(-1-2 a) x^2+a x^4} \, dx,x,\sqrt {1+x^5}\right )}{5 a}\\ &=\frac {2 \sqrt {1+x^5}}{5 x^5}+\frac {1}{5} \operatorname {Subst}\left (\int \frac {1}{1-\frac {\sqrt {1+4 a} x}{\sqrt {a}}+x^2} \, dx,x,\sqrt {1+x^5}\right )+\frac {1}{5} \operatorname {Subst}\left (\int \frac {1}{1+\frac {\sqrt {1+4 a} x}{\sqrt {a}}+x^2} \, dx,x,\sqrt {1+x^5}\right )\\ &=\frac {2 \sqrt {1+x^5}}{5 x^5}-\frac {2}{5} \operatorname {Subst}\left (\int \frac {1}{\frac {1}{a}-x^2} \, dx,x,-\frac {\sqrt {1+4 a}}{\sqrt {a}}+2 \sqrt {1+x^5}\right )-\frac {2}{5} \operatorname {Subst}\left (\int \frac {1}{\frac {1}{a}-x^2} \, dx,x,\frac {\sqrt {1+4 a}}{\sqrt {a}}+2 \sqrt {1+x^5}\right )\\ &=\frac {2 \sqrt {1+x^5}}{5 x^5}+\frac {2}{5} \sqrt {a} \tanh ^{-1}\left (\sqrt {a} \left (\frac {\sqrt {1+4 a}}{\sqrt {a}}-2 \sqrt {1+x^5}\right )\right )-\frac {2}{5} \sqrt {a} \tanh ^{-1}\left (\sqrt {a} \left (\frac {\sqrt {1+4 a}}{\sqrt {a}}+2 \sqrt {1+x^5}\right )\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.44, size = 204, normalized size = 0.82 \begin {gather*} \frac {\sqrt {4 a-2 \sqrt {4 a+1}+2} \left (4 a+\sqrt {4 a+1}+1\right ) \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {a} \sqrt {x^5+1}}{\sqrt {2 a-\sqrt {4 a+1}+1}}\right )}{10 \sqrt {a} \sqrt {4 a+1}}+\frac {\left (-4 a+\sqrt {4 a+1}-1\right ) \sqrt {2 a+\sqrt {4 a+1}+1} \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {a} \sqrt {x^5+1}}{\sqrt {2 a+\sqrt {4 a+1}+1}}\right )}{5 \sqrt {2} \sqrt {a} \sqrt {4 a+1}}+\frac {2 \sqrt {x^5+1}}{5 x^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.54, size = 250, normalized size = 1.00 \begin {gather*} \frac {2 \sqrt {1+x^5}}{5 x^5}+\frac {\left (\sqrt {2} \sqrt {a}+4 \sqrt {2} a^{3/2}+\sqrt {2} \sqrt {a} \sqrt {1+4 a}\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {a} \sqrt {1+x^5}}{\sqrt {-1-2 a-\sqrt {1+4 a}}}\right )}{5 \sqrt {1+4 a} \sqrt {-1-2 a-\sqrt {1+4 a}}}+\frac {\left (-\sqrt {2} \sqrt {a}-4 \sqrt {2} a^{3/2}+\sqrt {2} \sqrt {a} \sqrt {1+4 a}\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {a} \sqrt {1+x^5}}{\sqrt {-1-2 a+\sqrt {1+4 a}}}\right )}{5 \sqrt {1+4 a} \sqrt {-1-2 a+\sqrt {1+4 a}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.80, size = 103, normalized size = 0.41 \begin {gather*} \left [\frac {\sqrt {a} x^{5} \log \left (\frac {a x^{10} - 2 \, \sqrt {x^{5} + 1} \sqrt {a} x^{5} + x^{5} + 1}{a x^{10} - x^{5} - 1}\right ) + 2 \, \sqrt {x^{5} + 1}}{5 \, x^{5}}, \frac {2 \, {\left (\sqrt {-a} x^{5} \arctan \left (\frac {\sqrt {-a} x^{5}}{\sqrt {x^{5} + 1}}\right ) + \sqrt {x^{5} + 1}\right )}}{5 \, x^{5}}\right ] \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]
________________________________________________________________________________________
maple [F] time = 0.02, size = 0, normalized size = 0.00 \[\int \frac {\sqrt {x^{5}+1}\, \left (x^{5}+2\right )}{x^{6} \left (a \,x^{10}-x^{5}-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^{5} + 2\right )} \sqrt {x^{5} + 1}}{{\left (a x^{10} - x^{5} - 1\right )} x^{6}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.56, size = 60, normalized size = 0.24 \begin {gather*} \frac {2\,\sqrt {x^5+1}}{5\,x^5}+\frac {\sqrt {a}\,\ln \left (\frac {a\,x^{10}+x^5-2\,\sqrt {a}\,x^5\,\sqrt {x^5+1}+1}{-4\,a\,x^{10}+4\,x^5+4}\right )}{5} \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]
________________________________________________________________________________________