3.69.66 \(\int \frac {e^{\frac {1+e^3}{4+e^x-x}} (e^x (-1-e^3) \log (4)+(1+e^3) \log (4))}{32+2 e^{2 x}+e^x (16-4 x)-16 x+2 x^2} \, dx\) [6866]

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

[Out]

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

________________________________________________________________________________________

Rubi [A]
time = 0.70, antiderivative size = 24, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 69, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.043, Rules used = {6820, 12, 6838} \begin {gather*} \frac {1}{2} e^{\frac {1+e^3}{-x+e^x+4}} \log (4) \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

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

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 6820

Int[u_, x_Symbol] :> With[{v = SimplifyIntegrand[u, x]}, Int[v, x] /; SimplerIntegrandQ[v, u, x]]

Rule 6838

Int[(F_)^(v_)*(u_), x_Symbol] :> With[{q = DerivativeDivides[v, u, x]}, Simp[q*(F^v/Log[F]), x] /;  !FalseQ[q]
] /; FreeQ[F, x]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]
time = 0.16, size = 24, normalized size = 1.00 \begin {gather*} \frac {1}{2} e^{\frac {1+e^3}{4+e^x-x}} \log (4) \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

Maple [A]
time = 0.47, size = 19, normalized size = 0.79

method result size
risch \(\ln \left (2\right ) {\mathrm e}^{\frac {{\mathrm e}^{3}+1}{{\mathrm e}^{x}-x +4}}\) \(19\)
norman \(\frac {x \ln \left (2\right ) {\mathrm e}^{\frac {{\mathrm e}^{3}+1}{{\mathrm e}^{x}-x +4}}-4 \ln \left (2\right ) {\mathrm e}^{\frac {{\mathrm e}^{3}+1}{{\mathrm e}^{x}-x +4}}-{\mathrm e}^{x} \ln \left (2\right ) {\mathrm e}^{\frac {{\mathrm e}^{3}+1}{{\mathrm e}^{x}-x +4}}}{x -{\mathrm e}^{x}-4}\) \(71\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((2*(-exp(3)-1)*ln(2)*exp(x)+2*(exp(3)+1)*ln(2))*exp((exp(3)+1)/(exp(x)-x+4))/(2*exp(x)^2+(-4*x+16)*exp(x)+
2*x^2-16*x+32),x,method=_RETURNVERBOSE)

[Out]

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

________________________________________________________________________________________

Maxima [A]
time = 0.60, size = 29, normalized size = 1.21 \begin {gather*} e^{\left (-\frac {e^{3}}{x - e^{x} - 4} - \frac {1}{x - e^{x} - 4}\right )} \log \left (2\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*(-exp(3)-1)*log(2)*exp(x)+2*(exp(3)+1)*log(2))*exp((exp(3)+1)/(exp(x)-x+4))/(2*exp(x)^2+(-4*x+16)
*exp(x)+2*x^2-16*x+32),x, algorithm="maxima")

[Out]

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

________________________________________________________________________________________

Fricas [A]
time = 0.39, size = 19, normalized size = 0.79 \begin {gather*} e^{\left (-\frac {e^{3} + 1}{x - e^{x} - 4}\right )} \log \left (2\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*(-exp(3)-1)*log(2)*exp(x)+2*(exp(3)+1)*log(2))*exp((exp(3)+1)/(exp(x)-x+4))/(2*exp(x)^2+(-4*x+16)
*exp(x)+2*x^2-16*x+32),x, algorithm="fricas")

[Out]

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

________________________________________________________________________________________

Sympy [A]
time = 0.18, size = 15, normalized size = 0.62 \begin {gather*} e^{\frac {1 + e^{3}}{- x + e^{x} + 4}} \log {\left (2 \right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*(-exp(3)-1)*ln(2)*exp(x)+2*(exp(3)+1)*ln(2))*exp((exp(3)+1)/(exp(x)-x+4))/(2*exp(x)**2+(-4*x+16)*
exp(x)+2*x**2-16*x+32),x)

[Out]

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

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*(-exp(3)-1)*log(2)*exp(x)+2*(exp(3)+1)*log(2))*exp((exp(3)+1)/(exp(x)-x+4))/(2*exp(x)^2+(-4*x+16)
*exp(x)+2*x^2-16*x+32),x, algorithm="giac")

[Out]

integrate(-((e^3 + 1)*e^x*log(2) - (e^3 + 1)*log(2))*e^(-(e^3 + 1)/(x - e^x - 4))/(x^2 - 2*(x - 4)*e^x - 8*x +
 e^(2*x) + 16), x)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((exp((exp(3) + 1)/(exp(x) - x + 4))*(2*log(2)*(exp(3) + 1) - 2*exp(x)*log(2)*(exp(3) + 1)))/(2*exp(2*x) -
16*x - exp(x)*(4*x - 16) + 2*x^2 + 32),x)

[Out]

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

________________________________________________________________________________________