Integrand size = 114, antiderivative size = 25 \[ \int \frac {-40-80 e^x-40 e^{2 x}+e^{2 x+x^2} \left (-240+e^x (-120-240 x)-240 x\right )}{9+9 e^{4 x+2 x^2}-6 x+x^2+e^{2 x} \left (9-6 x+x^2\right )+e^x \left (18-12 x+2 x^2\right )+e^{2 x+x^2} \left (-18+6 x+e^x (-18+6 x)\right )} \, dx=\frac {40}{3 \left (-1+\frac {e^{x (2+x)}}{1+e^x}\right )+x} \]
Time = 5.04 (sec) , antiderivative size = 28, normalized size of antiderivative = 1.12 \[ \int \frac {-40-80 e^x-40 e^{2 x}+e^{2 x+x^2} \left (-240+e^x (-120-240 x)-240 x\right )}{9+9 e^{4 x+2 x^2}-6 x+x^2+e^{2 x} \left (9-6 x+x^2\right )+e^x \left (18-12 x+2 x^2\right )+e^{2 x+x^2} \left (-18+6 x+e^x (-18+6 x)\right )} \, dx=\frac {40 \left (1+e^x\right )}{-3+3 e^{x (2+x)}+e^x (-3+x)+x} \]
Integrate[(-40 - 80*E^x - 40*E^(2*x) + E^(2*x + x^2)*(-240 + E^x*(-120 - 2 40*x) - 240*x))/(9 + 9*E^(4*x + 2*x^2) - 6*x + x^2 + E^(2*x)*(9 - 6*x + x^ 2) + E^x*(18 - 12*x + 2*x^2) + E^(2*x + x^2)*(-18 + 6*x + E^x*(-18 + 6*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 {e^{x^2+2 x} \left (e^x (-240 x-120)-240 x-240\right )-80 e^x-40 e^{2 x}-40}{x^2+9 e^{2 x^2+4 x}+e^{2 x} \left (x^2-6 x+9\right )+e^x \left (2 x^2-12 x+18\right )+e^{x^2+2 x} \left (6 x+e^x (6 x-18)-18\right )-6 x+9} \, dx\) |
\(\Big \downarrow \) 7239 |
\(\displaystyle \int \frac {40 \left (-6 e^{x (x+2)} (x+1)-2 e^x-e^{2 x}-e^{x (x+3)} (6 x+3)-1\right )}{\left (-e^x (x-3)-3 e^{x (x+2)}-x+3\right )^2}dx\) |
\(\Big \downarrow \) 27 |
\(\displaystyle 40 \int -\frac {6 e^{x (x+2)} (x+1)+2 e^x+e^{2 x}+3 e^{x (x+3)} (2 x+1)+1}{\left (e^x (3-x)-3 e^{x (x+2)}-x+3\right )^2}dx\) |
\(\Big \downarrow \) 25 |
\(\displaystyle -40 \int \frac {6 e^{x (x+2)} (x+1)+2 e^x+e^{2 x}+3 e^{x (x+3)} (2 x+1)+1}{\left (e^x (3-x)-3 e^{x (x+2)}-x+3\right )^2}dx\) |
\(\Big \downarrow \) 7293 |
\(\displaystyle -40 \int \left (\frac {6 e^{x^2+2 x} (x+1)}{\left (-e^x x-x+3 e^x-3 e^{x (x+2)}+3\right )^2}+\frac {3 e^{x^2+3 x} (2 x+1)}{\left (-e^x x-x+3 e^x-3 e^{x (x+2)}+3\right )^2}+\frac {2 e^x}{\left (e^x x+x-3 e^x+3 e^{x (x+2)}-3\right )^2}+\frac {e^{2 x}}{\left (e^x x+x-3 e^x+3 e^{x (x+2)}-3\right )^2}+\frac {1}{\left (e^x x+x-3 e^x+3 e^{x (x+2)}-3\right )^2}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle -40 \left (6 \int \frac {e^{x^2+2 x}}{\left (e^x x+x-3 e^x+3 e^{x (x+2)}-3\right )^2}dx+3 \int \frac {e^{x^2+3 x}}{\left (e^x x+x-3 e^x+3 e^{x (x+2)}-3\right )^2}dx+6 \int \frac {e^{x^2+2 x} x}{\left (e^x x+x-3 e^x+3 e^{x (x+2)}-3\right )^2}dx+6 \int \frac {e^{x^2+3 x} x}{\left (e^x x+x-3 e^x+3 e^{x (x+2)}-3\right )^2}dx+\int \frac {1}{\left (e^x x+x-3 e^x+3 e^{x (x+2)}-3\right )^2}dx+2 \int \frac {e^x}{\left (e^x x+x-3 e^x+3 e^{x (x+2)}-3\right )^2}dx+\int \frac {e^{2 x}}{\left (e^x x+x-3 e^x+3 e^{x (x+2)}-3\right )^2}dx\right )\) |
Int[(-40 - 80*E^x - 40*E^(2*x) + E^(2*x + x^2)*(-240 + E^x*(-120 - 240*x) - 240*x))/(9 + 9*E^(4*x + 2*x^2) - 6*x + x^2 + E^(2*x)*(9 - 6*x + x^2) + E ^x*(18 - 12*x + 2*x^2) + E^(2*x + x^2)*(-18 + 6*x + E^x*(-18 + 6*x))),x]
3.8.92.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]]
Int[u_, x_Symbol] :> With[{v = SimplifyIntegrand[u, x]}, Int[v, x] /; Simpl erIntegrandQ[v, u, x]]
Time = 0.16 (sec) , antiderivative size = 28, normalized size of antiderivative = 1.12
method | result | size |
risch | \(\frac {40 \,{\mathrm e}^{x}+40}{{\mathrm e}^{x} x -3 \,{\mathrm e}^{x}+3 \,{\mathrm e}^{x \left (2+x \right )}+x -3}\) | \(28\) |
norman | \(\frac {40 \,{\mathrm e}^{x}+40}{{\mathrm e}^{x} x -3 \,{\mathrm e}^{x}+3 \,{\mathrm e}^{x^{2}+2 x}+x -3}\) | \(31\) |
parallelrisch | \(\frac {120+120 \,{\mathrm e}^{x}}{3 \,{\mathrm e}^{x} x -9 \,{\mathrm e}^{x}+9 \,{\mathrm e}^{x^{2}+2 x}+3 x -9}\) | \(32\) |
int((((-240*x-120)*exp(x)-240*x-240)*exp(x^2+2*x)-40*exp(x)^2-80*exp(x)-40 )/(9*exp(x^2+2*x)^2+((6*x-18)*exp(x)+6*x-18)*exp(x^2+2*x)+(x^2-6*x+9)*exp( x)^2+(2*x^2-12*x+18)*exp(x)+x^2-6*x+9),x,method=_RETURNVERBOSE)
Time = 0.24 (sec) , antiderivative size = 27, normalized size of antiderivative = 1.08 \[ \int \frac {-40-80 e^x-40 e^{2 x}+e^{2 x+x^2} \left (-240+e^x (-120-240 x)-240 x\right )}{9+9 e^{4 x+2 x^2}-6 x+x^2+e^{2 x} \left (9-6 x+x^2\right )+e^x \left (18-12 x+2 x^2\right )+e^{2 x+x^2} \left (-18+6 x+e^x (-18+6 x)\right )} \, dx=\frac {40 \, {\left (e^{x} + 1\right )}}{{\left (x - 3\right )} e^{x} + x + 3 \, e^{\left (x^{2} + 2 \, x\right )} - 3} \]
integrate((((-240*x-120)*exp(x)-240*x-240)*exp(x^2+2*x)-40*exp(x)^2-80*exp (x)-40)/(9*exp(x^2+2*x)^2+((6*x-18)*exp(x)+6*x-18)*exp(x^2+2*x)+(x^2-6*x+9 )*exp(x)^2+(2*x^2-12*x+18)*exp(x)+x^2-6*x+9),x, algorithm=\
Time = 0.14 (sec) , antiderivative size = 29, normalized size of antiderivative = 1.16 \[ \int \frac {-40-80 e^x-40 e^{2 x}+e^{2 x+x^2} \left (-240+e^x (-120-240 x)-240 x\right )}{9+9 e^{4 x+2 x^2}-6 x+x^2+e^{2 x} \left (9-6 x+x^2\right )+e^x \left (18-12 x+2 x^2\right )+e^{2 x+x^2} \left (-18+6 x+e^x (-18+6 x)\right )} \, dx=\frac {40 e^{x} + 40}{x e^{x} + x - 3 e^{x} + 3 e^{x^{2} + 2 x} - 3} \]
integrate((((-240*x-120)*exp(x)-240*x-240)*exp(x**2+2*x)-40*exp(x)**2-80*e xp(x)-40)/(9*exp(x**2+2*x)**2+((6*x-18)*exp(x)+6*x-18)*exp(x**2+2*x)+(x**2 -6*x+9)*exp(x)**2+(2*x**2-12*x+18)*exp(x)+x**2-6*x+9),x)
Time = 0.24 (sec) , antiderivative size = 27, normalized size of antiderivative = 1.08 \[ \int \frac {-40-80 e^x-40 e^{2 x}+e^{2 x+x^2} \left (-240+e^x (-120-240 x)-240 x\right )}{9+9 e^{4 x+2 x^2}-6 x+x^2+e^{2 x} \left (9-6 x+x^2\right )+e^x \left (18-12 x+2 x^2\right )+e^{2 x+x^2} \left (-18+6 x+e^x (-18+6 x)\right )} \, dx=\frac {40 \, {\left (e^{x} + 1\right )}}{{\left (x - 3\right )} e^{x} + x + 3 \, e^{\left (x^{2} + 2 \, x\right )} - 3} \]
integrate((((-240*x-120)*exp(x)-240*x-240)*exp(x^2+2*x)-40*exp(x)^2-80*exp (x)-40)/(9*exp(x^2+2*x)^2+((6*x-18)*exp(x)+6*x-18)*exp(x^2+2*x)+(x^2-6*x+9 )*exp(x)^2+(2*x^2-12*x+18)*exp(x)+x^2-6*x+9),x, algorithm=\
Time = 0.32 (sec) , antiderivative size = 29, normalized size of antiderivative = 1.16 \[ \int \frac {-40-80 e^x-40 e^{2 x}+e^{2 x+x^2} \left (-240+e^x (-120-240 x)-240 x\right )}{9+9 e^{4 x+2 x^2}-6 x+x^2+e^{2 x} \left (9-6 x+x^2\right )+e^x \left (18-12 x+2 x^2\right )+e^{2 x+x^2} \left (-18+6 x+e^x (-18+6 x)\right )} \, dx=\frac {40 \, {\left (e^{x} + 1\right )}}{x e^{x} + x + 3 \, e^{\left (x^{2} + 2 \, x\right )} - 3 \, e^{x} - 3} \]
integrate((((-240*x-120)*exp(x)-240*x-240)*exp(x^2+2*x)-40*exp(x)^2-80*exp (x)-40)/(9*exp(x^2+2*x)^2+((6*x-18)*exp(x)+6*x-18)*exp(x^2+2*x)+(x^2-6*x+9 )*exp(x)^2+(2*x^2-12*x+18)*exp(x)+x^2-6*x+9),x, algorithm=\
Timed out. \[ \int \frac {-40-80 e^x-40 e^{2 x}+e^{2 x+x^2} \left (-240+e^x (-120-240 x)-240 x\right )}{9+9 e^{4 x+2 x^2}-6 x+x^2+e^{2 x} \left (9-6 x+x^2\right )+e^x \left (18-12 x+2 x^2\right )+e^{2 x+x^2} \left (-18+6 x+e^x (-18+6 x)\right )} \, dx=\int -\frac {40\,{\mathrm {e}}^{2\,x}+80\,{\mathrm {e}}^x+{\mathrm {e}}^{x^2+2\,x}\,\left (240\,x+{\mathrm {e}}^x\,\left (240\,x+120\right )+240\right )+40}{9\,{\mathrm {e}}^{2\,x^2+4\,x}-6\,x+{\mathrm {e}}^{x^2+2\,x}\,\left (6\,x+{\mathrm {e}}^x\,\left (6\,x-18\right )-18\right )+{\mathrm {e}}^{2\,x}\,\left (x^2-6\,x+9\right )+{\mathrm {e}}^x\,\left (2\,x^2-12\,x+18\right )+x^2+9} \,d x \]
int(-(40*exp(2*x) + 80*exp(x) + exp(2*x + x^2)*(240*x + exp(x)*(240*x + 12 0) + 240) + 40)/(9*exp(4*x + 2*x^2) - 6*x + exp(2*x + x^2)*(6*x + exp(x)*( 6*x - 18) - 18) + exp(2*x)*(x^2 - 6*x + 9) + exp(x)*(2*x^2 - 12*x + 18) + x^2 + 9),x)