Optimal. Leaf size=17 \[ \frac{1}{3} \tan ^{-1}(x)-\frac{1}{6} \tan ^{-1}\left (\frac{x}{2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0065376, antiderivative size = 17, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133, Rules used = {391, 203} \[ \frac{1}{3} \tan ^{-1}(x)-\frac{1}{6} \tan ^{-1}\left (\frac{x}{2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 391
Rule 203
Rubi steps
\begin{align*} \int \frac{1}{\left (1+x^2\right ) \left (4+x^2\right )} \, dx &=\frac{1}{3} \int \frac{1}{1+x^2} \, dx-\frac{1}{3} \int \frac{1}{4+x^2} \, dx\\ &=-\frac{1}{6} \tan ^{-1}\left (\frac{x}{2}\right )+\frac{1}{3} \tan ^{-1}(x)\\ \end{align*}
Mathematica [A] time = 0.0061688, size = 17, normalized size = 1. \[ \frac{1}{6} \tan ^{-1}\left (\frac{2}{x}\right )+\frac{1}{3} \tan ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.006, size = 12, normalized size = 0.7 \begin{align*} -{\frac{1}{6}\arctan \left ({\frac{x}{2}} \right ) }+{\frac{\arctan \left ( x \right ) }{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.60655, size = 15, normalized size = 0.88 \begin{align*} -\frac{1}{6} \, \arctan \left (\frac{1}{2} \, x\right ) + \frac{1}{3} \, \arctan \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.46146, size = 49, normalized size = 2.88 \begin{align*} -\frac{1}{6} \, \arctan \left (\frac{1}{2} \, x\right ) + \frac{1}{3} \, \arctan \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.123822, size = 10, normalized size = 0.59 \begin{align*} - \frac{\operatorname{atan}{\left (\frac{x}{2} \right )}}{6} + \frac{\operatorname{atan}{\left (x \right )}}{3} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.12569, size = 15, normalized size = 0.88 \begin{align*} -\frac{1}{6} \, \arctan \left (\frac{1}{2} \, x\right ) + \frac{1}{3} \, \arctan \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]