Optimal. Leaf size=22 \[ \tanh ^{-1}\left (\sqrt {\frac {1}{x}+1} \sqrt {\frac {x-1}{x}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {6175, 6180, 92, 206} \[ \tanh ^{-1}\left (\sqrt {\frac {1}{x}+1} \sqrt {\frac {x-1}{x}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 92
Rule 206
Rule 6175
Rule 6180
Rubi steps
\begin {align*} \int \frac {e^{\coth ^{-1}(x)}}{1+x} \, dx &=\int \frac {e^{\coth ^{-1}(x)}}{\left (1+\frac {1}{x}\right ) x} \, dx\\ &=-\operatorname {Subst}\left (\int \frac {1}{\sqrt {1-x} x \sqrt {1+x}} \, dx,x,\frac {1}{x}\right )\\ &=\operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\sqrt {1+\frac {1}{x}} \sqrt {\frac {-1+x}{x}}\right )\\ &=\tanh ^{-1}\left (\sqrt {1+\frac {1}{x}} \sqrt {\frac {-1+x}{x}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 18, normalized size = 0.82 \[ \log \left (x \left (\sqrt {\frac {x^2-1}{x^2}}+1\right )\right ) \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.61, size = 31, normalized size = 1.41 \[ \log \left (\sqrt {\frac {x - 1}{x + 1}} + 1\right ) - \log \left (\sqrt {\frac {x - 1}{x + 1}} - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.13, size = 32, normalized size = 1.45 \[ \log \left (\sqrt {\frac {x - 1}{x + 1}} + 1\right ) - \log \left ({\left | \sqrt {\frac {x - 1}{x + 1}} - 1 \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 35, normalized size = 1.59 \[ \frac {\left (-1+x \right ) \ln \left (x +\sqrt {x^{2}-1}\right )}{\sqrt {\frac {-1+x}{1+x}}\, \sqrt {\left (1+x \right ) \left (-1+x \right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.32, size = 31, normalized size = 1.41 \[ \log \left (\sqrt {\frac {x - 1}{x + 1}} + 1\right ) - \log \left (\sqrt {\frac {x - 1}{x + 1}} - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.03, size = 14, normalized size = 0.64 \[ 2\,\mathrm {atanh}\left (\sqrt {\frac {x-1}{x+1}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 4.03, size = 29, normalized size = 1.32 \[ - \log {\left (-1 + \frac {1}{\sqrt {1 - \frac {2}{x + 1}}} \right )} + \log {\left (1 + \frac {1}{\sqrt {1 - \frac {2}{x + 1}}} \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________