\(\int e^{-1+e^{4 x} x^2} x^4 (8 x^3+e^{4 x} x^2 (2 x^3+4 x^4)) \, dx\) [9597]

   Optimal result
   Rubi [B] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [A] (verification not implemented)
   Maxima [A] (verification not implemented)
   Giac [F]
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 43, antiderivative size = 17 \[ \int e^{-1+e^{4 x} x^2} x^4 \left (8 x^3+e^{4 x} x^2 \left (2 x^3+4 x^4\right )\right ) \, dx=e^{-1+e^{4 x} x^2} x^8 \]

[Out]

exp(1/4*exp(ln(exp(x)^2*x^2)+2*x)+ln(x)-1/4)^4*x^4

Rubi [B] (verified)

Leaf count is larger than twice the leaf count of optimal. \(49\) vs. \(2(17)=34\).

Time = 0.05 (sec) , antiderivative size = 49, normalized size of antiderivative = 2.88, number of steps used = 1, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.023, Rules used = {2326} \[ \int e^{-1+e^{4 x} x^2} x^4 \left (8 x^3+e^{4 x} x^2 \left (2 x^3+4 x^4\right )\right ) \, dx=\frac {e^{e^{4 x} x^2+4 x-1} x^6 \left (2 x^4+x^3\right )}{2 e^{4 x} x^2+e^{4 x} x} \]

[In]

Int[E^(-1 + E^(4*x)*x^2)*x^4*(8*x^3 + E^(4*x)*x^2*(2*x^3 + 4*x^4)),x]

[Out]

(E^(-1 + 4*x + E^(4*x)*x^2)*x^6*(x^3 + 2*x^4))/(E^(4*x)*x + 2*E^(4*x)*x^2)

Rule 2326

Int[(y_.)*(F_)^(u_)*((v_) + (w_)), x_Symbol] :> With[{z = v*(y/(Log[F]*D[u, x]))}, Simp[F^u*z, x] /; EqQ[D[z,
x], w*y]] /; FreeQ[F, x]

Rubi steps \begin{align*} \text {integral}& = \frac {e^{-1+4 x+e^{4 x} x^2} x^6 \left (x^3+2 x^4\right )}{e^{4 x} x+2 e^{4 x} x^2} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.03 (sec) , antiderivative size = 17, normalized size of antiderivative = 1.00 \[ \int e^{-1+e^{4 x} x^2} x^4 \left (8 x^3+e^{4 x} x^2 \left (2 x^3+4 x^4\right )\right ) \, dx=e^{-1+e^{4 x} x^2} x^8 \]

[In]

Integrate[E^(-1 + E^(4*x)*x^2)*x^4*(8*x^3 + E^(4*x)*x^2*(2*x^3 + 4*x^4)),x]

[Out]

E^(-1 + E^(4*x)*x^2)*x^8

Maple [A] (verified)

Time = 30.65 (sec) , antiderivative size = 28, normalized size of antiderivative = 1.65

method result size
parallelrisch \(x^{8} {\mathrm e}^{x^{2} {\mathrm e}^{4 x}-1}\) \(28\)
risch \(x^{8} {\mathrm e}^{x^{2} {\mathrm e}^{4 x} {\mathrm e}^{-\frac {i \pi \operatorname {csgn}\left (i {\mathrm e}^{2 x}\right )^{3}}{2}} {\mathrm e}^{-\frac {i \pi \,\operatorname {csgn}\left (i {\mathrm e}^{2 x}\right ) \operatorname {csgn}\left (i {\mathrm e}^{x}\right )^{2}}{2}} {\mathrm e}^{-\frac {i \pi \operatorname {csgn}\left (i x^{2}\right )^{3}}{2}} {\mathrm e}^{-\frac {i \pi \operatorname {csgn}\left (i x \right )^{2} \operatorname {csgn}\left (i x^{2}\right )}{2}} {\mathrm e}^{-\frac {i \pi \,\operatorname {csgn}\left (i {\mathrm e}^{2 x}\right ) \operatorname {csgn}\left (i x^{2}\right ) \operatorname {csgn}\left (i x^{2} {\mathrm e}^{2 x}\right )}{2}} {\mathrm e}^{\frac {i \pi \,\operatorname {csgn}\left (i {\mathrm e}^{2 x}\right ) \operatorname {csgn}\left (i x^{2} {\mathrm e}^{2 x}\right )^{2}}{2}} {\mathrm e}^{\frac {i \pi \,\operatorname {csgn}\left (i x^{2}\right ) \operatorname {csgn}\left (i x^{2} {\mathrm e}^{2 x}\right )^{2}}{2}} {\mathrm e}^{-\frac {i \pi \operatorname {csgn}\left (i x^{2} {\mathrm e}^{2 x}\right )^{3}}{2}}-1}\) \(185\)

[In]

int(((4*x^4+2*x^3)*exp(ln(exp(x)^2*x^2)+2*x)+8*x^3)*exp(1/4*exp(ln(exp(x)^2*x^2)+2*x)+ln(x)-1/4)^4,x,method=_R
ETURNVERBOSE)

[Out]

exp(1/4*exp(ln(exp(x)^2*x^2)+2*x)+ln(x)-1/4)^4*x^4

Fricas [A] (verification not implemented)

none

Time = 0.26 (sec) , antiderivative size = 20, normalized size of antiderivative = 1.18 \[ \int e^{-1+e^{4 x} x^2} x^4 \left (8 x^3+e^{4 x} x^2 \left (2 x^3+4 x^4\right )\right ) \, dx=x^{4} e^{\left (e^{\left (4 \, x + 2 \, \log \left (x\right )\right )} + 4 \, \log \left (x\right ) - 1\right )} \]

[In]

integrate(((4*x^4+2*x^3)*exp(log(exp(x)^2*x^2)+2*x)+8*x^3)*exp(1/4*exp(log(exp(x)^2*x^2)+2*x)+log(x)-1/4)^4,x,
 algorithm="fricas")

[Out]

x^4*e^(e^(4*x + 2*log(x)) + 4*log(x) - 1)

Sympy [A] (verification not implemented)

Time = 0.14 (sec) , antiderivative size = 14, normalized size of antiderivative = 0.82 \[ \int e^{-1+e^{4 x} x^2} x^4 \left (8 x^3+e^{4 x} x^2 \left (2 x^3+4 x^4\right )\right ) \, dx=x^{8} e^{x^{2} e^{4 x} - 1} \]

[In]

integrate(((4*x**4+2*x**3)*exp(ln(exp(x)**2*x**2)+2*x)+8*x**3)*exp(1/4*exp(ln(exp(x)**2*x**2)+2*x)+ln(x)-1/4)*
*4,x)

[Out]

x**8*exp(x**2*exp(4*x) - 1)

Maxima [A] (verification not implemented)

none

Time = 0.27 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.88 \[ \int e^{-1+e^{4 x} x^2} x^4 \left (8 x^3+e^{4 x} x^2 \left (2 x^3+4 x^4\right )\right ) \, dx=x^{8} e^{\left (x^{2} e^{\left (4 \, x\right )} - 1\right )} \]

[In]

integrate(((4*x^4+2*x^3)*exp(log(exp(x)^2*x^2)+2*x)+8*x^3)*exp(1/4*exp(log(exp(x)^2*x^2)+2*x)+log(x)-1/4)^4,x,
 algorithm="maxima")

[Out]

x^8*e^(x^2*e^(4*x) - 1)

Giac [F]

\[ \int e^{-1+e^{4 x} x^2} x^4 \left (8 x^3+e^{4 x} x^2 \left (2 x^3+4 x^4\right )\right ) \, dx=\int { 2 \, {\left (4 \, x^{3} + {\left (2 \, x^{4} + x^{3}\right )} e^{\left (2 \, x + \log \left (x^{2} e^{\left (2 \, x\right )}\right )\right )}\right )} e^{\left (e^{\left (2 \, x + \log \left (x^{2} e^{\left (2 \, x\right )}\right )\right )} + 4 \, \log \left (x\right ) - 1\right )} \,d x } \]

[In]

integrate(((4*x^4+2*x^3)*exp(log(exp(x)^2*x^2)+2*x)+8*x^3)*exp(1/4*exp(log(exp(x)^2*x^2)+2*x)+log(x)-1/4)^4,x,
 algorithm="giac")

[Out]

integrate(2*(4*x^3 + (2*x^4 + x^3)*e^(2*x + log(x^2*e^(2*x))))*e^(e^(2*x + log(x^2*e^(2*x))) + 4*log(x) - 1),
x)

Mupad [B] (verification not implemented)

Time = 14.46 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.88 \[ \int e^{-1+e^{4 x} x^2} x^4 \left (8 x^3+e^{4 x} x^2 \left (2 x^3+4 x^4\right )\right ) \, dx=x^8\,{\mathrm {e}}^{-1}\,{\mathrm {e}}^{x^2\,{\mathrm {e}}^{4\,x}} \]

[In]

int(exp(exp(2*x + log(x^2*exp(2*x))) + 4*log(x) - 1)*(exp(2*x + log(x^2*exp(2*x)))*(2*x^3 + 4*x^4) + 8*x^3),x)

[Out]

x^8*exp(-1)*exp(x^2*exp(4*x))