Optimal. Leaf size=18 \[ e^x+3 \left (-\frac {4}{9}+x+2 (-3+x) \log (x)\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 16, normalized size of antiderivative = 0.89, number of steps used = 8, number of rules used = 4, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.210, Rules used = {14, 2194, 43, 2295} \begin {gather*} 3 x+e^x+6 x \log (x)-18 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 43
Rule 2194
Rule 2295
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (e^x+\frac {3 (-6+3 x+2 x \log (x))}{x}\right ) \, dx\\ &=3 \int \frac {-6+3 x+2 x \log (x)}{x} \, dx+\int e^x \, dx\\ &=e^x+3 \int \left (\frac {3 (-2+x)}{x}+2 \log (x)\right ) \, dx\\ &=e^x+6 \int \log (x) \, dx+9 \int \frac {-2+x}{x} \, dx\\ &=e^x-6 x+6 x \log (x)+9 \int \left (1-\frac {2}{x}\right ) \, dx\\ &=e^x+3 x-18 \log (x)+6 x \log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 16, normalized size = 0.89 \begin {gather*} e^x+3 x-18 \log (x)+6 x \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.58, size = 13, normalized size = 0.72 \begin {gather*} 6 \, {\left (x - 3\right )} \log \relax (x) + 3 \, x + e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.18, size = 15, normalized size = 0.83 \begin {gather*} 6 \, x \log \relax (x) + 3 \, x + e^{x} - 18 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 16, normalized size = 0.89
method | result | size |
default | \(3 x -18 \ln \relax (x )+6 x \ln \relax (x )+{\mathrm e}^{x}\) | \(16\) |
norman | \(3 x -18 \ln \relax (x )+6 x \ln \relax (x )+{\mathrm e}^{x}\) | \(16\) |
risch | \(3 x -18 \ln \relax (x )+6 x \ln \relax (x )+{\mathrm e}^{x}\) | \(16\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 15, normalized size = 0.83 \begin {gather*} 6 \, x \log \relax (x) + 3 \, x + e^{x} - 18 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.48, size = 15, normalized size = 0.83 \begin {gather*} 3\,x+{\mathrm {e}}^x-18\,\ln \relax (x)+6\,x\,\ln \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.27, size = 17, normalized size = 0.94 \begin {gather*} 6 x \log {\relax (x )} + 3 x + e^{x} - 18 \log {\relax (x )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________