3.6.35 \(\int e^{-x/2} x^3 \, dx\) [535]

Optimal. Leaf size=44 \[ -96 e^{-x/2}-48 e^{-x/2} x-12 e^{-x/2} x^2-2 e^{-x/2} x^3 \]

[Out]

-96/exp(1/2*x)-48*x/exp(1/2*x)-12*x^2/exp(1/2*x)-2*x^3/exp(1/2*x)

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 44, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {2207, 2225} \begin {gather*} -2 e^{-x/2} x^3-12 e^{-x/2} x^2-48 e^{-x/2} x-96 e^{-x/2} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^3/E^(x/2),x]

[Out]

-96/E^(x/2) - (48*x)/E^(x/2) - (12*x^2)/E^(x/2) - (2*x^3)/E^(x/2)

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/2} x^3 \, dx &=-2 e^{-x/2} x^3+6 \int e^{-x/2} x^2 \, dx\\ &=-12 e^{-x/2} x^2-2 e^{-x/2} x^3+24 \int e^{-x/2} x \, dx\\ &=-48 e^{-x/2} x-12 e^{-x/2} x^2-2 e^{-x/2} x^3+48 \int e^{-x/2} \, dx\\ &=-96 e^{-x/2}-48 e^{-x/2} x-12 e^{-x/2} x^2-2 e^{-x/2} x^3\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 23, normalized size = 0.52 \begin {gather*} e^{-x/2} \left (-96-48 x-12 x^2-2 x^3\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^3/E^(x/2),x]

[Out]

(-96 - 48*x - 12*x^2 - 2*x^3)/E^(x/2)

________________________________________________________________________________________

Maple [A]
time = 0.02, size = 41, normalized size = 0.93

method result size
risch \(\left (-2 x^{3}-12 x^{2}-48 x -96\right ) {\mathrm e}^{-\frac {x}{2}}\) \(21\)
gosper \(-2 \left (x^{3}+6 x^{2}+24 x +48\right ) {\mathrm e}^{-\frac {x}{2}}\) \(22\)
norman \(\left (-2 x^{3}-12 x^{2}-48 x -96\right ) {\mathrm e}^{-\frac {x}{2}}\) \(23\)
meijerg \(96-4 \left (\frac {1}{2} x^{3}+3 x^{2}+12 x +24\right ) {\mathrm e}^{-\frac {x}{2}}\) \(24\)
derivativedivides \(-96 \,{\mathrm e}^{-\frac {x}{2}}-48 x \,{\mathrm e}^{-\frac {x}{2}}-12 x^{2} {\mathrm e}^{-\frac {x}{2}}-2 x^{3} {\mathrm e}^{-\frac {x}{2}}\) \(41\)
default \(-96 \,{\mathrm e}^{-\frac {x}{2}}-48 x \,{\mathrm e}^{-\frac {x}{2}}-12 x^{2} {\mathrm e}^{-\frac {x}{2}}-2 x^{3} {\mathrm e}^{-\frac {x}{2}}\) \(41\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^3/exp(1/2*x),x,method=_RETURNVERBOSE)

[Out]

-96/exp(1/2*x)-48*x/exp(1/2*x)-12*x^2/exp(1/2*x)-2*x^3/exp(1/2*x)

________________________________________________________________________________________

Maxima [A]
time = 1.16, size = 19, normalized size = 0.43 \begin {gather*} -2 \, {\left (x^{3} + 6 \, x^{2} + 24 \, x + 48\right )} e^{\left (-\frac {1}{2} \, x\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3/exp(1/2*x),x, algorithm="maxima")

[Out]

-2*(x^3 + 6*x^2 + 24*x + 48)*e^(-1/2*x)

________________________________________________________________________________________

Fricas [A]
time = 0.45, size = 19, normalized size = 0.43 \begin {gather*} -2 \, {\left (x^{3} + 6 \, x^{2} + 24 \, x + 48\right )} e^{\left (-\frac {1}{2} \, x\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3/exp(1/2*x),x, algorithm="fricas")

[Out]

-2*(x^3 + 6*x^2 + 24*x + 48)*e^(-1/2*x)

________________________________________________________________________________________

Sympy [A]
time = 0.02, size = 20, normalized size = 0.45 \begin {gather*} \left (- 2 x^{3} - 12 x^{2} - 48 x - 96\right ) e^{- \frac {x}{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**3/exp(1/2*x),x)

[Out]

(-2*x**3 - 12*x**2 - 48*x - 96)*exp(-x/2)

________________________________________________________________________________________

Giac [A]
time = 0.81, size = 19, normalized size = 0.43 \begin {gather*} -2 \, {\left (x^{3} + 6 \, x^{2} + 24 \, x + 48\right )} e^{\left (-\frac {1}{2} \, x\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3/exp(1/2*x),x, algorithm="giac")

[Out]

-2*(x^3 + 6*x^2 + 24*x + 48)*e^(-1/2*x)

________________________________________________________________________________________

Mupad [B]
time = 0.03, size = 21, normalized size = 0.48 \begin {gather*} -16\,{\mathrm {e}}^{-\frac {x}{2}}\,\left (\frac {x^3}{8}+\frac {3\,x^2}{4}+3\,x+6\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-16*exp(-x/2)*(3*x + (3*x^2)/4 + x^3/8 + 6)

________________________________________________________________________________________