3.9.99 \(\int \frac {(50-10 e^x-10 x) \log ^2(-5+e^x+x)+e^{\frac {2 x-2 x^2}{\log (-5+e^x+x)}} (-4 x^3+8 x^4-4 x^5+e^x (-4 x^3+8 x^4-4 x^5)+(-20 x^2+64 x^3-52 x^4+8 x^5+e^x (4 x^2-12 x^3+8 x^4)) \log (-5+e^x+x)+(-20 x+34 x^2-6 x^3+e^x (4 x-6 x^2)) \log ^2(-5+e^x+x))}{(-125 x^2+25 e^x x^2+25 x^3) \log ^2(-5+e^x+x)+e^{\frac {2 x-2 x^2}{\log (-5+e^x+x)}} (50 x^3-60 x^4+10 x^5+e^x (-10 x^3+10 x^4)) \log ^2(-5+e^x+x)+e^{\frac {2 (2 x-2 x^2)}{\log (-5+e^x+x)}} (-5 x^4+11 x^5-7 x^6+x^7+e^x (x^4-2 x^5+x^6)) \log ^2(-5+e^x+x)} \, dx\)

Optimal. Leaf size=37 \[ \frac {2}{x \left (5-e^{\frac {2 (1-x) x}{\log \left (-5+e^x+x\right )}} \left (x-x^2\right )\right )} \]

________________________________________________________________________________________

Rubi [F]  time = 180.00, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} \text {\$Aborted} \end {gather*}

Verification is not applicable to the result.

[In]

Int[((50 - 10*E^x - 10*x)*Log[-5 + E^x + x]^2 + E^((2*x - 2*x^2)/Log[-5 + E^x + x])*(-4*x^3 + 8*x^4 - 4*x^5 +
E^x*(-4*x^3 + 8*x^4 - 4*x^5) + (-20*x^2 + 64*x^3 - 52*x^4 + 8*x^5 + E^x*(4*x^2 - 12*x^3 + 8*x^4))*Log[-5 + E^x
 + x] + (-20*x + 34*x^2 - 6*x^3 + E^x*(4*x - 6*x^2))*Log[-5 + E^x + x]^2))/((-125*x^2 + 25*E^x*x^2 + 25*x^3)*L
og[-5 + E^x + x]^2 + E^((2*x - 2*x^2)/Log[-5 + E^x + x])*(50*x^3 - 60*x^4 + 10*x^5 + E^x*(-10*x^3 + 10*x^4))*L
og[-5 + E^x + x]^2 + E^((2*(2*x - 2*x^2))/Log[-5 + E^x + x])*(-5*x^4 + 11*x^5 - 7*x^6 + x^7 + E^x*(x^4 - 2*x^5
 + x^6))*Log[-5 + E^x + x]^2),x]

[Out]

$Aborted

Rubi steps

Aborted

________________________________________________________________________________________

Mathematica [A]  time = 0.51, size = 61, normalized size = 1.65 \begin {gather*} \frac {2 e^{\frac {2 x^2}{\log \left (-5+e^x+x\right )}}}{x \left (5 e^{\frac {2 x^2}{\log \left (-5+e^x+x\right )}}+e^{\frac {2 x}{\log \left (-5+e^x+x\right )}} (-1+x) x\right )} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[((50 - 10*E^x - 10*x)*Log[-5 + E^x + x]^2 + E^((2*x - 2*x^2)/Log[-5 + E^x + x])*(-4*x^3 + 8*x^4 - 4*
x^5 + E^x*(-4*x^3 + 8*x^4 - 4*x^5) + (-20*x^2 + 64*x^3 - 52*x^4 + 8*x^5 + E^x*(4*x^2 - 12*x^3 + 8*x^4))*Log[-5
 + E^x + x] + (-20*x + 34*x^2 - 6*x^3 + E^x*(4*x - 6*x^2))*Log[-5 + E^x + x]^2))/((-125*x^2 + 25*E^x*x^2 + 25*
x^3)*Log[-5 + E^x + x]^2 + E^((2*x - 2*x^2)/Log[-5 + E^x + x])*(50*x^3 - 60*x^4 + 10*x^5 + E^x*(-10*x^3 + 10*x
^4))*Log[-5 + E^x + x]^2 + E^((2*(2*x - 2*x^2))/Log[-5 + E^x + x])*(-5*x^4 + 11*x^5 - 7*x^6 + x^7 + E^x*(x^4 -
 2*x^5 + x^6))*Log[-5 + E^x + x]^2),x]

[Out]

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

________________________________________________________________________________________

fricas [A]  time = 0.63, size = 36, normalized size = 0.97 \begin {gather*} \frac {2}{{\left (x^{3} - x^{2}\right )} e^{\left (-\frac {2 \, {\left (x^{2} - x\right )}}{\log \left (x + e^{x} - 5\right )}\right )} + 5 \, x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((((-6*x^2+4*x)*exp(x)-6*x^3+34*x^2-20*x)*log(exp(x)+x-5)^2+((8*x^4-12*x^3+4*x^2)*exp(x)+8*x^5-52*x^
4+64*x^3-20*x^2)*log(exp(x)+x-5)+(-4*x^5+8*x^4-4*x^3)*exp(x)-4*x^5+8*x^4-4*x^3)*exp((-2*x^2+2*x)/log(exp(x)+x-
5))+(-10*exp(x)-10*x+50)*log(exp(x)+x-5)^2)/(((x^6-2*x^5+x^4)*exp(x)+x^7-7*x^6+11*x^5-5*x^4)*log(exp(x)+x-5)^2
*exp((-2*x^2+2*x)/log(exp(x)+x-5))^2+((10*x^4-10*x^3)*exp(x)+10*x^5-60*x^4+50*x^3)*log(exp(x)+x-5)^2*exp((-2*x
^2+2*x)/log(exp(x)+x-5))+(25*exp(x)*x^2+25*x^3-125*x^2)*log(exp(x)+x-5)^2),x, algorithm="fricas")

[Out]

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

________________________________________________________________________________________

giac [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((((-6*x^2+4*x)*exp(x)-6*x^3+34*x^2-20*x)*log(exp(x)+x-5)^2+((8*x^4-12*x^3+4*x^2)*exp(x)+8*x^5-52*x^
4+64*x^3-20*x^2)*log(exp(x)+x-5)+(-4*x^5+8*x^4-4*x^3)*exp(x)-4*x^5+8*x^4-4*x^3)*exp((-2*x^2+2*x)/log(exp(x)+x-
5))+(-10*exp(x)-10*x+50)*log(exp(x)+x-5)^2)/(((x^6-2*x^5+x^4)*exp(x)+x^7-7*x^6+11*x^5-5*x^4)*log(exp(x)+x-5)^2
*exp((-2*x^2+2*x)/log(exp(x)+x-5))^2+((10*x^4-10*x^3)*exp(x)+10*x^5-60*x^4+50*x^3)*log(exp(x)+x-5)^2*exp((-2*x
^2+2*x)/log(exp(x)+x-5))+(25*exp(x)*x^2+25*x^3-125*x^2)*log(exp(x)+x-5)^2),x, algorithm="giac")

[Out]

Exception raised: TypeError >> An error occurred running a Giac command:INPUT:sage2:=int(sage0,sageVARx):;OUTP
UT:Evaluation time: 5.85Unable to divide, perhaps due to rounding error%%%{8,[0,10,17]%%%}+%%%{-96,[0,10,16]%%
%}+%%%{448,

________________________________________________________________________________________

maple [A]  time = 0.08, size = 47, normalized size = 1.27




method result size



risch \(\frac {2}{x \left (x^{2} {\mathrm e}^{-\frac {2 x \left (x -1\right )}{\ln \left ({\mathrm e}^{x}+x -5\right )}}-x \,{\mathrm e}^{-\frac {2 x \left (x -1\right )}{\ln \left ({\mathrm e}^{x}+x -5\right )}}+5\right )}\) \(47\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((((-6*x^2+4*x)*exp(x)-6*x^3+34*x^2-20*x)*ln(exp(x)+x-5)^2+((8*x^4-12*x^3+4*x^2)*exp(x)+8*x^5-52*x^4+64*x^
3-20*x^2)*ln(exp(x)+x-5)+(-4*x^5+8*x^4-4*x^3)*exp(x)-4*x^5+8*x^4-4*x^3)*exp((-2*x^2+2*x)/ln(exp(x)+x-5))+(-10*
exp(x)-10*x+50)*ln(exp(x)+x-5)^2)/(((x^6-2*x^5+x^4)*exp(x)+x^7-7*x^6+11*x^5-5*x^4)*ln(exp(x)+x-5)^2*exp((-2*x^
2+2*x)/ln(exp(x)+x-5))^2+((10*x^4-10*x^3)*exp(x)+10*x^5-60*x^4+50*x^3)*ln(exp(x)+x-5)^2*exp((-2*x^2+2*x)/ln(ex
p(x)+x-5))+(25*exp(x)*x^2+25*x^3-125*x^2)*ln(exp(x)+x-5)^2),x,method=_RETURNVERBOSE)

[Out]

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

________________________________________________________________________________________

maxima [A]  time = 1.12, size = 58, normalized size = 1.57 \begin {gather*} \frac {2 \, e^{\left (\frac {2 \, x^{2}}{\log \left (x + e^{x} - 5\right )}\right )}}{5 \, x e^{\left (\frac {2 \, x^{2}}{\log \left (x + e^{x} - 5\right )}\right )} + {\left (x^{3} - x^{2}\right )} e^{\left (\frac {2 \, x}{\log \left (x + e^{x} - 5\right )}\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((((-6*x^2+4*x)*exp(x)-6*x^3+34*x^2-20*x)*log(exp(x)+x-5)^2+((8*x^4-12*x^3+4*x^2)*exp(x)+8*x^5-52*x^
4+64*x^3-20*x^2)*log(exp(x)+x-5)+(-4*x^5+8*x^4-4*x^3)*exp(x)-4*x^5+8*x^4-4*x^3)*exp((-2*x^2+2*x)/log(exp(x)+x-
5))+(-10*exp(x)-10*x+50)*log(exp(x)+x-5)^2)/(((x^6-2*x^5+x^4)*exp(x)+x^7-7*x^6+11*x^5-5*x^4)*log(exp(x)+x-5)^2
*exp((-2*x^2+2*x)/log(exp(x)+x-5))^2+((10*x^4-10*x^3)*exp(x)+10*x^5-60*x^4+50*x^3)*log(exp(x)+x-5)^2*exp((-2*x
^2+2*x)/log(exp(x)+x-5))+(25*exp(x)*x^2+25*x^3-125*x^2)*log(exp(x)+x-5)^2),x, algorithm="maxima")

[Out]

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

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int -\frac {{\ln \left (x+{\mathrm {e}}^x-5\right )}^2\,\left (10\,x+10\,{\mathrm {e}}^x-50\right )+{\mathrm {e}}^{\frac {2\,x-2\,x^2}{\ln \left (x+{\mathrm {e}}^x-5\right )}}\,\left ({\ln \left (x+{\mathrm {e}}^x-5\right )}^2\,\left (20\,x-{\mathrm {e}}^x\,\left (4\,x-6\,x^2\right )-34\,x^2+6\,x^3\right )+{\mathrm {e}}^x\,\left (4\,x^5-8\,x^4+4\,x^3\right )+4\,x^3-8\,x^4+4\,x^5-\ln \left (x+{\mathrm {e}}^x-5\right )\,\left ({\mathrm {e}}^x\,\left (8\,x^4-12\,x^3+4\,x^2\right )-20\,x^2+64\,x^3-52\,x^4+8\,x^5\right )\right )}{{\ln \left (x+{\mathrm {e}}^x-5\right )}^2\,\left (25\,x^2\,{\mathrm {e}}^x-125\,x^2+25\,x^3\right )-{\ln \left (x+{\mathrm {e}}^x-5\right )}^2\,{\mathrm {e}}^{\frac {2\,x-2\,x^2}{\ln \left (x+{\mathrm {e}}^x-5\right )}}\,\left ({\mathrm {e}}^x\,\left (10\,x^3-10\,x^4\right )-50\,x^3+60\,x^4-10\,x^5\right )+{\ln \left (x+{\mathrm {e}}^x-5\right )}^2\,{\mathrm {e}}^{\frac {2\,\left (2\,x-2\,x^2\right )}{\ln \left (x+{\mathrm {e}}^x-5\right )}}\,\left ({\mathrm {e}}^x\,\left (x^6-2\,x^5+x^4\right )-5\,x^4+11\,x^5-7\,x^6+x^7\right )} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(log(x + exp(x) - 5)^2*(10*x + 10*exp(x) - 50) + exp((2*x - 2*x^2)/log(x + exp(x) - 5))*(log(x + exp(x) -
 5)^2*(20*x - exp(x)*(4*x - 6*x^2) - 34*x^2 + 6*x^3) + exp(x)*(4*x^3 - 8*x^4 + 4*x^5) + 4*x^3 - 8*x^4 + 4*x^5
- log(x + exp(x) - 5)*(exp(x)*(4*x^2 - 12*x^3 + 8*x^4) - 20*x^2 + 64*x^3 - 52*x^4 + 8*x^5)))/(log(x + exp(x) -
 5)^2*(25*x^2*exp(x) - 125*x^2 + 25*x^3) - log(x + exp(x) - 5)^2*exp((2*x - 2*x^2)/log(x + exp(x) - 5))*(exp(x
)*(10*x^3 - 10*x^4) - 50*x^3 + 60*x^4 - 10*x^5) + log(x + exp(x) - 5)^2*exp((2*(2*x - 2*x^2))/log(x + exp(x) -
 5))*(exp(x)*(x^4 - 2*x^5 + x^6) - 5*x^4 + 11*x^5 - 7*x^6 + x^7)),x)

[Out]

int(-(log(x + exp(x) - 5)^2*(10*x + 10*exp(x) - 50) + exp((2*x - 2*x^2)/log(x + exp(x) - 5))*(log(x + exp(x) -
 5)^2*(20*x - exp(x)*(4*x - 6*x^2) - 34*x^2 + 6*x^3) + exp(x)*(4*x^3 - 8*x^4 + 4*x^5) + 4*x^3 - 8*x^4 + 4*x^5
- log(x + exp(x) - 5)*(exp(x)*(4*x^2 - 12*x^3 + 8*x^4) - 20*x^2 + 64*x^3 - 52*x^4 + 8*x^5)))/(log(x + exp(x) -
 5)^2*(25*x^2*exp(x) - 125*x^2 + 25*x^3) - log(x + exp(x) - 5)^2*exp((2*x - 2*x^2)/log(x + exp(x) - 5))*(exp(x
)*(10*x^3 - 10*x^4) - 50*x^3 + 60*x^4 - 10*x^5) + log(x + exp(x) - 5)^2*exp((2*(2*x - 2*x^2))/log(x + exp(x) -
 5))*(exp(x)*(x^4 - 2*x^5 + x^6) - 5*x^4 + 11*x^5 - 7*x^6 + x^7)), x)

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((((-6*x**2+4*x)*exp(x)-6*x**3+34*x**2-20*x)*ln(exp(x)+x-5)**2+((8*x**4-12*x**3+4*x**2)*exp(x)+8*x**
5-52*x**4+64*x**3-20*x**2)*ln(exp(x)+x-5)+(-4*x**5+8*x**4-4*x**3)*exp(x)-4*x**5+8*x**4-4*x**3)*exp((-2*x**2+2*
x)/ln(exp(x)+x-5))+(-10*exp(x)-10*x+50)*ln(exp(x)+x-5)**2)/(((x**6-2*x**5+x**4)*exp(x)+x**7-7*x**6+11*x**5-5*x
**4)*ln(exp(x)+x-5)**2*exp((-2*x**2+2*x)/ln(exp(x)+x-5))**2+((10*x**4-10*x**3)*exp(x)+10*x**5-60*x**4+50*x**3)
*ln(exp(x)+x-5)**2*exp((-2*x**2+2*x)/ln(exp(x)+x-5))+(25*exp(x)*x**2+25*x**3-125*x**2)*ln(exp(x)+x-5)**2),x)

[Out]

Timed out

________________________________________________________________________________________