3.12.78 \(\int e^{-e-e^x+x+x^2} (1-e^x+2 x) \log ^2(25) \, dx\)

Optimal. Leaf size=20 \[ e^{-e-e^x+x+x^2} \log ^2(25) \]

________________________________________________________________________________________

Rubi [A]  time = 0.11, antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {12, 6706} \begin {gather*} e^{x^2+x-e^x-e} \log ^2(25) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[E^(-E - E^x + x + x^2)*(1 - E^x + 2*x)*Log[25]^2,x]

[Out]

E^(-E - E^x + x + x^2)*Log[25]^2

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 6706

Int[(F_)^(v_)*(u_), x_Symbol] :> With[{q = DerivativeDivides[v, u, x]}, Simp[(q*F^v)/Log[F], x] /;  !FalseQ[q]
] /; FreeQ[F, x]

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=\log ^2(25) \int e^{-e-e^x+x+x^2} \left (1-e^x+2 x\right ) \, dx\\ &=e^{-e-e^x+x+x^2} \log ^2(25)\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.10, size = 20, normalized size = 1.00 \begin {gather*} e^{-e-e^x+x+x^2} \log ^2(25) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[E^(-E - E^x + x + x^2)*(1 - E^x + 2*x)*Log[25]^2,x]

[Out]

E^(-E - E^x + x + x^2)*Log[25]^2

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maple [A]  time = 0.02, size = 21, normalized size = 1.05




method result size



risch \(4 \ln \relax (5)^{2} {\mathrm e}^{-{\mathrm e}^{x}-{\mathrm e}+x^{2}+x}\) \(21\)
derivativedivides \({\mathrm e}^{\ln \left (4 \ln \relax (5)^{2}\right )-{\mathrm e}^{x}-{\mathrm e}+x^{2}+x}\) \(22\)
default \({\mathrm e}^{\ln \left (4 \ln \relax (5)^{2}\right )-{\mathrm e}^{x}-{\mathrm e}+x^{2}+x}\) \(22\)
norman \({\mathrm e}^{\ln \left (4 \ln \relax (5)^{2}\right )-{\mathrm e}^{x}-{\mathrm e}+x^{2}+x}\) \(22\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

mupad [B]  time = 0.08, size = 22, normalized size = 1.10 \begin {gather*} 4\,{\mathrm {e}}^{-\mathrm {e}}\,{\mathrm {e}}^{x^2}\,{\mathrm {e}}^{-{\mathrm {e}}^x}\,{\mathrm {e}}^x\,{\ln \relax (5)}^2 \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

sympy [A]  time = 0.17, size = 19, normalized size = 0.95 \begin {gather*} 4 e^{x^{2} + x - e^{x} - e} \log {\relax (5 )}^{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________