Optimal. Leaf size=18 \[ \frac {\left (8-4 e^x+x\right )^2}{81 \log ^2(3)} \]
________________________________________________________________________________________
Rubi [B] time = 0.02, antiderivative size = 59, normalized size of antiderivative = 3.28, number of steps used = 5, number of rules used = 3, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.103, Rules used = {12, 2194, 2176} \begin {gather*} \frac {x^2}{81 \log ^2(3)}+\frac {16 x}{81 \log ^2(3)}+\frac {8 e^x}{81 \log ^2(3)}+\frac {16 e^{2 x}}{81 \log ^2(3)}-\frac {8 e^x (x+9)}{81 \log ^2(3)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2176
Rule 2194
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {\int \left (16+32 e^{2 x}+e^x (-72-8 x)+2 x\right ) \, dx}{81 \log ^2(3)}\\ &=\frac {16 x}{81 \log ^2(3)}+\frac {x^2}{81 \log ^2(3)}+\frac {\int e^x (-72-8 x) \, dx}{81 \log ^2(3)}+\frac {32 \int e^{2 x} \, dx}{81 \log ^2(3)}\\ &=\frac {16 e^{2 x}}{81 \log ^2(3)}+\frac {16 x}{81 \log ^2(3)}+\frac {x^2}{81 \log ^2(3)}-\frac {8 e^x (9+x)}{81 \log ^2(3)}+\frac {8 \int e^x \, dx}{81 \log ^2(3)}\\ &=\frac {8 e^x}{81 \log ^2(3)}+\frac {16 e^{2 x}}{81 \log ^2(3)}+\frac {16 x}{81 \log ^2(3)}+\frac {x^2}{81 \log ^2(3)}-\frac {8 e^x (9+x)}{81 \log ^2(3)}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 20, normalized size = 1.11 \begin {gather*} \frac {\left (-8+4 e^x-x\right )^2}{81 \log ^2(3)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.70, size = 26, normalized size = 1.44 \begin {gather*} \frac {x^{2} - 8 \, {\left (x + 8\right )} e^{x} + 16 \, x + 16 \, e^{\left (2 \, x\right )}}{81 \, \log \relax (3)^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 26, normalized size = 1.44 \begin {gather*} \frac {x^{2} - 8 \, {\left (x + 8\right )} e^{x} + 16 \, x + 16 \, e^{\left (2 \, x\right )}}{81 \, \log \relax (3)^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 29, normalized size = 1.61
method | result | size |
default | \(\frac {16 x -8 \,{\mathrm e}^{x} x -64 \,{\mathrm e}^{x}+x^{2}+16 \,{\mathrm e}^{2 x}}{81 \ln \relax (3)^{2}}\) | \(29\) |
risch | \(\frac {x^{2}}{81 \ln \relax (3)^{2}}+\frac {16 \,{\mathrm e}^{2 x}}{81 \ln \relax (3)^{2}}+\frac {16 x}{81 \ln \relax (3)^{2}}+\frac {\left (-8 x -64\right ) {\mathrm e}^{x}}{81 \ln \relax (3)^{2}}\) | \(41\) |
norman | \(\frac {\frac {16 x}{81 \ln \relax (3)}+\frac {x^{2}}{81 \ln \relax (3)}-\frac {64 \,{\mathrm e}^{x}}{81 \ln \relax (3)}+\frac {16 \,{\mathrm e}^{2 x}}{81 \ln \relax (3)}-\frac {8 x \,{\mathrm e}^{x}}{81 \ln \relax (3)}}{\ln \relax (3)}\) | \(50\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.38, size = 26, normalized size = 1.44 \begin {gather*} \frac {x^{2} - 8 \, {\left (x + 8\right )} e^{x} + 16 \, x + 16 \, e^{\left (2 \, x\right )}}{81 \, \log \relax (3)^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.06, size = 28, normalized size = 1.56 \begin {gather*} \frac {16\,x+16\,{\mathrm {e}}^{2\,x}-64\,{\mathrm {e}}^x-8\,x\,{\mathrm {e}}^x+x^2}{81\,{\ln \relax (3)}^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.17, size = 58, normalized size = 3.22 \begin {gather*} \frac {x^{2}}{81 \log {\relax (3 )}^{2}} + \frac {16 x}{81 \log {\relax (3 )}^{2}} + \frac {\left (- 648 x \log {\relax (3 )}^{2} - 5184 \log {\relax (3 )}^{2}\right ) e^{x} + 1296 e^{2 x} \log {\relax (3 )}^{2}}{6561 \log {\relax (3 )}^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________