Optimal. Leaf size=30 \[ x \left (-e^{\frac {1}{4}+2 x}+\frac {-x+\log (4)+\frac {x}{\log (x)}}{x}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.19, antiderivative size = 41, normalized size of antiderivative = 1.37, number of steps used = 9, number of rules used = 5, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.152, Rules used = {6742, 2176, 2194, 2297, 2298} \begin {gather*} -x+\frac {1}{2} e^{2 x+\frac {1}{4}}-\frac {1}{2} e^{2 x+\frac {1}{4}} (2 x+1)+\frac {x}{\log (x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2176
Rule 2194
Rule 2297
Rule 2298
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-e^{\frac {1}{4}+2 x} (1+2 x)+\frac {-1+\log (x)-\log ^2(x)}{\log ^2(x)}\right ) \, dx\\ &=-\int e^{\frac {1}{4}+2 x} (1+2 x) \, dx+\int \frac {-1+\log (x)-\log ^2(x)}{\log ^2(x)} \, dx\\ &=-\frac {1}{2} e^{\frac {1}{4}+2 x} (1+2 x)+\int e^{\frac {1}{4}+2 x} \, dx+\int \left (-1-\frac {1}{\log ^2(x)}+\frac {1}{\log (x)}\right ) \, dx\\ &=\frac {1}{2} e^{\frac {1}{4}+2 x}-x-\frac {1}{2} e^{\frac {1}{4}+2 x} (1+2 x)-\int \frac {1}{\log ^2(x)} \, dx+\int \frac {1}{\log (x)} \, dx\\ &=\frac {1}{2} e^{\frac {1}{4}+2 x}-x-\frac {1}{2} e^{\frac {1}{4}+2 x} (1+2 x)+\frac {x}{\log (x)}+\text {li}(x)-\int \frac {1}{\log (x)} \, dx\\ &=\frac {1}{2} e^{\frac {1}{4}+2 x}-x-\frac {1}{2} e^{\frac {1}{4}+2 x} (1+2 x)+\frac {x}{\log (x)}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 22, normalized size = 0.73 \begin {gather*} -x-e^{\frac {1}{4}+2 x} x+\frac {x}{\log (x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.57, size = 23, normalized size = 0.77 \begin {gather*} -\frac {{\left (x e^{\left (2 \, x + \frac {1}{4}\right )} + x\right )} \log \relax (x) - x}{\log \relax (x)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 24, normalized size = 0.80 \begin {gather*} -\frac {x e^{\left (2 \, x + \frac {1}{4}\right )} \log \relax (x) + x \log \relax (x) - x}{\log \relax (x)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 20, normalized size = 0.67
method | result | size |
risch | \(-x \,{\mathrm e}^{2 x +\frac {1}{4}}-x +\frac {x}{\ln \relax (x )}\) | \(20\) |
norman | \(\frac {x -x \ln \relax (x )-x \,{\mathrm e}^{2 x +\frac {1}{4}} \ln \relax (x )}{\ln \relax (x )}\) | \(24\) |
default | \(-x -\frac {{\mathrm e}^{2 x +\frac {1}{4}} \left (2 x +\frac {1}{4}\right )}{2}+\frac {{\mathrm e}^{2 x +\frac {1}{4}}}{8}+\frac {x}{\ln \relax (x )}\) | \(32\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [C] time = 0.38, size = 39, normalized size = 1.30 \begin {gather*} -\frac {1}{2} \, {\left (2 \, x e^{\frac {1}{4}} - e^{\frac {1}{4}}\right )} e^{\left (2 \, x\right )} - x + {\rm Ei}\left (\log \relax (x)\right ) - \frac {1}{2} \, e^{\left (2 \, x + \frac {1}{4}\right )} - \Gamma \left (-1, -\log \relax (x)\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.44, size = 18, normalized size = 0.60 \begin {gather*} \frac {x}{\ln \relax (x)}-x\,\left ({\mathrm {e}}^{2\,x+\frac {1}{4}}+1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.29, size = 15, normalized size = 0.50 \begin {gather*} - x e^{2 x + \frac {1}{4}} - x + \frac {x}{\log {\relax (x )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________