Optimal. Leaf size=110 \[ -\frac {5 (a+b x)^2}{16 b}+\frac {(a+b x)^4}{16 b}+\frac {3 (a+b x) \sqrt {1-(a+b x)^2} \text {ArcSin}(a+b x)}{8 b}+\frac {(a+b x) \left (1-(a+b x)^2\right )^{3/2} \text {ArcSin}(a+b x)}{4 b}+\frac {3 \text {ArcSin}(a+b x)^2}{16 b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 110, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 6, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.194, Rules used = {4891, 4743,
4741, 4737, 30, 14} \begin {gather*} \frac {\left (1-(a+b x)^2\right )^{3/2} (a+b x) \text {ArcSin}(a+b x)}{4 b}+\frac {3 \sqrt {1-(a+b x)^2} (a+b x) \text {ArcSin}(a+b x)}{8 b}+\frac {3 \text {ArcSin}(a+b x)^2}{16 b}+\frac {(a+b x)^4}{16 b}-\frac {5 (a+b x)^2}{16 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 30
Rule 4737
Rule 4741
Rule 4743
Rule 4891
Rubi steps
\begin {align*} \int \left (1-a^2-2 a b x-b^2 x^2\right )^{3/2} \sin ^{-1}(a+b x) \, dx &=\frac {\text {Subst}\left (\int \left (1-x^2\right )^{3/2} \sin ^{-1}(x) \, dx,x,a+b x\right )}{b}\\ &=\frac {(a+b x) \left (1-(a+b x)^2\right )^{3/2} \sin ^{-1}(a+b x)}{4 b}-\frac {\text {Subst}\left (\int x \left (1-x^2\right ) \, dx,x,a+b x\right )}{4 b}+\frac {3 \text {Subst}\left (\int \sqrt {1-x^2} \sin ^{-1}(x) \, dx,x,a+b x\right )}{4 b}\\ &=\frac {3 (a+b x) \sqrt {1-(a+b x)^2} \sin ^{-1}(a+b x)}{8 b}+\frac {(a+b x) \left (1-(a+b x)^2\right )^{3/2} \sin ^{-1}(a+b x)}{4 b}-\frac {\text {Subst}\left (\int \left (x-x^3\right ) \, dx,x,a+b x\right )}{4 b}-\frac {3 \text {Subst}(\int x \, dx,x,a+b x)}{8 b}+\frac {3 \text {Subst}\left (\int \frac {\sin ^{-1}(x)}{\sqrt {1-x^2}} \, dx,x,a+b x\right )}{8 b}\\ &=-\frac {5 (a+b x)^2}{16 b}+\frac {(a+b x)^4}{16 b}+\frac {3 (a+b x) \sqrt {1-(a+b x)^2} \sin ^{-1}(a+b x)}{8 b}+\frac {(a+b x) \left (1-(a+b x)^2\right )^{3/2} \sin ^{-1}(a+b x)}{4 b}+\frac {3 \sin ^{-1}(a+b x)^2}{16 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 129, normalized size = 1.17 \begin {gather*} \frac {1}{16} \left (2 a \left (-5+2 a^2\right ) x+\left (-5+6 a^2\right ) b x^2+4 a b^2 x^3+b^3 x^4-\frac {2 \sqrt {1-a^2-2 a b x-b^2 x^2} \left (-5 a+2 a^3-5 b x+6 a^2 b x+6 a b^2 x^2+2 b^3 x^3\right ) \text {ArcSin}(a+b x)}{b}+\frac {3 \text {ArcSin}(a+b x)^2}{b}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(279\) vs.
\(2(96)=192\).
time = 0.42, size = 280, normalized size = 2.55
method | result | size |
default | \(\frac {-16 \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}\, \arcsin \left (b x +a \right ) b^{3} x^{3}+4 b^{4} x^{4}-48 \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}\, \arcsin \left (b x +a \right ) a \,b^{2} x^{2}+16 a \,b^{3} x^{3}-48 \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}\, \arcsin \left (b x +a \right ) a^{2} b x +24 a^{2} b^{2} x^{2}-16 \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}\, \arcsin \left (b x +a \right ) a^{3}+16 a^{3} b x +40 \arcsin \left (b x +a \right ) \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}\, b x +4 a^{4}-20 b^{2} x^{2}+40 \arcsin \left (b x +a \right ) \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}\, a -40 a b x +12 \arcsin \left (b x +a \right )^{2}-20 a^{2}+25}{64 b}\) | \(280\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 402 vs.
\(2 (96) = 192\).
time = 0.49, size = 402, normalized size = 3.65 \begin {gather*} \frac {1}{16} \, {\left (b^{2} x^{4} + 4 \, a b x^{3} + 6 \, a^{2} x^{2} + \frac {4 \, a^{3} x}{b} - 5 \, x^{2} - \frac {10 \, a x}{b} + \frac {6 \, \arcsin \left (b x + a\right ) \arcsin \left (-\frac {b^{2} x + a b}{\sqrt {a^{2} b^{2} - {\left (a^{2} - 1\right )} b^{2}}}\right )}{b^{2}} + \frac {3 \, \arcsin \left (-\frac {b^{2} x + a b}{\sqrt {a^{2} b^{2} - {\left (a^{2} - 1\right )} b^{2}}}\right )^{2}}{b^{2}}\right )} b + \frac {1}{8} \, {\left (2 \, {\left (-b^{2} x^{2} - 2 \, a b x - a^{2} + 1\right )}^{\frac {3}{2}} x + \frac {2 \, {\left (-b^{2} x^{2} - 2 \, a b x - a^{2} + 1\right )}^{\frac {3}{2}} a}{b} - \frac {3 \, {\left (a^{2} b^{2} - {\left (a^{2} - 1\right )} b^{2}\right )} a^{2} \arcsin \left (-\frac {b^{2} x + a b}{\sqrt {a^{2} b^{2} - {\left (a^{2} - 1\right )} b^{2}}}\right )}{b^{3}} + \frac {3 \, {\left (a^{2} b^{2} - {\left (a^{2} - 1\right )} b^{2}\right )} \sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1} x}{b^{2}} + \frac {3 \, {\left (a^{2} b^{2} - {\left (a^{2} - 1\right )} b^{2}\right )} {\left (a^{2} - 1\right )} \arcsin \left (-\frac {b^{2} x + a b}{\sqrt {a^{2} b^{2} - {\left (a^{2} - 1\right )} b^{2}}}\right )}{b^{3}} + \frac {3 \, {\left (a^{2} b^{2} - {\left (a^{2} - 1\right )} b^{2}\right )} \sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1} a}{b^{3}}\right )} \arcsin \left (b x + a\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.35, size = 125, normalized size = 1.14 \begin {gather*} \frac {b^{4} x^{4} + 4 \, a b^{3} x^{3} + {\left (6 \, a^{2} - 5\right )} b^{2} x^{2} + 2 \, {\left (2 \, a^{3} - 5 \, a\right )} b x - 2 \, {\left (2 \, b^{3} x^{3} + 6 \, a b^{2} x^{2} + 2 \, a^{3} + {\left (6 \, a^{2} - 5\right )} b x - 5 \, a\right )} \sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1} \arcsin \left (b x + a\right ) + 3 \, \arcsin \left (b x + a\right )^{2}}{16 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 298 vs.
\(2 (95) = 190\).
time = 0.62, size = 298, normalized size = 2.71 \begin {gather*} \begin {cases} \frac {a^{3} x}{4} - \frac {a^{3} \sqrt {- a^{2} - 2 a b x - b^{2} x^{2} + 1} \operatorname {asin}{\left (a + b x \right )}}{4 b} + \frac {3 a^{2} b x^{2}}{8} - \frac {3 a^{2} x \sqrt {- a^{2} - 2 a b x - b^{2} x^{2} + 1} \operatorname {asin}{\left (a + b x \right )}}{4} + \frac {a b^{2} x^{3}}{4} - \frac {3 a b x^{2} \sqrt {- a^{2} - 2 a b x - b^{2} x^{2} + 1} \operatorname {asin}{\left (a + b x \right )}}{4} - \frac {5 a x}{8} + \frac {5 a \sqrt {- a^{2} - 2 a b x - b^{2} x^{2} + 1} \operatorname {asin}{\left (a + b x \right )}}{8 b} + \frac {b^{3} x^{4}}{16} - \frac {b^{2} x^{3} \sqrt {- a^{2} - 2 a b x - b^{2} x^{2} + 1} \operatorname {asin}{\left (a + b x \right )}}{4} - \frac {5 b x^{2}}{16} + \frac {5 x \sqrt {- a^{2} - 2 a b x - b^{2} x^{2} + 1} \operatorname {asin}{\left (a + b x \right )}}{8} + \frac {3 \operatorname {asin}^{2}{\left (a + b x \right )}}{16 b} & \text {for}\: b \neq 0 \\x \left (1 - a^{2}\right )^{\frac {3}{2}} \operatorname {asin}{\left (a \right )} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.46, size = 141, normalized size = 1.28 \begin {gather*} \frac {{\left (-b^{2} x^{2} - 2 \, a b x - a^{2} + 1\right )}^{\frac {3}{2}} {\left (b x + a\right )} \arcsin \left (b x + a\right )}{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 )}{8 \, b} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2} - 1\right )}^{2}}{16 \, b} + \frac {3 \, \arcsin \left (b x + a\right )^{2}}{16 \, b} - \frac {3 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2} - 1\right )}}{16 \, b} - \frac {15}{128 \, 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 )\,{\left (-a^2-2\,a\,b\,x-b^2\,x^2+1\right )}^{3/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________