Optimal. Leaf size=20 \[ 1+e^{4 x} (5-x) x^2 \log ^2(3) \]
________________________________________________________________________________________
Rubi [A] time = 0.10, antiderivative size = 29, normalized size of antiderivative = 1.45, number of steps used = 13, number of rules used = 5, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.208, Rules used = {12, 1594, 2196, 2176, 2194} \begin {gather*} 5 e^{4 x} x^2 \log ^2(3)-e^{4 x} x^3 \log ^2(3) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 1594
Rule 2176
Rule 2194
Rule 2196
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\log ^2(3) \int e^{4 x} \left (10 x+17 x^2-4 x^3\right ) \, dx\\ &=\log ^2(3) \int e^{4 x} x \left (10+17 x-4 x^2\right ) \, dx\\ &=\log ^2(3) \int \left (10 e^{4 x} x+17 e^{4 x} x^2-4 e^{4 x} x^3\right ) \, dx\\ &=-\left (\left (4 \log ^2(3)\right ) \int e^{4 x} x^3 \, dx\right )+\left (10 \log ^2(3)\right ) \int e^{4 x} x \, dx+\left (17 \log ^2(3)\right ) \int e^{4 x} x^2 \, dx\\ &=\frac {5}{2} e^{4 x} x \log ^2(3)+\frac {17}{4} e^{4 x} x^2 \log ^2(3)-e^{4 x} x^3 \log ^2(3)-\frac {1}{2} \left (5 \log ^2(3)\right ) \int e^{4 x} \, dx+\left (3 \log ^2(3)\right ) \int e^{4 x} x^2 \, dx-\frac {1}{2} \left (17 \log ^2(3)\right ) \int e^{4 x} x \, dx\\ &=-\frac {5}{8} e^{4 x} \log ^2(3)+\frac {3}{8} e^{4 x} x \log ^2(3)+5 e^{4 x} x^2 \log ^2(3)-e^{4 x} x^3 \log ^2(3)-\frac {1}{2} \left (3 \log ^2(3)\right ) \int e^{4 x} x \, dx+\frac {1}{8} \left (17 \log ^2(3)\right ) \int e^{4 x} \, dx\\ &=-\frac {3}{32} e^{4 x} \log ^2(3)+5 e^{4 x} x^2 \log ^2(3)-e^{4 x} x^3 \log ^2(3)+\frac {1}{8} \left (3 \log ^2(3)\right ) \int e^{4 x} \, dx\\ &=5 e^{4 x} x^2 \log ^2(3)-e^{4 x} x^3 \log ^2(3)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 17, normalized size = 0.85 \begin {gather*} -e^{4 x} (-5+x) x^2 \log ^2(3) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.53, size = 19, normalized size = 0.95 \begin {gather*} -{\left (x^{3} - 5 \, x^{2}\right )} e^{\left (4 \, x\right )} \log \relax (3)^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 19, normalized size = 0.95 \begin {gather*} -{\left (x^{3} - 5 \, x^{2}\right )} e^{\left (4 \, x\right )} \log \relax (3)^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 17, normalized size = 0.85
method | result | size |
gosper | \(-{\mathrm e}^{4 x} \ln \relax (3)^{2} x^{2} \left (x -5\right )\) | \(17\) |
risch | \(\ln \relax (3)^{2} \left (-x^{3}+5 x^{2}\right ) {\mathrm e}^{4 x}\) | \(21\) |
default | \(\ln \relax (3)^{2} \left (5 x^{2} {\mathrm e}^{4 x}-x^{3} {\mathrm e}^{4 x}\right )\) | \(25\) |
norman | \(5 x^{2} \ln \relax (3)^{2} {\mathrm e}^{4 x}-x^{3} \ln \relax (3)^{2} {\mathrm e}^{4 x}\) | \(28\) |
meijerg | \(-\frac {\ln \relax (3)^{2} \left (6-\frac {\left (-256 x^{3}+192 x^{2}-96 x +24\right ) {\mathrm e}^{4 x}}{4}\right )}{64}-\frac {17 \ln \relax (3)^{2} \left (2-\frac {\left (48 x^{2}-24 x +6\right ) {\mathrm e}^{4 x}}{3}\right )}{64}+\frac {5 \ln \relax (3)^{2} \left (1-\frac {\left (-8 x +2\right ) {\mathrm e}^{4 x}}{2}\right )}{8}\) | \(74\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.41, size = 54, normalized size = 2.70 \begin {gather*} -\frac {1}{32} \, {\left ({\left (32 \, x^{3} - 24 \, x^{2} + 12 \, x - 3\right )} e^{\left (4 \, x\right )} - 17 \, {\left (8 \, x^{2} - 4 \, x + 1\right )} e^{\left (4 \, x\right )} - 20 \, {\left (4 \, x - 1\right )} e^{\left (4 \, x\right )}\right )} \log \relax (3)^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.85, size = 16, normalized size = 0.80 \begin {gather*} -x^2\,{\mathrm {e}}^{4\,x}\,{\ln \relax (3)}^2\,\left (x-5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.12, size = 22, normalized size = 1.10 \begin {gather*} \left (- x^{3} \log {\relax (3 )}^{2} + 5 x^{2} \log {\relax (3 )}^{2}\right ) e^{4 x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________