3.58.85 \(\int (-1-e^{7-x}) \, dx\)

Optimal. Leaf size=12 \[ 5+e^{7-x}-x \]

________________________________________________________________________________________

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

Antiderivative was successfully verified.

[In]

Int[-1 - E^(7 - x),x]

[Out]

E^(7 - x) - x

Rule 2194

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 {gather*} \begin {aligned} \text {integral} &=-x-\int e^{7-x} \, dx\\ &=e^{7-x}-x\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 11, normalized size = 0.92 \begin {gather*} e^{7-x}-x \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[-1 - E^(7 - x),x]

[Out]

E^(7 - x) - x

________________________________________________________________________________________

fricas [A]  time = 0.76, size = 10, normalized size = 0.83 \begin {gather*} -x + e^{\left (-x + 7\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-exp(-x+7)-1,x, algorithm="fricas")

[Out]

-x + e^(-x + 7)

________________________________________________________________________________________

giac [A]  time = 0.19, size = 10, normalized size = 0.83 \begin {gather*} -x + e^{\left (-x + 7\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-exp(-x+7)-1,x, algorithm="giac")

[Out]

-x + e^(-x + 7)

________________________________________________________________________________________

maple [A]  time = 0.03, size = 11, normalized size = 0.92




method result size



default \(-x +{\mathrm e}^{-x +7}\) \(11\)
norman \(-x +{\mathrm e}^{-x +7}\) \(11\)
risch \(-x +{\mathrm e}^{-x +7}\) \(11\)
derivativedivides \({\mathrm e}^{-x +7}+\ln \left ({\mathrm e}^{-x +7}\right )\) \(15\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-exp(-x+7)-1,x,method=_RETURNVERBOSE)

[Out]

-x+exp(-x+7)

________________________________________________________________________________________

maxima [A]  time = 0.36, size = 10, normalized size = 0.83 \begin {gather*} -x + e^{\left (-x + 7\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-exp(-x+7)-1,x, algorithm="maxima")

[Out]

-x + e^(-x + 7)

________________________________________________________________________________________

mupad [B]  time = 4.32, size = 10, normalized size = 0.83 \begin {gather*} {\mathrm {e}}^{7-x}-x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(- exp(7 - x) - 1,x)

[Out]

exp(7 - x) - x

________________________________________________________________________________________

sympy [A]  time = 0.07, size = 5, normalized size = 0.42 \begin {gather*} - x + e^{7 - x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-exp(-x+7)-1,x)

[Out]

-x + exp(7 - x)

________________________________________________________________________________________