Optimal. Leaf size=31 \[ 2 \sqrt {2} \tanh ^{-1}\left (\frac {\sqrt {x+1}}{\sqrt {2}}\right )-2 \sqrt {x+1} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.357, Rules used = {6127, 627, 50, 63, 206} \[ 2 \sqrt {2} \tanh ^{-1}\left (\frac {\sqrt {x+1}}{\sqrt {2}}\right )-2 \sqrt {x+1} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 50
Rule 63
Rule 206
Rule 627
Rule 6127
Rubi steps
\begin {align*} \int \frac {e^{\tanh ^{-1}(x)}}{\sqrt {1-x}} \, dx &=\int \frac {\sqrt {1-x^2}}{(1-x)^{3/2}} \, dx\\ &=\int \frac {\sqrt {1+x}}{1-x} \, dx\\ &=-2 \sqrt {1+x}+2 \int \frac {1}{(1-x) \sqrt {1+x}} \, dx\\ &=-2 \sqrt {1+x}+4 \operatorname {Subst}\left (\int \frac {1}{2-x^2} \, dx,x,\sqrt {1+x}\right )\\ &=-2 \sqrt {1+x}+2 \sqrt {2} \tanh ^{-1}\left (\frac {\sqrt {1+x}}{\sqrt {2}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 31, normalized size = 1.00 \[ 2 \sqrt {2} \tanh ^{-1}\left (\frac {\sqrt {x+1}}{\sqrt {2}}\right )-2 \sqrt {x+1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.48, size = 74, normalized size = 2.39 \[ \frac {\sqrt {2} {\left (x - 1\right )} \log \left (-\frac {x^{2} - 2 \, \sqrt {2} \sqrt {-x^{2} + 1} \sqrt {-x + 1} + 2 \, x - 3}{x^{2} - 2 \, x + 1}\right ) + 2 \, \sqrt {-x^{2} + 1} \sqrt {-x + 1}}{x - 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.23, size = 37, normalized size = 1.19 \[ -\sqrt {2} \log \left (\frac {\sqrt {2} - \sqrt {x + 1}}{\sqrt {2} + \sqrt {x + 1}}\right ) - 2 \, \sqrt {x + 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.04, size = 52, normalized size = 1.68 \[ -\frac {2 \sqrt {-x^{2}+1}\, \sqrt {1-x}\, \left (\arctanh \left (\frac {\sqrt {1+x}\, \sqrt {2}}{2}\right ) \sqrt {2}-\sqrt {1+x}\right )}{\left (-1+x \right ) \sqrt {1+x}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x + 1}{\sqrt {-x^{2} + 1} \sqrt {-x + 1}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.03 \[ \int \frac {x+1}{\sqrt {1-x^2}\,\sqrt {1-x}} \,d x \]
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 {x + 1}{\sqrt {- \left (x - 1\right ) \left (x + 1\right )} \sqrt {1 - x}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________