Optimal. Leaf size=23 \[ 81+2 \left (1+e^4\right )+\log \left (\left (3+\frac {1}{2 x}\right )^2+x\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 21, normalized size of antiderivative = 0.91, number of steps used = 3, number of rules used = 2, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {2074, 1587} \begin {gather*} \log \left (4 x^3+36 x^2+12 x+1\right )-2 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1587
Rule 2074
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-\frac {2}{x}+\frac {12 \left (1+6 x+x^2\right )}{1+12 x+36 x^2+4 x^3}\right ) \, dx\\ &=-2 \log (x)+12 \int \frac {1+6 x+x^2}{1+12 x+36 x^2+4 x^3} \, dx\\ &=-2 \log (x)+\log \left (1+12 x+36 x^2+4 x^3\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 21, normalized size = 0.91 \begin {gather*} -2 \log (x)+\log \left (1+12 x+36 x^2+4 x^3\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.71, size = 21, normalized size = 0.91 \begin {gather*} \log \left (4 \, x^{3} + 36 \, x^{2} + 12 \, x + 1\right ) - 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.35, size = 23, normalized size = 1.00 \begin {gather*} \log \left ({\left | 4 \, x^{3} + 36 \, x^{2} + 12 \, x + 1 \right |}\right ) - 2 \, \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 22, normalized size = 0.96
method | result | size |
default | \(-2 \ln \relax (x )+\ln \left (4 x^{3}+36 x^{2}+12 x +1\right )\) | \(22\) |
norman | \(-2 \ln \relax (x )+\ln \left (4 x^{3}+36 x^{2}+12 x +1\right )\) | \(22\) |
risch | \(-2 \ln \relax (x )+\ln \left (4 x^{3}+36 x^{2}+12 x +1\right )\) | \(22\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.45, size = 21, normalized size = 0.91 \begin {gather*} \log \left (4 \, x^{3} + 36 \, x^{2} + 12 \, x + 1\right ) - 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.34, size = 19, normalized size = 0.83 \begin {gather*} \ln \left (x^3+9\,x^2+3\,x+\frac {1}{4}\right )-2\,\ln \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.11, size = 20, normalized size = 0.87 \begin {gather*} - 2 \log {\relax (x )} + \log {\left (4 x^{3} + 36 x^{2} + 12 x + 1 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________