\(\int \frac {e^{2 e^4} (512 x-1024 x^2+768 x^3-256 x^4+32 x^5+e^8 (-4+x^2))}{e^{16} x^2+4096 x^4-8192 x^5+6144 x^6-2048 x^7+256 x^8+e^8 (-128 x^3+128 x^4-32 x^5)} \, dx\) [2422]

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

Optimal result

Integrand size = 96, antiderivative size = 27 \[ \int \frac {e^{2 e^4} \left (512 x-1024 x^2+768 x^3-256 x^4+32 x^5+e^8 \left (-4+x^2\right )\right )}{e^{16} x^2+4096 x^4-8192 x^5+6144 x^6-2048 x^7+256 x^8+e^8 \left (-128 x^3+128 x^4-32 x^5\right )} \, dx=\frac {e^{2 e^4}}{\left (-16+\frac {e^8}{(-2+x)^2 x}\right ) x^2} \] Output:

exp(2*exp(4))/(exp(4)^2/(-2+x)^2/x-16)/x^2
 

Mathematica [A] (verified)

Time = 0.03 (sec) , antiderivative size = 33, normalized size of antiderivative = 1.22 \[ \int \frac {e^{2 e^4} \left (512 x-1024 x^2+768 x^3-256 x^4+32 x^5+e^8 \left (-4+x^2\right )\right )}{e^{16} x^2+4096 x^4-8192 x^5+6144 x^6-2048 x^7+256 x^8+e^8 \left (-128 x^3+128 x^4-32 x^5\right )} \, dx=-\frac {e^{2 e^4} (-2+x)^2}{x \left (-e^8+16 (-2+x)^2 x\right )} \] Input:

Integrate[(E^(2*E^4)*(512*x - 1024*x^2 + 768*x^3 - 256*x^4 + 32*x^5 + E^8* 
(-4 + x^2)))/(E^16*x^2 + 4096*x^4 - 8192*x^5 + 6144*x^6 - 2048*x^7 + 256*x 
^8 + E^8*(-128*x^3 + 128*x^4 - 32*x^5)),x]
 

Output:

-((E^(2*E^4)*(-2 + x)^2)/(x*(-E^8 + 16*(-2 + x)^2*x)))
 

Rubi [F]

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^{2 e^4} \left (32 x^5-256 x^4+768 x^3-1024 x^2+e^8 \left (x^2-4\right )+512 x\right )}{256 x^8-2048 x^7+6144 x^6-8192 x^5+4096 x^4+e^{16} x^2+e^8 \left (-32 x^5+128 x^4-128 x^3\right )} \, dx\)

\(\Big \downarrow \) 27

\(\displaystyle e^{2 e^4} \int \frac {32 x^5-256 x^4+768 x^3-1024 x^2+512 x-e^8 \left (4-x^2\right )}{256 x^8-2048 x^7+6144 x^6-8192 x^5+4096 x^4+e^{16} x^2-32 e^8 \left (x^5-4 x^4+4 x^3\right )}dx\)

\(\Big \downarrow \) 2026

\(\displaystyle e^{2 e^4} \int \frac {32 x^5-256 x^4+768 x^3-1024 x^2+512 x-e^8 \left (4-x^2\right )}{x^2 \left (256 x^6-2048 x^5+6144 x^4-32 \left (256+e^8\right ) x^3+128 \left (32+e^8\right ) x^2-128 e^8 x+e^{16}\right )}dx\)

\(\Big \downarrow \) 2462

\(\displaystyle e^{2 e^4} \int \left (-\frac {2 \left (32 x+e^8-128\right )}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )}-\frac {4}{e^8 x^2}+\frac {128 \left (32-e^8\right ) x^2-64 \left (256-9 e^8\right ) x+3 e^{16}-768 e^8+16384}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}\right )dx\)

\(\Big \downarrow \) 7239

\(\displaystyle e^{2 e^4} \int \frac {(2-x) \left (-32 x^4+192 x^3-384 x^2+\left (256-e^8\right ) x-2 e^8\right )}{x^2 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}dx\)

\(\Big \downarrow \) 7293

\(\displaystyle e^{2 e^4} \int \left (-\frac {2 \left (32 x+e^8-128\right )}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )}-\frac {4}{e^8 x^2}+\frac {128 \left (32-e^8\right ) x^2-64 \left (256-9 e^8\right ) x+3 e^{16}-768 e^8+16384}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}\right )dx\)

\(\Big \downarrow \) 7239

\(\displaystyle e^{2 e^4} \int \frac {(2-x) \left (-32 x^4+192 x^3-384 x^2+\left (256-e^8\right ) x-2 e^8\right )}{x^2 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}dx\)

\(\Big \downarrow \) 7293

\(\displaystyle e^{2 e^4} \int \left (-\frac {2 \left (32 x+e^8-128\right )}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )}-\frac {4}{e^8 x^2}+\frac {128 \left (32-e^8\right ) x^2-64 \left (256-9 e^8\right ) x+3 e^{16}-768 e^8+16384}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}\right )dx\)

\(\Big \downarrow \) 7239

\(\displaystyle e^{2 e^4} \int \frac {(2-x) \left (-32 x^4+192 x^3-384 x^2+\left (256-e^8\right ) x-2 e^8\right )}{x^2 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}dx\)

\(\Big \downarrow \) 7293

\(\displaystyle e^{2 e^4} \int \left (-\frac {2 \left (32 x+e^8-128\right )}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )}-\frac {4}{e^8 x^2}+\frac {128 \left (32-e^8\right ) x^2-64 \left (256-9 e^8\right ) x+3 e^{16}-768 e^8+16384}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}\right )dx\)

\(\Big \downarrow \) 7239

\(\displaystyle e^{2 e^4} \int \frac {(2-x) \left (-32 x^4+192 x^3-384 x^2+\left (256-e^8\right ) x-2 e^8\right )}{x^2 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}dx\)

\(\Big \downarrow \) 7293

\(\displaystyle e^{2 e^4} \int \left (-\frac {2 \left (32 x+e^8-128\right )}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )}-\frac {4}{e^8 x^2}+\frac {128 \left (32-e^8\right ) x^2-64 \left (256-9 e^8\right ) x+3 e^{16}-768 e^8+16384}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}\right )dx\)

\(\Big \downarrow \) 7239

\(\displaystyle e^{2 e^4} \int \frac {(2-x) \left (-32 x^4+192 x^3-384 x^2+\left (256-e^8\right ) x-2 e^8\right )}{x^2 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}dx\)

\(\Big \downarrow \) 7293

\(\displaystyle e^{2 e^4} \int \left (-\frac {2 \left (32 x+e^8-128\right )}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )}-\frac {4}{e^8 x^2}+\frac {128 \left (32-e^8\right ) x^2-64 \left (256-9 e^8\right ) x+3 e^{16}-768 e^8+16384}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}\right )dx\)

\(\Big \downarrow \) 7239

\(\displaystyle e^{2 e^4} \int \frac {(2-x) \left (-32 x^4+192 x^3-384 x^2+\left (256-e^8\right ) x-2 e^8\right )}{x^2 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}dx\)

\(\Big \downarrow \) 7293

\(\displaystyle e^{2 e^4} \int \left (-\frac {2 \left (32 x+e^8-128\right )}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )}-\frac {4}{e^8 x^2}+\frac {128 \left (32-e^8\right ) x^2-64 \left (256-9 e^8\right ) x+3 e^{16}-768 e^8+16384}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}\right )dx\)

\(\Big \downarrow \) 7239

\(\displaystyle e^{2 e^4} \int \frac {(2-x) \left (-32 x^4+192 x^3-384 x^2+\left (256-e^8\right ) x-2 e^8\right )}{x^2 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}dx\)

\(\Big \downarrow \) 7293

\(\displaystyle e^{2 e^4} \int \left (-\frac {2 \left (32 x+e^8-128\right )}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )}-\frac {4}{e^8 x^2}+\frac {128 \left (32-e^8\right ) x^2-64 \left (256-9 e^8\right ) x+3 e^{16}-768 e^8+16384}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}\right )dx\)

\(\Big \downarrow \) 7239

\(\displaystyle e^{2 e^4} \int \frac {(2-x) \left (-32 x^4+192 x^3-384 x^2+\left (256-e^8\right ) x-2 e^8\right )}{x^2 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}dx\)

\(\Big \downarrow \) 7293

\(\displaystyle e^{2 e^4} \int \left (-\frac {2 \left (32 x+e^8-128\right )}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )}-\frac {4}{e^8 x^2}+\frac {128 \left (32-e^8\right ) x^2-64 \left (256-9 e^8\right ) x+3 e^{16}-768 e^8+16384}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}\right )dx\)

\(\Big \downarrow \) 7239

\(\displaystyle e^{2 e^4} \int \frac {(2-x) \left (-32 x^4+192 x^3-384 x^2+\left (256-e^8\right ) x-2 e^8\right )}{x^2 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}dx\)

\(\Big \downarrow \) 7293

\(\displaystyle e^{2 e^4} \int \left (-\frac {2 \left (32 x+e^8-128\right )}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )}-\frac {4}{e^8 x^2}+\frac {128 \left (32-e^8\right ) x^2-64 \left (256-9 e^8\right ) x+3 e^{16}-768 e^8+16384}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}\right )dx\)

\(\Big \downarrow \) 7239

\(\displaystyle e^{2 e^4} \int \frac {(2-x) \left (-32 x^4+192 x^3-384 x^2+\left (256-e^8\right ) x-2 e^8\right )}{x^2 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}dx\)

\(\Big \downarrow \) 7293

\(\displaystyle e^{2 e^4} \int \left (-\frac {2 \left (32 x+e^8-128\right )}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )}-\frac {4}{e^8 x^2}+\frac {128 \left (32-e^8\right ) x^2-64 \left (256-9 e^8\right ) x+3 e^{16}-768 e^8+16384}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}\right )dx\)

\(\Big \downarrow \) 7239

\(\displaystyle e^{2 e^4} \int \frac {(2-x) \left (-32 x^4+192 x^3-384 x^2+\left (256-e^8\right ) x-2 e^8\right )}{x^2 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}dx\)

\(\Big \downarrow \) 7293

\(\displaystyle e^{2 e^4} \int \left (-\frac {2 \left (32 x+e^8-128\right )}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )}-\frac {4}{e^8 x^2}+\frac {128 \left (32-e^8\right ) x^2-64 \left (256-9 e^8\right ) x+3 e^{16}-768 e^8+16384}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}\right )dx\)

\(\Big \downarrow \) 7239

\(\displaystyle e^{2 e^4} \int \frac {(2-x) \left (-32 x^4+192 x^3-384 x^2+\left (256-e^8\right ) x-2 e^8\right )}{x^2 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}dx\)

\(\Big \downarrow \) 7293

\(\displaystyle e^{2 e^4} \int \left (-\frac {2 \left (32 x+e^8-128\right )}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )}-\frac {4}{e^8 x^2}+\frac {128 \left (32-e^8\right ) x^2-64 \left (256-9 e^8\right ) x+3 e^{16}-768 e^8+16384}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}\right )dx\)

\(\Big \downarrow \) 7239

\(\displaystyle e^{2 e^4} \int \frac {(2-x) \left (-32 x^4+192 x^3-384 x^2+\left (256-e^8\right ) x-2 e^8\right )}{x^2 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}dx\)

\(\Big \downarrow \) 7293

\(\displaystyle e^{2 e^4} \int \left (-\frac {2 \left (32 x+e^8-128\right )}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )}-\frac {4}{e^8 x^2}+\frac {128 \left (32-e^8\right ) x^2-64 \left (256-9 e^8\right ) x+3 e^{16}-768 e^8+16384}{e^8 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}\right )dx\)

\(\Big \downarrow \) 7239

\(\displaystyle e^{2 e^4} \int \frac {(2-x) \left (-32 x^4+192 x^3-384 x^2+\left (256-e^8\right ) x-2 e^8\right )}{x^2 \left (-16 x^3+64 x^2-64 x+e^8\right )^2}dx\)

Input:

Int[(E^(2*E^4)*(512*x - 1024*x^2 + 768*x^3 - 256*x^4 + 32*x^5 + E^8*(-4 + 
x^2)))/(E^16*x^2 + 4096*x^4 - 8192*x^5 + 6144*x^6 - 2048*x^7 + 256*x^8 + E 
^8*(-128*x^3 + 128*x^4 - 32*x^5)),x]
 

Output:

$Aborted
 
Maple [A] (verified)

Time = 0.32 (sec) , antiderivative size = 35, normalized size of antiderivative = 1.30

method result size
gosper \(\frac {\left (-2+x \right )^{2} {\mathrm e}^{2 \,{\mathrm e}^{4}}}{x \left (-16 x^{3}+{\mathrm e}^{8}+64 x^{2}-64 x \right )}\) \(35\)
risch \(\frac {{\mathrm e}^{2 \,{\mathrm e}^{4}} \left (x^{2}-4 x +4\right )}{x \left (-16 x^{3}+{\mathrm e}^{8}+64 x^{2}-64 x \right )}\) \(36\)
parallelrisch \(-\frac {{\mathrm e}^{2 \,{\mathrm e}^{4}} \left (-16 x^{2}+64 x -64\right )}{16 x \left (-16 x^{3}+{\mathrm e}^{8}+64 x^{2}-64 x \right )}\) \(41\)
norman \(\frac {{\mathrm e}^{2 \,{\mathrm e}^{4}} x^{2}-4 \,{\mathrm e}^{2 \,{\mathrm e}^{4}} x +4 \,{\mathrm e}^{2 \,{\mathrm e}^{4}}}{x \left (-16 x^{3}+{\mathrm e}^{8}+64 x^{2}-64 x \right )}\) \(50\)

Input:

int(((x^2-4)*exp(4)^2+32*x^5-256*x^4+768*x^3-1024*x^2+512*x)*exp(2*exp(4)) 
/(x^2*exp(4)^4+(-32*x^5+128*x^4-128*x^3)*exp(4)^2+256*x^8-2048*x^7+6144*x^ 
6-8192*x^5+4096*x^4),x,method=_RETURNVERBOSE)
 

Output:

1/x*(-2+x)^2*exp(2*exp(4))/(-16*x^3+exp(4)^2+64*x^2-64*x)
 

Fricas [A] (verification not implemented)

Time = 0.10 (sec) , antiderivative size = 38, normalized size of antiderivative = 1.41 \[ \int \frac {e^{2 e^4} \left (512 x-1024 x^2+768 x^3-256 x^4+32 x^5+e^8 \left (-4+x^2\right )\right )}{e^{16} x^2+4096 x^4-8192 x^5+6144 x^6-2048 x^7+256 x^8+e^8 \left (-128 x^3+128 x^4-32 x^5\right )} \, dx=-\frac {{\left (x^{2} - 4 \, x + 4\right )} e^{\left (2 \, e^{4}\right )}}{16 \, x^{4} - 64 \, x^{3} + 64 \, x^{2} - x e^{8}} \] Input:

integrate(((x^2-4)*exp(4)^2+32*x^5-256*x^4+768*x^3-1024*x^2+512*x)*exp(2*e 
xp(4))/(x^2*exp(4)^4+(-32*x^5+128*x^4-128*x^3)*exp(4)^2+256*x^8-2048*x^7+6 
144*x^6-8192*x^5+4096*x^4),x, algorithm="fricas")
 

Output:

-(x^2 - 4*x + 4)*e^(2*e^4)/(16*x^4 - 64*x^3 + 64*x^2 - x*e^8)
 

Sympy [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 48 vs. \(2 (20) = 40\).

Time = 0.96 (sec) , antiderivative size = 48, normalized size of antiderivative = 1.78 \[ \int \frac {e^{2 e^4} \left (512 x-1024 x^2+768 x^3-256 x^4+32 x^5+e^8 \left (-4+x^2\right )\right )}{e^{16} x^2+4096 x^4-8192 x^5+6144 x^6-2048 x^7+256 x^8+e^8 \left (-128 x^3+128 x^4-32 x^5\right )} \, dx=\frac {- x^{2} e^{2 e^{4}} + 4 x e^{2 e^{4}} - 4 e^{2 e^{4}}}{16 x^{4} - 64 x^{3} + 64 x^{2} - x e^{8}} \] Input:

integrate(((x**2-4)*exp(4)**2+32*x**5-256*x**4+768*x**3-1024*x**2+512*x)*e 
xp(2*exp(4))/(x**2*exp(4)**4+(-32*x**5+128*x**4-128*x**3)*exp(4)**2+256*x* 
*8-2048*x**7+6144*x**6-8192*x**5+4096*x**4),x)
 

Output:

(-x**2*exp(2*exp(4)) + 4*x*exp(2*exp(4)) - 4*exp(2*exp(4)))/(16*x**4 - 64* 
x**3 + 64*x**2 - x*exp(8))
 

Maxima [A] (verification not implemented)

Time = 0.03 (sec) , antiderivative size = 38, normalized size of antiderivative = 1.41 \[ \int \frac {e^{2 e^4} \left (512 x-1024 x^2+768 x^3-256 x^4+32 x^5+e^8 \left (-4+x^2\right )\right )}{e^{16} x^2+4096 x^4-8192 x^5+6144 x^6-2048 x^7+256 x^8+e^8 \left (-128 x^3+128 x^4-32 x^5\right )} \, dx=-\frac {{\left (x^{2} - 4 \, x + 4\right )} e^{\left (2 \, e^{4}\right )}}{16 \, x^{4} - 64 \, x^{3} + 64 \, x^{2} - x e^{8}} \] Input:

integrate(((x^2-4)*exp(4)^2+32*x^5-256*x^4+768*x^3-1024*x^2+512*x)*exp(2*e 
xp(4))/(x^2*exp(4)^4+(-32*x^5+128*x^4-128*x^3)*exp(4)^2+256*x^8-2048*x^7+6 
144*x^6-8192*x^5+4096*x^4),x, algorithm="maxima")
 

Output:

-(x^2 - 4*x + 4)*e^(2*e^4)/(16*x^4 - 64*x^3 + 64*x^2 - x*e^8)
 

Giac [A] (verification not implemented)

Time = 0.12 (sec) , antiderivative size = 38, normalized size of antiderivative = 1.41 \[ \int \frac {e^{2 e^4} \left (512 x-1024 x^2+768 x^3-256 x^4+32 x^5+e^8 \left (-4+x^2\right )\right )}{e^{16} x^2+4096 x^4-8192 x^5+6144 x^6-2048 x^7+256 x^8+e^8 \left (-128 x^3+128 x^4-32 x^5\right )} \, dx=-\frac {{\left (x^{2} - 4 \, x + 4\right )} e^{\left (2 \, e^{4}\right )}}{16 \, x^{4} - 64 \, x^{3} + 64 \, x^{2} - x e^{8}} \] Input:

integrate(((x^2-4)*exp(4)^2+32*x^5-256*x^4+768*x^3-1024*x^2+512*x)*exp(2*e 
xp(4))/(x^2*exp(4)^4+(-32*x^5+128*x^4-128*x^3)*exp(4)^2+256*x^8-2048*x^7+6 
144*x^6-8192*x^5+4096*x^4),x, algorithm="giac")
 

Output:

-(x^2 - 4*x + 4)*e^(2*e^4)/(16*x^4 - 64*x^3 + 64*x^2 - x*e^8)
 

Mupad [F(-1)]

Timed out. \[ \int \frac {e^{2 e^4} \left (512 x-1024 x^2+768 x^3-256 x^4+32 x^5+e^8 \left (-4+x^2\right )\right )}{e^{16} x^2+4096 x^4-8192 x^5+6144 x^6-2048 x^7+256 x^8+e^8 \left (-128 x^3+128 x^4-32 x^5\right )} \, dx=\text {Hanged} \] Input:

int((exp(2*exp(4))*(512*x - 1024*x^2 + 768*x^3 - 256*x^4 + 32*x^5 + exp(8) 
*(x^2 - 4)))/(x^2*exp(16) - exp(8)*(128*x^3 - 128*x^4 + 32*x^5) + 4096*x^4 
 - 8192*x^5 + 6144*x^6 - 2048*x^7 + 256*x^8),x)
 

Output:

\text{Hanged}
 

Reduce [B] (verification not implemented)

Time = 0.16 (sec) , antiderivative size = 38, normalized size of antiderivative = 1.41 \[ \int \frac {e^{2 e^4} \left (512 x-1024 x^2+768 x^3-256 x^4+32 x^5+e^8 \left (-4+x^2\right )\right )}{e^{16} x^2+4096 x^4-8192 x^5+6144 x^6-2048 x^7+256 x^8+e^8 \left (-128 x^3+128 x^4-32 x^5\right )} \, dx=\frac {e^{2 e^{4}} \left (x^{2}-4 x +4\right )}{x \left (e^{8}-16 x^{3}+64 x^{2}-64 x \right )} \] Input:

int(((x^2-4)*exp(4)^2+32*x^5-256*x^4+768*x^3-1024*x^2+512*x)*exp(2*exp(4)) 
/(x^2*exp(4)^4+(-32*x^5+128*x^4-128*x^3)*exp(4)^2+256*x^8-2048*x^7+6144*x^ 
6-8192*x^5+4096*x^4),x)
 

Output:

(e**(2*e**4)*(x**2 - 4*x + 4))/(x*(e**8 - 16*x**3 + 64*x**2 - 64*x))