Integrand size = 134, antiderivative size = 27 \[ \int \frac {e^x \left (-5+e^3\right )+5 x+5 x^2+e^3 \left (-x-x^2\right )+e^{\left (-e^x+x+x^2\right )^x} \left (e^x-x-x^2+\left (-e^x+x+x^2\right )^x \left (x^2-e^x x^2+2 x^3+\left (-e^x x+x^2+x^3\right ) \log \left (-e^x+x+x^2\right )\right )\right )}{e^x x^2-x^3-x^4} \, dx=\frac {5-e^3-e^{\left (-e^x+x+x^2\right )^x}}{x} \] Output:
(5-exp(3)-exp(exp(x*ln(-exp(x)+x^2+x))))/x
Time = 0.09 (sec) , antiderivative size = 24, normalized size of antiderivative = 0.89 \[ \int \frac {e^x \left (-5+e^3\right )+5 x+5 x^2+e^3 \left (-x-x^2\right )+e^{\left (-e^x+x+x^2\right )^x} \left (e^x-x-x^2+\left (-e^x+x+x^2\right )^x \left (x^2-e^x x^2+2 x^3+\left (-e^x x+x^2+x^3\right ) \log \left (-e^x+x+x^2\right )\right )\right )}{e^x x^2-x^3-x^4} \, dx=-\frac {-5+e^3+e^{\left (-e^x+x+x^2\right )^x}}{x} \] Input:
Integrate[(E^x*(-5 + E^3) + 5*x + 5*x^2 + E^3*(-x - x^2) + E^(-E^x + x + x ^2)^x*(E^x - x - x^2 + (-E^x + x + x^2)^x*(x^2 - E^x*x^2 + 2*x^3 + (-(E^x* x) + x^2 + x^3)*Log[-E^x + x + x^2])))/(E^x*x^2 - x^3 - x^4),x]
Output:
-((-5 + E^3 + E^(-E^x + x + x^2)^x)/x)
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {5 x^2+e^3 \left (-x^2-x\right )+e^{\left (x^2+x-e^x\right )^x} \left (-x^2+\left (x^2+x-e^x\right )^x \left (2 x^3-e^x x^2+x^2+\left (x^3+x^2-e^x x\right ) \log \left (x^2+x-e^x\right )\right )+e^x-x\right )+5 x+\left (e^3-5\right ) e^x}{-x^4-x^3+e^x x^2} \, dx\) |
\(\Big \downarrow \) 7293 |
\(\displaystyle \int \left (-\frac {e^{\left (x^2+x-e^x\right )^x}}{-x^2-x+e^x}+\frac {e^{\left (x^2+x-e^x\right )^x+x}}{x^2 \left (-x^2-x+e^x\right )}+\frac {\left (e^3-5\right ) e^x}{x^2 \left (-x^2-x+e^x\right )}+\frac {5}{-x^2-x+e^x}+\frac {e^3 (x+1)}{x \left (x^2+x-e^x\right )}+\frac {e^{\left (x^2+x-e^x\right )^x}}{x \left (x^2+x-e^x\right )}-\frac {5}{x \left (x^2+x-e^x\right )}-\frac {e^{\left (x^2+x-e^x\right )^x} \left (x^2+x-e^x\right )^{x-1} \left (2 x^2+x^2 \log \left (x^2+x-e^x\right )+x \log \left (x^2+x-e^x\right )-e^x \log \left (x^2+x-e^x\right )-e^x x+x\right )}{x}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle -e^3 \int \frac {1}{-x^2-x+e^x}dx+5 \int \frac {1}{-x^2-x+e^x}dx-\int \frac {e^{\left (x^2+x-e^x\right )^x}}{-x^2-x+e^x}dx-\left (5-e^3\right ) \int \frac {e^x}{x^2 \left (-x^2-x+e^x\right )}dx+\int \frac {e^{\left (x^2+x-e^x\right )^x+x}}{x^2 \left (-x^2-x+e^x\right )}dx+e^3 \int \frac {1}{x \left (x^2+x-e^x\right )}dx-5 \int \frac {1}{x \left (x^2+x-e^x\right )}dx+\int \frac {e^{\left (x^2+x-e^x\right )^x}}{x \left (x^2+x-e^x\right )}dx-\log \left (x^2+x-e^x\right ) \int e^{\left (x^2+x-e^x\right )^x} \left (x^2+x-e^x\right )^{x-1}dx-\int e^{\left (x^2+x-e^x\right )^x} \left (x^2+x-e^x\right )^{x-1}dx+\int e^{\left (x^2+x-e^x\right )^x+x} \left (x^2+x-e^x\right )^{x-1}dx+\log \left (x^2+x-e^x\right ) \int \frac {e^{\left (x^2+x-e^x\right )^x+x} \left (x^2+x-e^x\right )^{x-1}}{x}dx-\log \left (x^2+x-e^x\right ) \int e^{\left (x^2+x-e^x\right )^x} x \left (x^2+x-e^x\right )^{x-1}dx-2 \int e^{\left (x^2+x-e^x\right )^x} x \left (x^2+x-e^x\right )^{x-1}dx+\int \int e^{\left (x^2+x-e^x\right )^x} \left (x^2+x-e^x\right )^{x-1}dxdx-\int \frac {\int e^{\left (x^2+x-e^x\right )^x} \left (x^2+x-e^x\right )^{x-1}dx}{-x^2-x+e^x}dx+\int \frac {x \int e^{\left (x^2+x-e^x\right )^x} \left (x^2+x-e^x\right )^{x-1}dx}{x^2+x-e^x}dx-\int \frac {x^2 \int e^{\left (x^2+x-e^x\right )^x} \left (x^2+x-e^x\right )^{x-1}dx}{x^2+x-e^x}dx-\int \int \frac {e^{\left (x^2+x-e^x\right )^x+x} \left (x^2+x-e^x\right )^{x-1}}{x}dxdx+\int \frac {\int \frac {e^{\left (x^2+x-e^x\right )^x+x} \left (x^2+x-e^x\right )^{x-1}}{x}dx}{-x^2-x+e^x}dx-\int \frac {x \int \frac {e^{\left (x^2+x-e^x\right )^x+x} \left (x^2+x-e^x\right )^{x-1}}{x}dx}{x^2+x-e^x}dx+\int \frac {x^2 \int \frac {e^{\left (x^2+x-e^x\right )^x+x} \left (x^2+x-e^x\right )^{x-1}}{x}dx}{x^2+x-e^x}dx+\int \int e^{\left (x^2+x-e^x\right )^x} x \left (x^2+x-e^x\right )^{x-1}dxdx-\int \frac {\int e^{\left (x^2+x-e^x\right )^x} x \left (x^2+x-e^x\right )^{x-1}dx}{-x^2-x+e^x}dx+\int \frac {x \int e^{\left (x^2+x-e^x\right )^x} x \left (x^2+x-e^x\right )^{x-1}dx}{x^2+x-e^x}dx-\int \frac {x^2 \int e^{\left (x^2+x-e^x\right )^x} x \left (x^2+x-e^x\right )^{x-1}dx}{x^2+x-e^x}dx\) |
Input:
Int[(E^x*(-5 + E^3) + 5*x + 5*x^2 + E^3*(-x - x^2) + E^(-E^x + x + x^2)^x* (E^x - x - x^2 + (-E^x + x + x^2)^x*(x^2 - E^x*x^2 + 2*x^3 + (-(E^x*x) + x ^2 + x^3)*Log[-E^x + x + x^2])))/(E^x*x^2 - x^3 - x^4),x]
Output:
$Aborted
Time = 95.31 (sec) , antiderivative size = 24, normalized size of antiderivative = 0.89
method | result | size |
parallelrisch | \(-\frac {-5+{\mathrm e}^{3}+{\mathrm e}^{{\mathrm e}^{x \ln \left (-{\mathrm e}^{x}+x^{2}+x \right )}}}{x}\) | \(24\) |
risch | \(-\frac {{\mathrm e}^{3}}{x}+\frac {5}{x}-\frac {{\mathrm e}^{\left (-{\mathrm e}^{x}+x^{2}+x \right )^{x}}}{x}\) | \(31\) |
Input:
int(((((-exp(x)*x+x^3+x^2)*ln(-exp(x)+x^2+x)-exp(x)*x^2+2*x^3+x^2)*exp(x*l n(-exp(x)+x^2+x))+exp(x)-x^2-x)*exp(exp(x*ln(-exp(x)+x^2+x)))+(exp(3)-5)*e xp(x)+(-x^2-x)*exp(3)+5*x^2+5*x)/(exp(x)*x^2-x^4-x^3),x,method=_RETURNVERB OSE)
Output:
-(-5+exp(3)+exp(exp(x*ln(-exp(x)+x^2+x))))/x
Time = 0.09 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.78 \[ \int \frac {e^x \left (-5+e^3\right )+5 x+5 x^2+e^3 \left (-x-x^2\right )+e^{\left (-e^x+x+x^2\right )^x} \left (e^x-x-x^2+\left (-e^x+x+x^2\right )^x \left (x^2-e^x x^2+2 x^3+\left (-e^x x+x^2+x^3\right ) \log \left (-e^x+x+x^2\right )\right )\right )}{e^x x^2-x^3-x^4} \, dx=-\frac {e^{3} + e^{\left ({\left (x^{2} + x - e^{x}\right )}^{x}\right )} - 5}{x} \] Input:
integrate(((((-exp(x)*x+x^3+x^2)*log(-exp(x)+x^2+x)-exp(x)*x^2+2*x^3+x^2)* exp(x*log(-exp(x)+x^2+x))+exp(x)-x^2-x)*exp(exp(x*log(-exp(x)+x^2+x)))+(ex p(3)-5)*exp(x)+(-x^2-x)*exp(3)+5*x^2+5*x)/(exp(x)*x^2-x^4-x^3),x, algorith m="fricas")
Output:
-(e^3 + e^((x^2 + x - e^x)^x) - 5)/x
Timed out. \[ \int \frac {e^x \left (-5+e^3\right )+5 x+5 x^2+e^3 \left (-x-x^2\right )+e^{\left (-e^x+x+x^2\right )^x} \left (e^x-x-x^2+\left (-e^x+x+x^2\right )^x \left (x^2-e^x x^2+2 x^3+\left (-e^x x+x^2+x^3\right ) \log \left (-e^x+x+x^2\right )\right )\right )}{e^x x^2-x^3-x^4} \, dx=\text {Timed out} \] Input:
integrate(((((-exp(x)*x+x**3+x**2)*ln(-exp(x)+x**2+x)-exp(x)*x**2+2*x**3+x **2)*exp(x*ln(-exp(x)+x**2+x))+exp(x)-x**2-x)*exp(exp(x*ln(-exp(x)+x**2+x) ))+(exp(3)-5)*exp(x)+(-x**2-x)*exp(3)+5*x**2+5*x)/(exp(x)*x**2-x**4-x**3), x)
Output:
Timed out
Time = 0.10 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.78 \[ \int \frac {e^x \left (-5+e^3\right )+5 x+5 x^2+e^3 \left (-x-x^2\right )+e^{\left (-e^x+x+x^2\right )^x} \left (e^x-x-x^2+\left (-e^x+x+x^2\right )^x \left (x^2-e^x x^2+2 x^3+\left (-e^x x+x^2+x^3\right ) \log \left (-e^x+x+x^2\right )\right )\right )}{e^x x^2-x^3-x^4} \, dx=-\frac {e^{3} + e^{\left ({\left (x^{2} + x - e^{x}\right )}^{x}\right )} - 5}{x} \] Input:
integrate(((((-exp(x)*x+x^3+x^2)*log(-exp(x)+x^2+x)-exp(x)*x^2+2*x^3+x^2)* exp(x*log(-exp(x)+x^2+x))+exp(x)-x^2-x)*exp(exp(x*log(-exp(x)+x^2+x)))+(ex p(3)-5)*exp(x)+(-x^2-x)*exp(3)+5*x^2+5*x)/(exp(x)*x^2-x^4-x^3),x, algorith m="maxima")
Output:
-(e^3 + e^((x^2 + x - e^x)^x) - 5)/x
\[ \int \frac {e^x \left (-5+e^3\right )+5 x+5 x^2+e^3 \left (-x-x^2\right )+e^{\left (-e^x+x+x^2\right )^x} \left (e^x-x-x^2+\left (-e^x+x+x^2\right )^x \left (x^2-e^x x^2+2 x^3+\left (-e^x x+x^2+x^3\right ) \log \left (-e^x+x+x^2\right )\right )\right )}{e^x x^2-x^3-x^4} \, dx=\int { -\frac {5 \, x^{2} - {\left (x^{2} + x\right )} e^{3} + {\left ({\left (2 \, x^{3} - x^{2} e^{x} + x^{2} + {\left (x^{3} + x^{2} - x e^{x}\right )} \log \left (x^{2} + x - e^{x}\right )\right )} {\left (x^{2} + x - e^{x}\right )}^{x} - x^{2} - x + e^{x}\right )} e^{\left ({\left (x^{2} + x - e^{x}\right )}^{x}\right )} + {\left (e^{3} - 5\right )} e^{x} + 5 \, x}{x^{4} + x^{3} - x^{2} e^{x}} \,d x } \] Input:
integrate(((((-exp(x)*x+x^3+x^2)*log(-exp(x)+x^2+x)-exp(x)*x^2+2*x^3+x^2)* exp(x*log(-exp(x)+x^2+x))+exp(x)-x^2-x)*exp(exp(x*log(-exp(x)+x^2+x)))+(ex p(3)-5)*exp(x)+(-x^2-x)*exp(3)+5*x^2+5*x)/(exp(x)*x^2-x^4-x^3),x, algorith m="giac")
Output:
integrate(-(5*x^2 - (x^2 + x)*e^3 + ((2*x^3 - x^2*e^x + x^2 + (x^3 + x^2 - x*e^x)*log(x^2 + x - e^x))*(x^2 + x - e^x)^x - x^2 - x + e^x)*e^((x^2 + x - e^x)^x) + (e^3 - 5)*e^x + 5*x)/(x^4 + x^3 - x^2*e^x), x)
Time = 3.32 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.78 \[ \int \frac {e^x \left (-5+e^3\right )+5 x+5 x^2+e^3 \left (-x-x^2\right )+e^{\left (-e^x+x+x^2\right )^x} \left (e^x-x-x^2+\left (-e^x+x+x^2\right )^x \left (x^2-e^x x^2+2 x^3+\left (-e^x x+x^2+x^3\right ) \log \left (-e^x+x+x^2\right )\right )\right )}{e^x x^2-x^3-x^4} \, dx=-\frac {{\mathrm {e}}^{{\left (x-{\mathrm {e}}^x+x^2\right )}^x}+{\mathrm {e}}^3-5}{x} \] Input:
int(-(5*x + exp(x)*(exp(3) - 5) - exp(exp(x*log(x - exp(x) + x^2)))*(x - e xp(x) + x^2 - exp(x*log(x - exp(x) + x^2))*(log(x - exp(x) + x^2)*(x^2 - x *exp(x) + x^3) - x^2*exp(x) + x^2 + 2*x^3)) - exp(3)*(x + x^2) + 5*x^2)/(x ^3 - x^2*exp(x) + x^4),x)
Output:
-(exp((x - exp(x) + x^2)^x) + exp(3) - 5)/x
Time = 0.16 (sec) , antiderivative size = 27, normalized size of antiderivative = 1.00 \[ \int \frac {e^x \left (-5+e^3\right )+5 x+5 x^2+e^3 \left (-x-x^2\right )+e^{\left (-e^x+x+x^2\right )^x} \left (e^x-x-x^2+\left (-e^x+x+x^2\right )^x \left (x^2-e^x x^2+2 x^3+\left (-e^x x+x^2+x^3\right ) \log \left (-e^x+x+x^2\right )\right )\right )}{e^x x^2-x^3-x^4} \, dx=\frac {-e^{\left (-e^{x}+x^{2}+x \right )^{x}}-e^{3}+5}{x} \] Input:
int(((((-exp(x)*x+x^3+x^2)*log(-exp(x)+x^2+x)-exp(x)*x^2+2*x^3+x^2)*exp(x* log(-exp(x)+x^2+x))+exp(x)-x^2-x)*exp(exp(x*log(-exp(x)+x^2+x)))+(exp(3)-5 )*exp(x)+(-x^2-x)*exp(3)+5*x^2+5*x)/(exp(x)*x^2-x^4-x^3),x)
Output:
( - e**(( - e**x + x**2 + x)**x) - e**3 + 5)/x