Optimal. Leaf size=19 \[ 9+2 x-\log \left (-\frac {2}{3} x^2 \log (4 x)\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.13, 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 = {6874, 45, 2339,
29} \begin {gather*} 2 x-2 \log (x)-\log (\log (4 x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 29
Rule 45
Rule 2339
Rule 6874
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-\text {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]
________________________________________________________________________________________
Maple [A]
time = 0.32, size = 18, normalized size = 0.95
method | result | size |
risch | \(2 x -2 \ln \left (x \right )-\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.28, size = 15, normalized size = 0.79 \begin {gather*} 2 \, x - 2 \, \log \left (x\right ) - \log \left (\log \left (4 \, x\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.39, 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]
________________________________________________________________________________________
Sympy [A]
time = 0.04, size = 14, normalized size = 0.74 \begin {gather*} 2 x - 2 \log {\left (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.41, size = 15, normalized size = 0.79 \begin {gather*} 2 \, x - 2 \, \log \left (x\right ) - \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 \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________