Integrand size = 116, antiderivative size = 31 \[ \int \frac {e^x \left (-304+152 x^2-19 x^4+e^2 \left (-304+152 x^2-19 x^4\right )\right )+e^{2 x} \left (28-5 x^2+x^4+e^2 \left (28-5 x^2+x^4\right )\right )}{5776-2888 x^2+361 x^4+e^x \left (1064 x-418 x^3+38 x^5\right )+e^{2 x} \left (49 x^2-14 x^4+x^6\right )} \, dx=\frac {1+e^2}{-19 e^{-x}+x-x \left (2-\frac {3}{-4+x^2}\right )} \]
Time = 11.53 (sec) , antiderivative size = 35, normalized size of antiderivative = 1.13 \[ \int \frac {e^x \left (-304+152 x^2-19 x^4+e^2 \left (-304+152 x^2-19 x^4\right )\right )+e^{2 x} \left (28-5 x^2+x^4+e^2 \left (28-5 x^2+x^4\right )\right )}{5776-2888 x^2+361 x^4+e^x \left (1064 x-418 x^3+38 x^5\right )+e^{2 x} \left (49 x^2-14 x^4+x^6\right )} \, dx=-\frac {e^x \left (1+e^2\right ) \left (-4+x^2\right )}{e^x x \left (-7+x^2\right )+19 \left (-4+x^2\right )} \]
Integrate[(E^x*(-304 + 152*x^2 - 19*x^4 + E^2*(-304 + 152*x^2 - 19*x^4)) + E^(2*x)*(28 - 5*x^2 + x^4 + E^2*(28 - 5*x^2 + x^4)))/(5776 - 2888*x^2 + 3 61*x^4 + E^x*(1064*x - 418*x^3 + 38*x^5) + E^(2*x)*(49*x^2 - 14*x^4 + x^6) ),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 \left (-19 x^4+152 x^2+e^2 \left (-19 x^4+152 x^2-304\right )-304\right )+e^{2 x} \left (x^4-5 x^2+e^2 \left (x^4-5 x^2+28\right )+28\right )}{361 x^4-2888 x^2+e^x \left (38 x^5-418 x^3+1064 x\right )+e^{2 x} \left (x^6-14 x^4+49 x^2\right )+5776} \, dx\) |
\(\Big \downarrow \) 7239 |
\(\displaystyle \int \frac {\left (1+e^2\right ) e^x \left (e^x \left (x^4-5 x^2+28\right )-19 \left (x^2-4\right )^2\right )}{\left (e^x x \left (x^2-7\right )+19 \left (x^2-4\right )\right )^2}dx\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \left (1+e^2\right ) \int -\frac {e^x \left (19 \left (4-x^2\right )^2-e^x \left (x^4-5 x^2+28\right )\right )}{\left (19 \left (4-x^2\right )+e^x x \left (7-x^2\right )\right )^2}dx\) |
\(\Big \downarrow \) 25 |
\(\displaystyle -\left (\left (1+e^2\right ) \int \frac {e^x \left (19 \left (4-x^2\right )^2-e^x \left (x^4-5 x^2+28\right )\right )}{\left (19 \left (4-x^2\right )+e^x x \left (7-x^2\right )\right )^2}dx\right )\) |
\(\Big \downarrow \) 7293 |
\(\displaystyle -\left (\left (1+e^2\right ) \int \left (\frac {19 e^x \left (x^7+x^6-15 x^5-9 x^4+72 x^3+48 x^2-112 x-112\right )}{x \left (x^2-7\right ) \left (e^x x^3+19 x^2-7 e^x x-76\right )^2}-\frac {e^x \left (x^4-5 x^2+28\right )}{x \left (x^2-7\right ) \left (e^x x^3+19 x^2-7 e^x x-76\right )}\right )dx\right )\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle -\left (\left (1+e^2\right ) \left (304 \int \frac {e^x}{\left (e^x x^3+19 x^2-7 e^x x-76\right )^2}dx-171 \int \frac {e^x}{\left (\sqrt {7}-x\right ) \left (e^x x^3+19 x^2-7 e^x x-76\right )^2}dx+304 \int \frac {e^x}{x \left (e^x x^3+19 x^2-7 e^x x-76\right )^2}dx-38 \int \frac {e^x x}{\left (e^x x^3+19 x^2-7 e^x x-76\right )^2}dx-152 \int \frac {e^x x^2}{\left (e^x x^3+19 x^2-7 e^x x-76\right )^2}dx+19 \int \frac {e^x x^3}{\left (e^x x^3+19 x^2-7 e^x x-76\right )^2}dx+171 \int \frac {e^x}{\left (x+\sqrt {7}\right ) \left (e^x x^3+19 x^2-7 e^x x-76\right )^2}dx+3 \int \frac {e^x}{\left (\sqrt {7}-x\right ) \left (e^x x^3+19 x^2-7 e^x x-76\right )}dx+4 \int \frac {e^x}{x \left (e^x x^3+19 x^2-7 e^x x-76\right )}dx-\int \frac {e^x x}{e^x x^3+19 x^2-7 e^x x-76}dx-3 \int \frac {e^x}{\left (x+\sqrt {7}\right ) \left (e^x x^3+19 x^2-7 e^x x-76\right )}dx+19 \int \frac {e^x x^4}{\left (e^x x^3+19 x^2-7 e^x x-76\right )^2}dx\right )\right )\) |
Int[(E^x*(-304 + 152*x^2 - 19*x^4 + E^2*(-304 + 152*x^2 - 19*x^4)) + E^(2* x)*(28 - 5*x^2 + x^4 + E^2*(28 - 5*x^2 + x^4)))/(5776 - 2888*x^2 + 361*x^4 + E^x*(1064*x - 418*x^3 + 38*x^5) + E^(2*x)*(49*x^2 - 14*x^4 + x^6)),x]
3.29.90.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.28 (sec) , antiderivative size = 44, normalized size of antiderivative = 1.42
method | result | size |
norman | \(\frac {\left (4 \,{\mathrm e}^{2}+4\right ) {\mathrm e}^{x}+\left (-{\mathrm e}^{2}-1\right ) x^{2} {\mathrm e}^{x}}{{\mathrm e}^{x} x^{3}-7 \,{\mathrm e}^{x} x +19 x^{2}-76}\) | \(44\) |
parallelrisch | \(-\frac {x^{2} {\mathrm e}^{2} {\mathrm e}^{x}+{\mathrm e}^{x} x^{2}-4 \,{\mathrm e}^{2} {\mathrm e}^{x}-4 \,{\mathrm e}^{x}}{{\mathrm e}^{x} x^{3}-7 \,{\mathrm e}^{x} x +19 x^{2}-76}\) | \(48\) |
risch | \(\frac {\left (-{\mathrm e}^{2}-1\right ) x^{2}+4+4 \,{\mathrm e}^{2}}{\left (x^{2}-7\right ) x}+\frac {19 x^{4} {\mathrm e}^{2}+19 x^{4}-152 x^{2} {\mathrm e}^{2}-152 x^{2}+304 \,{\mathrm e}^{2}+304}{\left (x^{2}-7\right ) x \left ({\mathrm e}^{x} x^{3}-7 \,{\mathrm e}^{x} x +19 x^{2}-76\right )}\) | \(88\) |
int((((x^4-5*x^2+28)*exp(2)+x^4-5*x^2+28)*exp(x)^2+((-19*x^4+152*x^2-304)* exp(2)-19*x^4+152*x^2-304)*exp(x))/((x^6-14*x^4+49*x^2)*exp(x)^2+(38*x^5-4 18*x^3+1064*x)*exp(x)+361*x^4-2888*x^2+5776),x,method=_RETURNVERBOSE)
Time = 0.27 (sec) , antiderivative size = 36, normalized size of antiderivative = 1.16 \[ \int \frac {e^x \left (-304+152 x^2-19 x^4+e^2 \left (-304+152 x^2-19 x^4\right )\right )+e^{2 x} \left (28-5 x^2+x^4+e^2 \left (28-5 x^2+x^4\right )\right )}{5776-2888 x^2+361 x^4+e^x \left (1064 x-418 x^3+38 x^5\right )+e^{2 x} \left (49 x^2-14 x^4+x^6\right )} \, dx=-\frac {{\left (x^{2} + {\left (x^{2} - 4\right )} e^{2} - 4\right )} e^{x}}{19 \, x^{2} + {\left (x^{3} - 7 \, x\right )} e^{x} - 76} \]
integrate((((x^4-5*x^2+28)*exp(2)+x^4-5*x^2+28)*exp(x)^2+((-19*x^4+152*x^2 -304)*exp(2)-19*x^4+152*x^2-304)*exp(x))/((x^6-14*x^4+49*x^2)*exp(x)^2+(38 *x^5-418*x^3+1064*x)*exp(x)+361*x^4-2888*x^2+5776),x, algorithm=\
Leaf count of result is larger than twice the leaf count of optimal. 87 vs. \(2 (20) = 40\).
Time = 0.35 (sec) , antiderivative size = 87, normalized size of antiderivative = 2.81 \[ \int \frac {e^x \left (-304+152 x^2-19 x^4+e^2 \left (-304+152 x^2-19 x^4\right )\right )+e^{2 x} \left (28-5 x^2+x^4+e^2 \left (28-5 x^2+x^4\right )\right )}{5776-2888 x^2+361 x^4+e^x \left (1064 x-418 x^3+38 x^5\right )+e^{2 x} \left (49 x^2-14 x^4+x^6\right )} \, dx=\frac {19 x^{4} + 19 x^{4} e^{2} - 152 x^{2} e^{2} - 152 x^{2} + 304 + 304 e^{2}}{19 x^{5} - 209 x^{3} + 532 x + \left (x^{6} - 14 x^{4} + 49 x^{2}\right ) e^{x}} + \frac {x^{2} \left (- e^{2} - 1\right ) + 4 + 4 e^{2}}{x^{3} - 7 x} \]
integrate((((x**4-5*x**2+28)*exp(2)+x**4-5*x**2+28)*exp(x)**2+((-19*x**4+1 52*x**2-304)*exp(2)-19*x**4+152*x**2-304)*exp(x))/((x**6-14*x**4+49*x**2)* exp(x)**2+(38*x**5-418*x**3+1064*x)*exp(x)+361*x**4-2888*x**2+5776),x)
(19*x**4 + 19*x**4*exp(2) - 152*x**2*exp(2) - 152*x**2 + 304 + 304*exp(2)) /(19*x**5 - 209*x**3 + 532*x + (x**6 - 14*x**4 + 49*x**2)*exp(x)) + (x**2* (-exp(2) - 1) + 4 + 4*exp(2))/(x**3 - 7*x)
Time = 0.24 (sec) , antiderivative size = 37, normalized size of antiderivative = 1.19 \[ \int \frac {e^x \left (-304+152 x^2-19 x^4+e^2 \left (-304+152 x^2-19 x^4\right )\right )+e^{2 x} \left (28-5 x^2+x^4+e^2 \left (28-5 x^2+x^4\right )\right )}{5776-2888 x^2+361 x^4+e^x \left (1064 x-418 x^3+38 x^5\right )+e^{2 x} \left (49 x^2-14 x^4+x^6\right )} \, dx=-\frac {{\left (x^{2} {\left (e^{2} + 1\right )} - 4 \, e^{2} - 4\right )} e^{x}}{19 \, x^{2} + {\left (x^{3} - 7 \, x\right )} e^{x} - 76} \]
integrate((((x^4-5*x^2+28)*exp(2)+x^4-5*x^2+28)*exp(x)^2+((-19*x^4+152*x^2 -304)*exp(2)-19*x^4+152*x^2-304)*exp(x))/((x^6-14*x^4+49*x^2)*exp(x)^2+(38 *x^5-418*x^3+1064*x)*exp(x)+361*x^4-2888*x^2+5776),x, algorithm=\
Time = 0.28 (sec) , antiderivative size = 47, normalized size of antiderivative = 1.52 \[ \int \frac {e^x \left (-304+152 x^2-19 x^4+e^2 \left (-304+152 x^2-19 x^4\right )\right )+e^{2 x} \left (28-5 x^2+x^4+e^2 \left (28-5 x^2+x^4\right )\right )}{5776-2888 x^2+361 x^4+e^x \left (1064 x-418 x^3+38 x^5\right )+e^{2 x} \left (49 x^2-14 x^4+x^6\right )} \, dx=-\frac {x^{2} e^{\left (x + 2\right )} + x^{2} e^{x} - 4 \, e^{\left (x + 2\right )} - 4 \, e^{x}}{x^{3} e^{x} + 19 \, x^{2} - 7 \, x e^{x} - 76} \]
integrate((((x^4-5*x^2+28)*exp(2)+x^4-5*x^2+28)*exp(x)^2+((-19*x^4+152*x^2 -304)*exp(2)-19*x^4+152*x^2-304)*exp(x))/((x^6-14*x^4+49*x^2)*exp(x)^2+(38 *x^5-418*x^3+1064*x)*exp(x)+361*x^4-2888*x^2+5776),x, algorithm=\
Timed out. \[ \int \frac {e^x \left (-304+152 x^2-19 x^4+e^2 \left (-304+152 x^2-19 x^4\right )\right )+e^{2 x} \left (28-5 x^2+x^4+e^2 \left (28-5 x^2+x^4\right )\right )}{5776-2888 x^2+361 x^4+e^x \left (1064 x-418 x^3+38 x^5\right )+e^{2 x} \left (49 x^2-14 x^4+x^6\right )} \, dx=\int \frac {{\mathrm {e}}^{2\,x}\,\left ({\mathrm {e}}^2\,\left (x^4-5\,x^2+28\right )-5\,x^2+x^4+28\right )-{\mathrm {e}}^x\,\left ({\mathrm {e}}^2\,\left (19\,x^4-152\,x^2+304\right )-152\,x^2+19\,x^4+304\right )}{{\mathrm {e}}^{2\,x}\,\left (x^6-14\,x^4+49\,x^2\right )-2888\,x^2+361\,x^4+{\mathrm {e}}^x\,\left (38\,x^5-418\,x^3+1064\,x\right )+5776} \,d x \]
int((exp(2*x)*(exp(2)*(x^4 - 5*x^2 + 28) - 5*x^2 + x^4 + 28) - exp(x)*(exp (2)*(19*x^4 - 152*x^2 + 304) - 152*x^2 + 19*x^4 + 304))/(exp(2*x)*(49*x^2 - 14*x^4 + x^6) - 2888*x^2 + 361*x^4 + exp(x)*(1064*x - 418*x^3 + 38*x^5) + 5776),x)