Optimal. Leaf size=43 \[ -\frac {2 x^{5/2}}{5}-2 \sqrt {x}-\log \left (1-\sqrt {x}\right )+\frac {1}{2} \log (x+1)+\tan ^{-1}\left (\sqrt {x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 31, normalized size of antiderivative = 0.72, number of steps used = 10, number of rules used = 6, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.353, Rules used = {1833, 275, 206, 302, 212, 203} \[ -\frac {2 x^{5/2}}{5}-2 \sqrt {x}+\tan ^{-1}\left (\sqrt {x}\right )+\tanh ^{-1}\left (\sqrt {x}\right )+\tanh ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 206
Rule 212
Rule 275
Rule 302
Rule 1833
Rubi steps
\begin {align*} \int \frac {1+x^{7/2}}{1-x^2} \, dx &=2 \operatorname {Subst}\left (\int \frac {x \left (1+x^7\right )}{1-x^4} \, dx,x,\sqrt {x}\right )\\ &=2 \operatorname {Subst}\left (\int \left (\frac {x}{1-x^4}+\frac {x^8}{1-x^4}\right ) \, dx,x,\sqrt {x}\right )\\ &=2 \operatorname {Subst}\left (\int \frac {x}{1-x^4} \, dx,x,\sqrt {x}\right )+2 \operatorname {Subst}\left (\int \frac {x^8}{1-x^4} \, dx,x,\sqrt {x}\right )\\ &=2 \operatorname {Subst}\left (\int \left (-1-x^4+\frac {1}{1-x^4}\right ) \, dx,x,\sqrt {x}\right )+\operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,x\right )\\ &=-2 \sqrt {x}-\frac {2 x^{5/2}}{5}+\tanh ^{-1}(x)+2 \operatorname {Subst}\left (\int \frac {1}{1-x^4} \, dx,x,\sqrt {x}\right )\\ &=-2 \sqrt {x}-\frac {2 x^{5/2}}{5}+\tanh ^{-1}(x)+\operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\sqrt {x}\right )+\operatorname {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt {x}\right )\\ &=-2 \sqrt {x}-\frac {2 x^{5/2}}{5}+\tan ^{-1}\left (\sqrt {x}\right )+\tanh ^{-1}\left (\sqrt {x}\right )+\tanh ^{-1}(x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.03, size = 67, normalized size = 1.56 \[ -\frac {2 x^{5/2}}{5}-2 \sqrt {x}+\left (\frac {1}{2}-\frac {i}{2}\right ) \log \left (-\sqrt {x}+i\right )-\log \left (1-\sqrt {x}\right )+\left (\frac {1}{2}+\frac {i}{2}\right ) \log \left (\sqrt {x}+i\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.46, size = 29, normalized size = 0.67 \[ -\frac {2}{5} \, {\left (x^{2} + 5\right )} \sqrt {x} + \arctan \left (\sqrt {x}\right ) + \frac {1}{2} \, \log \left (x + 1\right ) - \log \left (\sqrt {x} - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.34, size = 30, normalized size = 0.70 \[ -\frac {2}{5} \, x^{\frac {5}{2}} - 2 \, \sqrt {x} + \arctan \left (\sqrt {x}\right ) + \frac {1}{2} \, \log \left (x + 1\right ) - \log \left ({\left | \sqrt {x} - 1 \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 34, normalized size = 0.79 \[ -\frac {2 x^{\frac {5}{2}}}{5}+\arctanh \relax (x )+\arctan \left (\sqrt {x}\right )-\frac {\ln \left (\sqrt {x}-1\right )}{2}+\frac {\ln \left (\sqrt {x}+1\right )}{2}-2 \sqrt {x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.80, size = 29, normalized size = 0.67 \[ -\frac {2}{5} \, x^{\frac {5}{2}} - 2 \, \sqrt {x} + \arctan \left (\sqrt {x}\right ) + \frac {1}{2} \, \log \left (x + 1\right ) - \log \left (\sqrt {x} - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.11, size = 53, normalized size = 1.23 \[ -\ln \left (10\,\sqrt {x}-10\right )-2\,\sqrt {x}-\frac {2\,x^{5/2}}{5}+\ln \left (1+\sqrt {x}\,\left (-3-\mathrm {i}\right )-3{}\mathrm {i}\right )\,\left (\frac {1}{2}+\frac {1}{2}{}\mathrm {i}\right )+\ln \left (1+\sqrt {x}\,\left (-3+1{}\mathrm {i}\right )+3{}\mathrm {i}\right )\,\left (\frac {1}{2}-\frac {1}{2}{}\mathrm {i}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 2.43, size = 36, normalized size = 0.84 \[ - \frac {2 x^{\frac {5}{2}}}{5} - 2 \sqrt {x} - \log {\left (\sqrt {x} - 1 \right )} + \frac {\log {\left (x + 1 \right )}}{2} + \operatorname {atan}{\left (\sqrt {x} \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________