\(\int \frac {256 e^8+48 x^5-72 x^6+e^4 (-128 x^2+96 x^3)}{9 x^5} \, dx\) [3194]

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

Optimal result

Integrand size = 38, antiderivative size = 23 \[ \int \frac {256 e^8+48 x^5-72 x^6+e^4 \left (-128 x^2+96 x^3\right )}{9 x^5} \, dx=1-4 \left (-2+x+\frac {4 \left (e^4+x^2\right )}{3 x^2}\right )^2 \]

[Out]

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

Rubi [A] (verified)

Time = 0.01 (sec) , antiderivative size = 41, normalized size of antiderivative = 1.78, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {12, 14} \[ \int \frac {256 e^8+48 x^5-72 x^6+e^4 \left (-128 x^2+96 x^3\right )}{9 x^5} \, dx=-\frac {64 e^8}{9 x^4}-4 x^2+\frac {64 e^4}{9 x^2}+\frac {16 x}{3}-\frac {32 e^4}{3 x} \]

[In]

Int[(256*E^8 + 48*x^5 - 72*x^6 + E^4*(-128*x^2 + 96*x^3))/(9*x^5),x]

[Out]

(-64*E^8)/(9*x^4) + (64*E^4)/(9*x^2) - (32*E^4)/(3*x) + (16*x)/3 - 4*x^2

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rubi steps \begin{align*} \text {integral}& = \frac {1}{9} \int \frac {256 e^8+48 x^5-72 x^6+e^4 \left (-128 x^2+96 x^3\right )}{x^5} \, dx \\ & = \frac {1}{9} \int \left (48+\frac {256 e^8}{x^5}-\frac {128 e^4}{x^3}+\frac {96 e^4}{x^2}-72 x\right ) \, dx \\ & = -\frac {64 e^8}{9 x^4}+\frac {64 e^4}{9 x^2}-\frac {32 e^4}{3 x}+\frac {16 x}{3}-4 x^2 \\ \end{align*}

Mathematica [A] (verified)

Time = 0.01 (sec) , antiderivative size = 39, normalized size of antiderivative = 1.70 \[ \int \frac {256 e^8+48 x^5-72 x^6+e^4 \left (-128 x^2+96 x^3\right )}{9 x^5} \, dx=\frac {8}{9} \left (-\frac {8 e^8}{x^4}+\frac {8 e^4}{x^2}-\frac {12 e^4}{x}+6 x-\frac {9 x^2}{2}\right ) \]

[In]

Integrate[(256*E^8 + 48*x^5 - 72*x^6 + E^4*(-128*x^2 + 96*x^3))/(9*x^5),x]

[Out]

(8*((-8*E^8)/x^4 + (8*E^4)/x^2 - (12*E^4)/x + 6*x - (9*x^2)/2))/9

Maple [A] (verified)

Time = 0.30 (sec) , antiderivative size = 31, normalized size of antiderivative = 1.35

method result size
default \(-4 x^{2}+\frac {16 x}{3}-\frac {64 \,{\mathrm e}^{8}}{9 x^{4}}-\frac {32 \,{\mathrm e}^{4}}{3 x}+\frac {64 \,{\mathrm e}^{4}}{9 x^{2}}\) \(31\)
risch \(-4 x^{2}+\frac {16 x}{3}+\frac {-96 x^{3} {\mathrm e}^{4}+64 x^{2} {\mathrm e}^{4}-64 \,{\mathrm e}^{8}}{9 x^{4}}\) \(34\)
norman \(\frac {\frac {16 x^{5}}{3}-4 x^{6}-\frac {64 \,{\mathrm e}^{8}}{9}+\frac {64 x^{2} {\mathrm e}^{4}}{9}-\frac {32 x^{3} {\mathrm e}^{4}}{3}}{x^{4}}\) \(36\)
gosper \(-\frac {4 \left (9 x^{6}-12 x^{5}+24 x^{3} {\mathrm e}^{4}-16 x^{2} {\mathrm e}^{4}+16 \,{\mathrm e}^{8}\right )}{9 x^{4}}\) \(37\)
parallelrisch \(-\frac {36 x^{6}-48 x^{5}+96 x^{3} {\mathrm e}^{4}-64 x^{2} {\mathrm e}^{4}+64 \,{\mathrm e}^{8}}{9 x^{4}}\) \(37\)

[In]

int(1/9*(256*exp(4)^2+(96*x^3-128*x^2)*exp(4)-72*x^6+48*x^5)/x^5,x,method=_RETURNVERBOSE)

[Out]

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

Fricas [A] (verification not implemented)

none

Time = 0.24 (sec) , antiderivative size = 35, normalized size of antiderivative = 1.52 \[ \int \frac {256 e^8+48 x^5-72 x^6+e^4 \left (-128 x^2+96 x^3\right )}{9 x^5} \, dx=-\frac {4 \, {\left (9 \, x^{6} - 12 \, x^{5} + 8 \, {\left (3 \, x^{3} - 2 \, x^{2}\right )} e^{4} + 16 \, e^{8}\right )}}{9 \, x^{4}} \]

[In]

integrate(1/9*(256*exp(4)^2+(96*x^3-128*x^2)*exp(4)-72*x^6+48*x^5)/x^5,x, algorithm="fricas")

[Out]

-4/9*(9*x^6 - 12*x^5 + 8*(3*x^3 - 2*x^2)*e^4 + 16*e^8)/x^4

Sympy [A] (verification not implemented)

Time = 0.14 (sec) , antiderivative size = 36, normalized size of antiderivative = 1.57 \[ \int \frac {256 e^8+48 x^5-72 x^6+e^4 \left (-128 x^2+96 x^3\right )}{9 x^5} \, dx=- 4 x^{2} + \frac {16 x}{3} - \frac {96 x^{3} e^{4} - 64 x^{2} e^{4} + 64 e^{8}}{9 x^{4}} \]

[In]

integrate(1/9*(256*exp(4)**2+(96*x**3-128*x**2)*exp(4)-72*x**6+48*x**5)/x**5,x)

[Out]

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

Maxima [A] (verification not implemented)

none

Time = 0.19 (sec) , antiderivative size = 33, normalized size of antiderivative = 1.43 \[ \int \frac {256 e^8+48 x^5-72 x^6+e^4 \left (-128 x^2+96 x^3\right )}{9 x^5} \, dx=-4 \, x^{2} + \frac {16}{3} \, x - \frac {32 \, {\left (3 \, x^{3} e^{4} - 2 \, x^{2} e^{4} + 2 \, e^{8}\right )}}{9 \, x^{4}} \]

[In]

integrate(1/9*(256*exp(4)^2+(96*x^3-128*x^2)*exp(4)-72*x^6+48*x^5)/x^5,x, algorithm="maxima")

[Out]

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

Giac [A] (verification not implemented)

none

Time = 0.25 (sec) , antiderivative size = 33, normalized size of antiderivative = 1.43 \[ \int \frac {256 e^8+48 x^5-72 x^6+e^4 \left (-128 x^2+96 x^3\right )}{9 x^5} \, dx=-4 \, x^{2} + \frac {16}{3} \, x - \frac {32 \, {\left (3 \, x^{3} e^{4} - 2 \, x^{2} e^{4} + 2 \, e^{8}\right )}}{9 \, x^{4}} \]

[In]

integrate(1/9*(256*exp(4)^2+(96*x^3-128*x^2)*exp(4)-72*x^6+48*x^5)/x^5,x, algorithm="giac")

[Out]

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

Mupad [B] (verification not implemented)

Time = 8.90 (sec) , antiderivative size = 34, normalized size of antiderivative = 1.48 \[ \int \frac {256 e^8+48 x^5-72 x^6+e^4 \left (-128 x^2+96 x^3\right )}{9 x^5} \, dx=-\frac {4\,\left (9\,x^6-12\,x^5+24\,{\mathrm {e}}^4\,x^3-16\,{\mathrm {e}}^4\,x^2+16\,{\mathrm {e}}^8\right )}{9\,x^4} \]

[In]

int(((256*exp(8))/9 - (exp(4)*(128*x^2 - 96*x^3))/9 + (16*x^5)/3 - 8*x^6)/x^5,x)

[Out]

-(4*(16*exp(8) - 16*x^2*exp(4) + 24*x^3*exp(4) - 12*x^5 + 9*x^6))/(9*x^4)