Optimal. Leaf size=21 \[ e^3 \left (-1-e^x+x+x^2+\log \left (\frac {2}{x}\right )\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 27, normalized size of antiderivative = 1.29, 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 = {14, 2194, 76} \begin {gather*} e^3 x^2+e^3 x-e^{x+3}-e^3 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 76
Rule 2194
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-e^{3+x}+\frac {e^3 (1+x) (-1+2 x)}{x}\right ) \, dx\\ &=e^3 \int \frac {(1+x) (-1+2 x)}{x} \, dx-\int e^{3+x} \, dx\\ &=-e^{3+x}+e^3 \int \left (1-\frac {1}{x}+2 x\right ) \, dx\\ &=-e^{3+x}+e^3 x+e^3 x^2-e^3 \log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 18, normalized size = 0.86 \begin {gather*} e^3 \left (-e^x+x+x^2-\log (x)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.90, size = 21, normalized size = 1.00 \begin {gather*} {\left (x^{2} + x\right )} e^{3} - e^{3} \log \relax (x) - e^{\left (x + 3\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.20, size = 23, normalized size = 1.10 \begin {gather*} x^{2} e^{3} + x e^{3} - e^{3} \log \relax (x) - e^{\left (x + 3\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 24, normalized size = 1.14
method | result | size |
default | \(x^{2} {\mathrm e}^{3}-\ln \relax (x ) {\mathrm e}^{3}-{\mathrm e}^{x} {\mathrm e}^{3}+x \,{\mathrm e}^{3}\) | \(24\) |
norman | \(x^{2} {\mathrm e}^{3}-\ln \relax (x ) {\mathrm e}^{3}-{\mathrm e}^{x} {\mathrm e}^{3}+x \,{\mathrm e}^{3}\) | \(24\) |
risch | \(x^{2} {\mathrm e}^{3}-\ln \relax (x ) {\mathrm e}^{3}-{\mathrm e}^{3+x}+x \,{\mathrm e}^{3}\) | \(24\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.89, size = 23, normalized size = 1.10 \begin {gather*} x^{2} e^{3} + x e^{3} - e^{3} \log \relax (x) - e^{\left (x + 3\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.07, size = 16, normalized size = 0.76 \begin {gather*} {\mathrm {e}}^3\,\left (x-{\mathrm {e}}^x-\ln \relax (x)+x^2\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.13, size = 24, normalized size = 1.14 \begin {gather*} x^{2} e^{3} + x e^{3} - e^{3} e^{x} - e^{3} \log {\relax (x )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________