Optimal. Leaf size=19 \[ 9+2 x-\log \left (-\frac {2}{3} x^2 \log (4 x)\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.12, antiderivative size = 15, normalized size of antiderivative = 0.79, number of steps used = 6, number of rules used = 4, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {6742, 43, 2302, 29} \begin {gather*} 2 x-2 \log (x)-\log (\log (4 x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 29
Rule 43
Rule 2302
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {2 (-1+x)}{x}-\frac {1}{x \log (4 x)}\right ) \, dx\\ &=2 \int \frac {-1+x}{x} \, dx-\int \frac {1}{x \log (4 x)} \, dx\\ &=2 \int \left (1-\frac {1}{x}\right ) \, dx-\operatorname {Subst}\left (\int \frac {1}{x} \, dx,x,\log (4 x)\right )\\ &=2 x-2 \log (x)-\log (\log (4 x))\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 15, normalized size = 0.79 \begin {gather*} 2 x-2 \log (x)-\log (\log (4 x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.75, size = 17, normalized size = 0.89 \begin {gather*} 2 \, x - 2 \, \log \left (4 \, x\right ) - \log \left (\log \left (4 \, x\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 15, normalized size = 0.79 \begin {gather*} 2 \, x - 2 \, \log \relax (x) - \log \left (\log \left (4 \, x\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 16, normalized size = 0.84
method | result | size |
risch | \(2 x -2 \ln \relax (x )-\ln \left (\ln \left (4 x \right )\right )\) | \(16\) |
derivativedivides | \(2 x -2 \ln \left (4 x \right )-\ln \left (\ln \left (4 x \right )\right )\) | \(18\) |
default | \(2 x -2 \ln \left (4 x \right )-\ln \left (\ln \left (4 x \right )\right )\) | \(18\) |
norman | \(2 x -2 \ln \left (4 x \right )-\ln \left (\ln \left (4 x \right )\right )\) | \(18\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.34, size = 15, normalized size = 0.79 \begin {gather*} 2 \, x - 2 \, \log \relax (x) - \log \left (\log \left (4 \, x\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.82, size = 15, normalized size = 0.79 \begin {gather*} 2\,x-\ln \left (\ln \left (4\,x\right )\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 = 14, normalized size = 0.74 \begin {gather*} 2 x - 2 \log {\relax (x )} - \log {\left (\log {\left (4 x \right )} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________