Optimal. Leaf size=40 \[ \frac{\sqrt{1-(a+b x)^2}}{b \cos ^{-1}(a+b x)}-\frac{\text{CosIntegral}\left (\cos ^{-1}(a+b x)\right )}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0784772, antiderivative size = 40, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.5, Rules used = {4804, 4622, 4724, 3302} \[ \frac{\sqrt{1-(a+b x)^2}}{b \cos ^{-1}(a+b x)}-\frac{\text{CosIntegral}\left (\cos ^{-1}(a+b x)\right )}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4804
Rule 4622
Rule 4724
Rule 3302
Rubi steps
\begin{align*} \int \frac{1}{\cos ^{-1}(a+b x)^2} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{1}{\cos ^{-1}(x)^2} \, dx,x,a+b x\right )}{b}\\ &=\frac{\sqrt{1-(a+b x)^2}}{b \cos ^{-1}(a+b x)}+\frac{\operatorname{Subst}\left (\int \frac{x}{\sqrt{1-x^2} \cos ^{-1}(x)} \, dx,x,a+b x\right )}{b}\\ &=\frac{\sqrt{1-(a+b x)^2}}{b \cos ^{-1}(a+b x)}-\frac{\operatorname{Subst}\left (\int \frac{\cos (x)}{x} \, dx,x,\cos ^{-1}(a+b x)\right )}{b}\\ &=\frac{\sqrt{1-(a+b x)^2}}{b \cos ^{-1}(a+b x)}-\frac{\text{Ci}\left (\cos ^{-1}(a+b x)\right )}{b}\\ \end{align*}
Mathematica [A] time = 0.0508103, size = 40, normalized size = 1. \[ \frac{\sqrt{1-(a+b x)^2}}{b \cos ^{-1}(a+b x)}-\frac{\text{CosIntegral}\left (\cos ^{-1}(a+b x)\right )}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.049, size = 37, normalized size = 0.9 \begin{align*}{\frac{1}{b} \left ({\frac{1}{\arccos \left ( bx+a \right ) }\sqrt{1- \left ( bx+a \right ) ^{2}}}-{\it Ci} \left ( \arccos \left ( bx+a \right ) \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{1}{\arccos \left (b x + a\right )^{2}}, x\right ) \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 \frac{1}{\operatorname{acos}^{2}{\left (a + b x \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.32966, size = 51, normalized size = 1.27 \begin{align*} -\frac{\operatorname{Ci}\left (\arccos \left (b x + a\right )\right )}{b} + \frac{\sqrt{-{\left (b x + a\right )}^{2} + 1}}{b \arccos \left (b x + a\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]