Optimal. Leaf size=16 \[ x+\frac {x \log (2) (-1-\log (x))}{\log (x)} \]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 18, normalized size of antiderivative = 1.12, number of steps used = 5, number of rules used = 3, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.120, Rules used = {6742, 2297, 2298} \begin {gather*} x (1-\log (2))-\frac {x \log (2)}{\log (x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2297
Rule 2298
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (1-\log (2)+\frac {\log (2)}{\log ^2(x)}-\frac {\log (2)}{\log (x)}\right ) \, dx\\ &=x (1-\log (2))+\log (2) \int \frac {1}{\log ^2(x)} \, dx-\log (2) \int \frac {1}{\log (x)} \, dx\\ &=x (1-\log (2))-\frac {x \log (2)}{\log (x)}-\log (2) \text {li}(x)+\log (2) \int \frac {1}{\log (x)} \, dx\\ &=x (1-\log (2))-\frac {x \log (2)}{\log (x)}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 16, normalized size = 1.00 \begin {gather*} x-x \log (2)-\frac {x \log (2)}{\log (x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.63, size = 22, normalized size = 1.38 \begin {gather*} -\frac {x \log \relax (2) + {\left (x \log \relax (2) - x\right )} \log \relax (x)}{\log \relax (x)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.13, size = 16, normalized size = 1.00 \begin {gather*} -x \log \relax (2) + x - \frac {x \log \relax (2)}{\log \relax (x)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 17, normalized size = 1.06
method | result | size |
risch | \(-x \ln \relax (2)+x -\frac {\ln \relax (2) x}{\ln \relax (x )}\) | \(17\) |
norman | \(\frac {x \left (1-\ln \relax (2)\right ) \ln \relax (x )-x \ln \relax (2)}{\ln \relax (x )}\) | \(22\) |
default | \(-x \ln \relax (2)+x +\ln \relax (2) \expIntegralEi \left (1, -\ln \relax (x )\right )+\ln \relax (2) \left (-\frac {x}{\ln \relax (x )}-\expIntegralEi \left (1, -\ln \relax (x )\right )\right )\) | \(36\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [C] time = 0.40, size = 23, normalized size = 1.44 \begin {gather*} -x \log \relax (2) - {\rm Ei}\left (\log \relax (x)\right ) \log \relax (2) + \Gamma \left (-1, -\log \relax (x)\right ) \log \relax (2) + x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.18, size = 17, normalized size = 1.06 \begin {gather*} -x\,\left (\ln \relax (2)-1\right )-\frac {x\,\ln \relax (2)}{\ln \relax (x)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.08, size = 14, normalized size = 0.88 \begin {gather*} x \left (1 - \log {\relax (2 )}\right ) - \frac {x \log {\relax (2 )}}{\log {\relax (x )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________