Optimal. Leaf size=57 \[ -\frac {\sqrt {1+x}}{3 (1-x)}+\frac {2 \sin ^{-1}(x)}{3 (1-x)^{3/2}}-\frac {\tanh ^{-1}\left (\frac {\sqrt {1+x}}{\sqrt {2}}\right )}{3 \sqrt {2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 57, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.417, Rules used = {4827, 641, 44,
65, 212} \begin {gather*} \frac {2 \text {ArcSin}(x)}{3 (1-x)^{3/2}}-\frac {\sqrt {x+1}}{3 (1-x)}-\frac {\tanh ^{-1}\left (\frac {\sqrt {x+1}}{\sqrt {2}}\right )}{3 \sqrt {2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 44
Rule 65
Rule 212
Rule 641
Rule 4827
Rubi steps
\begin {align*} \int \frac {\sin ^{-1}(x)}{(1-x)^{5/2}} \, dx &=\frac {2 \sin ^{-1}(x)}{3 (1-x)^{3/2}}-\frac {2}{3} \int \frac {1}{(1-x)^{3/2} \sqrt {1-x^2}} \, dx\\ &=\frac {2 \sin ^{-1}(x)}{3 (1-x)^{3/2}}-\frac {2}{3} \int \frac {1}{(1-x)^2 \sqrt {1+x}} \, dx\\ &=-\frac {\sqrt {1+x}}{3 (1-x)}+\frac {2 \sin ^{-1}(x)}{3 (1-x)^{3/2}}-\frac {1}{6} \int \frac {1}{(1-x) \sqrt {1+x}} \, dx\\ &=-\frac {\sqrt {1+x}}{3 (1-x)}+\frac {2 \sin ^{-1}(x)}{3 (1-x)^{3/2}}-\frac {1}{3} \text {Subst}\left (\int \frac {1}{2-x^2} \, dx,x,\sqrt {1+x}\right )\\ &=-\frac {\sqrt {1+x}}{3 (1-x)}+\frac {2 \sin ^{-1}(x)}{3 (1-x)^{3/2}}-\frac {\tanh ^{-1}\left (\frac {\sqrt {1+x}}{\sqrt {2}}\right )}{3 \sqrt {2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.07, size = 61, normalized size = 1.07 \begin {gather*} \frac {1}{6} \left (-\frac {2 \left (\sqrt {1-x^2}-2 \sin ^{-1}(x)\right )}{(1-x)^{3/2}}-\sqrt {2} \tanh ^{-1}\left (\frac {\sqrt {1-x^2}}{\sqrt {2-2 x}}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.07, size = 70, normalized size = 1.23
method | result | size |
derivativedivides | \(\frac {2 \arcsin \left (x \right )}{3 \left (1-x \right )^{\frac {3}{2}}}-\frac {\sqrt {1+x}\, \left (\sqrt {2}\, \arctanh \left (\frac {\sqrt {2}}{\sqrt {1+x}}\right ) \left (1-x \right )+2 \sqrt {1+x}\right )}{6 \sqrt {1-x}\, \sqrt {-\left (1-x \right )^{2}+2-2 x}}\) | \(70\) |
default | \(\frac {2 \arcsin \left (x \right )}{3 \left (1-x \right )^{\frac {3}{2}}}-\frac {\sqrt {1+x}\, \left (\sqrt {2}\, \arctanh \left (\frac {\sqrt {2}}{\sqrt {1+x}}\right ) \left (1-x \right )+2 \sqrt {1+x}\right )}{6 \sqrt {1-x}\, \sqrt {-\left (1-x \right )^{2}+2-2 x}}\) | \(70\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 90 vs.
\(2 (40) = 80\).
time = 1.14, size = 90, normalized size = 1.58 \begin {gather*} \frac {\sqrt {2} {\left (x^{2} - 2 \, x + 1\right )} \log \left (-\frac {x^{2} + 2 \, \sqrt {2} \sqrt {-x^{2} + 1} \sqrt {-x + 1} + 2 \, x - 3}{x^{2} - 2 \, x + 1}\right ) - 4 \, \sqrt {-x + 1} {\left (\sqrt {-x^{2} + 1} - 2 \, \arcsin \left (x\right )\right )}}{12 \, {\left (x^{2} - 2 \, x + 1\right )}} \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 {\operatorname {asin}{\left (x \right )}}{\left (1 - x\right )^{\frac {5}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.11, size = 58, normalized size = 1.02 \begin {gather*} \frac {1}{12} \, \sqrt {2} \log \left (\frac {\sqrt {2} - \sqrt {x + 1}}{\sqrt {2} + \sqrt {x + 1}}\right ) + \frac {\sqrt {x + 1}}{3 \, {\left (x - 1\right )}} - \frac {2 \, \arcsin \left (x\right )}{3 \, {\left (x - 1\right )} \sqrt {-x + 1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {\mathrm {asin}\left (x\right )}{{\left (1-x\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________