Optimal. Leaf size=36 \[ \frac{(a+b x) \cos ^{-1}(a+b x)}{b}-\frac{\sqrt{1-(a+b x)^2}}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0168144, antiderivative size = 36, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 6, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.5, Rules used = {4804, 4620, 261} \[ \frac{(a+b x) \cos ^{-1}(a+b x)}{b}-\frac{\sqrt{1-(a+b x)^2}}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4804
Rule 4620
Rule 261
Rubi steps
\begin{align*} \int \cos ^{-1}(a+b x) \, dx &=\frac{\operatorname{Subst}\left (\int \cos ^{-1}(x) \, dx,x,a+b x\right )}{b}\\ &=\frac{(a+b x) \cos ^{-1}(a+b x)}{b}+\frac{\operatorname{Subst}\left (\int \frac{x}{\sqrt{1-x^2}} \, dx,x,a+b x\right )}{b}\\ &=-\frac{\sqrt{1-(a+b x)^2}}{b}+\frac{(a+b x) \cos ^{-1}(a+b x)}{b}\\ \end{align*}
Mathematica [A] time = 0.036752, size = 47, normalized size = 1.31 \[ x \cos ^{-1}(a+b x)-\frac{\sqrt{-a^2-2 a b x-b^2 x^2+1}+a \sin ^{-1}(a+b x)}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.002, size = 33, normalized size = 0.9 \begin{align*}{\frac{1}{b} \left ( \left ( bx+a \right ) \arccos \left ( bx+a \right ) -\sqrt{1- \left ( bx+a \right ) ^{2}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.41026, size = 43, normalized size = 1.19 \begin{align*} \frac{{\left (b x + a\right )} \arccos \left (b x + a\right ) - \sqrt{-{\left (b x + a\right )}^{2} + 1}}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.50697, size = 92, normalized size = 2.56 \begin{align*} \frac{{\left (b x + a\right )} \arccos \left (b x + a\right ) - \sqrt{-b^{2} x^{2} - 2 \, a b x - a^{2} + 1}}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.174177, size = 46, normalized size = 1.28 \begin{align*} \begin{cases} \frac{a \operatorname{acos}{\left (a + b x \right )}}{b} + x \operatorname{acos}{\left (a + b x \right )} - \frac{\sqrt{- a^{2} - 2 a b x - b^{2} x^{2} + 1}}{b} & \text{for}\: b \neq 0 \\x \operatorname{acos}{\left (a \right )} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.2806, size = 43, normalized size = 1.19 \begin{align*} \frac{{\left (b x + a\right )} \arccos \left (b x + a\right ) - \sqrt{-{\left (b x + a\right )}^{2} + 1}}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]