Optimal. Leaf size=31 \[ \frac {\tan ^{-1}\left (\frac {\sqrt {5} x}{2 \sqrt {1-x^2}}\right )}{2 \sqrt {5}} \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {377, 203} \[ \frac {\tan ^{-1}\left (\frac {\sqrt {5} x}{2 \sqrt {1-x^2}}\right )}{2 \sqrt {5}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 377
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {1-x^2} \left (4+x^2\right )} \, dx &=\operatorname {Subst}\left (\int \frac {1}{4+5 x^2} \, dx,x,\frac {x}{\sqrt {1-x^2}}\right )\\ &=\frac {\tan ^{-1}\left (\frac {\sqrt {5} x}{2 \sqrt {1-x^2}}\right )}{2 \sqrt {5}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 31, normalized size = 1.00 \[ \frac {\tan ^{-1}\left (\frac {\sqrt {5} x}{2 \sqrt {1-x^2}}\right )}{2 \sqrt {5}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [C] time = 0.09, size = 55, normalized size = 1.77 \[ -\frac {i \tanh ^{-1}\left (\frac {x^2}{2 \sqrt {5}}+\frac {i \sqrt {1-x^2} x}{2 \sqrt {5}}+\frac {2}{\sqrt {5}}\right )}{2 \sqrt {5}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.25, size = 23, normalized size = 0.74 \[ -\frac {1}{10} \, \sqrt {5} \arctan \left (\frac {2 \, \sqrt {5} \sqrt {-x^{2} + 1}}{5 \, x}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.63, size = 51, normalized size = 1.65 \[ \frac {1}{20} \, \sqrt {5} {\left (\pi \mathrm {sgn}\relax (x) + 2 \, \arctan \left (-\frac {\sqrt {5} x {\left (\frac {{\left (\sqrt {-x^{2} + 1} - 1\right )}^{2}}{x^{2}} - 1\right )}}{5 \, {\left (\sqrt {-x^{2} + 1} - 1\right )}}\right )\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.29, size = 29, normalized size = 0.94
method | result | size |
default | \(-\frac {\sqrt {5}\, \arctan \left (\frac {\sqrt {5}\, \sqrt {-x^{2}+1}\, x}{2 x^{2}-2}\right )}{10}\) | \(29\) |
trager | \(\frac {\RootOf \left (\textit {\_Z}^{2}+5\right ) \ln \left (-\frac {9 \RootOf \left (\textit {\_Z}^{2}+5\right ) x^{2}-20 \sqrt {-x^{2}+1}\, x -4 \RootOf \left (\textit {\_Z}^{2}+5\right )}{x^{2}+4}\right )}{20}\) | \(51\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{{\left (x^{2} + 4\right )} \sqrt {-x^{2} + 1}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.52, size = 79, normalized size = 2.55 \[ \frac {\sqrt {5}\,\ln \left (\frac {\frac {\sqrt {5}\,\left (-1+x\,2{}\mathrm {i}\right )\,1{}\mathrm {i}}{5}-\sqrt {1-x^2}\,1{}\mathrm {i}}{x-2{}\mathrm {i}}\right )\,1{}\mathrm {i}}{20}-\frac {\sqrt {5}\,\ln \left (\frac {\frac {\sqrt {5}\,\left (1+x\,2{}\mathrm {i}\right )\,1{}\mathrm {i}}{5}+\sqrt {1-x^2}\,1{}\mathrm {i}}{x+2{}\mathrm {i}}\right )\,1{}\mathrm {i}}{20} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {- \left (x - 1\right ) \left (x + 1\right )} \left (x^{2} + 4\right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________