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.070168, antiderivative size = 63, normalized size of antiderivative = 1., 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 4807
Rule 4647
Rule 4641
Rule 30
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.0597914, 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]
________________________________________________________________________________________
Maple [A] time = 0.054, size = 96, normalized size = 1.5 \begin{align*}{\frac{1}{4\,b} \left ( 2\,\arcsin \left ( bx+a \right ) \sqrt{-{b}^{2}{x}^{2}-2\,xab-{a}^{2}+1}xb-{b}^{2}{x}^{2}+2\,\arcsin \left ( bx+a \right ) \sqrt{-{b}^{2}{x}^{2}-2\,xab-{a}^{2}+1}a-2\,xab+ \left ( \arcsin \left ( bx+a \right ) \right ) ^{2}-{a}^{2} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.46247, size = 153, normalized size = 2.43 \begin{align*} -\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} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{- \left (a + b x - 1\right ) \left (a + b x + 1\right )} \operatorname{asin}{\left (a + b x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.20567, size = 107, normalized size = 1.7 \begin{align*} \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} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]