Optimal. Leaf size=25 \[ \sqrt{1-x^2} \sqrt{\frac{1}{x^2-1}} \sin ^{-1}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0216021, antiderivative size = 33, normalized size of antiderivative = 1.32, number of steps used = 4, number of rules used = 4, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.235, Rules used = {6688, 6720, 217, 206} \[ \sqrt{\frac{1}{x^2-1}} \sqrt{x^2-1} \tanh ^{-1}\left (\frac{x}{\sqrt{x^2-1}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6688
Rule 6720
Rule 217
Rule 206
Rubi steps
\begin{align*} \int \sqrt{\frac{1+x^2}{-1+x^4}} \, dx &=\int \sqrt{\frac{1}{-1+x^2}} \, dx\\ &=\left (\sqrt{\frac{1}{-1+x^2}} \sqrt{-1+x^2}\right ) \int \frac{1}{\sqrt{-1+x^2}} \, dx\\ &=\left (\sqrt{\frac{1}{-1+x^2}} \sqrt{-1+x^2}\right ) \operatorname{Subst}\left (\int \frac{1}{1-x^2} \, dx,x,\frac{x}{\sqrt{-1+x^2}}\right )\\ &=\sqrt{\frac{1}{-1+x^2}} \sqrt{-1+x^2} \tanh ^{-1}\left (\frac{x}{\sqrt{-1+x^2}}\right )\\ \end{align*}
Mathematica [B] time = 0.0033965, size = 56, normalized size = 2.24 \[ \frac{1}{2} \sqrt{\frac{1}{x^2-1}} \sqrt{x^2-1} \left (\log \left (\frac{x}{\sqrt{x^2-1}}+1\right )-\log \left (1-\frac{x}{\sqrt{x^2-1}}\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.003, size = 28, normalized size = 1.1 \begin{align*} \sqrt{ \left ({x}^{2}-1 \right ) ^{-1}}\sqrt{{x}^{2}-1}\ln \left ( x+\sqrt{{x}^{2}-1} \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{\frac{x^{2} + 1}{x^{4} - 1}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.4318, size = 35, normalized size = 1.4 \begin{align*} -\log \left (-x + \sqrt{x^{2} - 1}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{\frac{x^{2} + 1}{x^{4} - 1}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.16616, size = 28, normalized size = 1.12 \begin{align*} -\log \left ({\left | -x + \sqrt{x^{2} - 1} \right |}\right ) \mathrm{sgn}\left (x^{2} - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]