Optimal. Leaf size=18 \[ 2 \tan ^{-1}\left (\sqrt {\frac {1-x}{x+1}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 18, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {1961, 204} \[ 2 \tan ^{-1}\left (\sqrt {\frac {1-x}{x+1}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 204
Rule 1961
Rubi steps
\begin {align*} \int \frac {\sqrt {\frac {1-x}{1+x}}}{-1+x} \, dx &=-\left (4 \operatorname {Subst}\left (\int \frac {1}{-2-2 x^2} \, dx,x,\sqrt {\frac {1-x}{1+x}}\right )\right )\\ &=2 \tan ^{-1}\left (\sqrt {\frac {1-x}{1+x}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 34, normalized size = 1.89 \[ \frac {\sqrt {\frac {1-x}{x+1}} \sqrt {1-x^2} \sin ^{-1}(x)}{x-1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.41, size = 15, normalized size = 0.83 \[ 2 \, \arctan \left (\sqrt {-\frac {x - 1}{x + 1}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.31, size = 16, normalized size = 0.89 \[ -\frac {1}{2} \, \pi \mathrm {sgn}\left (x + 1\right ) - \arcsin \relax (x) \mathrm {sgn}\left (x + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 30, normalized size = 1.67 \[ -\frac {\sqrt {-\frac {x -1}{x +1}}\, \left (x +1\right ) \arcsin \relax (x )}{\sqrt {-\left (x -1\right ) \left (x +1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 2.54, size = 15, normalized size = 0.83 \[ 2 \, \arctan \left (\sqrt {-\frac {x - 1}{x + 1}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.14, size = 15, normalized size = 0.83 \[ 2\,\mathrm {atan}\left (\sqrt {-\frac {x-1}{x+1}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {- \frac {x - 1}{x + 1}}}{x - 1}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________