3.7.75 \(\int e^{-4 x} (e^x+e^{2 x}+e^{3 x}) \, dx\) [675]

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.01, 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 = {2320, 14} \begin {gather*} -\frac {1}{3} e^{-3 x}-\frac {e^{-2 x}}{2}-e^{-x} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

-1/3*1/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 2320

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 &=\text {Subst}\left (\int \frac {1+x+x^2}{x^4} \, dx,x,e^x\right )\\ &=\text {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.02, size = 23, normalized size = 0.88 \begin {gather*} \frac {1}{6} e^{-3 x} \left (-2-3 e^x-6 e^{2 x}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

Maple [A]
time = 0.02, size = 20, normalized size = 0.77

method result size
default \(-\frac {{\mathrm e}^{-3 x}}{3}-\frac {{\mathrm e}^{-2 x}}{2}-{\mathrm e}^{-x}\) \(20\)
risch \(-\frac {{\mathrm e}^{-3 x}}{3}-\frac {{\mathrm e}^{-2 x}}{2}-{\mathrm e}^{-x}\) \(20\)
meijerg \(\frac {11}{6}-\frac {{\mathrm e}^{-3 x}}{3}-\frac {{\mathrm e}^{-2 x}}{2}-{\mathrm e}^{-x}\) \(21\)
norman \(\left (-\frac {{\mathrm e}^{2 x}}{2}-{\mathrm e}^{3 x}-\frac {{\mathrm e}^{x}}{3}\right ) {\mathrm e}^{-4 x}\) \(23\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

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)

________________________________________________________________________________________

Fricas [A]
time = 0.38, size = 18, normalized size = 0.69 \begin {gather*} -\frac {1}{6} \, {\left (6 \, e^{\left (2 \, x\right )} + 3 \, e^{x} + 2\right )} e^{\left (-3 \, x\right )} \end {gather*}

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)

________________________________________________________________________________________

Sympy [A]
time = 0.03, size = 22, normalized size = 0.85 \begin {gather*} - e^{- x} - \frac {e^{- 2 x}}{2} - \frac {e^{- 3 x}}{3} \end {gather*}

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

________________________________________________________________________________________

Giac [A]
time = 3.79, size = 18, normalized size = 0.69 \begin {gather*} -\frac {1}{6} \, {\left (6 \, e^{\left (2 \, x\right )} + 3 \, e^{x} + 2\right )} e^{\left (-3 \, x\right )} \end {gather*}

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)

________________________________________________________________________________________

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

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

________________________________________________________________________________________