Optimal. Leaf size=18 \[ x^4 \left (\left (-2+e^{2+x}\right )^2-\log (x)\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.29, antiderivative size = 34, normalized size of antiderivative = 1.89, number of steps used = 26, number of rules used = 5, integrand size = 49, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.102, Rules used = {1593, 2196, 2176, 2194, 2304} \begin {gather*} -4 e^{x+2} x^4+e^{2 x+4} x^4+4 x^4-x^4 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1593
Rule 2176
Rule 2194
Rule 2196
Rule 2304
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {15 x^4}{4}-4 \int x^3 \log (x) \, dx+\int e^{2+x} \left (-16 x^3-4 x^4\right ) \, dx+\int e^{4+2 x} \left (4 x^3+2 x^4\right ) \, dx\\ &=4 x^4-x^4 \log (x)+\int e^{2+x} (-16-4 x) x^3 \, dx+\int e^{4+2 x} x^3 (4+2 x) \, dx\\ &=4 x^4-x^4 \log (x)+\int \left (-16 e^{2+x} x^3-4 e^{2+x} x^4\right ) \, dx+\int \left (4 e^{4+2 x} x^3+2 e^{4+2 x} x^4\right ) \, dx\\ &=4 x^4-x^4 \log (x)+2 \int e^{4+2 x} x^4 \, dx+4 \int e^{4+2 x} x^3 \, dx-4 \int e^{2+x} x^4 \, dx-16 \int e^{2+x} x^3 \, dx\\ &=-16 e^{2+x} x^3+2 e^{4+2 x} x^3+4 x^4-4 e^{2+x} x^4+e^{4+2 x} x^4-x^4 \log (x)-4 \int e^{4+2 x} x^3 \, dx-6 \int e^{4+2 x} x^2 \, dx+16 \int e^{2+x} x^3 \, dx+48 \int e^{2+x} x^2 \, dx\\ &=48 e^{2+x} x^2-3 e^{4+2 x} x^2+4 x^4-4 e^{2+x} x^4+e^{4+2 x} x^4-x^4 \log (x)+6 \int e^{4+2 x} x \, dx+6 \int e^{4+2 x} x^2 \, dx-48 \int e^{2+x} x^2 \, dx-96 \int e^{2+x} x \, dx\\ &=-96 e^{2+x} x+3 e^{4+2 x} x+4 x^4-4 e^{2+x} x^4+e^{4+2 x} x^4-x^4 \log (x)-3 \int e^{4+2 x} \, dx-6 \int e^{4+2 x} x \, dx+96 \int e^{2+x} \, dx+96 \int e^{2+x} x \, dx\\ &=96 e^{2+x}-\frac {3}{2} e^{4+2 x}+4 x^4-4 e^{2+x} x^4+e^{4+2 x} x^4-x^4 \log (x)+3 \int e^{4+2 x} \, dx-96 \int e^{2+x} \, dx\\ &=4 x^4-4 e^{2+x} x^4+e^{4+2 x} x^4-x^4 \log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 18, normalized size = 1.00 \begin {gather*} x^4 \left (\left (-2+e^{2+x}\right )^2-\log (x)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.72, size = 32, normalized size = 1.78 \begin {gather*} x^{4} e^{\left (2 \, x + 4\right )} - 4 \, x^{4} e^{\left (x + 2\right )} - x^{4} \log \relax (x) + 4 \, x^{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.21, size = 32, normalized size = 1.78 \begin {gather*} x^{4} e^{\left (2 \, x + 4\right )} - 4 \, x^{4} e^{\left (x + 2\right )} - x^{4} \log \relax (x) + 4 \, x^{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 33, normalized size = 1.83
method | result | size |
risch | \(-x^{4} \ln \relax (x )+4 x^{4}+x^{4} {\mathrm e}^{2 x +4}-4 x^{4} {\mathrm e}^{2+x}\) | \(33\) |
default | \(128 \,{\mathrm e}^{2+x} \left (2+x \right )-64 \,{\mathrm e}^{2+x}+32 \,{\mathrm e}^{2+x} \left (2+x \right )^{3}-96 \,{\mathrm e}^{2+x} \left (2+x \right )^{2}-4 \,{\mathrm e}^{2+x} \left (2+x \right )^{4}+{\mathrm e}^{2 x +4} \left (2+x \right )^{4}-8 \left (2+x \right )^{3} {\mathrm e}^{2 x +4}+24 \left (2+x \right )^{2} {\mathrm e}^{2 x +4}-32 \left (2+x \right ) {\mathrm e}^{2 x +4}+16 \,{\mathrm e}^{2 x +4}+4 x^{4}-x^{4} \ln \relax (x )\) | \(119\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.36, size = 84, normalized size = 4.67 \begin {gather*} x^{4} e^{\left (2 \, x + 4\right )} - x^{4} \log \relax (x) + 4 \, x^{4} - 4 \, {\left (x^{4} e^{2} - 4 \, x^{3} e^{2} + 12 \, x^{2} e^{2} - 24 \, x e^{2} + 24 \, e^{2}\right )} e^{x} - 16 \, {\left (x^{3} e^{2} - 3 \, x^{2} e^{2} + 6 \, x e^{2} - 6 \, e^{2}\right )} e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.63, size = 23, normalized size = 1.28 \begin {gather*} -x^4\,\left (4\,{\mathrm {e}}^{x+2}-{\mathrm {e}}^{2\,x+4}+\ln \relax (x)-4\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.33, size = 31, normalized size = 1.72 \begin {gather*} - 4 x^{4} e^{x + 2} + x^{4} e^{2 x + 4} - x^{4} \log {\relax (x )} + 4 x^{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________