Optimal. Leaf size=151 \[ \frac{x \sin \left (\frac{a}{2 b}\right ) \text{CosIntegral}\left (\frac{a+b \cos ^{-1}\left (d x^2+1\right )}{2 b}\right )}{2 \sqrt{2} b^2 \sqrt{-d x^2}}-\frac{x \cos \left (\frac{a}{2 b}\right ) \text{Si}\left (\frac{a+b \cos ^{-1}\left (d x^2+1\right )}{2 b}\right )}{2 \sqrt{2} b^2 \sqrt{-d x^2}}+\frac{\sqrt{-d^2 x^4-2 d x^2}}{2 b d x \left (a+b \cos ^{-1}\left (d x^2+1\right )\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0203403, antiderivative size = 151, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.071, Rules used = {4826} \[ \frac{x \sin \left (\frac{a}{2 b}\right ) \text{CosIntegral}\left (\frac{a+b \cos ^{-1}\left (d x^2+1\right )}{2 b}\right )}{2 \sqrt{2} b^2 \sqrt{-d x^2}}-\frac{x \cos \left (\frac{a}{2 b}\right ) \text{Si}\left (\frac{a+b \cos ^{-1}\left (d x^2+1\right )}{2 b}\right )}{2 \sqrt{2} b^2 \sqrt{-d x^2}}+\frac{\sqrt{-d^2 x^4-2 d x^2}}{2 b d x \left (a+b \cos ^{-1}\left (d x^2+1\right )\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4826
Rubi steps
\begin{align*} \int \frac{1}{\left (a+b \cos ^{-1}\left (1+d x^2\right )\right )^2} \, dx &=\frac{\sqrt{-2 d x^2-d^2 x^4}}{2 b d x \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )}+\frac{x \text{Ci}\left (\frac{a+b \cos ^{-1}\left (1+d x^2\right )}{2 b}\right ) \sin \left (\frac{a}{2 b}\right )}{2 \sqrt{2} b^2 \sqrt{-d x^2}}-\frac{x \cos \left (\frac{a}{2 b}\right ) \text{Si}\left (\frac{a+b \cos ^{-1}\left (1+d x^2\right )}{2 b}\right )}{2 \sqrt{2} b^2 \sqrt{-d x^2}}\\ \end{align*}
Mathematica [A] time = 0.332094, size = 133, normalized size = 0.88 \[ \frac{\sqrt{-d x^2 \left (d x^2+2\right )} \left (\frac{b}{a+b \cos ^{-1}\left (d x^2+1\right )}-\frac{\cos \left (\frac{1}{2} \cos ^{-1}\left (d x^2+1\right )\right ) \left (\sin \left (\frac{a}{2 b}\right ) \text{CosIntegral}\left (\frac{a+b \cos ^{-1}\left (d x^2+1\right )}{2 b}\right )-\cos \left (\frac{a}{2 b}\right ) \text{Si}\left (\frac{a+b \cos ^{-1}\left (d x^2+1\right )}{2 b}\right )\right )}{d x^2+2}\right )}{2 b^2 d x} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.066, size = 0, normalized size = 0. \begin{align*} \int \left ( a+b\arccos \left ( d{x}^{2}+1 \right ) \right ) ^{-2}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -\frac{{\left (b^{2} d \arctan \left (\sqrt{-d x^{2} - 2} \sqrt{d} x, d x^{2} + 1\right ) + a b d\right )} \sqrt{d} \int \frac{\sqrt{-d x^{2} - 2} x}{a b d x^{2} + 2 \, a b +{\left (b^{2} d x^{2} + 2 \, b^{2}\right )} \arctan \left (\sqrt{-d x^{2} - 2} \sqrt{d} x, d x^{2} + 1\right )}\,{d x} - \sqrt{-d x^{2} - 2} \sqrt{d}}{2 \,{\left (b^{2} d \arctan \left (\sqrt{-d x^{2} - 2} \sqrt{d} x, d x^{2} + 1\right ) + a b d\right )}} \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}{b^{2} \arccos \left (d x^{2} + 1\right )^{2} + 2 \, a b \arccos \left (d x^{2} + 1\right ) + a^{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}{\left (a + b \operatorname{acos}{\left (d x^{2} + 1 \right )}\right )^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{{\left (b \arccos \left (d x^{2} + 1\right ) + a\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]