Integrand size = 138, antiderivative size = 23 \[ \int \frac {e^4 (152-6 x)+50 x+e^2 (-3800+148 x)+e^{2 x} \left (-6 e^4+e^2 (-6+6 x)\right )+e^x \left (2 x-2 x^2+e^4 (-146+6 x)+e^2 \left (-302+160 x-6 x^2\right )\right )}{e^{4+3 x}+e^{4+2 x} (75-3 x)+e^{4+x} \left (1875-150 x+3 x^2\right )+e^4 \left (15625-1875 x+75 x^2-x^3\right )} \, dx=\left (3+\frac {1-\frac {x}{e^2}}{25+e^x-x}\right )^2 \]
[Out]
\[ \int \frac {e^4 (152-6 x)+50 x+e^2 (-3800+148 x)+e^{2 x} \left (-6 e^4+e^2 (-6+6 x)\right )+e^x \left (2 x-2 x^2+e^4 (-146+6 x)+e^2 \left (-302+160 x-6 x^2\right )\right )}{e^{4+3 x}+e^{4+2 x} (75-3 x)+e^{4+x} \left (1875-150 x+3 x^2\right )+e^4 \left (15625-1875 x+75 x^2-x^3\right )} \, dx=\int \frac {e^4 (152-6 x)+50 x+e^2 (-3800+148 x)+e^{2 x} \left (-6 e^4+e^2 (-6+6 x)\right )+e^x \left (2 x-2 x^2+e^4 (-146+6 x)+e^2 \left (-302+160 x-6 x^2\right )\right )}{e^{4+3 x}+e^{4+2 x} (75-3 x)+e^{4+x} \left (1875-150 x+3 x^2\right )+e^4 \left (15625-1875 x+75 x^2-x^3\right )} \, dx \]
[In]
[Out]
Rubi steps \begin{align*} \text {integral}& = \int \frac {2 \left (-3 e^{4+2 x}-e^2 (1900-74 x)-e^{4+x} (73-3 x)+3 e^{2+2 x} (-1+x)+25 x-e^x (-1+x) x-e^4 (-76+3 x)-e^{2+x} \left (151-80 x+3 x^2\right )\right )}{e^4 \left (25+e^x-x\right )^3} \, dx \\ & = \frac {2 \int \frac {-3 e^{4+2 x}-e^2 (1900-74 x)-e^{4+x} (73-3 x)+3 e^{2+2 x} (-1+x)+25 x-e^x (-1+x) x-e^4 (-76+3 x)-e^{2+x} \left (151-80 x+3 x^2\right )}{\left (25+e^x-x\right )^3} \, dx}{e^4} \\ & = \frac {2 \int \left (-\frac {3 e^2 \left (1+e^2-x\right )}{25+e^x-x}-\frac {(-26+x) \left (-e^2+x\right )^2}{\left (25+e^x-x\right )^3}+\frac {-e^2 \left (1-77 e^2\right )+\left (1-76 e^2-3 e^4\right ) x-\left (1-3 e^2\right ) x^2}{\left (25+e^x-x\right )^2}\right ) \, dx}{e^4} \\ & = -\frac {2 \int \frac {(-26+x) \left (-e^2+x\right )^2}{\left (25+e^x-x\right )^3} \, dx}{e^4}+\frac {2 \int \frac {-e^2 \left (1-77 e^2\right )+\left (1-76 e^2-3 e^4\right ) x-\left (1-3 e^2\right ) x^2}{\left (25+e^x-x\right )^2} \, dx}{e^4}-\frac {6 \int \frac {1+e^2-x}{25+e^x-x} \, dx}{e^2} \\ & = \frac {2 \int \left (\frac {e^2 \left (-1+77 e^2\right )}{\left (25+e^x-x\right )^2}-\frac {\left (-1+76 e^2+3 e^4\right ) x}{\left (25+e^x-x\right )^2}+\frac {\left (-1+3 e^2\right ) x^2}{\left (25+e^x-x\right )^2}\right ) \, dx}{e^4}-\frac {2 \int \left (-\frac {26 e^4}{\left (25+e^x-x\right )^3}+\frac {e^2 \left (52+e^2\right ) x}{\left (25+e^x-x\right )^3}-\frac {2 \left (13+e^2\right ) x^2}{\left (25+e^x-x\right )^3}+\frac {x^3}{\left (25+e^x-x\right )^3}\right ) \, dx}{e^4}-\frac {6 \int \left (\frac {1+e^2}{25+e^x-x}-\frac {x}{25+e^x-x}\right ) \, dx}{e^2} \\ & = 52 \int \frac {1}{\left (25+e^x-x\right )^3} \, dx+\left (2 \left (77-\frac {1}{e^2}\right )\right ) \int \frac {1}{\left (25+e^x-x\right )^2} \, dx-\left (6 \left (1+\frac {1}{e^2}\right )\right ) \int \frac {1}{25+e^x-x} \, dx-\frac {2 \int \frac {x^3}{\left (25+e^x-x\right )^3} \, dx}{e^4}+\frac {6 \int \frac {x}{25+e^x-x} \, dx}{e^2}-\frac {\left (2 \left (1-3 e^2\right )\right ) \int \frac {x^2}{\left (25+e^x-x\right )^2} \, dx}{e^4}+\frac {\left (4 \left (13+e^2\right )\right ) \int \frac {x^2}{\left (25+e^x-x\right )^3} \, dx}{e^4}-\frac {\left (2 \left (52+e^2\right )\right ) \int \frac {x}{\left (25+e^x-x\right )^3} \, dx}{e^2}+\frac {\left (2 \left (1-76 e^2-3 e^4\right )\right ) \int \frac {x}{\left (25+e^x-x\right )^2} \, dx}{e^4} \\ \end{align*}
Time = 4.03 (sec) , antiderivative size = 40, normalized size of antiderivative = 1.74 \[ \int \frac {e^4 (152-6 x)+50 x+e^2 (-3800+148 x)+e^{2 x} \left (-6 e^4+e^2 (-6+6 x)\right )+e^x \left (2 x-2 x^2+e^4 (-146+6 x)+e^2 \left (-302+160 x-6 x^2\right )\right )}{e^{4+3 x}+e^{4+2 x} (75-3 x)+e^{4+x} \left (1875-150 x+3 x^2\right )+e^4 \left (15625-1875 x+75 x^2-x^3\right )} \, dx=-\frac {\left (e^2-x\right ) \left (-6 e^{2+x}+x+e^2 (-151+6 x)\right )}{e^4 \left (25+e^x-x\right )^2} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(53\) vs. \(2(23)=46\).
Time = 0.41 (sec) , antiderivative size = 54, normalized size of antiderivative = 2.35
method | result | size |
risch | \(-\frac {\left (6 x \,{\mathrm e}^{4}-6 \,{\mathrm e}^{4+x}-6 x^{2} {\mathrm e}^{2}+6 x \,{\mathrm e}^{2+x}-151 \,{\mathrm e}^{4}+152 \,{\mathrm e}^{2} x -x^{2}\right ) {\mathrm e}^{-4}}{\left (x -{\mathrm e}^{x}-25\right )^{2}}\) | \(54\) |
parallelrisch | \(-\frac {\left (6 x \,{\mathrm e}^{4}-6 \,{\mathrm e}^{4} {\mathrm e}^{x}-6 x^{2} {\mathrm e}^{2}+6 x \,{\mathrm e}^{2} {\mathrm e}^{x}-151 \,{\mathrm e}^{4}+152 \,{\mathrm e}^{2} x -x^{2}\right ) {\mathrm e}^{-4}}{x^{2}-2 \,{\mathrm e}^{x} x +{\mathrm e}^{2 x}-50 x +50 \,{\mathrm e}^{x}+625}\) | \(76\) |
norman | \(\frac {\left (-2 \left (3 \,{\mathrm e}^{4}-74 \,{\mathrm e}^{2}-25\right ) {\mathrm e}^{-2} x -\left (6 \,{\mathrm e}^{2}+1\right ) {\mathrm e}^{-2} {\mathrm e}^{2 x}+2 \left (3 \,{\mathrm e}^{4}-150 \,{\mathrm e}^{2}-25\right ) {\mathrm e}^{-2} {\mathrm e}^{x}+2 \left (3 \,{\mathrm e}^{2}+1\right ) {\mathrm e}^{-2} x \,{\mathrm e}^{x}+\left (151 \,{\mathrm e}^{4}-3750 \,{\mathrm e}^{2}-625\right ) {\mathrm e}^{-2}\right ) {\mathrm e}^{-2}}{\left (x -{\mathrm e}^{x}-25\right )^{2}}\) | \(103\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 74 vs. \(2 (20) = 40\).
Time = 0.25 (sec) , antiderivative size = 74, normalized size of antiderivative = 3.22 \[ \int \frac {e^4 (152-6 x)+50 x+e^2 (-3800+148 x)+e^{2 x} \left (-6 e^4+e^2 (-6+6 x)\right )+e^x \left (2 x-2 x^2+e^4 (-146+6 x)+e^2 \left (-302+160 x-6 x^2\right )\right )}{e^{4+3 x}+e^{4+2 x} (75-3 x)+e^{4+x} \left (1875-150 x+3 x^2\right )+e^4 \left (15625-1875 x+75 x^2-x^3\right )} \, dx=\frac {x^{2} e^{4} - {\left (6 \, x - 151\right )} e^{8} + 2 \, {\left (3 \, x^{2} - 76 \, x\right )} e^{6} - 6 \, {\left (x e^{2} - e^{4}\right )} e^{\left (x + 4\right )}}{{\left (x^{2} - 50 \, x + 625\right )} e^{8} - 2 \, {\left (x - 25\right )} e^{\left (x + 8\right )} + e^{\left (2 \, x + 8\right )}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 87 vs. \(2 (15) = 30\).
Time = 0.12 (sec) , antiderivative size = 87, normalized size of antiderivative = 3.78 \[ \int \frac {e^4 (152-6 x)+50 x+e^2 (-3800+148 x)+e^{2 x} \left (-6 e^4+e^2 (-6+6 x)\right )+e^x \left (2 x-2 x^2+e^4 (-146+6 x)+e^2 \left (-302+160 x-6 x^2\right )\right )}{e^{4+3 x}+e^{4+2 x} (75-3 x)+e^{4+x} \left (1875-150 x+3 x^2\right )+e^4 \left (15625-1875 x+75 x^2-x^3\right )} \, dx=\frac {x^{2} + 6 x^{2} e^{2} - 152 x e^{2} - 6 x e^{4} + \left (- 6 x e^{2} + 6 e^{4}\right ) e^{x} + 151 e^{4}}{x^{2} e^{4} - 50 x e^{4} + \left (- 2 x e^{4} + 50 e^{4}\right ) e^{x} + e^{4} e^{2 x} + 625 e^{4}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 78 vs. \(2 (20) = 40\).
Time = 0.25 (sec) , antiderivative size = 78, normalized size of antiderivative = 3.39 \[ \int \frac {e^4 (152-6 x)+50 x+e^2 (-3800+148 x)+e^{2 x} \left (-6 e^4+e^2 (-6+6 x)\right )+e^x \left (2 x-2 x^2+e^4 (-146+6 x)+e^2 \left (-302+160 x-6 x^2\right )\right )}{e^{4+3 x}+e^{4+2 x} (75-3 x)+e^{4+x} \left (1875-150 x+3 x^2\right )+e^4 \left (15625-1875 x+75 x^2-x^3\right )} \, dx=\frac {x^{2} {\left (6 \, e^{2} + 1\right )} - 2 \, x {\left (3 \, e^{4} + 76 \, e^{2}\right )} - 6 \, {\left (x e^{2} - e^{4}\right )} e^{x} + 151 \, e^{4}}{x^{2} e^{4} - 50 \, x e^{4} - 2 \, {\left (x e^{4} - 25 \, e^{4}\right )} e^{x} + 625 \, e^{4} + e^{\left (2 \, x + 4\right )}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 449 vs. \(2 (20) = 40\).
Time = 0.28 (sec) , antiderivative size = 449, normalized size of antiderivative = 19.52 \[ \int \frac {e^4 (152-6 x)+50 x+e^2 (-3800+148 x)+e^{2 x} \left (-6 e^4+e^2 (-6+6 x)\right )+e^x \left (2 x-2 x^2+e^4 (-146+6 x)+e^2 \left (-302+160 x-6 x^2\right )\right )}{e^{4+3 x}+e^{4+2 x} (75-3 x)+e^{4+x} \left (1875-150 x+3 x^2\right )+e^4 \left (15625-1875 x+75 x^2-x^3\right )} \, dx=\frac {6 \, {\left (x + 4\right )}^{4} e^{14} + {\left (x + 4\right )}^{4} e^{12} - 6 \, {\left (x + 4\right )}^{3} e^{16} - 548 \, {\left (x + 4\right )}^{3} e^{14} - 66 \, {\left (x + 4\right )}^{3} e^{12} - 18 \, {\left (x + 4\right )}^{3} e^{\left (x + 14\right )} - 2 \, {\left (x + 4\right )}^{3} e^{\left (x + 12\right )} + 523 \, {\left (x + 4\right )}^{2} e^{16} + 17350 \, {\left (x + 4\right )}^{2} e^{14} + 1321 \, {\left (x + 4\right )}^{2} e^{12} + 18 \, {\left (x + 4\right )}^{2} e^{\left (2 \, x + 14\right )} + {\left (x + 4\right )}^{2} e^{\left (2 \, x + 12\right )} + 18 \, {\left (x + 4\right )}^{2} e^{\left (x + 16\right )} + 1120 \, {\left (x + 4\right )}^{2} e^{\left (x + 14\right )} + 74 \, {\left (x + 4\right )}^{2} e^{\left (x + 12\right )} - 15196 \, {\left (x + 4\right )} e^{16} - 209032 \, {\left (x + 4\right )} e^{14} - 7656 \, {\left (x + 4\right )} e^{12} - 6 \, {\left (x + 4\right )} e^{\left (3 \, x + 14\right )} - 18 \, {\left (x + 4\right )} e^{\left (2 \, x + 16\right )} - 596 \, {\left (x + 4\right )} e^{\left (2 \, x + 14\right )} - 8 \, {\left (x + 4\right )} e^{\left (2 \, x + 12\right )} - 1046 \, {\left (x + 4\right )} e^{\left (x + 16\right )} - 19446 \, {\left (x + 4\right )} e^{\left (x + 14\right )} - 496 \, {\left (x + 4\right )} e^{\left (x + 12\right )} + 147175 \, e^{16} + 592064 \, e^{14} + 13456 \, e^{12} + 6 \, e^{\left (3 \, x + 16\right )} + 24 \, e^{\left (3 \, x + 14\right )} + 523 \, e^{\left (2 \, x + 16\right )} + 2096 \, e^{\left (2 \, x + 14\right )} + 16 \, e^{\left (2 \, x + 12\right )} + 15196 \, e^{\left (x + 16\right )} + 61016 \, e^{\left (x + 14\right )} + 928 \, e^{\left (x + 12\right )}}{{\left (x + 4\right )}^{4} e^{16} - 116 \, {\left (x + 4\right )}^{3} e^{16} - 4 \, {\left (x + 4\right )}^{3} e^{\left (x + 16\right )} + 5046 \, {\left (x + 4\right )}^{2} e^{16} + 6 \, {\left (x + 4\right )}^{2} e^{\left (2 \, x + 16\right )} + 348 \, {\left (x + 4\right )}^{2} e^{\left (x + 16\right )} - 97556 \, {\left (x + 4\right )} e^{16} - 4 \, {\left (x + 4\right )} e^{\left (3 \, x + 16\right )} - 348 \, {\left (x + 4\right )} e^{\left (2 \, x + 16\right )} - 10092 \, {\left (x + 4\right )} e^{\left (x + 16\right )} + 707281 \, e^{16} + e^{\left (4 \, x + 16\right )} + 116 \, e^{\left (3 \, x + 16\right )} + 5046 \, e^{\left (2 \, x + 16\right )} + 97556 \, e^{\left (x + 16\right )}} \]
[In]
[Out]
Timed out. \[ \int \frac {e^4 (152-6 x)+50 x+e^2 (-3800+148 x)+e^{2 x} \left (-6 e^4+e^2 (-6+6 x)\right )+e^x \left (2 x-2 x^2+e^4 (-146+6 x)+e^2 \left (-302+160 x-6 x^2\right )\right )}{e^{4+3 x}+e^{4+2 x} (75-3 x)+e^{4+x} \left (1875-150 x+3 x^2\right )+e^4 \left (15625-1875 x+75 x^2-x^3\right )} \, dx=\int \frac {50\,x-{\mathrm {e}}^{2\,x}\,\left (6\,{\mathrm {e}}^4-{\mathrm {e}}^2\,\left (6\,x-6\right )\right )+{\mathrm {e}}^x\,\left (2\,x-{\mathrm {e}}^2\,\left (6\,x^2-160\,x+302\right )-2\,x^2+{\mathrm {e}}^4\,\left (6\,x-146\right )\right )-{\mathrm {e}}^4\,\left (6\,x-152\right )+{\mathrm {e}}^2\,\left (148\,x-3800\right )}{{\mathrm {e}}^{3\,x}\,{\mathrm {e}}^4-{\mathrm {e}}^4\,\left (x^3-75\,x^2+1875\,x-15625\right )+{\mathrm {e}}^4\,{\mathrm {e}}^x\,\left (3\,x^2-150\,x+1875\right )-{\mathrm {e}}^{2\,x}\,{\mathrm {e}}^4\,\left (3\,x-75\right )} \,d x \]
[In]
[Out]