3.80.57 \(\int \frac {-3-2 e^3-2 x+\log (2)}{e^3} \, dx\) [7957]

Optimal. Leaf size=24 \[ e^2-2 x+\frac {-1-3 x+x (-x+\log (2))}{e^3} \]

[Out]

exp(1)^2+((ln(2)-x)*x-3*x-1)/exp(3)-2*x

________________________________________________________________________________________

Rubi [A]
time = 0.00, antiderivative size = 23, normalized size of antiderivative = 0.96, number of steps used = 1, number of rules used = 1, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.062, Rules used = {9} \begin {gather*} -\frac {\left (2 x+2 e^3+3-\log (2)\right )^2}{4 e^3} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

-1/4*(3 + 2*E^3 + 2*x - Log[2])^2/E^3

Rule 9

Int[(a_)*((b_) + (c_.)*(x_)), x_Symbol] :> Simp[a*((b + c*x)^2/(2*c)), x] /; FreeQ[{a, b, c}, x]

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=-\frac {\left (3+2 e^3+2 x-\log (2)\right )^2}{4 e^3}\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 23, normalized size = 0.96 \begin {gather*} \frac {-3 x-2 e^3 x-x^2+x \log (2)}{e^3} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

(-3*x - 2*E^3*x - x^2 + x*Log[2])/E^3

________________________________________________________________________________________

Maple [A]
time = 0.33, size = 24, normalized size = 1.00

method result size
gosper \(x \left (-x +\ln \left (2\right )-2 \,{\mathrm e}^{3}-3\right ) {\mathrm e}^{-3}\) \(18\)
risch \({\mathrm e}^{-3} x \ln \left (2\right )-2 x -x^{2} {\mathrm e}^{-3}-3 \,{\mathrm e}^{-3} x\) \(23\)
default \({\mathrm e}^{-3} \left (x \ln \left (2\right )-2 x \,{\mathrm e}^{3}-x^{2}-3 x \right )\) \(24\)
norman \(\left (\ln \left (2\right )-2 \,{\mathrm e}^{3}-3\right ) {\mathrm e}^{-3} x -x^{2} {\mathrm e}^{-3}\) \(25\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((ln(2)-2*exp(3)-2*x-3)/exp(3),x,method=_RETURNVERBOSE)

[Out]

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

________________________________________________________________________________________

Maxima [A]
time = 0.28, size = 21, normalized size = 0.88 \begin {gather*} -{\left (x^{2} + 2 \, x e^{3} - x \log \left (2\right ) + 3 \, x\right )} e^{\left (-3\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((log(2)-2*exp(3)-2*x-3)/exp(3),x, algorithm="maxima")

[Out]

-(x^2 + 2*x*e^3 - x*log(2) + 3*x)*e^(-3)

________________________________________________________________________________________

Fricas [A]
time = 0.34, size = 21, normalized size = 0.88 \begin {gather*} -{\left (x^{2} + 2 \, x e^{3} - x \log \left (2\right ) + 3 \, x\right )} e^{\left (-3\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((log(2)-2*exp(3)-2*x-3)/exp(3),x, algorithm="fricas")

[Out]

-(x^2 + 2*x*e^3 - x*log(2) + 3*x)*e^(-3)

________________________________________________________________________________________

Sympy [A]
time = 0.01, size = 20, normalized size = 0.83 \begin {gather*} - \frac {x^{2}}{e^{3}} + \frac {x \left (- 2 e^{3} - 3 + \log {\left (2 \right )}\right )}{e^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((ln(2)-2*exp(3)-2*x-3)/exp(3),x)

[Out]

-x**2*exp(-3) + x*(-2*exp(3) - 3 + log(2))*exp(-3)

________________________________________________________________________________________

Giac [A]
time = 0.47, size = 21, normalized size = 0.88 \begin {gather*} -{\left (x^{2} + 2 \, x e^{3} - x \log \left (2\right ) + 3 \, x\right )} e^{\left (-3\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((log(2)-2*exp(3)-2*x-3)/exp(3),x, algorithm="giac")

[Out]

-(x^2 + 2*x*e^3 - x*log(2) + 3*x)*e^(-3)

________________________________________________________________________________________

Mupad [B]
time = 0.35, size = 19, normalized size = 0.79 \begin {gather*} -\frac {{\mathrm {e}}^{-3}\,{\left (2\,x+2\,{\mathrm {e}}^3-\ln \left (2\right )+3\right )}^2}{4} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-(exp(-3)*(2*x + 2*exp(3) - log(2) + 3)^2)/4

________________________________________________________________________________________