Optimal. Leaf size=22 \[ \log (4)+4 \left (-9+e^5-e^x-e^x \log (x)\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 13, normalized size of antiderivative = 0.59, number of steps used = 6, number of rules used = 4, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {14, 2194, 2178, 2554} \begin {gather*} -4 e^x-4 e^x \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2178
Rule 2194
Rule 2554
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-4 e^x-\frac {4 e^x}{x}-4 e^x \log (x)\right ) \, dx\\ &=-\left (4 \int e^x \, dx\right )-4 \int \frac {e^x}{x} \, dx-4 \int e^x \log (x) \, dx\\ &=-4 e^x-4 \text {Ei}(x)-4 e^x \log (x)+4 \int \frac {e^x}{x} \, dx\\ &=-4 e^x-4 e^x \log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 12, normalized size = 0.55 \begin {gather*} -4 \left (e^x+e^x \log (x)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.42, size = 11, normalized size = 0.50 \begin {gather*} -4 \, e^{x} \log \relax (x) - 4 \, e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.13, size = 11, normalized size = 0.50 \begin {gather*} -4 \, e^{x} \log \relax (x) - 4 \, e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 12, normalized size = 0.55
method | result | size |
norman | \(-4 \,{\mathrm e}^{x} \ln \relax (x )-4 \,{\mathrm e}^{x}\) | \(12\) |
risch | \(-4 \,{\mathrm e}^{x} \ln \relax (x )-4 \,{\mathrm e}^{x}\) | \(12\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.38, size = 11, normalized size = 0.50 \begin {gather*} -4 \, e^{x} \log \relax (x) - 4 \, e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 7.08, size = 8, normalized size = 0.36 \begin {gather*} -4\,{\mathrm {e}}^x\,\left (\ln \relax (x)+1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.28, size = 10, normalized size = 0.45 \begin {gather*} \left (- 4 \log {\relax (x )} - 4\right ) e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________