\(\int \frac {e^4 (152-6 x)+50 x+e^2 (-3800+148 x)+e^{2 x} (-6 e^4+e^2 (-6+6 x))+e^x (2 x-2 x^2+e^4 (-146+6 x)+e^2 (-302+160 x-6 x^2))}{e^{4+3 x}+e^{4+2 x} (75-3 x)+e^{4+x} (1875-150 x+3 x^2)+e^4 (15625-1875 x+75 x^2-x^3)} \, dx\) [5700]

   Optimal result
   Rubi [F]
   Mathematica [A] (verified)
   Maple [B] (verified)
   Fricas [B] (verification not implemented)
   Sympy [B] (verification not implemented)
   Maxima [B] (verification not implemented)
   Giac [B] (verification not implemented)
   Mupad [F(-1)]

Optimal result

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]

(3+(1-x/exp(2))/(exp(x)+25-x))^2

Rubi [F]

\[ \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]

Int[(E^4*(152 - 6*x) + 50*x + E^2*(-3800 + 148*x) + E^(2*x)*(-6*E^4 + E^2*(-6 + 6*x)) + E^x*(2*x - 2*x^2 + E^4
*(-146 + 6*x) + E^2*(-302 + 160*x - 6*x^2)))/(E^(4 + 3*x) + E^(4 + 2*x)*(75 - 3*x) + E^(4 + x)*(1875 - 150*x +
 3*x^2) + E^4*(15625 - 1875*x + 75*x^2 - x^3)),x]

[Out]

52*Defer[Int][(25 + E^x - x)^(-3), x] + 2*(77 - E^(-2))*Defer[Int][(25 + E^x - x)^(-2), x] - 6*(1 + E^(-2))*De
fer[Int][(25 + E^x - x)^(-1), x] - (2*(52 + E^2)*Defer[Int][x/(25 + E^x - x)^3, x])/E^2 + (2*(1 - 76*E^2 - 3*E
^4)*Defer[Int][x/(25 + E^x - x)^2, x])/E^4 + (6*Defer[Int][x/(25 + E^x - x), x])/E^2 + (4*(13 + E^2)*Defer[Int
][x^2/(25 + E^x - x)^3, x])/E^4 - (2*(1 - 3*E^2)*Defer[Int][x^2/(25 + E^x - x)^2, x])/E^4 - (2*Defer[Int][x^3/
(25 + E^x - x)^3, x])/E^4

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*}

Mathematica [A] (verified)

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]

Integrate[(E^4*(152 - 6*x) + 50*x + E^2*(-3800 + 148*x) + E^(2*x)*(-6*E^4 + E^2*(-6 + 6*x)) + E^x*(2*x - 2*x^2
 + E^4*(-146 + 6*x) + E^2*(-302 + 160*x - 6*x^2)))/(E^(4 + 3*x) + E^(4 + 2*x)*(75 - 3*x) + E^(4 + x)*(1875 - 1
50*x + 3*x^2) + E^4*(15625 - 1875*x + 75*x^2 - x^3)),x]

[Out]

-(((E^2 - x)*(-6*E^(2 + x) + x + E^2*(-151 + 6*x)))/(E^4*(25 + E^x - x)^2))

Maple [B] (verified)

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]

int(((-6*exp(2)^2+(6*x-6)*exp(2))*exp(x)^2+((6*x-146)*exp(2)^2+(-6*x^2+160*x-302)*exp(2)-2*x^2+2*x)*exp(x)+(-6
*x+152)*exp(2)^2+(148*x-3800)*exp(2)+50*x)/(exp(2)^2*exp(x)^3+(-3*x+75)*exp(2)^2*exp(x)^2+(3*x^2-150*x+1875)*e
xp(2)^2*exp(x)+(-x^3+75*x^2-1875*x+15625)*exp(2)^2),x,method=_RETURNVERBOSE)

[Out]

-(6*x*exp(4)-6*exp(4+x)-6*x^2*exp(2)+6*x*exp(2+x)-151*exp(4)+152*exp(2)*x-x^2)/(x-exp(x)-25)^2*exp(-4)

Fricas [B] (verification not implemented)

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]

integrate(((-6*exp(2)^2+(6*x-6)*exp(2))*exp(x)^2+((6*x-146)*exp(2)^2+(-6*x^2+160*x-302)*exp(2)-2*x^2+2*x)*exp(
x)+(-6*x+152)*exp(2)^2+(148*x-3800)*exp(2)+50*x)/(exp(2)^2*exp(x)^3+(-3*x+75)*exp(2)^2*exp(x)^2+(3*x^2-150*x+1
875)*exp(2)^2*exp(x)+(-x^3+75*x^2-1875*x+15625)*exp(2)^2),x, algorithm="fricas")

[Out]

(x^2*e^4 - (6*x - 151)*e^8 + 2*(3*x^2 - 76*x)*e^6 - 6*(x*e^2 - e^4)*e^(x + 4))/((x^2 - 50*x + 625)*e^8 - 2*(x
- 25)*e^(x + 8) + e^(2*x + 8))

Sympy [B] (verification not implemented)

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]

integrate(((-6*exp(2)**2+(6*x-6)*exp(2))*exp(x)**2+((6*x-146)*exp(2)**2+(-6*x**2+160*x-302)*exp(2)-2*x**2+2*x)
*exp(x)+(-6*x+152)*exp(2)**2+(148*x-3800)*exp(2)+50*x)/(exp(2)**2*exp(x)**3+(-3*x+75)*exp(2)**2*exp(x)**2+(3*x
**2-150*x+1875)*exp(2)**2*exp(x)+(-x**3+75*x**2-1875*x+15625)*exp(2)**2),x)

[Out]

(x**2 + 6*x**2*exp(2) - 152*x*exp(2) - 6*x*exp(4) + (-6*x*exp(2) + 6*exp(4))*exp(x) + 151*exp(4))/(x**2*exp(4)
 - 50*x*exp(4) + (-2*x*exp(4) + 50*exp(4))*exp(x) + exp(4)*exp(2*x) + 625*exp(4))

Maxima [B] (verification not implemented)

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]

integrate(((-6*exp(2)^2+(6*x-6)*exp(2))*exp(x)^2+((6*x-146)*exp(2)^2+(-6*x^2+160*x-302)*exp(2)-2*x^2+2*x)*exp(
x)+(-6*x+152)*exp(2)^2+(148*x-3800)*exp(2)+50*x)/(exp(2)^2*exp(x)^3+(-3*x+75)*exp(2)^2*exp(x)^2+(3*x^2-150*x+1
875)*exp(2)^2*exp(x)+(-x^3+75*x^2-1875*x+15625)*exp(2)^2),x, algorithm="maxima")

[Out]

(x^2*(6*e^2 + 1) - 2*x*(3*e^4 + 76*e^2) - 6*(x*e^2 - e^4)*e^x + 151*e^4)/(x^2*e^4 - 50*x*e^4 - 2*(x*e^4 - 25*e
^4)*e^x + 625*e^4 + e^(2*x + 4))

Giac [B] (verification not implemented)

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]

integrate(((-6*exp(2)^2+(6*x-6)*exp(2))*exp(x)^2+((6*x-146)*exp(2)^2+(-6*x^2+160*x-302)*exp(2)-2*x^2+2*x)*exp(
x)+(-6*x+152)*exp(2)^2+(148*x-3800)*exp(2)+50*x)/(exp(2)^2*exp(x)^3+(-3*x+75)*exp(2)^2*exp(x)^2+(3*x^2-150*x+1
875)*exp(2)^2*exp(x)+(-x^3+75*x^2-1875*x+15625)*exp(2)^2),x, algorithm="giac")

[Out]

(6*(x + 4)^4*e^14 + (x + 4)^4*e^12 - 6*(x + 4)^3*e^16 - 548*(x + 4)^3*e^14 - 66*(x + 4)^3*e^12 - 18*(x + 4)^3*
e^(x + 14) - 2*(x + 4)^3*e^(x + 12) + 523*(x + 4)^2*e^16 + 17350*(x + 4)^2*e^14 + 1321*(x + 4)^2*e^12 + 18*(x
+ 4)^2*e^(2*x + 14) + (x + 4)^2*e^(2*x + 12) + 18*(x + 4)^2*e^(x + 16) + 1120*(x + 4)^2*e^(x + 14) + 74*(x + 4
)^2*e^(x + 12) - 15196*(x + 4)*e^16 - 209032*(x + 4)*e^14 - 7656*(x + 4)*e^12 - 6*(x + 4)*e^(3*x + 14) - 18*(x
 + 4)*e^(2*x + 16) - 596*(x + 4)*e^(2*x + 14) - 8*(x + 4)*e^(2*x + 12) - 1046*(x + 4)*e^(x + 16) - 19446*(x +
4)*e^(x + 14) - 496*(x + 4)*e^(x + 12) + 147175*e^16 + 592064*e^14 + 13456*e^12 + 6*e^(3*x + 16) + 24*e^(3*x +
 14) + 523*e^(2*x + 16) + 2096*e^(2*x + 14) + 16*e^(2*x + 12) + 15196*e^(x + 16) + 61016*e^(x + 14) + 928*e^(x
 + 12))/((x + 4)^4*e^16 - 116*(x + 4)^3*e^16 - 4*(x + 4)^3*e^(x + 16) + 5046*(x + 4)^2*e^16 + 6*(x + 4)^2*e^(2
*x + 16) + 348*(x + 4)^2*e^(x + 16) - 97556*(x + 4)*e^16 - 4*(x + 4)*e^(3*x + 16) - 348*(x + 4)*e^(2*x + 16) -
 10092*(x + 4)*e^(x + 16) + 707281*e^16 + e^(4*x + 16) + 116*e^(3*x + 16) + 5046*e^(2*x + 16) + 97556*e^(x + 1
6))

Mupad [F(-1)]

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]

int((50*x - exp(2*x)*(6*exp(4) - exp(2)*(6*x - 6)) + exp(x)*(2*x - exp(2)*(6*x^2 - 160*x + 302) - 2*x^2 + exp(
4)*(6*x - 146)) - exp(4)*(6*x - 152) + exp(2)*(148*x - 3800))/(exp(3*x)*exp(4) - exp(4)*(1875*x - 75*x^2 + x^3
 - 15625) + exp(4)*exp(x)*(3*x^2 - 150*x + 1875) - exp(2*x)*exp(4)*(3*x - 75)),x)

[Out]

int((50*x - exp(2*x)*(6*exp(4) - exp(2)*(6*x - 6)) + exp(x)*(2*x - exp(2)*(6*x^2 - 160*x + 302) - 2*x^2 + exp(
4)*(6*x - 146)) - exp(4)*(6*x - 152) + exp(2)*(148*x - 3800))/(exp(3*x)*exp(4) - exp(4)*(1875*x - 75*x^2 + x^3
 - 15625) + exp(4)*exp(x)*(3*x^2 - 150*x + 1875) - exp(2*x)*exp(4)*(3*x - 75)), x)