Optimal. Leaf size=38 \[ -8 \sqrt {1-x}+\frac {8}{3} (1-x)^{3/2}-\frac {2}{5} (1-x)^{5/2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 38, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {6264, 45}
\begin {gather*} -\frac {2}{5} (1-x)^{5/2}+\frac {8}{3} (1-x)^{3/2}-8 \sqrt {1-x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 6264
Rubi steps
\begin {align*} \int e^{\tanh ^{-1}(x)} (1+x)^{3/2} \, dx &=\int \frac {(1+x)^2}{\sqrt {1-x}} \, dx\\ &=\int \left (\frac {4}{\sqrt {1-x}}-4 \sqrt {1-x}+(1-x)^{3/2}\right ) \, dx\\ &=-8 \sqrt {1-x}+\frac {8}{3} (1-x)^{3/2}-\frac {2}{5} (1-x)^{5/2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 23, normalized size = 0.61 \begin {gather*} -\frac {2}{15} \sqrt {1-x} \left (43+14 x+3 x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.77, size = 27, normalized size = 0.71
method | result | size |
default | \(-\frac {2 \sqrt {-x^{2}+1}\, \left (3 x^{2}+14 x +43\right )}{15 \sqrt {1+x}}\) | \(27\) |
gosper | \(\frac {2 \left (x -1\right ) \left (3 x^{2}+14 x +43\right ) \sqrt {1+x}}{15 \sqrt {-x^{2}+1}}\) | \(30\) |
risch | \(\frac {2 \sqrt {\frac {-x^{2}+1}{1+x}}\, \sqrt {1+x}\, \left (3 x^{2}+14 x +43\right ) \left (x -1\right )}{15 \sqrt {-x^{2}+1}\, \sqrt {1-x}}\) | \(52\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 24, normalized size = 0.63 \begin {gather*} \frac {2 \, {\left (3 \, x^{3} + 11 \, x^{2} + 29 \, x - 43\right )}}{15 \, \sqrt {-x + 1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.34, size = 26, normalized size = 0.68 \begin {gather*} -\frac {2 \, {\left (3 \, x^{2} + 14 \, x + 43\right )} \sqrt {-x^{2} + 1}}{15 \, \sqrt {x + 1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (x + 1\right )^{\frac {5}{2}}}{\sqrt {- \left (x - 1\right ) \left (x + 1\right )}}\, dx \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 = 0.88, size = 45, normalized size = 1.18 \begin {gather*} -\frac {6\,x^2\,\sqrt {1-x^2}+28\,x\,\sqrt {1-x^2}+86\,\sqrt {1-x^2}}{15\,\sqrt {x+1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________