Optimal. Leaf size=71 \[ -\frac {4 \left (1+\frac {1}{x}\right )^{3/2} \sqrt {1-x} x}{15 \sqrt {1-\frac {1}{x}}}+\frac {2 \left (1+\frac {1}{x}\right )^{3/2} \sqrt {1-x} x^2}{5 \sqrt {1-\frac {1}{x}}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 71, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.267, Rules used = {6311, 6316, 47,
37} \begin {gather*} \frac {2 \left (\frac {1}{x}+1\right )^{3/2} \sqrt {1-x} x^2}{5 \sqrt {1-\frac {1}{x}}}-\frac {4 \left (\frac {1}{x}+1\right )^{3/2} \sqrt {1-x} x}{15 \sqrt {1-\frac {1}{x}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 47
Rule 6311
Rule 6316
Rubi steps
\begin {align*} \int e^{\coth ^{-1}(x)} \sqrt {1-x} x \, dx &=\frac {\sqrt {1-x} \int e^{\coth ^{-1}(x)} \sqrt {1-\frac {1}{x}} x^{3/2} \, dx}{\sqrt {1-\frac {1}{x}} \sqrt {x}}\\ &=-\frac {\left (\sqrt {1-x} \sqrt {\frac {1}{x}}\right ) \text {Subst}\left (\int \frac {\sqrt {1+x}}{x^{7/2}} \, dx,x,\frac {1}{x}\right )}{\sqrt {1-\frac {1}{x}}}\\ &=\frac {2 \left (1+\frac {1}{x}\right )^{3/2} \sqrt {1-x} x^2}{5 \sqrt {1-\frac {1}{x}}}+\frac {\left (2 \sqrt {1-x} \sqrt {\frac {1}{x}}\right ) \text {Subst}\left (\int \frac {\sqrt {1+x}}{x^{5/2}} \, dx,x,\frac {1}{x}\right )}{5 \sqrt {1-\frac {1}{x}}}\\ &=-\frac {4 \left (1+\frac {1}{x}\right )^{3/2} \sqrt {1-x} x}{15 \sqrt {1-\frac {1}{x}}}+\frac {2 \left (1+\frac {1}{x}\right )^{3/2} \sqrt {1-x} x^2}{5 \sqrt {1-\frac {1}{x}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 41, normalized size = 0.58 \begin {gather*} \frac {2 \sqrt {1+\frac {1}{x}} \sqrt {1-x} (1+x) (-2+3 x)}{15 \sqrt {\frac {-1+x}{x}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.10, size = 29, normalized size = 0.41
method | result | size |
gosper | \(\frac {2 \left (1+x \right ) \left (3 x -2\right ) \sqrt {1-x}}{15 \sqrt {\frac {-1+x}{1+x}}}\) | \(29\) |
default | \(\frac {2 \left (1+x \right ) \left (3 x -2\right ) \sqrt {1-x}}{15 \sqrt {\frac {-1+x}{1+x}}}\) | \(29\) |
risch | \(-\frac {2 \sqrt {\frac {\left (1+x \right ) \left (1-x \right )}{-1+x}}\, \left (-1+x \right ) \left (3 x^{2}+x -2\right )}{15 \sqrt {\frac {-1+x}{1+x}}\, \sqrt {1-x}\, \sqrt {-1-x}}\) | \(55\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [C] Result contains complex when optimal does not.
time = 0.26, size = 17, normalized size = 0.24 \begin {gather*} -\frac {2}{15} \, {\left (-3 i \, x^{2} - i \, x + 2 i\right )} \sqrt {x + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.34, size = 40, normalized size = 0.56 \begin {gather*} \frac {2 \, {\left (3 \, x^{3} + 4 \, x^{2} - x - 2\right )} \sqrt {-x + 1} \sqrt {\frac {x - 1}{x + 1}}}{15 \, {\left (x - 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 12.49, size = 80, normalized size = 1.13 \begin {gather*} \frac {2 \left (1 - x\right )^{\frac {5}{2}}}{5 \sqrt {- \frac {x}{- x - 1} + \frac {1}{- x - 1}}} - \frac {14 \left (1 - x\right )^{\frac {3}{2}}}{15 \sqrt {- \frac {x}{- x - 1} + \frac {1}{- x - 1}}} + \frac {4 \sqrt {1 - x}}{15 \sqrt {- \frac {x}{- x - 1} + \frac {1}{- x - 1}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [C] Result contains complex when optimal does not.
time = 0.40, size = 49, normalized size = 0.69 \begin {gather*} -\frac {4}{15} i \, \sqrt {2} \mathrm {sgn}\left (x + 1\right ) + \frac {2 \, {\left (3 \, {\left (x + 1\right )}^{2} \sqrt {-x - 1} + 5 \, {\left (-x - 1\right )}^{\frac {3}{2}} - 2 i \, \sqrt {2}\right )} \mathrm {sgn}\left (x\right )}{15 \, \mathrm {sgn}\left (x + 1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.27, size = 30, normalized size = 0.42 \begin {gather*} -\frac {2\,\left (3\,x-2\right )\,\sqrt {\frac {x-1}{x+1}}\,{\left (x+1\right )}^2}{15\,\sqrt {1-x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________