Optimal. Leaf size=22 \[ \sqrt{\frac{1}{x}+1} \sqrt{\frac{x-1}{x}} x \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0536301, antiderivative size = 22, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.273, Rules used = {6175, 6179, 95} \[ \sqrt{\frac{1}{x}+1} \sqrt{\frac{x-1}{x}} x \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6175
Rule 6179
Rule 95
Rubi steps
\begin{align*} \int \frac{e^{\coth ^{-1}(x)} x}{1+x} \, dx &=\int \frac{e^{\coth ^{-1}(x)}}{1+\frac{1}{x}} \, dx\\ &=-\operatorname{Subst}\left (\int \frac{1}{\sqrt{1-x} x^2 \sqrt{1+x}} \, dx,x,\frac{1}{x}\right )\\ &=\sqrt{1+\frac{1}{x}} \sqrt{\frac{-1+x}{x}} x\\ \end{align*}
Mathematica [A] time = 0.0233141, size = 15, normalized size = 0.68 \[ x \sqrt{\frac{x^2-1}{x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.067, size = 16, normalized size = 0.7 \begin{align*}{(-1+x){\frac{1}{\sqrt{{\frac{-1+x}{1+x}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.02722, size = 35, normalized size = 1.59 \begin{align*} -\frac{2 \, \sqrt{\frac{x - 1}{x + 1}}}{\frac{x - 1}{x + 1} - 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.53454, size = 42, normalized size = 1.91 \begin{align*}{\left (x + 1\right )} \sqrt{\frac{x - 1}{x + 1}} \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 \frac{x}{\sqrt{\frac{x - 1}{x + 1}} \left (x + 1\right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.16971, size = 39, normalized size = 1.77 \begin{align*} -\frac{2}{\sqrt{\frac{x - 1}{x + 1}} - \frac{1}{\sqrt{\frac{x - 1}{x + 1}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]