Optimal. Leaf size=70 \[ \frac {10 \sqrt {-\frac {1-x}{x}} \sqrt {1+x}}{3 \sqrt {1+\frac {1}{x}}}+\frac {2 \sqrt {-\frac {1-x}{x}} x \sqrt {1+x}}{3 \sqrt {1+\frac {1}{x}}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 70, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {6311, 6316, 79,
37} \begin {gather*} \frac {2 \sqrt {-\frac {1-x}{x}} \sqrt {x+1} x}{3 \sqrt {\frac {1}{x}+1}}+\frac {10 \sqrt {-\frac {1-x}{x}} \sqrt {x+1}}{3 \sqrt {\frac {1}{x}+1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 79
Rule 6311
Rule 6316
Rubi steps
\begin {align*} \int e^{\coth ^{-1}(x)} \sqrt {1+x} \, dx &=\frac {\sqrt {1+x} \int e^{\coth ^{-1}(x)} \sqrt {1+\frac {1}{x}} \sqrt {x} \, dx}{\sqrt {1+\frac {1}{x}} \sqrt {x}}\\ &=-\frac {\left (\sqrt {\frac {1}{x}} \sqrt {1+x}\right ) \text {Subst}\left (\int \frac {1+x}{\sqrt {1-x} x^{5/2}} \, dx,x,\frac {1}{x}\right )}{\sqrt {1+\frac {1}{x}}}\\ &=\frac {2 \sqrt {-\frac {1-x}{x}} x \sqrt {1+x}}{3 \sqrt {1+\frac {1}{x}}}-\frac {\left (5 \sqrt {\frac {1}{x}} \sqrt {1+x}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-x} x^{3/2}} \, dx,x,\frac {1}{x}\right )}{3 \sqrt {1+\frac {1}{x}}}\\ &=\frac {10 \sqrt {-\frac {1-x}{x}} \sqrt {1+x}}{3 \sqrt {1+\frac {1}{x}}}+\frac {2 \sqrt {-\frac {1-x}{x}} x \sqrt {1+x}}{3 \sqrt {1+\frac {1}{x}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 34, normalized size = 0.49 \begin {gather*} \frac {2 \sqrt {\frac {-1+x}{x}} \sqrt {1+x} (5+x)}{3 \sqrt {1+\frac {1}{x}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.07, size = 25, normalized size = 0.36
method | result | size |
gosper | \(\frac {2 \left (-1+x \right ) \left (x +5\right )}{3 \sqrt {\frac {-1+x}{1+x}}\, \sqrt {1+x}}\) | \(25\) |
default | \(\frac {2 \left (-1+x \right ) \left (x +5\right )}{3 \sqrt {\frac {-1+x}{1+x}}\, \sqrt {1+x}}\) | \(25\) |
risch | \(\frac {2 \left (-1+x \right ) \left (x +5\right )}{3 \sqrt {\frac {-1+x}{1+x}}\, \sqrt {1+x}}\) | \(25\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 15, normalized size = 0.21 \begin {gather*} \frac {2 \, {\left (x^{2} + 4 \, x - 5\right )}}{3 \, \sqrt {x - 1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 21, normalized size = 0.30 \begin {gather*} \frac {2}{3} \, {\left (x + 5\right )} \sqrt {x + 1} \sqrt {\frac {x - 1}{x + 1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 3.31, size = 56, normalized size = 0.80 \begin {gather*} 2 \left (\begin {cases} 2 \sqrt {2} \left (\frac {\sqrt {2} \left (x - 1\right )^{\frac {3}{2}}}{12} + \frac {\sqrt {2} \sqrt {x - 1}}{2}\right ) & \text {for}\: \sqrt {x + 1} > - \sqrt {2} \wedge \sqrt {x + 1} < \sqrt {2} \end {cases}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.24, size = 21, normalized size = 0.30 \begin {gather*} \frac {2\,\sqrt {\frac {x-1}{x+1}}\,\sqrt {x+1}\,\left (x+5\right )}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________