3.7.45 \(\int e^{2-x^2} x \, dx\) [645]

Optimal. Leaf size=13 \[ -\frac {1}{2} e^{2-x^2} \]

[Out]

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

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {2240} \begin {gather*} -\frac {1}{2} e^{2-x^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[E^(2 - x^2)*x,x]

[Out]

-1/2*E^(2 - x^2)

Rule 2240

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^(n_))*((e_.) + (f_.)*(x_))^(m_.), x_Symbol] :> Simp[(e + f*x)^n*(
F^(a + b*(c + d*x)^n)/(b*f*n*(c + d*x)^n*Log[F])), x] /; FreeQ[{F, a, b, c, d, e, f, n}, x] && EqQ[m, n - 1] &
& EqQ[d*e - c*f, 0]

Rubi steps

\begin {align*} \int e^{2-x^2} x \, dx &=-\frac {1}{2} e^{2-x^2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 13, normalized size = 1.00 \begin {gather*} -\frac {1}{2} e^{2-x^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[E^(2 - x^2)*x,x]

[Out]

-1/2*E^(2 - x^2)

________________________________________________________________________________________

Maple [A]
time = 0.01, size = 11, normalized size = 0.85

method result size
gosper \(-\frac {{\mathrm e}^{-x^{2}+2}}{2}\) \(11\)
derivativedivides \(-\frac {{\mathrm e}^{-x^{2}+2}}{2}\) \(11\)
default \(-\frac {{\mathrm e}^{-x^{2}+2}}{2}\) \(11\)
norman \(-\frac {{\mathrm e}^{-x^{2}+2}}{2}\) \(11\)
risch \(-\frac {{\mathrm e}^{-x^{2}+2}}{2}\) \(11\)
meijerg \(\frac {{\mathrm e}^{2} \left (1-{\mathrm e}^{-x^{2}}\right )}{2}\) \(15\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(-x^2+2)*x,x,method=_RETURNVERBOSE)

[Out]

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

________________________________________________________________________________________

Maxima [A]
time = 0.28, size = 10, normalized size = 0.77 \begin {gather*} -\frac {1}{2} \, e^{\left (-x^{2} + 2\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(-x^2+2)*x,x, algorithm="maxima")

[Out]

-1/2*e^(-x^2 + 2)

________________________________________________________________________________________

Fricas [A]
time = 0.41, size = 10, normalized size = 0.77 \begin {gather*} -\frac {1}{2} \, e^{\left (-x^{2} + 2\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(-x^2+2)*x,x, algorithm="fricas")

[Out]

-1/2*e^(-x^2 + 2)

________________________________________________________________________________________

Sympy [A]
time = 0.02, size = 8, normalized size = 0.62 \begin {gather*} - \frac {e^{2 - x^{2}}}{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(-x**2+2)*x,x)

[Out]

-exp(2 - x**2)/2

________________________________________________________________________________________

Giac [A]
time = 3.71, size = 10, normalized size = 0.77 \begin {gather*} -\frac {1}{2} \, e^{\left (-x^{2} + 2\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(-x^2+2)*x,x, algorithm="giac")

[Out]

-1/2*e^(-x^2 + 2)

________________________________________________________________________________________

Mupad [B]
time = 0.06, size = 10, normalized size = 0.77 \begin {gather*} -\frac {{\mathrm {e}}^2\,{\mathrm {e}}^{-x^2}}{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*exp(2 - x^2),x)

[Out]

-(exp(2)*exp(-x^2))/2

________________________________________________________________________________________