Integrand size = 157, antiderivative size = 31 \begin {dmath*} \int \frac {-\frac {e^{-4+4 x}}{x^4}+\frac {4 e^{-3+3 x}}{x^2}-17 x^2+34 x^3-x^4+\frac {e^{-2+2 x} \left (-30 x+26 x^2\right )}{x^2}+\frac {e^{-1+x} \left (-4 x^2-28 x^3\right )}{x}}{-4 e^{-3+3 x}+\frac {e^{-4+4 x}}{x^2}+x^4-2 x^5+x^6+\frac {e^{-2+2 x} \left (-2 x^3+6 x^4\right )}{x^2}+\frac {e^{-1+x} \left (4 x^4-4 x^5\right )}{x}} \, dx=1+\frac {1}{x}+4 \left (4+\frac {4}{x-\left (-\frac {e^{-1+x}}{x}+x\right )^2}\right ) \end {dmath*}
Time = 8.79 (sec) , antiderivative size = 40, normalized size of antiderivative = 1.29 \begin {dmath*} \int \frac {-\frac {e^{-4+4 x}}{x^4}+\frac {4 e^{-3+3 x}}{x^2}-17 x^2+34 x^3-x^4+\frac {e^{-2+2 x} \left (-30 x+26 x^2\right )}{x^2}+\frac {e^{-1+x} \left (-4 x^2-28 x^3\right )}{x}}{-4 e^{-3+3 x}+\frac {e^{-4+4 x}}{x^2}+x^4-2 x^5+x^6+\frac {e^{-2+2 x} \left (-2 x^3+6 x^4\right )}{x^2}+\frac {e^{-1+x} \left (4 x^4-4 x^5\right )}{x}} \, dx=\frac {1}{x}-\frac {16 e^2 x^2}{e^{2 x}-2 e^{1+x} x^2+e^2 (-1+x) x^3} \end {dmath*}
Integrate[(-(E^(-4 + 4*x)/x^4) + (4*E^(-3 + 3*x))/x^2 - 17*x^2 + 34*x^3 - x^4 + (E^(-2 + 2*x)*(-30*x + 26*x^2))/x^2 + (E^(-1 + x)*(-4*x^2 - 28*x^3)) /x)/(-4*E^(-3 + 3*x) + E^(-4 + 4*x)/x^2 + x^4 - 2*x^5 + x^6 + (E^(-2 + 2*x )*(-2*x^3 + 6*x^4))/x^2 + (E^(-1 + x)*(4*x^4 - 4*x^5))/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 {-x^4-\frac {e^{4 x-4}}{x^4}+34 x^3-17 x^2+\frac {4 e^{3 x-3}}{x^2}+\frac {e^{2 x-2} \left (26 x^2-30 x\right )}{x^2}+\frac {e^{x-1} \left (-28 x^3-4 x^2\right )}{x}}{x^6-2 x^5+x^4+\frac {e^{4 x-4}}{x^2}+\frac {e^{x-1} \left (4 x^4-4 x^5\right )}{x}+\frac {e^{2 x-2} \left (6 x^4-2 x^3\right )}{x^2}-4 e^{3 x-3}} \, dx\) |
\(\Big \downarrow \) 7292 |
\(\displaystyle \int \frac {e^4 x^2 \left (-x^4-\frac {e^{4 x-4}}{x^4}+34 x^3-17 x^2+\frac {4 e^{3 x-3}}{x^2}+\frac {e^{2 x-2} \left (26 x^2-30 x\right )}{x^2}+\frac {e^{x-1} \left (-28 x^3-4 x^2\right )}{x}\right )}{\left (e^2 x^4-e^2 x^3-2 e^{x+1} x^2+e^{2 x}\right )^2}dx\) |
\(\Big \downarrow \) 27 |
\(\displaystyle e^4 \int -\frac {x^2 \left (x^4-34 x^3+17 x^2+\frac {4 e^{x-1} \left (7 x^3+x^2\right )}{x}-\frac {4 e^{3 x-3}}{x^2}+\frac {2 e^{2 x-2} \left (15 x-13 x^2\right )}{x^2}+\frac {e^{4 x-4}}{x^4}\right )}{\left (e^2 x^4-e^2 x^3-2 e^{x+1} x^2+e^{2 x}\right )^2}dx\) |
\(\Big \downarrow \) 25 |
\(\displaystyle -e^4 \int \frac {x^2 \left (x^4-34 x^3+17 x^2+\frac {4 e^{x-1} \left (7 x^3+x^2\right )}{x}-\frac {4 e^{3 x-3}}{x^2}+\frac {2 e^{2 x-2} \left (15 x-13 x^2\right )}{x^2}+\frac {e^{4 x-4}}{x^4}\right )}{\left (e^2 x^4-e^2 x^3-2 e^{x+1} x^2+e^{2 x}\right )^2}dx\) |
\(\Big \downarrow \) 7293 |
\(\displaystyle -e^4 \int \left (\frac {16 \left (2 e x^3-6 e x^2-2 e^x x+3 e x+4 e^x\right ) x^3}{e \left (e^2 x^4-e^2 x^3-2 e^{x+1} x^2+e^{2 x}\right )^2}-\frac {32 (x-1) x}{e^2 \left (e^2 x^4-e^2 x^3-2 e^{x+1} x^2+e^{2 x}\right )}+\frac {1}{e^4 x^2}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle -e^4 \left (\frac {64 \int \frac {e^x x^3}{\left (e^2 x^4-e^2 x^3-2 e^{x+1} x^2+e^{2 x}\right )^2}dx}{e}+48 \int \frac {x^4}{\left (e^2 x^4-e^2 x^3-2 e^{x+1} x^2+e^{2 x}\right )^2}dx-\frac {32 \int \frac {e^x x^4}{\left (e^2 x^4-e^2 x^3-2 e^{x+1} x^2+e^{2 x}\right )^2}dx}{e}+\frac {32 \int \frac {x}{e^2 x^4-e^2 x^3-2 e^{x+1} x^2+e^{2 x}}dx}{e^2}-\frac {32 \int \frac {x^2}{e^2 x^4-e^2 x^3-2 e^{x+1} x^2+e^{2 x}}dx}{e^2}+32 \int \frac {x^6}{\left (e^2 x^4-e^2 x^3-2 e^{x+1} x^2+e^{2 x}\right )^2}dx-96 \int \frac {x^5}{\left (e^2 x^4-e^2 x^3-2 e^{x+1} x^2+e^{2 x}\right )^2}dx-\frac {1}{e^4 x}\right )\) |
Int[(-(E^(-4 + 4*x)/x^4) + (4*E^(-3 + 3*x))/x^2 - 17*x^2 + 34*x^3 - x^4 + (E^(-2 + 2*x)*(-30*x + 26*x^2))/x^2 + (E^(-1 + x)*(-4*x^2 - 28*x^3))/x)/(- 4*E^(-3 + 3*x) + E^(-4 + 4*x)/x^2 + x^4 - 2*x^5 + x^6 + (E^(-2 + 2*x)*(-2* x^3 + 6*x^4))/x^2 + (E^(-1 + x)*(4*x^4 - 4*x^5))/x),x]
3.4.11.3.1 Defintions of rubi rules used
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Time = 0.39 (sec) , antiderivative size = 32, normalized size of antiderivative = 1.03
method | result | size |
risch | \(\frac {1}{x}-\frac {16}{\frac {{\mathrm e}^{-2+2 x}}{x^{2}}-2 \,{\mathrm e}^{-1+x}+x^{2}-x}\) | \(32\) |
parallelrisch | \(\frac {x^{2}-2 x \,{\mathrm e}^{x -\ln \left (x \right )-1}+\frac {{\mathrm e}^{-2+2 x}}{x^{2}}-17 x}{x \left (\frac {{\mathrm e}^{-2+2 x}}{x^{2}}-2 x \,{\mathrm e}^{x -\ln \left (x \right )-1}+x^{2}-x \right )}\) | \(63\) |
int((-exp(x-ln(x)-1)^4+4*x*exp(x-ln(x)-1)^3+(26*x^2-30*x)*exp(x-ln(x)-1)^2 +(-28*x^3-4*x^2)*exp(x-ln(x)-1)-x^4+34*x^3-17*x^2)/(x^2*exp(x-ln(x)-1)^4-4 *x^3*exp(x-ln(x)-1)^3+(6*x^4-2*x^3)*exp(x-ln(x)-1)^2+(-4*x^5+4*x^4)*exp(x- ln(x)-1)+x^6-2*x^5+x^4),x,method=_RETURNVERBOSE)
Leaf count of result is larger than twice the leaf count of optimal. 65 vs. \(2 (27) = 54\).
Time = 0.26 (sec) , antiderivative size = 65, normalized size of antiderivative = 2.10 \begin {dmath*} \int \frac {-\frac {e^{-4+4 x}}{x^4}+\frac {4 e^{-3+3 x}}{x^2}-17 x^2+34 x^3-x^4+\frac {e^{-2+2 x} \left (-30 x+26 x^2\right )}{x^2}+\frac {e^{-1+x} \left (-4 x^2-28 x^3\right )}{x}}{-4 e^{-3+3 x}+\frac {e^{-4+4 x}}{x^2}+x^4-2 x^5+x^6+\frac {e^{-2+2 x} \left (-2 x^3+6 x^4\right )}{x^2}+\frac {e^{-1+x} \left (4 x^4-4 x^5\right )}{x}} \, dx=\frac {x^{2} - 2 \, x e^{\left (x - \log \left (x\right ) - 1\right )} - 17 \, x + e^{\left (2 \, x - 2 \, \log \left (x\right ) - 2\right )}}{x^{3} - 2 \, x^{2} e^{\left (x - \log \left (x\right ) - 1\right )} - x^{2} + x e^{\left (2 \, x - 2 \, \log \left (x\right ) - 2\right )}} \end {dmath*}
integrate((-exp(x-log(x)-1)^4+4*x*exp(x-log(x)-1)^3+(26*x^2-30*x)*exp(x-lo g(x)-1)^2+(-28*x^3-4*x^2)*exp(x-log(x)-1)-x^4+34*x^3-17*x^2)/(x^2*exp(x-lo g(x)-1)^4-4*x^3*exp(x-log(x)-1)^3+(6*x^4-2*x^3)*exp(x-log(x)-1)^2+(-4*x^5+ 4*x^4)*exp(x-log(x)-1)+x^6-2*x^5+x^4),x, algorithm=\
(x^2 - 2*x*e^(x - log(x) - 1) - 17*x + e^(2*x - 2*log(x) - 2))/(x^3 - 2*x^ 2*e^(x - log(x) - 1) - x^2 + x*e^(2*x - 2*log(x) - 2))
Time = 0.10 (sec) , antiderivative size = 31, normalized size of antiderivative = 1.00 \begin {dmath*} \int \frac {-\frac {e^{-4+4 x}}{x^4}+\frac {4 e^{-3+3 x}}{x^2}-17 x^2+34 x^3-x^4+\frac {e^{-2+2 x} \left (-30 x+26 x^2\right )}{x^2}+\frac {e^{-1+x} \left (-4 x^2-28 x^3\right )}{x}}{-4 e^{-3+3 x}+\frac {e^{-4+4 x}}{x^2}+x^4-2 x^5+x^6+\frac {e^{-2+2 x} \left (-2 x^3+6 x^4\right )}{x^2}+\frac {e^{-1+x} \left (4 x^4-4 x^5\right )}{x}} \, dx=- \frac {16 x^{2}}{x^{4} - x^{3} - 2 x^{2} e^{x - 1} + e^{2 x - 2}} + \frac {1}{x} \end {dmath*}
integrate((-exp(x-ln(x)-1)**4+4*x*exp(x-ln(x)-1)**3+(26*x**2-30*x)*exp(x-l n(x)-1)**2+(-28*x**3-4*x**2)*exp(x-ln(x)-1)-x**4+34*x**3-17*x**2)/(x**2*ex p(x-ln(x)-1)**4-4*x**3*exp(x-ln(x)-1)**3+(6*x**4-2*x**3)*exp(x-ln(x)-1)**2 +(-4*x**5+4*x**4)*exp(x-ln(x)-1)+x**6-2*x**5+x**4),x)
Leaf count of result is larger than twice the leaf count of optimal. 59 vs. \(2 (27) = 54\).
Time = 0.26 (sec) , antiderivative size = 59, normalized size of antiderivative = 1.90 \begin {dmath*} \int \frac {-\frac {e^{-4+4 x}}{x^4}+\frac {4 e^{-3+3 x}}{x^2}-17 x^2+34 x^3-x^4+\frac {e^{-2+2 x} \left (-30 x+26 x^2\right )}{x^2}+\frac {e^{-1+x} \left (-4 x^2-28 x^3\right )}{x}}{-4 e^{-3+3 x}+\frac {e^{-4+4 x}}{x^2}+x^4-2 x^5+x^6+\frac {e^{-2+2 x} \left (-2 x^3+6 x^4\right )}{x^2}+\frac {e^{-1+x} \left (4 x^4-4 x^5\right )}{x}} \, dx=\frac {x^{4} e^{2} - 17 \, x^{3} e^{2} - 2 \, x^{2} e^{\left (x + 1\right )} + e^{\left (2 \, x\right )}}{x^{5} e^{2} - x^{4} e^{2} - 2 \, x^{3} e^{\left (x + 1\right )} + x e^{\left (2 \, x\right )}} \end {dmath*}
integrate((-exp(x-log(x)-1)^4+4*x*exp(x-log(x)-1)^3+(26*x^2-30*x)*exp(x-lo g(x)-1)^2+(-28*x^3-4*x^2)*exp(x-log(x)-1)-x^4+34*x^3-17*x^2)/(x^2*exp(x-lo g(x)-1)^4-4*x^3*exp(x-log(x)-1)^3+(6*x^4-2*x^3)*exp(x-log(x)-1)^2+(-4*x^5+ 4*x^4)*exp(x-log(x)-1)+x^6-2*x^5+x^4),x, algorithm=\
(x^4*e^2 - 17*x^3*e^2 - 2*x^2*e^(x + 1) + e^(2*x))/(x^5*e^2 - x^4*e^2 - 2* x^3*e^(x + 1) + x*e^(2*x))
Leaf count of result is larger than twice the leaf count of optimal. 59 vs. \(2 (27) = 54\).
Time = 0.33 (sec) , antiderivative size = 59, normalized size of antiderivative = 1.90 \begin {dmath*} \int \frac {-\frac {e^{-4+4 x}}{x^4}+\frac {4 e^{-3+3 x}}{x^2}-17 x^2+34 x^3-x^4+\frac {e^{-2+2 x} \left (-30 x+26 x^2\right )}{x^2}+\frac {e^{-1+x} \left (-4 x^2-28 x^3\right )}{x}}{-4 e^{-3+3 x}+\frac {e^{-4+4 x}}{x^2}+x^4-2 x^5+x^6+\frac {e^{-2+2 x} \left (-2 x^3+6 x^4\right )}{x^2}+\frac {e^{-1+x} \left (4 x^4-4 x^5\right )}{x}} \, dx=\frac {x^{4} e^{2} - 33 \, x^{3} e^{2} - 2 \, x^{2} e^{\left (x + 1\right )} + e^{\left (2 \, x\right )}}{x^{5} e^{2} - x^{4} e^{2} - 2 \, x^{3} e^{\left (x + 1\right )} + x e^{\left (2 \, x\right )}} \end {dmath*}
integrate((-exp(x-log(x)-1)^4+4*x*exp(x-log(x)-1)^3+(26*x^2-30*x)*exp(x-lo g(x)-1)^2+(-28*x^3-4*x^2)*exp(x-log(x)-1)-x^4+34*x^3-17*x^2)/(x^2*exp(x-lo g(x)-1)^4-4*x^3*exp(x-log(x)-1)^3+(6*x^4-2*x^3)*exp(x-log(x)-1)^2+(-4*x^5+ 4*x^4)*exp(x-log(x)-1)+x^6-2*x^5+x^4),x, algorithm=\
(x^4*e^2 - 33*x^3*e^2 - 2*x^2*e^(x + 1) + e^(2*x))/(x^5*e^2 - x^4*e^2 - 2* x^3*e^(x + 1) + x*e^(2*x))
Timed out. \begin {dmath*} \int \frac {-\frac {e^{-4+4 x}}{x^4}+\frac {4 e^{-3+3 x}}{x^2}-17 x^2+34 x^3-x^4+\frac {e^{-2+2 x} \left (-30 x+26 x^2\right )}{x^2}+\frac {e^{-1+x} \left (-4 x^2-28 x^3\right )}{x}}{-4 e^{-3+3 x}+\frac {e^{-4+4 x}}{x^2}+x^4-2 x^5+x^6+\frac {e^{-2+2 x} \left (-2 x^3+6 x^4\right )}{x^2}+\frac {e^{-1+x} \left (4 x^4-4 x^5\right )}{x}} \, dx=\int -\frac {{\mathrm {e}}^{4\,x-4\,\ln \left (x\right )-4}+{\mathrm {e}}^{2\,x-2\,\ln \left (x\right )-2}\,\left (30\,x-26\,x^2\right )+{\mathrm {e}}^{x-\ln \left (x\right )-1}\,\left (28\,x^3+4\,x^2\right )-4\,x\,{\mathrm {e}}^{3\,x-3\,\ln \left (x\right )-3}+17\,x^2-34\,x^3+x^4}{x^2\,{\mathrm {e}}^{4\,x-4\,\ln \left (x\right )-4}-4\,x^3\,{\mathrm {e}}^{3\,x-3\,\ln \left (x\right )-3}-{\mathrm {e}}^{2\,x-2\,\ln \left (x\right )-2}\,\left (2\,x^3-6\,x^4\right )+{\mathrm {e}}^{x-\ln \left (x\right )-1}\,\left (4\,x^4-4\,x^5\right )+x^4-2\,x^5+x^6} \,d x \end {dmath*}
int(-(exp(4*x - 4*log(x) - 4) + exp(2*x - 2*log(x) - 2)*(30*x - 26*x^2) + exp(x - log(x) - 1)*(4*x^2 + 28*x^3) - 4*x*exp(3*x - 3*log(x) - 3) + 17*x^ 2 - 34*x^3 + x^4)/(x^2*exp(4*x - 4*log(x) - 4) - 4*x^3*exp(3*x - 3*log(x) - 3) - exp(2*x - 2*log(x) - 2)*(2*x^3 - 6*x^4) + exp(x - log(x) - 1)*(4*x^ 4 - 4*x^5) + x^4 - 2*x^5 + x^6),x)
int(-(exp(4*x - 4*log(x) - 4) + exp(2*x - 2*log(x) - 2)*(30*x - 26*x^2) + exp(x - log(x) - 1)*(4*x^2 + 28*x^3) - 4*x*exp(3*x - 3*log(x) - 3) + 17*x^ 2 - 34*x^3 + x^4)/(x^2*exp(4*x - 4*log(x) - 4) - 4*x^3*exp(3*x - 3*log(x) - 3) - exp(2*x - 2*log(x) - 2)*(2*x^3 - 6*x^4) + exp(x - log(x) - 1)*(4*x^ 4 - 4*x^5) + x^4 - 2*x^5 + x^6), x)