Optimal. Leaf size=25 \[ 2 e^x \left (5-x \left (\frac {2 \left (x-x^2\right )}{x^2}+\log (x)\right )\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 31, normalized size of antiderivative = 1.24, number of steps used = 6, number of rules used = 4, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.190, Rules used = {2176, 2194, 2554, 12} \begin {gather*} 4 e^x (x+2)-2 e^x+2 e^x \log (x)-2 e^x (x+1) \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2176
Rule 2194
Rule 2554
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int e^x (8+4 x) \, dx+\int e^x (-2-2 x) \log (x) \, dx\\ &=4 e^x (2+x)+2 e^x \log (x)-2 e^x (1+x) \log (x)-4 \int e^x \, dx-\int -2 e^x \, dx\\ &=-4 e^x+4 e^x (2+x)+2 e^x \log (x)-2 e^x (1+x) \log (x)+2 \int e^x \, dx\\ &=-2 e^x+4 e^x (2+x)+2 e^x \log (x)-2 e^x (1+x) \log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 14, normalized size = 0.56 \begin {gather*} -2 e^x (-3-2 x+x \log (x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.67, size = 17, normalized size = 0.68 \begin {gather*} -2 \, x e^{x} \log \relax (x) + 2 \, {\left (2 \, x + 3\right )} e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.23, size = 19, normalized size = 0.76 \begin {gather*} -2 \, x e^{x} \log \relax (x) + 4 \, {\left (x + 1\right )} e^{x} + 2 \, e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 18, normalized size = 0.72
method | result | size |
default | \(4 \,{\mathrm e}^{x} x +6 \,{\mathrm e}^{x}-2 x \,{\mathrm e}^{x} \ln \relax (x )\) | \(18\) |
norman | \(4 \,{\mathrm e}^{x} x +6 \,{\mathrm e}^{x}-2 x \,{\mathrm e}^{x} \ln \relax (x )\) | \(18\) |
risch | \(4 \,{\mathrm e}^{x} x +6 \,{\mathrm e}^{x}-2 x \,{\mathrm e}^{x} \ln \relax (x )\) | \(18\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.45, size = 19, normalized size = 0.76 \begin {gather*} -2 \, x e^{x} \log \relax (x) + 4 \, {\left (x - 1\right )} e^{x} + 10 \, e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.78, size = 14, normalized size = 0.56 \begin {gather*} 2\,{\mathrm {e}}^x\,\left (2\,x-x\,\ln \relax (x)+3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.29, size = 14, normalized size = 0.56 \begin {gather*} \left (- 2 x \log {\relax (x )} + 4 x + 6\right ) e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________