3.675 \(\int e^{-4 x} (e^x+e^{2 x}+e^{3 x}) \, dx\)

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

[Out]

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

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {2282, 14} \[ -\frac {1}{3} e^{-3 x}-\frac {e^{-2 x}}{2}-e^{-x} \]

Antiderivative was successfully verified.

[In]

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

[Out]

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

Rule 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rule 2282

Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Dist[v/D[v, x], Subst[Int[FunctionOfExponentialFu
nction[u, x]/x, x], x, v], x]] /; FunctionOfExponentialQ[u, x] &&  !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; F
reeQ[{a, m, n}, x] && IntegerQ[m*n]] &&  !MatchQ[u, E^((c_.)*((a_.) + (b_.)*x))*(F_)[v_] /; FreeQ[{a, b, c}, x
] && InverseFunctionQ[F[x]]]

Rubi steps

\begin {align*} \int e^{-4 x} \left (e^x+e^{2 x}+e^{3 x}\right ) \, dx &=\operatorname {Subst}\left (\int \frac {1+x+x^2}{x^4} \, dx,x,e^x\right )\\ &=\operatorname {Subst}\left (\int \left (\frac {1}{x^4}+\frac {1}{x^3}+\frac {1}{x^2}\right ) \, dx,x,e^x\right )\\ &=-\frac {1}{3} e^{-3 x}-\frac {e^{-2 x}}{2}-e^{-x}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 23, normalized size = 0.88 \[ -\frac {1}{6} e^{-3 x} \left (3 e^x+6 e^{2 x}+2\right ) \]

Antiderivative was successfully verified.

[In]

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

[Out]

-1/6*(2 + 3*E^x + 6*E^(2*x))/E^(3*x)

________________________________________________________________________________________

fricas [A]  time = 0.40, size = 18, normalized size = 0.69 \[ -\frac {1}{6} \, {\left (6 \, e^{\left (2 \, x\right )} + 3 \, e^{x} + 2\right )} e^{\left (-3 \, x\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((exp(x)+exp(2*x)+exp(3*x))/exp(4*x),x, algorithm="fricas")

[Out]

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

________________________________________________________________________________________

giac [A]  time = 0.22, size = 18, normalized size = 0.69 \[ -\frac {1}{6} \, {\left (6 \, e^{\left (2 \, x\right )} + 3 \, e^{x} + 2\right )} e^{\left (-3 \, x\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((exp(x)+exp(2*x)+exp(3*x))/exp(4*x),x, algorithm="giac")

[Out]

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

________________________________________________________________________________________

maple [A]  time = 0.03, size = 20, normalized size = 0.77 \[ -\frac {{\mathrm e}^{-3 x}}{3}-\frac {{\mathrm e}^{-2 x}}{2}-{\mathrm e}^{-x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((exp(x)+exp(2*x)+exp(3*x))/exp(4*x),x)

[Out]

-1/3/exp(x)^3-1/2/exp(x)^2-1/exp(x)

________________________________________________________________________________________

maxima [A]  time = 0.89, size = 19, normalized size = 0.73 \[ -e^{\left (-x\right )} - \frac {1}{2} \, e^{\left (-2 \, x\right )} - \frac {1}{3} \, e^{\left (-3 \, x\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((exp(x)+exp(2*x)+exp(3*x))/exp(4*x),x, algorithm="maxima")

[Out]

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

________________________________________________________________________________________

mupad [B]  time = 0.07, size = 18, normalized size = 0.69 \[ -\frac {{\mathrm {e}}^{-3\,x}\,\left (6\,{\mathrm {e}}^{2\,x}+3\,{\mathrm {e}}^x+2\right )}{6} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(-4*x)*(exp(2*x) + exp(3*x) + exp(x)),x)

[Out]

-(exp(-3*x)*(6*exp(2*x) + 3*exp(x) + 2))/6

________________________________________________________________________________________

sympy [A]  time = 0.11, size = 22, normalized size = 0.85 \[ - e^{- x} - \frac {e^{- 2 x}}{2} - \frac {e^{- 3 x}}{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((exp(x)+exp(2*x)+exp(3*x))/exp(4*x),x)

[Out]

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

________________________________________________________________________________________