Optimal. Leaf size=17 \[ \log (x)-\log \left (5 e^{2 x} \log (2 x)\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 13, normalized size of antiderivative = 0.76, 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*} -2 x+\log (x)-\log (\log (2 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+\frac {1}{x}-\frac {1}{x \log (2 x)}\right ) \, dx\\ &=-2 x+\log (x)-\int \frac {1}{x \log (2 x)} \, dx\\ &=-2 x+\log (x)-\operatorname {Subst}\left (\int \frac {1}{x} \, dx,x,\log (2 x)\right )\\ &=-2 x+\log (x)-\log (\log (2 x))\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 13, normalized size = 0.76 \begin {gather*} -2 x+\log (x)-\log (\log (2 x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.53, size = 15, normalized size = 0.88 \begin {gather*} -2 \, x + \log \left (2 \, x\right ) - \log \left (\log \left (2 \, x\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 13, normalized size = 0.76 \begin {gather*} -2 \, x + \log \relax (x) - \log \left (\log \left (2 \, x\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 14, normalized size = 0.82
method | result | size |
risch | \(\ln \relax (x )-2 x -\ln \left (\ln \left (2 x \right )\right )\) | \(14\) |
derivativedivides | \(-2 x +\ln \left (2 x \right )-\ln \left (\ln \left (2 x \right )\right )\) | \(16\) |
default | \(-2 x +\ln \left (2 x \right )-\ln \left (\ln \left (2 x \right )\right )\) | \(16\) |
norman | \(-2 x +\ln \left (2 x \right )-\ln \left (\ln \left (2 x \right )\right )\) | \(16\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 13, normalized size = 0.76 \begin {gather*} -2 \, x + \log \relax (x) - \log \left (\log \left (2 \, x\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.09, size = 13, normalized size = 0.76 \begin {gather*} \ln \relax (x)-\ln \left (\ln \left (2\,x\right )\right )-2\,x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.11, size = 12, normalized size = 0.71 \begin {gather*} - 2 x + \log {\relax (x )} - \log {\left (\log {\left (2 x \right )} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________