Optimal. Leaf size=25 \[ -2 \sqrt {1-x}+\frac {2}{3} (1-x)^{3/2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {6264, 45}
\begin {gather*} \frac {2}{3} (1-x)^{3/2}-2 \sqrt {1-x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 6264
Rubi steps
\begin {align*} \int \frac {e^{\tanh ^{-1}(x)} x}{\sqrt {1+x}} \, dx &=\int \frac {x}{\sqrt {1-x}} \, dx\\ &=\int \left (\frac {1}{\sqrt {1-x}}-\sqrt {1-x}\right ) \, dx\\ &=-2 \sqrt {1-x}+\frac {2}{3} (1-x)^{3/2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 16, normalized size = 0.64 \begin {gather*} -\frac {2}{3} \sqrt {1-x} (2+x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.99, size = 20, normalized size = 0.80
method | result | size |
default | \(-\frac {2 \sqrt {-x^{2}+1}\, \left (x +2\right )}{3 \sqrt {1+x}}\) | \(20\) |
gosper | \(\frac {2 \left (x -1\right ) \left (x +2\right ) \sqrt {1+x}}{3 \sqrt {-x^{2}+1}}\) | \(23\) |
risch | \(\frac {2 \sqrt {\frac {-x^{2}+1}{1+x}}\, \sqrt {1+x}\, \left (x +2\right ) \left (x -1\right )}{3 \sqrt {-x^{2}+1}\, \sqrt {1-x}}\) | \(45\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 15, normalized size = 0.60 \begin {gather*} \frac {2 \, {\left (x^{2} + x - 2\right )}}{3 \, \sqrt {-x + 1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 19, normalized size = 0.76 \begin {gather*} -\frac {2 \, \sqrt {-x^{2} + 1} {\left (x + 2\right )}}{3 \, \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 {x \sqrt {x + 1}}{\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.02, size = 19, normalized size = 0.76 \begin {gather*} -\frac {2\,\sqrt {1-x^2}\,\left (x+2\right )}{3\,\sqrt {x+1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________