Optimal. Leaf size=66 \[ -\frac{\sqrt{e^2 \left (-x^2\right )-\frac{a e^2}{b}}}{e \sqrt{a+b x^2} \tan ^{-1}\left (\frac{e x}{\sqrt{e^2 \left (-x^2\right )-\frac{a e^2}{b}}}\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.101419, antiderivative size = 66, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 40, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.05, Rules used = {5157, 5155} \[ -\frac{\sqrt{e^2 \left (-x^2\right )-\frac{a e^2}{b}}}{e \sqrt{a+b x^2} \tan ^{-1}\left (\frac{e x}{\sqrt{e^2 \left (-x^2\right )-\frac{a e^2}{b}}}\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5157
Rule 5155
Rubi steps
\begin{align*} \int \frac{1}{\sqrt{a+b x^2} \tan ^{-1}\left (\frac{e x}{\sqrt{-\frac{a e^2}{b}-e^2 x^2}}\right )^2} \, dx &=\frac{\sqrt{-\frac{a e^2}{b}-e^2 x^2} \int \frac{1}{\sqrt{-\frac{a e^2}{b}-e^2 x^2} \tan ^{-1}\left (\frac{e x}{\sqrt{-\frac{a e^2}{b}-e^2 x^2}}\right )^2} \, dx}{\sqrt{a+b x^2}}\\ &=-\frac{\sqrt{-\frac{a e^2}{b}-e^2 x^2}}{e \sqrt{a+b x^2} \tan ^{-1}\left (\frac{e x}{\sqrt{-\frac{a e^2}{b}-e^2 x^2}}\right )}\\ \end{align*}
Mathematica [A] time = 0.0914722, size = 60, normalized size = 0.91 \[ \frac{e \sqrt{a+b x^2}}{b \sqrt{-\frac{e^2 \left (a+b x^2\right )}{b}} \tan ^{-1}\left (\frac{e x}{\sqrt{-\frac{e^2 \left (a+b x^2\right )}{b}}}\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.728, size = 0, normalized size = 0. \begin{align*} \int{ \left ( \arctan \left ({ex{\frac{1}{\sqrt{-{\frac{a{e}^{2}}{b}}-{e}^{2}{x}^{2}}}}} \right ) \right ) ^{-2}{\frac{1}{\sqrt{b{x}^{2}+a}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.51578, size = 62, normalized size = 0.94 \begin{align*} -\frac{\sqrt{-b x^{2} - a}}{\sqrt{b x^{2} + a} \sqrt{b} \arctan \left (\sqrt{b} x, \sqrt{-b x^{2} - a}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.8452, size = 163, normalized size = 2.47 \begin{align*} \frac{\sqrt{b x^{2} + a} \sqrt{-\frac{b e^{2} x^{2} + a e^{2}}{b}}}{{\left (b e x^{2} + a e\right )} \arctan \left (\frac{b x \sqrt{-\frac{b e^{2} x^{2} + a e^{2}}{b}}}{b e x^{2} + a e}\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}{\sqrt{a + b x^{2}} \operatorname{atan}^{2}{\left (\frac{e x}{\sqrt{- \frac{a e^{2}}{b} - e^{2} x^{2}}} \right )}}\, 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}{\sqrt{b x^{2} + a} \arctan \left (\frac{e x}{\sqrt{-e^{2} x^{2} - \frac{a e^{2}}{b}}}\right )^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]