Optimal. Leaf size=11 \[ \log (x)+\frac{1}{2} \tan ^{-1}(2 x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0343319, antiderivative size = 11, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {1593, 1802, 203} \[ \log (x)+\frac{1}{2} \tan ^{-1}(2 x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1593
Rule 1802
Rule 203
Rubi steps
\begin{align*} \int \frac{1+x+4 x^2}{x+4 x^3} \, dx &=\int \frac{1+x+4 x^2}{x \left (1+4 x^2\right )} \, dx\\ &=\int \left (\frac{1}{x}+\frac{1}{1+4 x^2}\right ) \, dx\\ &=\log (x)+\int \frac{1}{1+4 x^2} \, dx\\ &=\frac{1}{2} \tan ^{-1}(2 x)+\log (x)\\ \end{align*}
Mathematica [A] time = 0.0047418, size = 11, normalized size = 1. \[ \log (x)+\frac{1}{2} \tan ^{-1}(2 x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.005, size = 10, normalized size = 0.9 \begin{align*}{\frac{\arctan \left ( 2\,x \right ) }{2}}+\ln \left ( x \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.53159, size = 12, normalized size = 1.09 \begin{align*} \frac{1}{2} \, \arctan \left (2 \, x\right ) + \log \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.47463, size = 35, normalized size = 3.18 \begin{align*} \frac{1}{2} \, \arctan \left (2 \, x\right ) + \log \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.114076, size = 8, normalized size = 0.73 \begin{align*} \log{\left (x \right )} + \frac{\operatorname{atan}{\left (2 x \right )}}{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.15745, size = 14, normalized size = 1.27 \begin{align*} \frac{1}{2} \, \arctan \left (2 \, x\right ) + \log \left ({\left | x \right |}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]