3.47.74 \(\int \frac {e^{-2/x} (32 x+e^{2/x} (-8192+48 x)+e^{\frac {1}{x}} (-512+512 x))}{x^3} \, dx\)

Optimal. Leaf size=28 \[ \frac {16 (-3+x)}{x}+\frac {16 \left (16-e^{-1/x} x\right )^2}{x^2} \]

________________________________________________________________________________________

Rubi [A]  time = 0.24, antiderivative size = 36, normalized size of antiderivative = 1.29, number of steps used = 5, number of rules used = 4, integrand size = 39, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.103, Rules used = {6742, 2288, 2209, 37} \begin {gather*} \frac {(512-3 x)^2}{64 x^2}+16 e^{-2/x}-\frac {512 e^{-1/x}}{x} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(32*x + E^(2/x)*(-8192 + 48*x) + E^x^(-1)*(-512 + 512*x))/(E^(2/x)*x^3),x]

[Out]

16/E^(2/x) + (512 - 3*x)^2/(64*x^2) - 512/(E^x^(-1)*x)

Rule 37

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*(c + d*x)^(n +
1))/((b*c - a*d)*(m + 1)), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && EqQ[m + n + 2, 0] && NeQ
[m, -1]

Rule 2209

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^(n_))*((e_.) + (f_.)*(x_))^(m_.), x_Symbol] :> Simp[((e + f*x)^n*
F^(a + b*(c + d*x)^n))/(b*f*n*(c + d*x)^n*Log[F]), x] /; FreeQ[{F, a, b, c, d, e, f, n}, x] && EqQ[m, n - 1] &
& EqQ[d*e - c*f, 0]

Rule 2288

Int[(y_.)*(F_)^(u_)*((v_) + (w_)), x_Symbol] :> With[{z = (v*y)/(Log[F]*D[u, x])}, Simp[F^u*z, x] /; EqQ[D[z,
x], w*y]] /; FreeQ[F, x]

Rule 6742

Int[u_, x_Symbol] :> With[{v = ExpandIntegrand[u, x]}, Int[v, x] /; SumQ[v]]

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {512 e^{-1/x} (-1+x)}{x^3}+\frac {32 e^{-2/x}}{x^2}+\frac {16 (-512+3 x)}{x^3}\right ) \, dx\\ &=16 \int \frac {-512+3 x}{x^3} \, dx+32 \int \frac {e^{-2/x}}{x^2} \, dx+512 \int \frac {e^{-1/x} (-1+x)}{x^3} \, dx\\ &=16 e^{-2/x}+\frac {(512-3 x)^2}{64 x^2}-\frac {512 e^{-1/x}}{x}\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.08, size = 32, normalized size = 1.14 \begin {gather*} 16 \left (e^{-2/x}+\frac {256}{x^2}-\frac {3}{x}-\frac {32 e^{-1/x}}{x}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(32*x + E^(2/x)*(-8192 + 48*x) + E^x^(-1)*(-512 + 512*x))/(E^(2/x)*x^3),x]

[Out]

16*(E^(-2/x) + 256/x^2 - 3/x - 32/(E^x^(-1)*x))

________________________________________________________________________________________

fricas [A]  time = 1.09, size = 35, normalized size = 1.25 \begin {gather*} \frac {16 \, {\left (x^{2} - {\left (3 \, x - 256\right )} e^{\frac {2}{x}} - 32 \, x e^{\frac {1}{x}}\right )} e^{\left (-\frac {2}{x}\right )}}{x^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((48*x-8192)*exp(1/x)^2+(512*x-512)*exp(1/x)+32*x)/x^3/exp(1/x)^2,x, algorithm="fricas")

[Out]

16*(x^2 - (3*x - 256)*e^(2/x) - 32*x*e^(1/x))*e^(-2/x)/x^2

________________________________________________________________________________________

giac [A]  time = 0.14, size = 30, normalized size = 1.07 \begin {gather*} -\frac {512 \, e^{\left (-\frac {1}{x}\right )}}{x} - \frac {48}{x} + \frac {4096}{x^{2}} + 16 \, e^{\left (-\frac {2}{x}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((48*x-8192)*exp(1/x)^2+(512*x-512)*exp(1/x)+32*x)/x^3/exp(1/x)^2,x, algorithm="giac")

[Out]

-512*e^(-1/x)/x - 48/x + 4096/x^2 + 16*e^(-2/x)

________________________________________________________________________________________

maple [A]  time = 0.05, size = 30, normalized size = 1.07




method result size



risch \(\frac {-48 x +4096}{x^{2}}-\frac {512 \,{\mathrm e}^{-\frac {1}{x}}}{x}+16 \,{\mathrm e}^{-\frac {2}{x}}\) \(30\)
derivativedivides \(\frac {4096}{x^{2}}-\frac {48}{x}+16 \,{\mathrm e}^{-\frac {2}{x}}-\frac {512 \,{\mathrm e}^{-\frac {1}{x}}}{x}\) \(31\)
default \(\frac {4096}{x^{2}}-\frac {48}{x}+16 \,{\mathrm e}^{-\frac {2}{x}}-\frac {512 \,{\mathrm e}^{-\frac {1}{x}}}{x}\) \(31\)
norman \(\frac {\left (16 x^{2}+4096 \,{\mathrm e}^{\frac {2}{x}}-512 x \,{\mathrm e}^{\frac {1}{x}}-48 x \,{\mathrm e}^{\frac {2}{x}}\right ) {\mathrm e}^{-\frac {2}{x}}}{x^{2}}\) \(41\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((48*x-8192)*exp(1/x)^2+(512*x-512)*exp(1/x)+32*x)/x^3/exp(1/x)^2,x,method=_RETURNVERBOSE)

[Out]

(-48*x+4096)/x^2-512/x*exp(-1/x)+16*exp(-2/x)

________________________________________________________________________________________

maxima [C]  time = 0.40, size = 34, normalized size = 1.21 \begin {gather*} -\frac {48}{x} + \frac {4096}{x^{2}} + 512 \, e^{\left (-\frac {1}{x}\right )} + 16 \, e^{\left (-\frac {2}{x}\right )} - 512 \, \Gamma \left (2, \frac {1}{x}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((48*x-8192)*exp(1/x)^2+(512*x-512)*exp(1/x)+32*x)/x^3/exp(1/x)^2,x, algorithm="maxima")

[Out]

-48/x + 4096/x^2 + 512*e^(-1/x) + 16*e^(-2/x) - 512*gamma(2, 1/x)

________________________________________________________________________________________

mupad [B]  time = 3.22, size = 30, normalized size = 1.07 \begin {gather*} 16\,{\mathrm {e}}^{-\frac {2}{x}}-\frac {48\,x-4096}{x^2}-\frac {512\,{\mathrm {e}}^{-\frac {1}{x}}}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((exp(-2/x)*(32*x + exp(2/x)*(48*x - 8192) + exp(1/x)*(512*x - 512)))/x^3,x)

[Out]

16*exp(-2/x) - (48*x - 4096)/x^2 - (512*exp(-1/x))/x

________________________________________________________________________________________

sympy [A]  time = 0.15, size = 24, normalized size = 0.86 \begin {gather*} \frac {16 x e^{- \frac {2}{x}} - 512 e^{- \frac {1}{x}}}{x} + \frac {4096 - 48 x}{x^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((48*x-8192)*exp(1/x)**2+(512*x-512)*exp(1/x)+32*x)/x**3/exp(1/x)**2,x)

[Out]

(16*x*exp(-2/x) - 512*exp(-1/x))/x + (4096 - 48*x)/x**2

________________________________________________________________________________________