Optimal. Leaf size=135 \[ \frac {3 (a+b x)^2}{8 b}-\frac {3 (a+b x) \sqrt {1-(a+b x)^2} \text {ArcSin}(a+b x)}{4 b}+\frac {3 \text {ArcSin}(a+b x)^2}{8 b}-\frac {3 (a+b x)^2 \text {ArcSin}(a+b x)^2}{4 b}+\frac {(a+b x) \sqrt {1-(a+b x)^2} \text {ArcSin}(a+b x)^3}{2 b}+\frac {\text {ArcSin}(a+b x)^4}{8 b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.13, antiderivative size = 135, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 6, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {4891, 4741,
4737, 4723, 4795, 30} \begin {gather*} \frac {\text {ArcSin}(a+b x)^4}{8 b}+\frac {(a+b x) \sqrt {1-(a+b x)^2} \text {ArcSin}(a+b x)^3}{2 b}-\frac {3 (a+b x)^2 \text {ArcSin}(a+b x)^2}{4 b}+\frac {3 \text {ArcSin}(a+b x)^2}{8 b}-\frac {3 (a+b x) \sqrt {1-(a+b x)^2} \text {ArcSin}(a+b x)}{4 b}+\frac {3 (a+b x)^2}{8 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 4723
Rule 4737
Rule 4741
Rule 4795
Rule 4891
Rubi steps
\begin {align*} \int \sqrt {1-a^2-2 a b x-b^2 x^2} \sin ^{-1}(a+b x)^3 \, dx &=\frac {\text {Subst}\left (\int \sqrt {1-x^2} \sin ^{-1}(x)^3 \, dx,x,a+b x\right )}{b}\\ &=\frac {(a+b x) \sqrt {1-(a+b x)^2} \sin ^{-1}(a+b x)^3}{2 b}+\frac {\text {Subst}\left (\int \frac {\sin ^{-1}(x)^3}{\sqrt {1-x^2}} \, dx,x,a+b x\right )}{2 b}-\frac {3 \text {Subst}\left (\int x \sin ^{-1}(x)^2 \, dx,x,a+b x\right )}{2 b}\\ &=-\frac {3 (a+b x)^2 \sin ^{-1}(a+b x)^2}{4 b}+\frac {(a+b x) \sqrt {1-(a+b x)^2} \sin ^{-1}(a+b x)^3}{2 b}+\frac {\sin ^{-1}(a+b x)^4}{8 b}+\frac {3 \text {Subst}\left (\int \frac {x^2 \sin ^{-1}(x)}{\sqrt {1-x^2}} \, dx,x,a+b x\right )}{2 b}\\ &=-\frac {3 (a+b x) \sqrt {1-(a+b x)^2} \sin ^{-1}(a+b x)}{4 b}-\frac {3 (a+b x)^2 \sin ^{-1}(a+b x)^2}{4 b}+\frac {(a+b x) \sqrt {1-(a+b x)^2} \sin ^{-1}(a+b x)^3}{2 b}+\frac {\sin ^{-1}(a+b x)^4}{8 b}+\frac {3 \text {Subst}(\int x \, dx,x,a+b x)}{4 b}+\frac {3 \text {Subst}\left (\int \frac {\sin ^{-1}(x)}{\sqrt {1-x^2}} \, dx,x,a+b x\right )}{4 b}\\ &=\frac {3 (a+b x)^2}{8 b}-\frac {3 (a+b x) \sqrt {1-(a+b x)^2} \sin ^{-1}(a+b x)}{4 b}+\frac {3 \sin ^{-1}(a+b x)^2}{8 b}-\frac {3 (a+b x)^2 \sin ^{-1}(a+b x)^2}{4 b}+\frac {(a+b x) \sqrt {1-(a+b x)^2} \sin ^{-1}(a+b x)^3}{2 b}+\frac {\sin ^{-1}(a+b x)^4}{8 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.09, size = 133, normalized size = 0.99 \begin {gather*} \frac {3 b x (2 a+b x)-6 (a+b x) \sqrt {1-a^2-2 a b x-b^2 x^2} \text {ArcSin}(a+b x)-3 \left (-1+2 a^2+4 a b x+2 b^2 x^2\right ) \text {ArcSin}(a+b x)^2+4 (a+b x) \sqrt {1-a^2-2 a b x-b^2 x^2} \text {ArcSin}(a+b x)^3+\text {ArcSin}(a+b x)^4}{8 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.75, size = 215, normalized size = 1.59
method | result | size |
default | \(\frac {4 \arcsin \left (b x +a \right )^{3} \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}\, b x -6 \arcsin \left (b x +a \right )^{2} b^{2} x^{2}+4 \arcsin \left (b x +a \right )^{3} \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}\, a -12 \arcsin \left (b x +a \right )^{2} a b x +\arcsin \left (b x +a \right )^{4}-6 \arcsin \left (b x +a \right )^{2} a^{2}-6 \arcsin \left (b x +a \right ) \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}\, b x +3 b^{2} x^{2}-6 \arcsin \left (b x +a \right ) \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}\, a +6 a b x +3 \arcsin \left (b x +a \right )^{2}+3 a^{2}}{8 b}\) | \(215\) |
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 [A]
time = 3.69, size = 110, normalized size = 0.81 \begin {gather*} \frac {3 \, b^{2} x^{2} + \arcsin \left (b x + a\right )^{4} + 6 \, a b x - 3 \, {\left (2 \, b^{2} x^{2} + 4 \, a b x + 2 \, a^{2} - 1\right )} \arcsin \left (b x + a\right )^{2} + 2 \, \sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1} {\left (2 \, {\left (b x + a\right )} \arcsin \left (b x + a\right )^{3} - 3 \, {\left (b x + a\right )} \arcsin \left (b x + a\right )\right )}}{8 \, b} \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 \sqrt {- \left (a + b x - 1\right ) \left (a + b x + 1\right )} \operatorname {asin}^{3}{\left (a + b x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.48, size = 162, normalized size = 1.20 \begin {gather*} \frac {\sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1} {\left (b x + a\right )} \arcsin \left (b x + a\right )^{3}}{2 \, b} + \frac {\arcsin \left (b x + a\right )^{4}}{8 \, b} - \frac {3 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2} - 1\right )} \arcsin \left (b x + a\right )^{2}}{4 \, b} - \frac {3 \, \sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1} {\left (b x + a\right )} \arcsin \left (b x + a\right )}{4 \, b} - \frac {3 \, \arcsin \left (b x + a\right )^{2}}{8 \, b} + \frac {3 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2} - 1\right )}}{8 \, b} + \frac {3}{16 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\mathrm {asin}\left (a+b\,x\right )}^3\,\sqrt {-a^2-2\,a\,b\,x-b^2\,x^2+1} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________