Optimal. Leaf size=21 \[ 2+2 x^2+(1+x)^2-\log (2)+\log \left (\log ^2(x)\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 14, normalized size of antiderivative = 0.67, number of steps used = 4, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {6688, 2302, 29} \begin {gather*} 3 x^2+2 x+2 \log (\log (x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 29
Rule 2302
Rule 6688
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (2+6 x+\frac {2}{x \log (x)}\right ) \, dx\\ &=2 x+3 x^2+2 \int \frac {1}{x \log (x)} \, dx\\ &=2 x+3 x^2+2 \operatorname {Subst}\left (\int \frac {1}{x} \, dx,x,\log (x)\right )\\ &=2 x+3 x^2+2 \log (\log (x))\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 14, normalized size = 0.67 \begin {gather*} 2 x+3 x^2+2 \log (\log (x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.53, size = 14, normalized size = 0.67 \begin {gather*} 3 \, x^{2} + 2 \, x + 2 \, \log \left (\log \relax (x)\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.20, size = 14, normalized size = 0.67 \begin {gather*} 3 \, x^{2} + 2 \, x + 2 \, \log \left (\log \relax (x)\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 15, normalized size = 0.71
method | result | size |
default | \(3 x^{2}+2 x +2 \ln \left (\ln \relax (x )\right )\) | \(15\) |
norman | \(3 x^{2}+2 x +2 \ln \left (\ln \relax (x )\right )\) | \(15\) |
risch | \(3 x^{2}+2 x +2 \ln \left (\ln \relax (x )\right )\) | \(15\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.37, size = 14, normalized size = 0.67 \begin {gather*} 3 \, x^{2} + 2 \, x + 2 \, \log \left (\log \relax (x)\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.17, size = 14, normalized size = 0.67 \begin {gather*} 2\,x+2\,\ln \left (\ln \relax (x)\right )+3\,x^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.10, size = 14, normalized size = 0.67 \begin {gather*} 3 x^{2} + 2 x + 2 \log {\left (\log {\relax (x )} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________