3.1.74 \(\int e^x x \, dx\) [74]

Optimal. Leaf size=11 \[ -e^x+e^x x \]

[Out]

-exp(x)+exp(x)*x

________________________________________________________________________________________

Rubi [A]
time = 0.00, antiderivative size = 11, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {2207, 2225} \begin {gather*} e^x x-e^x \end {gather*}

Antiderivative was successfully verified.

[In]

Int[E^x*x,x]

[Out]

-E^x + E^x*x

Rule 2207

Int[((b_.)*(F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_.)*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[(c + d*x)^m*
((b*F^(g*(e + f*x)))^n/(f*g*n*Log[F])), x] - Dist[d*(m/(f*g*n*Log[F])), Int[(c + d*x)^(m - 1)*(b*F^(g*(e + f*x
)))^n, x], x] /; FreeQ[{F, b, c, d, e, f, g, n}, x] && GtQ[m, 0] && IntegerQ[2*m] &&  !TrueQ[$UseGamma]

Rule 2225

Int[((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(n_.), x_Symbol] :> Simp[(F^(c*(a + b*x)))^n/(b*c*n*Log[F]), x] /; Fre
eQ[{F, a, b, c, n}, x]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 7, normalized size = 0.64 \begin {gather*} e^x (-1+x) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[E^x*x,x]

[Out]

E^x*(-1 + x)

________________________________________________________________________________________

Maple [A]
time = 0.02, size = 10, normalized size = 0.91

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(x)*x,x,method=_RETURNVERBOSE)

[Out]

-exp(x)+exp(x)*x

________________________________________________________________________________________

Maxima [A]
time = 2.48, size = 6, normalized size = 0.55 \begin {gather*} {\left (x - 1\right )} e^{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(x)*x,x, algorithm="maxima")

[Out]

(x - 1)*e^x

________________________________________________________________________________________

Fricas [A]
time = 0.90, size = 6, normalized size = 0.55 \begin {gather*} {\left (x - 1\right )} e^{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(x)*x,x, algorithm="fricas")

[Out]

(x - 1)*e^x

________________________________________________________________________________________

Sympy [A]
time = 0.02, size = 5, normalized size = 0.45 \begin {gather*} \left (x - 1\right ) e^{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(x)*x,x)

[Out]

(x - 1)*exp(x)

________________________________________________________________________________________

Giac [A]
time = 0.43, size = 6, normalized size = 0.55 \begin {gather*} {\left (x - 1\right )} e^{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(x)*x,x, algorithm="giac")

[Out]

(x - 1)*e^x

________________________________________________________________________________________

Mupad [B]
time = 0.02, size = 6, normalized size = 0.55 \begin {gather*} {\mathrm {e}}^x\,\left (x-1\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*exp(x),x)

[Out]

exp(x)*(x - 1)

________________________________________________________________________________________