3.69.1 \(\int \frac {e^5 (5-2 x)-e^5 \log (4)+e^{\frac {e^e-2 x^2}{e^5}} (-e^5+4 x^2+4 x \log (4))}{e^5} \, dx\)

Optimal. Leaf size=27 \[ \left (5-e^{\frac {e^e-2 x^2}{e^5}}-x\right ) (x+\log (4)) \]

________________________________________________________________________________________

Rubi [A]  time = 0.05, antiderivative size = 45, normalized size of antiderivative = 1.67, number of steps used = 3, number of rules used = 2, integrand size = 53, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.038, Rules used = {12, 2288} \begin {gather*} -\frac {e^{\frac {e^e-2 x^2}{e^5}} \left (x^2+x \log (4)\right )}{x}-\frac {1}{4} (5-2 x)^2-x \log (4) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(E^5*(5 - 2*x) - E^5*Log[4] + E^((E^E - 2*x^2)/E^5)*(-E^5 + 4*x^2 + 4*x*Log[4]))/E^5,x]

[Out]

-1/4*(5 - 2*x)^2 - x*Log[4] - (E^((E^E - 2*x^2)/E^5)*(x^2 + x*Log[4]))/x

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, 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} &=\frac {\int \left (e^5 (5-2 x)-e^5 \log (4)+e^{\frac {e^e-2 x^2}{e^5}} \left (-e^5+4 x^2+4 x \log (4)\right )\right ) \, dx}{e^5}\\ &=-\frac {1}{4} (5-2 x)^2-x \log (4)+\frac {\int e^{\frac {e^e-2 x^2}{e^5}} \left (-e^5+4 x^2+4 x \log (4)\right ) \, dx}{e^5}\\ &=-\frac {1}{4} (5-2 x)^2-x \log (4)-\frac {e^{\frac {e^e-2 x^2}{e^5}} \left (x^2+x \log (4)\right )}{x}\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.13, size = 34, normalized size = 1.26 \begin {gather*} -x (-5+x+\log (4))-\frac {1}{4} e^{\frac {e^e-2 x^2}{e^5}} (4 x+\log (256)) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(E^5*(5 - 2*x) - E^5*Log[4] + E^((E^E - 2*x^2)/E^5)*(-E^5 + 4*x^2 + 4*x*Log[4]))/E^5,x]

[Out]

-(x*(-5 + x + Log[4])) - (E^((E^E - 2*x^2)/E^5)*(4*x + Log[256]))/4

________________________________________________________________________________________

fricas [A]  time = 0.51, size = 38, normalized size = 1.41 \begin {gather*} -x^{2} - {\left (x + 2 \, \log \relax (2)\right )} e^{\left (-{\left (2 \, x^{2} - e^{e}\right )} e^{\left (-5\right )}\right )} - 2 \, x \log \relax (2) + 5 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-x^2 - (x + 2*log(2))*e^(-(2*x^2 - e^e)*e^(-5)) - 2*x*log(2) + 5*x

________________________________________________________________________________________

giac [A]  time = 0.29, size = 50, normalized size = 1.85 \begin {gather*} -{\left (2 \, x e^{5} \log \relax (2) + {\left (x^{2} - 5 \, x\right )} e^{5} + {\left (x e^{5} + 2 \, e^{5} \log \relax (2)\right )} e^{\left (-{\left (2 \, x^{2} - e^{e}\right )} e^{\left (-5\right )}\right )}\right )} e^{\left (-5\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-(2*x*e^5*log(2) + (x^2 - 5*x)*e^5 + (x*e^5 + 2*e^5*log(2))*e^(-(2*x^2 - e^e)*e^(-5)))*e^(-5)

________________________________________________________________________________________

maple [A]  time = 0.05, size = 44, normalized size = 1.63




method result size



risch \(-2 x \ln \relax (2)-x^{2}+5 x +\left (-2 \,{\mathrm e}^{5} \ln \relax (2)-x \,{\mathrm e}^{5}\right ) {\mathrm e}^{-2 x^{2} {\mathrm e}^{-5}+{\mathrm e}^{{\mathrm e}} {\mathrm e}^{-5}-5}\) \(44\)
norman \(\left (-2 \ln \relax (2)+5\right ) x -x^{2}-x \,{\mathrm e}^{\left ({\mathrm e}^{{\mathrm e}}-2 x^{2}\right ) {\mathrm e}^{-5}}-2 \ln \relax (2) {\mathrm e}^{\left ({\mathrm e}^{{\mathrm e}}-2 x^{2}\right ) {\mathrm e}^{-5}}\) \(52\)
default \({\mathrm e}^{-5} \left ({\mathrm e}^{5} \left (-x^{2}+5 x \right )-{\mathrm e}^{{\mathrm e}^{{\mathrm e}} {\mathrm e}^{-5}} {\mathrm e}^{5} x \,{\mathrm e}^{-2 x^{2} {\mathrm e}^{-5}}-2 \,{\mathrm e}^{{\mathrm e}^{{\mathrm e}} {\mathrm e}^{-5}} \ln \relax (2) {\mathrm e}^{-2 x^{2} {\mathrm e}^{-5}} {\mathrm e}^{5}-2 x \,{\mathrm e}^{5} \ln \relax (2)\right )\) \(76\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((8*x*ln(2)-exp(5)+4*x^2)*exp((exp(exp(1))-2*x^2)/exp(5))-2*exp(5)*ln(2)+(-2*x+5)*exp(5))/exp(5),x,method=
_RETURNVERBOSE)

[Out]

-2*x*ln(2)-x^2+5*x+(-2*exp(5)*ln(2)-x*exp(5))*exp(-2*x^2*exp(-5)+exp(exp(1))*exp(-5)-5)

________________________________________________________________________________________

maxima [A]  time = 0.45, size = 54, normalized size = 2.00 \begin {gather*} -{\left (2 \, x e^{5} \log \relax (2) + {\left (x^{2} - 5 \, x\right )} e^{5} + {\left (x e^{\left (e^{\left (e - 5\right )} + 5\right )} + 2 \, e^{\left (e^{\left (e - 5\right )} + 5\right )} \log \relax (2)\right )} e^{\left (-2 \, x^{2} e^{\left (-5\right )}\right )}\right )} e^{\left (-5\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-(2*x*e^5*log(2) + (x^2 - 5*x)*e^5 + (x*e^(e^(e - 5) + 5) + 2*e^(e^(e - 5) + 5)*log(2))*e^(-2*x^2*e^(-5)))*e^(
-5)

________________________________________________________________________________________

mupad [B]  time = 0.18, size = 51, normalized size = 1.89 \begin {gather*} 5\,x-2\,x\,\ln \relax (2)-2\,{\mathrm {e}}^{{\mathrm {e}}^{-5}\,{\mathrm {e}}^{\mathrm {e}}-2\,x^2\,{\mathrm {e}}^{-5}}\,\ln \relax (2)-x\,{\mathrm {e}}^{{\mathrm {e}}^{-5}\,{\mathrm {e}}^{\mathrm {e}}-2\,x^2\,{\mathrm {e}}^{-5}}-x^2 \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

5*x - 2*x*log(2) - 2*exp(exp(-5)*exp(exp(1)) - 2*x^2*exp(-5))*log(2) - x*exp(exp(-5)*exp(exp(1)) - 2*x^2*exp(-
5)) - x^2

________________________________________________________________________________________

sympy [A]  time = 0.14, size = 34, normalized size = 1.26 \begin {gather*} - x^{2} + x \left (5 - 2 \log {\relax (2 )}\right ) + \left (- x - 2 \log {\relax (2 )}\right ) e^{\frac {- 2 x^{2} + e^{e}}{e^{5}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-x**2 + x*(5 - 2*log(2)) + (-x - 2*log(2))*exp((-2*x**2 + exp(E))*exp(-5))

________________________________________________________________________________________