\(\int \frac {617025600-524471760 x-623591460 x^2+611580105 x^3-211803255 x^4+37236375 x^5-3533625 x^6+172125 x^7-3375 x^8+e^{3 x} (125-75 x-125 x^2+75 x^3-15 x^4+x^5)+e^{2 x} (63900-47565 x-63225 x^2+46065 x^3-11475 x^4+1215 x^5-45 x^6)+e^x (10879920-8987112 x-10753785 x^2+9244827 x^3-2756547 x^4+390825 x^5-26325 x^6+675 x^7)}{-729000000 x^2+619650000 x^3-212017500 x^4+37236375 x^5-3533625 x^6+172125 x^7-3375 x^8+e^{3 x} (-125 x^2+75 x^3-15 x^4+x^5)+e^{2 x} (-67500 x^2+46125 x^3-11475 x^4+1215 x^5-45 x^6)+e^x (-12150000 x^2+9315000 x^3-2757375 x^4+390825 x^5-26325 x^6+675 x^7)} \, dx\) [8856]

   Optimal result
   Rubi [F]
   Mathematica [A] (verified)
   Maple [A] (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 = 275, antiderivative size = 37 \[ \int \frac {617025600-524471760 x-623591460 x^2+611580105 x^3-211803255 x^4+37236375 x^5-3533625 x^6+172125 x^7-3375 x^8+e^{3 x} \left (125-75 x-125 x^2+75 x^3-15 x^4+x^5\right )+e^{2 x} \left (63900-47565 x-63225 x^2+46065 x^3-11475 x^4+1215 x^5-45 x^6\right )+e^x \left (10879920-8987112 x-10753785 x^2+9244827 x^3-2756547 x^4+390825 x^5-26325 x^6+675 x^7\right )}{-729000000 x^2+619650000 x^3-212017500 x^4+37236375 x^5-3533625 x^6+172125 x^7-3375 x^8+e^{3 x} \left (-125 x^2+75 x^3-15 x^4+x^5\right )+e^{2 x} \left (-67500 x^2+46125 x^3-11475 x^4+1215 x^5-45 x^6\right )+e^x \left (-12150000 x^2+9315000 x^3-2757375 x^4+390825 x^5-26325 x^6+675 x^7\right )} \, dx=\frac {\frac {\left (5+\frac {2}{-5+\frac {e^x}{3 (-12+x)}}\right )^2}{(-5+x)^2}+x+x^2}{x} \]

[Out]

(x^2+(5+2/(exp(x)/(3*x-36)-5))^2/(-5+x)^2+x)/x

Rubi [F]

\[ \int \frac {617025600-524471760 x-623591460 x^2+611580105 x^3-211803255 x^4+37236375 x^5-3533625 x^6+172125 x^7-3375 x^8+e^{3 x} \left (125-75 x-125 x^2+75 x^3-15 x^4+x^5\right )+e^{2 x} \left (63900-47565 x-63225 x^2+46065 x^3-11475 x^4+1215 x^5-45 x^6\right )+e^x \left (10879920-8987112 x-10753785 x^2+9244827 x^3-2756547 x^4+390825 x^5-26325 x^6+675 x^7\right )}{-729000000 x^2+619650000 x^3-212017500 x^4+37236375 x^5-3533625 x^6+172125 x^7-3375 x^8+e^{3 x} \left (-125 x^2+75 x^3-15 x^4+x^5\right )+e^{2 x} \left (-67500 x^2+46125 x^3-11475 x^4+1215 x^5-45 x^6\right )+e^x \left (-12150000 x^2+9315000 x^3-2757375 x^4+390825 x^5-26325 x^6+675 x^7\right )} \, dx=\int \frac {617025600-524471760 x-623591460 x^2+611580105 x^3-211803255 x^4+37236375 x^5-3533625 x^6+172125 x^7-3375 x^8+e^{3 x} \left (125-75 x-125 x^2+75 x^3-15 x^4+x^5\right )+e^{2 x} \left (63900-47565 x-63225 x^2+46065 x^3-11475 x^4+1215 x^5-45 x^6\right )+e^x \left (10879920-8987112 x-10753785 x^2+9244827 x^3-2756547 x^4+390825 x^5-26325 x^6+675 x^7\right )}{-729000000 x^2+619650000 x^3-212017500 x^4+37236375 x^5-3533625 x^6+172125 x^7-3375 x^8+e^{3 x} \left (-125 x^2+75 x^3-15 x^4+x^5\right )+e^{2 x} \left (-67500 x^2+46125 x^3-11475 x^4+1215 x^5-45 x^6\right )+e^x \left (-12150000 x^2+9315000 x^3-2757375 x^4+390825 x^5-26325 x^6+675 x^7\right )} \, dx \]

[In]

Int[(617025600 - 524471760*x - 623591460*x^2 + 611580105*x^3 - 211803255*x^4 + 37236375*x^5 - 3533625*x^6 + 17
2125*x^7 - 3375*x^8 + E^(3*x)*(125 - 75*x - 125*x^2 + 75*x^3 - 15*x^4 + x^5) + E^(2*x)*(63900 - 47565*x - 6322
5*x^2 + 46065*x^3 - 11475*x^4 + 1215*x^5 - 45*x^6) + E^x*(10879920 - 8987112*x - 10753785*x^2 + 9244827*x^3 -
2756547*x^4 + 390825*x^5 - 26325*x^6 + 675*x^7))/(-729000000*x^2 + 619650000*x^3 - 212017500*x^4 + 37236375*x^
5 - 3533625*x^6 + 172125*x^7 - 3375*x^8 + E^(3*x)*(-125*x^2 + 75*x^3 - 15*x^4 + x^5) + E^(2*x)*(-67500*x^2 + 4
6125*x^3 - 11475*x^4 + 1215*x^5 - 45*x^6) + E^x*(-12150000*x^2 + 9315000*x^3 - 2757375*x^4 + 390825*x^5 - 2632
5*x^6 + 675*x^7)),x]

[Out]

5/(5 - x)^2 + (5 - x)^(-1) + x^(-1) + x - 1080*Defer[Int][(180 + E^x - 15*x)^(-3), x] - (3528*Defer[Int][1/((1
80 + E^x - 15*x)^2*(-5 + x)^3), x])/5 + 168*Defer[Int][1/((180 + E^x - 15*x)*(-5 + x)^3), x] + 84672*Defer[Int
][1/((180 + E^x - 15*x)^3*(-5 + x)^2), x] - (265356*Defer[Int][1/((180 + E^x - 15*x)^2*(-5 + x)^2), x])/25 + (
276*Defer[Int][1/((180 + E^x - 15*x)*(-5 + x)^2), x])/5 - (258552*Defer[Int][1/((180 + E^x - 15*x)^3*(-5 + x))
, x])/5 + (126468*Defer[Int][1/((180 + E^x - 15*x)^2*(-5 + x)), x])/25 - (144*Defer[Int][1/((180 + E^x - 15*x)
*(-5 + x)), x])/5 - (5184*Defer[Int][1/((180 + E^x - 15*x)^2*x^2), x])/25 + (144*Defer[Int][1/((180 + E^x - 15
*x)*x^2), x])/5 + (404352*Defer[Int][1/((180 + E^x - 15*x)^3*x), x])/5 - (150768*Defer[Int][1/((180 + E^x - 15
*x)^2*x), x])/25 + (144*Defer[Int][1/((180 + E^x - 15*x)*x), x])/5

Rubi steps \begin{align*} \text {integral}& = \int \frac {-e^{3 x} \left (125-75 x-125 x^2+75 x^3-15 x^4+x^5\right )+135 (-12+x)^3 \left (2645-1587 x-3125 x^2+1875 x^3-375 x^4+25 x^5\right )+15 e^{2 x} \left (-4260+3171 x+4215 x^2-3071 x^3+765 x^4-81 x^5+3 x^6\right )-9 e^x \left (1208880-998568 x-1194865 x^2+1027203 x^3-306283 x^4+43425 x^5-2925 x^6+75 x^7\right )}{\left (180+e^x-15 x\right )^3 (5-x)^3 x^2} \, dx \\ & = \int \left (-\frac {1080 (-13+x) (-12+x)^2}{\left (180+e^x-15 x\right )^3 (-5+x)^2 x}-\frac {60 \left (60+24 x-15 x^2+x^3\right )}{\left (180+e^x-15 x\right ) (-5+x)^3 x^2}-\frac {36 \left (-720-20508 x+7510 x^2-807 x^3+27 x^4\right )}{\left (180+e^x-15 x\right )^2 (-5+x)^3 x^2}+\frac {125-75 x-125 x^2+75 x^3-15 x^4+x^5}{(-5+x)^3 x^2}\right ) \, dx \\ & = -\left (36 \int \frac {-720-20508 x+7510 x^2-807 x^3+27 x^4}{\left (180+e^x-15 x\right )^2 (-5+x)^3 x^2} \, dx\right )-60 \int \frac {60+24 x-15 x^2+x^3}{\left (180+e^x-15 x\right ) (-5+x)^3 x^2} \, dx-1080 \int \frac {(-13+x) (-12+x)^2}{\left (180+e^x-15 x\right )^3 (-5+x)^2 x} \, dx+\int \frac {125-75 x-125 x^2+75 x^3-15 x^4+x^5}{(-5+x)^3 x^2} \, dx \\ & = -\left (36 \int \left (\frac {98}{5 \left (180+e^x-15 x\right )^2 (-5+x)^3}+\frac {7371}{25 \left (180+e^x-15 x\right )^2 (-5+x)^2}-\frac {3513}{25 \left (180+e^x-15 x\right )^2 (-5+x)}+\frac {144}{25 \left (180+e^x-15 x\right )^2 x^2}+\frac {4188}{25 \left (180+e^x-15 x\right )^2 x}\right ) \, dx\right )-60 \int \left (-\frac {14}{5 \left (180+e^x-15 x\right ) (-5+x)^3}-\frac {23}{25 \left (180+e^x-15 x\right ) (-5+x)^2}+\frac {12}{25 \left (180+e^x-15 x\right ) (-5+x)}-\frac {12}{25 \left (180+e^x-15 x\right ) x^2}-\frac {12}{25 \left (180+e^x-15 x\right ) x}\right ) \, dx-1080 \int \left (\frac {1}{\left (180+e^x-15 x\right )^3}-\frac {392}{5 \left (180+e^x-15 x\right )^3 (-5+x)^2}+\frac {1197}{25 \left (180+e^x-15 x\right )^3 (-5+x)}-\frac {1872}{25 \left (180+e^x-15 x\right )^3 x}\right ) \, dx+\int \left (1-\frac {10}{(-5+x)^3}+\frac {1}{(-5+x)^2}-\frac {1}{x^2}\right ) \, dx \\ & = \frac {5}{(5-x)^2}+\frac {1}{5-x}+\frac {1}{x}+x-\frac {144}{5} \int \frac {1}{\left (180+e^x-15 x\right ) (-5+x)} \, dx+\frac {144}{5} \int \frac {1}{\left (180+e^x-15 x\right ) x^2} \, dx+\frac {144}{5} \int \frac {1}{\left (180+e^x-15 x\right ) x} \, dx+\frac {276}{5} \int \frac {1}{\left (180+e^x-15 x\right ) (-5+x)^2} \, dx+168 \int \frac {1}{\left (180+e^x-15 x\right ) (-5+x)^3} \, dx-\frac {5184}{25} \int \frac {1}{\left (180+e^x-15 x\right )^2 x^2} \, dx-\frac {3528}{5} \int \frac {1}{\left (180+e^x-15 x\right )^2 (-5+x)^3} \, dx-1080 \int \frac {1}{\left (180+e^x-15 x\right )^3} \, dx+\frac {126468}{25} \int \frac {1}{\left (180+e^x-15 x\right )^2 (-5+x)} \, dx-\frac {150768}{25} \int \frac {1}{\left (180+e^x-15 x\right )^2 x} \, dx-\frac {265356}{25} \int \frac {1}{\left (180+e^x-15 x\right )^2 (-5+x)^2} \, dx-\frac {258552}{5} \int \frac {1}{\left (180+e^x-15 x\right )^3 (-5+x)} \, dx+\frac {404352}{5} \int \frac {1}{\left (180+e^x-15 x\right )^3 x} \, dx+84672 \int \frac {1}{\left (180+e^x-15 x\right )^3 (-5+x)^2} \, dx \\ \end{align*}

Mathematica [A] (verified)

Time = 6.81 (sec) , antiderivative size = 67, normalized size of antiderivative = 1.81 \[ \int \frac {617025600-524471760 x-623591460 x^2+611580105 x^3-211803255 x^4+37236375 x^5-3533625 x^6+172125 x^7-3375 x^8+e^{3 x} \left (125-75 x-125 x^2+75 x^3-15 x^4+x^5\right )+e^{2 x} \left (63900-47565 x-63225 x^2+46065 x^3-11475 x^4+1215 x^5-45 x^6\right )+e^x \left (10879920-8987112 x-10753785 x^2+9244827 x^3-2756547 x^4+390825 x^5-26325 x^6+675 x^7\right )}{-729000000 x^2+619650000 x^3-212017500 x^4+37236375 x^5-3533625 x^6+172125 x^7-3375 x^8+e^{3 x} \left (-125 x^2+75 x^3-15 x^4+x^5\right )+e^{2 x} \left (-67500 x^2+46125 x^3-11475 x^4+1215 x^5-45 x^6\right )+e^x \left (-12150000 x^2+9315000 x^3-2757375 x^4+390825 x^5-26325 x^6+675 x^7\right )} \, dx=\frac {1}{5-x}+\frac {5}{(-5+x)^2}+\frac {1}{x}+\frac {60 (-12+x)}{\left (180+e^x-15 x\right ) (-5+x)^2 x}+\frac {36 (-12+x)^2}{\left (180+e^x-15 x\right )^2 (-5+x)^2 x}+x \]

[In]

Integrate[(617025600 - 524471760*x - 623591460*x^2 + 611580105*x^3 - 211803255*x^4 + 37236375*x^5 - 3533625*x^
6 + 172125*x^7 - 3375*x^8 + E^(3*x)*(125 - 75*x - 125*x^2 + 75*x^3 - 15*x^4 + x^5) + E^(2*x)*(63900 - 47565*x
- 63225*x^2 + 46065*x^3 - 11475*x^4 + 1215*x^5 - 45*x^6) + E^x*(10879920 - 8987112*x - 10753785*x^2 + 9244827*
x^3 - 2756547*x^4 + 390825*x^5 - 26325*x^6 + 675*x^7))/(-729000000*x^2 + 619650000*x^3 - 212017500*x^4 + 37236
375*x^5 - 3533625*x^6 + 172125*x^7 - 3375*x^8 + E^(3*x)*(-125*x^2 + 75*x^3 - 15*x^4 + x^5) + E^(2*x)*(-67500*x
^2 + 46125*x^3 - 11475*x^4 + 1215*x^5 - 45*x^6) + E^x*(-12150000*x^2 + 9315000*x^3 - 2757375*x^4 + 390825*x^5
- 26325*x^6 + 675*x^7)),x]

[Out]

(5 - x)^(-1) + 5/(-5 + x)^2 + x^(-1) + (60*(-12 + x))/((180 + E^x - 15*x)*(-5 + x)^2*x) + (36*(-12 + x)^2)/((1
80 + E^x - 15*x)^2*(-5 + x)^2*x) + x

Maple [A] (verified)

Time = 0.25 (sec) , antiderivative size = 63, normalized size of antiderivative = 1.70

method result size
risch \(x +\frac {25}{x \left (x^{2}-10 x +25\right )}-\frac {12 \left (72 x^{2}-5 \,{\mathrm e}^{x} x -1728 x +60 \,{\mathrm e}^{x}+10368\right )}{x \left (x^{2}-10 x +25\right ) \left (15 x -{\mathrm e}^{x}-180\right )^{2}}\) \(63\)
parallelrisch \(\frac {685584+7985736 x +{\mathrm e}^{2 x} x^{4}+360 \,{\mathrm e}^{x} x^{4}-75 \,{\mathrm e}^{2 x} x^{2}-34500 \,{\mathrm e}^{x} x^{2}+250 x \,{\mathrm e}^{2 x}+2250 \,{\mathrm e}^{x} x^{3}+89310 \,{\mathrm e}^{x} x -30 x^{5} {\mathrm e}^{x}+225 x^{6}-5400 x^{5}+15525 x^{4}+461250 x^{3}-3775239 x^{2}+8280 \,{\mathrm e}^{x}+25 \,{\mathrm e}^{2 x}}{x \left (225 x^{4}-30 \,{\mathrm e}^{x} x^{3}+{\mathrm e}^{2 x} x^{2}-7650 x^{3}+660 \,{\mathrm e}^{x} x^{2}-10 x \,{\mathrm e}^{2 x}+92025 x^{2}-4350 \,{\mathrm e}^{x} x +25 \,{\mathrm e}^{2 x}-459000 x +9000 \,{\mathrm e}^{x}+810000\right )}\) \(168\)

[In]

int(((x^5-15*x^4+75*x^3-125*x^2-75*x+125)*exp(x)^3+(-45*x^6+1215*x^5-11475*x^4+46065*x^3-63225*x^2-47565*x+639
00)*exp(x)^2+(675*x^7-26325*x^6+390825*x^5-2756547*x^4+9244827*x^3-10753785*x^2-8987112*x+10879920)*exp(x)-337
5*x^8+172125*x^7-3533625*x^6+37236375*x^5-211803255*x^4+611580105*x^3-623591460*x^2-524471760*x+617025600)/((x
^5-15*x^4+75*x^3-125*x^2)*exp(x)^3+(-45*x^6+1215*x^5-11475*x^4+46125*x^3-67500*x^2)*exp(x)^2+(675*x^7-26325*x^
6+390825*x^5-2757375*x^4+9315000*x^3-12150000*x^2)*exp(x)-3375*x^8+172125*x^7-3533625*x^6+37236375*x^5-2120175
00*x^4+619650000*x^3-729000000*x^2),x,method=_RETURNVERBOSE)

[Out]

x+25/x/(x^2-10*x+25)-12/x*(72*x^2-5*exp(x)*x-1728*x+60*exp(x)+10368)/(x^2-10*x+25)/(15*x-exp(x)-180)^2

Fricas [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 142 vs. \(2 (33) = 66\).

Time = 0.26 (sec) , antiderivative size = 142, normalized size of antiderivative = 3.84 \[ \int \frac {617025600-524471760 x-623591460 x^2+611580105 x^3-211803255 x^4+37236375 x^5-3533625 x^6+172125 x^7-3375 x^8+e^{3 x} \left (125-75 x-125 x^2+75 x^3-15 x^4+x^5\right )+e^{2 x} \left (63900-47565 x-63225 x^2+46065 x^3-11475 x^4+1215 x^5-45 x^6\right )+e^x \left (10879920-8987112 x-10753785 x^2+9244827 x^3-2756547 x^4+390825 x^5-26325 x^6+675 x^7\right )}{-729000000 x^2+619650000 x^3-212017500 x^4+37236375 x^5-3533625 x^6+172125 x^7-3375 x^8+e^{3 x} \left (-125 x^2+75 x^3-15 x^4+x^5\right )+e^{2 x} \left (-67500 x^2+46125 x^3-11475 x^4+1215 x^5-45 x^6\right )+e^x \left (-12150000 x^2+9315000 x^3-2757375 x^4+390825 x^5-26325 x^6+675 x^7\right )} \, dx=\frac {225 \, x^{6} - 7650 \, x^{5} + 92025 \, x^{4} - 459000 \, x^{3} + 814761 \, x^{2} + {\left (x^{4} - 10 \, x^{3} + 25 \, x^{2} + 25\right )} e^{\left (2 \, x\right )} - 30 \, {\left (x^{5} - 22 \, x^{4} + 145 \, x^{3} - 300 \, x^{2} + 23 \, x - 276\right )} e^{x} - 114264 \, x + 685584}{225 \, x^{5} - 7650 \, x^{4} + 92025 \, x^{3} - 459000 \, x^{2} + {\left (x^{3} - 10 \, x^{2} + 25 \, x\right )} e^{\left (2 \, x\right )} - 30 \, {\left (x^{4} - 22 \, x^{3} + 145 \, x^{2} - 300 \, x\right )} e^{x} + 810000 \, x} \]

[In]

integrate(((x^5-15*x^4+75*x^3-125*x^2-75*x+125)*exp(x)^3+(-45*x^6+1215*x^5-11475*x^4+46065*x^3-63225*x^2-47565
*x+63900)*exp(x)^2+(675*x^7-26325*x^6+390825*x^5-2756547*x^4+9244827*x^3-10753785*x^2-8987112*x+10879920)*exp(
x)-3375*x^8+172125*x^7-3533625*x^6+37236375*x^5-211803255*x^4+611580105*x^3-623591460*x^2-524471760*x+61702560
0)/((x^5-15*x^4+75*x^3-125*x^2)*exp(x)^3+(-45*x^6+1215*x^5-11475*x^4+46125*x^3-67500*x^2)*exp(x)^2+(675*x^7-26
325*x^6+390825*x^5-2757375*x^4+9315000*x^3-12150000*x^2)*exp(x)-3375*x^8+172125*x^7-3533625*x^6+37236375*x^5-2
12017500*x^4+619650000*x^3-729000000*x^2),x, algorithm="fricas")

[Out]

(225*x^6 - 7650*x^5 + 92025*x^4 - 459000*x^3 + 814761*x^2 + (x^4 - 10*x^3 + 25*x^2 + 25)*e^(2*x) - 30*(x^5 - 2
2*x^4 + 145*x^3 - 300*x^2 + 23*x - 276)*e^x - 114264*x + 685584)/(225*x^5 - 7650*x^4 + 92025*x^3 - 459000*x^2
+ (x^3 - 10*x^2 + 25*x)*e^(2*x) - 30*(x^4 - 22*x^3 + 145*x^2 - 300*x)*e^x + 810000*x)

Sympy [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 119 vs. \(2 (26) = 52\).

Time = 0.22 (sec) , antiderivative size = 119, normalized size of antiderivative = 3.22 \[ \int \frac {617025600-524471760 x-623591460 x^2+611580105 x^3-211803255 x^4+37236375 x^5-3533625 x^6+172125 x^7-3375 x^8+e^{3 x} \left (125-75 x-125 x^2+75 x^3-15 x^4+x^5\right )+e^{2 x} \left (63900-47565 x-63225 x^2+46065 x^3-11475 x^4+1215 x^5-45 x^6\right )+e^x \left (10879920-8987112 x-10753785 x^2+9244827 x^3-2756547 x^4+390825 x^5-26325 x^6+675 x^7\right )}{-729000000 x^2+619650000 x^3-212017500 x^4+37236375 x^5-3533625 x^6+172125 x^7-3375 x^8+e^{3 x} \left (-125 x^2+75 x^3-15 x^4+x^5\right )+e^{2 x} \left (-67500 x^2+46125 x^3-11475 x^4+1215 x^5-45 x^6\right )+e^x \left (-12150000 x^2+9315000 x^3-2757375 x^4+390825 x^5-26325 x^6+675 x^7\right )} \, dx=x + \frac {- \frac {2 x^{2}}{3} + 16 x + \left (\frac {5 x}{108} - \frac {5}{9}\right ) e^{x} - 96}{\frac {25 x^{5}}{144} - \frac {425 x^{4}}{72} + \frac {10225 x^{3}}{144} - \frac {2125 x^{2}}{6} + 625 x + \left (\frac {x^{3}}{1296} - \frac {5 x^{2}}{648} + \frac {25 x}{1296}\right ) e^{2 x} + \left (- \frac {5 x^{4}}{216} + \frac {55 x^{3}}{108} - \frac {725 x^{2}}{216} + \frac {125 x}{18}\right ) e^{x}} + \frac {25}{x^{3} - 10 x^{2} + 25 x} \]

[In]

integrate(((x**5-15*x**4+75*x**3-125*x**2-75*x+125)*exp(x)**3+(-45*x**6+1215*x**5-11475*x**4+46065*x**3-63225*
x**2-47565*x+63900)*exp(x)**2+(675*x**7-26325*x**6+390825*x**5-2756547*x**4+9244827*x**3-10753785*x**2-8987112
*x+10879920)*exp(x)-3375*x**8+172125*x**7-3533625*x**6+37236375*x**5-211803255*x**4+611580105*x**3-623591460*x
**2-524471760*x+617025600)/((x**5-15*x**4+75*x**3-125*x**2)*exp(x)**3+(-45*x**6+1215*x**5-11475*x**4+46125*x**
3-67500*x**2)*exp(x)**2+(675*x**7-26325*x**6+390825*x**5-2757375*x**4+9315000*x**3-12150000*x**2)*exp(x)-3375*
x**8+172125*x**7-3533625*x**6+37236375*x**5-212017500*x**4+619650000*x**3-729000000*x**2),x)

[Out]

x + (-2*x**2/3 + 16*x + (5*x/108 - 5/9)*exp(x) - 96)/(25*x**5/144 - 425*x**4/72 + 10225*x**3/144 - 2125*x**2/6
 + 625*x + (x**3/1296 - 5*x**2/648 + 25*x/1296)*exp(2*x) + (-5*x**4/216 + 55*x**3/108 - 725*x**2/216 + 125*x/1
8)*exp(x)) + 25/(x**3 - 10*x**2 + 25*x)

Maxima [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 142 vs. \(2 (33) = 66\).

Time = 0.36 (sec) , antiderivative size = 142, normalized size of antiderivative = 3.84 \[ \int \frac {617025600-524471760 x-623591460 x^2+611580105 x^3-211803255 x^4+37236375 x^5-3533625 x^6+172125 x^7-3375 x^8+e^{3 x} \left (125-75 x-125 x^2+75 x^3-15 x^4+x^5\right )+e^{2 x} \left (63900-47565 x-63225 x^2+46065 x^3-11475 x^4+1215 x^5-45 x^6\right )+e^x \left (10879920-8987112 x-10753785 x^2+9244827 x^3-2756547 x^4+390825 x^5-26325 x^6+675 x^7\right )}{-729000000 x^2+619650000 x^3-212017500 x^4+37236375 x^5-3533625 x^6+172125 x^7-3375 x^8+e^{3 x} \left (-125 x^2+75 x^3-15 x^4+x^5\right )+e^{2 x} \left (-67500 x^2+46125 x^3-11475 x^4+1215 x^5-45 x^6\right )+e^x \left (-12150000 x^2+9315000 x^3-2757375 x^4+390825 x^5-26325 x^6+675 x^7\right )} \, dx=\frac {225 \, x^{6} - 7650 \, x^{5} + 92025 \, x^{4} - 459000 \, x^{3} + 814761 \, x^{2} + {\left (x^{4} - 10 \, x^{3} + 25 \, x^{2} + 25\right )} e^{\left (2 \, x\right )} - 30 \, {\left (x^{5} - 22 \, x^{4} + 145 \, x^{3} - 300 \, x^{2} + 23 \, x - 276\right )} e^{x} - 114264 \, x + 685584}{225 \, x^{5} - 7650 \, x^{4} + 92025 \, x^{3} - 459000 \, x^{2} + {\left (x^{3} - 10 \, x^{2} + 25 \, x\right )} e^{\left (2 \, x\right )} - 30 \, {\left (x^{4} - 22 \, x^{3} + 145 \, x^{2} - 300 \, x\right )} e^{x} + 810000 \, x} \]

[In]

integrate(((x^5-15*x^4+75*x^3-125*x^2-75*x+125)*exp(x)^3+(-45*x^6+1215*x^5-11475*x^4+46065*x^3-63225*x^2-47565
*x+63900)*exp(x)^2+(675*x^7-26325*x^6+390825*x^5-2756547*x^4+9244827*x^3-10753785*x^2-8987112*x+10879920)*exp(
x)-3375*x^8+172125*x^7-3533625*x^6+37236375*x^5-211803255*x^4+611580105*x^3-623591460*x^2-524471760*x+61702560
0)/((x^5-15*x^4+75*x^3-125*x^2)*exp(x)^3+(-45*x^6+1215*x^5-11475*x^4+46125*x^3-67500*x^2)*exp(x)^2+(675*x^7-26
325*x^6+390825*x^5-2757375*x^4+9315000*x^3-12150000*x^2)*exp(x)-3375*x^8+172125*x^7-3533625*x^6+37236375*x^5-2
12017500*x^4+619650000*x^3-729000000*x^2),x, algorithm="maxima")

[Out]

(225*x^6 - 7650*x^5 + 92025*x^4 - 459000*x^3 + 814761*x^2 + (x^4 - 10*x^3 + 25*x^2 + 25)*e^(2*x) - 30*(x^5 - 2
2*x^4 + 145*x^3 - 300*x^2 + 23*x - 276)*e^x - 114264*x + 685584)/(225*x^5 - 7650*x^4 + 92025*x^3 - 459000*x^2
+ (x^3 - 10*x^2 + 25*x)*e^(2*x) - 30*(x^4 - 22*x^3 + 145*x^2 - 300*x)*e^x + 810000*x)

Giac [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 176 vs. \(2 (33) = 66\).

Time = 0.30 (sec) , antiderivative size = 176, normalized size of antiderivative = 4.76 \[ \int \frac {617025600-524471760 x-623591460 x^2+611580105 x^3-211803255 x^4+37236375 x^5-3533625 x^6+172125 x^7-3375 x^8+e^{3 x} \left (125-75 x-125 x^2+75 x^3-15 x^4+x^5\right )+e^{2 x} \left (63900-47565 x-63225 x^2+46065 x^3-11475 x^4+1215 x^5-45 x^6\right )+e^x \left (10879920-8987112 x-10753785 x^2+9244827 x^3-2756547 x^4+390825 x^5-26325 x^6+675 x^7\right )}{-729000000 x^2+619650000 x^3-212017500 x^4+37236375 x^5-3533625 x^6+172125 x^7-3375 x^8+e^{3 x} \left (-125 x^2+75 x^3-15 x^4+x^5\right )+e^{2 x} \left (-67500 x^2+46125 x^3-11475 x^4+1215 x^5-45 x^6\right )+e^x \left (-12150000 x^2+9315000 x^3-2757375 x^4+390825 x^5-26325 x^6+675 x^7\right )} \, dx=\frac {225 \, x^{6} - 30 \, x^{5} e^{x} - 7650 \, x^{5} + x^{4} e^{\left (2 \, x\right )} + 660 \, x^{4} e^{x} + 92025 \, x^{4} - 10 \, x^{3} e^{\left (2 \, x\right )} - 4350 \, x^{3} e^{x} - 459000 \, x^{3} + 25 \, x^{2} e^{\left (2 \, x\right )} + 9000 \, x^{2} e^{x} + 814761 \, x^{2} - 690 \, x e^{x} - 114264 \, x + 25 \, e^{\left (2 \, x\right )} + 8280 \, e^{x} + 685584}{225 \, x^{5} - 30 \, x^{4} e^{x} - 7650 \, x^{4} + x^{3} e^{\left (2 \, x\right )} + 660 \, x^{3} e^{x} + 92025 \, x^{3} - 10 \, x^{2} e^{\left (2 \, x\right )} - 4350 \, x^{2} e^{x} - 459000 \, x^{2} + 25 \, x e^{\left (2 \, x\right )} + 9000 \, x e^{x} + 810000 \, x} \]

[In]

integrate(((x^5-15*x^4+75*x^3-125*x^2-75*x+125)*exp(x)^3+(-45*x^6+1215*x^5-11475*x^4+46065*x^3-63225*x^2-47565
*x+63900)*exp(x)^2+(675*x^7-26325*x^6+390825*x^5-2756547*x^4+9244827*x^3-10753785*x^2-8987112*x+10879920)*exp(
x)-3375*x^8+172125*x^7-3533625*x^6+37236375*x^5-211803255*x^4+611580105*x^3-623591460*x^2-524471760*x+61702560
0)/((x^5-15*x^4+75*x^3-125*x^2)*exp(x)^3+(-45*x^6+1215*x^5-11475*x^4+46125*x^3-67500*x^2)*exp(x)^2+(675*x^7-26
325*x^6+390825*x^5-2757375*x^4+9315000*x^3-12150000*x^2)*exp(x)-3375*x^8+172125*x^7-3533625*x^6+37236375*x^5-2
12017500*x^4+619650000*x^3-729000000*x^2),x, algorithm="giac")

[Out]

(225*x^6 - 30*x^5*e^x - 7650*x^5 + x^4*e^(2*x) + 660*x^4*e^x + 92025*x^4 - 10*x^3*e^(2*x) - 4350*x^3*e^x - 459
000*x^3 + 25*x^2*e^(2*x) + 9000*x^2*e^x + 814761*x^2 - 690*x*e^x - 114264*x + 25*e^(2*x) + 8280*e^x + 685584)/
(225*x^5 - 30*x^4*e^x - 7650*x^4 + x^3*e^(2*x) + 660*x^3*e^x + 92025*x^3 - 10*x^2*e^(2*x) - 4350*x^2*e^x - 459
000*x^2 + 25*x*e^(2*x) + 9000*x*e^x + 810000*x)

Mupad [F(-1)]

Timed out. \[ \int \frac {617025600-524471760 x-623591460 x^2+611580105 x^3-211803255 x^4+37236375 x^5-3533625 x^6+172125 x^7-3375 x^8+e^{3 x} \left (125-75 x-125 x^2+75 x^3-15 x^4+x^5\right )+e^{2 x} \left (63900-47565 x-63225 x^2+46065 x^3-11475 x^4+1215 x^5-45 x^6\right )+e^x \left (10879920-8987112 x-10753785 x^2+9244827 x^3-2756547 x^4+390825 x^5-26325 x^6+675 x^7\right )}{-729000000 x^2+619650000 x^3-212017500 x^4+37236375 x^5-3533625 x^6+172125 x^7-3375 x^8+e^{3 x} \left (-125 x^2+75 x^3-15 x^4+x^5\right )+e^{2 x} \left (-67500 x^2+46125 x^3-11475 x^4+1215 x^5-45 x^6\right )+e^x \left (-12150000 x^2+9315000 x^3-2757375 x^4+390825 x^5-26325 x^6+675 x^7\right )} \, dx=\int \frac {524471760\,x+{\mathrm {e}}^{3\,x}\,\left (-x^5+15\,x^4-75\,x^3+125\,x^2+75\,x-125\right )+{\mathrm {e}}^x\,\left (-675\,x^7+26325\,x^6-390825\,x^5+2756547\,x^4-9244827\,x^3+10753785\,x^2+8987112\,x-10879920\right )+623591460\,x^2-611580105\,x^3+211803255\,x^4-37236375\,x^5+3533625\,x^6-172125\,x^7+3375\,x^8+{\mathrm {e}}^{2\,x}\,\left (45\,x^6-1215\,x^5+11475\,x^4-46065\,x^3+63225\,x^2+47565\,x-63900\right )-617025600}{{\mathrm {e}}^{2\,x}\,\left (45\,x^6-1215\,x^5+11475\,x^4-46125\,x^3+67500\,x^2\right )+{\mathrm {e}}^{3\,x}\,\left (-x^5+15\,x^4-75\,x^3+125\,x^2\right )+729000000\,x^2-619650000\,x^3+212017500\,x^4-37236375\,x^5+3533625\,x^6-172125\,x^7+3375\,x^8+{\mathrm {e}}^x\,\left (-675\,x^7+26325\,x^6-390825\,x^5+2757375\,x^4-9315000\,x^3+12150000\,x^2\right )} \,d x \]

[In]

int((524471760*x + exp(3*x)*(75*x + 125*x^2 - 75*x^3 + 15*x^4 - x^5 - 125) + exp(x)*(8987112*x + 10753785*x^2
- 9244827*x^3 + 2756547*x^4 - 390825*x^5 + 26325*x^6 - 675*x^7 - 10879920) + 623591460*x^2 - 611580105*x^3 + 2
11803255*x^4 - 37236375*x^5 + 3533625*x^6 - 172125*x^7 + 3375*x^8 + exp(2*x)*(47565*x + 63225*x^2 - 46065*x^3
+ 11475*x^4 - 1215*x^5 + 45*x^6 - 63900) - 617025600)/(exp(2*x)*(67500*x^2 - 46125*x^3 + 11475*x^4 - 1215*x^5
+ 45*x^6) + exp(3*x)*(125*x^2 - 75*x^3 + 15*x^4 - x^5) + 729000000*x^2 - 619650000*x^3 + 212017500*x^4 - 37236
375*x^5 + 3533625*x^6 - 172125*x^7 + 3375*x^8 + exp(x)*(12150000*x^2 - 9315000*x^3 + 2757375*x^4 - 390825*x^5
+ 26325*x^6 - 675*x^7)),x)

[Out]

int((524471760*x + exp(3*x)*(75*x + 125*x^2 - 75*x^3 + 15*x^4 - x^5 - 125) + exp(x)*(8987112*x + 10753785*x^2
- 9244827*x^3 + 2756547*x^4 - 390825*x^5 + 26325*x^6 - 675*x^7 - 10879920) + 623591460*x^2 - 611580105*x^3 + 2
11803255*x^4 - 37236375*x^5 + 3533625*x^6 - 172125*x^7 + 3375*x^8 + exp(2*x)*(47565*x + 63225*x^2 - 46065*x^3
+ 11475*x^4 - 1215*x^5 + 45*x^6 - 63900) - 617025600)/(exp(2*x)*(67500*x^2 - 46125*x^3 + 11475*x^4 - 1215*x^5
+ 45*x^6) + exp(3*x)*(125*x^2 - 75*x^3 + 15*x^4 - x^5) + 729000000*x^2 - 619650000*x^3 + 212017500*x^4 - 37236
375*x^5 + 3533625*x^6 - 172125*x^7 + 3375*x^8 + exp(x)*(12150000*x^2 - 9315000*x^3 + 2757375*x^4 - 390825*x^5
+ 26325*x^6 - 675*x^7)), x)