3.95.67 \(\int \frac {e^{4 e^{2 x}+x^2} (16+32 x^2-2 x^3-2 e^5 x^3+e^{2 x} (128 x-8 x^2-8 e^5 x^2))}{256-32 x+x^2+e^{10} x^2+e^5 (-32 x+2 x^2)} \, dx\)

Optimal. Leaf size=28 \[ \frac {e^{4 e^{2 x}+x^2} x}{16-x-e^5 x} \]

________________________________________________________________________________________

Rubi [B]  time = 0.33, antiderivative size = 95, normalized size of antiderivative = 3.39, number of steps used = 3, number of rules used = 2, integrand size = 87, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.023, Rules used = {6, 2288} \begin {gather*} \frac {e^{x^2+4 e^{2 x}} \left (-\left (\left (1+e^5\right ) x^3\right )+16 x^2+4 e^{2 x} \left (-e^5 x^2-x^2+16 x\right )\right )}{\left (x+4 e^{2 x}\right ) \left (\left (1+e^{10}\right ) x^2-2 e^5 \left (16 x-x^2\right )-32 x+256\right )} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(E^(4*E^(2*x) + x^2)*(16 + 32*x^2 - 2*x^3 - 2*E^5*x^3 + E^(2*x)*(128*x - 8*x^2 - 8*E^5*x^2)))/(256 - 32*x
+ x^2 + E^10*x^2 + E^5*(-32*x + 2*x^2)),x]

[Out]

(E^(4*E^(2*x) + x^2)*(16*x^2 - (1 + E^5)*x^3 + 4*E^(2*x)*(16*x - x^2 - E^5*x^2)))/((4*E^(2*x) + x)*(256 - 32*x
 + (1 + E^10)*x^2 - 2*E^5*(16*x - x^2)))

Rule 6

Int[(u_.)*((w_.) + (a_.)*(v_) + (b_.)*(v_))^(p_.), x_Symbol] :> Int[u*((a + b)*v + w)^p, x] /; FreeQ[{a, b}, x
] &&  !FreeQ[v, x]

Rule 2288

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 {gather*} \begin {aligned} \text {integral} &=\int \frac {e^{4 e^{2 x}+x^2} \left (16+32 x^2-2 x^3-2 e^5 x^3+e^{2 x} \left (128 x-8 x^2-8 e^5 x^2\right )\right )}{256-32 x+\left (1+e^{10}\right ) x^2+e^5 \left (-32 x+2 x^2\right )} \, dx\\ &=\int \frac {e^{4 e^{2 x}+x^2} \left (16+32 x^2+\left (-2-2 e^5\right ) x^3+e^{2 x} \left (128 x-8 x^2-8 e^5 x^2\right )\right )}{256-32 x+\left (1+e^{10}\right ) x^2+e^5 \left (-32 x+2 x^2\right )} \, dx\\ &=\frac {e^{4 e^{2 x}+x^2} \left (16 x^2-\left (1+e^5\right ) x^3+4 e^{2 x} \left (16 x-x^2-e^5 x^2\right )\right )}{\left (4 e^{2 x}+x\right ) \left (256-32 x+\left (1+e^{10}\right ) x^2-2 e^5 \left (16 x-x^2\right )\right )}\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.53, size = 26, normalized size = 0.93 \begin {gather*} -\frac {e^{4 e^{2 x}+x^2} x}{-16+x+e^5 x} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(E^(4*E^(2*x) + x^2)*(16 + 32*x^2 - 2*x^3 - 2*E^5*x^3 + E^(2*x)*(128*x - 8*x^2 - 8*E^5*x^2)))/(256 -
 32*x + x^2 + E^10*x^2 + E^5*(-32*x + 2*x^2)),x]

[Out]

-((E^(4*E^(2*x) + x^2)*x)/(-16 + x + E^5*x))

________________________________________________________________________________________

fricas [A]  time = 0.55, size = 23, normalized size = 0.82 \begin {gather*} -\frac {x e^{\left (x^{2} + 4 \, e^{\left (2 \, x\right )}\right )}}{x e^{5} + x - 16} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((-8*x^2*exp(5)-8*x^2+128*x)*exp(x)^2-2*x^3*exp(5)-2*x^3+32*x^2+16)*exp(4*exp(x)^2+x^2)/(x^2*exp(5)^
2+(2*x^2-32*x)*exp(5)+x^2-32*x+256),x, algorithm="fricas")

[Out]

-x*e^(x^2 + 4*e^(2*x))/(x*e^5 + x - 16)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int -\frac {2 \, {\left (x^{3} e^{5} + x^{3} - 16 \, x^{2} + 4 \, {\left (x^{2} e^{5} + x^{2} - 16 \, x\right )} e^{\left (2 \, x\right )} - 8\right )} e^{\left (x^{2} + 4 \, e^{\left (2 \, x\right )}\right )}}{x^{2} e^{10} + x^{2} + 2 \, {\left (x^{2} - 16 \, x\right )} e^{5} - 32 \, x + 256}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((-8*x^2*exp(5)-8*x^2+128*x)*exp(x)^2-2*x^3*exp(5)-2*x^3+32*x^2+16)*exp(4*exp(x)^2+x^2)/(x^2*exp(5)^
2+(2*x^2-32*x)*exp(5)+x^2-32*x+256),x, algorithm="giac")

[Out]

integrate(-2*(x^3*e^5 + x^3 - 16*x^2 + 4*(x^2*e^5 + x^2 - 16*x)*e^(2*x) - 8)*e^(x^2 + 4*e^(2*x))/(x^2*e^10 + x
^2 + 2*(x^2 - 16*x)*e^5 - 32*x + 256), x)

________________________________________________________________________________________

maple [A]  time = 0.70, size = 24, normalized size = 0.86




method result size



norman \(-\frac {x \,{\mathrm e}^{4 \,{\mathrm e}^{2 x}+x^{2}}}{x \,{\mathrm e}^{5}+x -16}\) \(24\)
risch \(-\frac {x \,{\mathrm e}^{4 \,{\mathrm e}^{2 x}+x^{2}}}{x \,{\mathrm e}^{5}+x -16}\) \(24\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((-8*x^2*exp(5)-8*x^2+128*x)*exp(x)^2-2*x^3*exp(5)-2*x^3+32*x^2+16)*exp(4*exp(x)^2+x^2)/(x^2*exp(5)^2+(2*x
^2-32*x)*exp(5)+x^2-32*x+256),x,method=_RETURNVERBOSE)

[Out]

-x*exp(4*exp(x)^2+x^2)/(x*exp(5)+x-16)

________________________________________________________________________________________

maxima [A]  time = 0.43, size = 24, normalized size = 0.86 \begin {gather*} -\frac {x e^{\left (x^{2} + 4 \, e^{\left (2 \, x\right )}\right )}}{x {\left (e^{5} + 1\right )} - 16} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((-8*x^2*exp(5)-8*x^2+128*x)*exp(x)^2-2*x^3*exp(5)-2*x^3+32*x^2+16)*exp(4*exp(x)^2+x^2)/(x^2*exp(5)^
2+(2*x^2-32*x)*exp(5)+x^2-32*x+256),x, algorithm="maxima")

[Out]

-x*e^(x^2 + 4*e^(2*x))/(x*(e^5 + 1) - 16)

________________________________________________________________________________________

mupad [B]  time = 7.99, size = 32, normalized size = 1.14 \begin {gather*} -\frac {x\,{\mathrm {e}}^{4\,{\mathrm {e}}^{2\,x}+x^2}}{\left (x-\frac {16}{{\mathrm {e}}^5+1}\right )\,\left ({\mathrm {e}}^5+1\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(exp(4*exp(2*x) + x^2)*(2*x^3*exp(5) + exp(2*x)*(8*x^2*exp(5) - 128*x + 8*x^2) - 32*x^2 + 2*x^3 - 16))/(x
^2*exp(10) - exp(5)*(32*x - 2*x^2) - 32*x + x^2 + 256),x)

[Out]

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

________________________________________________________________________________________

sympy [A]  time = 0.27, size = 22, normalized size = 0.79 \begin {gather*} - \frac {x e^{x^{2} + 4 e^{2 x}}}{x + x e^{5} - 16} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((-8*x**2*exp(5)-8*x**2+128*x)*exp(x)**2-2*x**3*exp(5)-2*x**3+32*x**2+16)*exp(4*exp(x)**2+x**2)/(x**
2*exp(5)**2+(2*x**2-32*x)*exp(5)+x**2-32*x+256),x)

[Out]

-x*exp(x**2 + 4*exp(2*x))/(x + x*exp(5) - 16)

________________________________________________________________________________________