Optimal. Leaf size=63 \[ -\frac {(a+b x)^2}{4 b}+\frac {\sqrt {1-(a+b x)^2} (a+b x) \sin ^{-1}(a+b x)}{2 b}+\frac {\sin ^{-1}(a+b x)^2}{4 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 63, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.129, Rules used = {4807, 4647, 4641, 30} \[ -\frac {(a+b x)^2}{4 b}+\frac {\sqrt {1-(a+b x)^2} (a+b x) \sin ^{-1}(a+b x)}{2 b}+\frac {\sin ^{-1}(a+b x)^2}{4 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 4641
Rule 4647
Rule 4807
Rubi steps
\begin {align*} \int \sqrt {1-a^2-2 a b x-b^2 x^2} \sin ^{-1}(a+b x) \, dx &=\frac {\operatorname {Subst}\left (\int \sqrt {1-x^2} \sin ^{-1}(x) \, dx,x,a+b x\right )}{b}\\ &=\frac {(a+b x) \sqrt {1-(a+b x)^2} \sin ^{-1}(a+b x)}{2 b}-\frac {\operatorname {Subst}(\int x \, dx,x,a+b x)}{2 b}+\frac {\operatorname {Subst}\left (\int \frac {\sin ^{-1}(x)}{\sqrt {1-x^2}} \, dx,x,a+b x\right )}{2 b}\\ &=-\frac {(a+b x)^2}{4 b}+\frac {(a+b x) \sqrt {1-(a+b x)^2} \sin ^{-1}(a+b x)}{2 b}+\frac {\sin ^{-1}(a+b x)^2}{4 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 64, normalized size = 1.02 \[ \frac {2 (a+b x) \sqrt {-a^2-2 a b x-b^2 x^2+1} \sin ^{-1}(a+b x)-b x (2 a+b x)+\sin ^{-1}(a+b x)^2}{4 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.44, size = 63, normalized size = 1.00 \[ -\frac {b^{2} x^{2} + 2 \, a b x - 2 \, \sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1} {\left (b x + a\right )} \arcsin \left (b x + a\right ) - \arcsin \left (b x + a\right )^{2}}{4 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.37, size = 79, normalized size = 1.25 \[ \frac {\sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1} {\left (b x + a\right )} \arcsin \left (b x + a\right )}{2 \, b} + \frac {\arcsin \left (b x + a\right )^{2}}{4 \, b} - \frac {b^{2} x^{2} + 2 \, a b x + a^{2} - 1}{4 \, b} - \frac {1}{8 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.13, size = 96, normalized size = 1.52 \[ \frac {2 \arcsin \left (b x +a \right ) \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}\, x b -b^{2} x^{2}+2 \arcsin \left (b x +a \right ) \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}\, a -2 a b x +\arcsin \left (b x +a \right )^{2}-a^{2}}{4 b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.42, size = 240, normalized size = 3.81 \[ -\frac {1}{4} \, {\left (x^{2} + \frac {2 \, a x}{b} - \frac {2 \, \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 {\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}{2} \, {\left (\frac {a^{2} \arcsin \left (-\frac {b^{2} x + a b}{\sqrt {a^{2} b^{2} - {\left (a^{2} - 1\right )} b^{2}}}\right )}{b} - \sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1} x - \frac {{\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} - \frac {\sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1} a}{b}\right )} \arcsin \left (b x + a\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \mathrm {asin}\left (a+b\,x\right )\,\sqrt {-a^2-2\,a\,b\,x-b^2\,x^2+1} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {- \left (a + b x - 1\right ) \left (a + b x + 1\right )} \operatorname {asin}{\left (a + b x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________