3.87.69 \(\int \frac {12 x^2+e^{\frac {1-2 x^3+x^2 \log (5)}{x^2}} (-2+x^2-2 x^3)}{20 x^2} \, dx\)

Optimal. Leaf size=22 \[ x-\frac {1}{5} \left (2-\frac {5}{4} e^{\frac {1}{x^2}-2 x}\right ) x \]

________________________________________________________________________________________

Rubi [A]  time = 0.07, antiderivative size = 34, normalized size of antiderivative = 1.55, number of steps used = 4, number of rules used = 3, integrand size = 43, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.070, Rules used = {12, 14, 2288} \begin {gather*} \frac {e^{\frac {1}{x^2}-2 x} \left (x^3+1\right )}{4 \left (\frac {1}{x^3}+1\right ) x^2}+\frac {3 x}{5} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(12*x^2 + E^((1 - 2*x^3 + x^2*Log[5])/x^2)*(-2 + x^2 - 2*x^3))/(20*x^2),x]

[Out]

(3*x)/5 + (E^(x^(-2) - 2*x)*(1 + x^3))/(4*(1 + x^(-3))*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]]

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]

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{20} \int \frac {12 x^2+e^{\frac {1-2 x^3+x^2 \log (5)}{x^2}} \left (-2+x^2-2 x^3\right )}{x^2} \, dx\\ &=\frac {1}{20} \int \left (12-\frac {5 e^{\frac {1}{x^2}-2 x} \left (2-x^2+2 x^3\right )}{x^2}\right ) \, dx\\ &=\frac {3 x}{5}-\frac {1}{4} \int \frac {e^{\frac {1}{x^2}-2 x} \left (2-x^2+2 x^3\right )}{x^2} \, dx\\ &=\frac {3 x}{5}+\frac {e^{\frac {1}{x^2}-2 x} \left (1+x^3\right )}{4 \left (1+\frac {1}{x^3}\right ) x^2}\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.04, size = 19, normalized size = 0.86 \begin {gather*} \left (\frac {3}{5}+\frac {1}{4} e^{\frac {1}{x^2}-2 x}\right ) x \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(12*x^2 + E^((1 - 2*x^3 + x^2*Log[5])/x^2)*(-2 + x^2 - 2*x^3))/(20*x^2),x]

[Out]

(3/5 + E^(x^(-2) - 2*x)/4)*x

________________________________________________________________________________________

fricas [A]  time = 0.74, size = 27, normalized size = 1.23 \begin {gather*} \frac {1}{20} \, x e^{\left (-\frac {2 \, x^{3} - x^{2} \log \relax (5) - 1}{x^{2}}\right )} + \frac {3}{5} \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/20*((-2*x^3+x^2-2)*exp((x^2*log(5)-2*x^3+1)/x^2)+12*x^2)/x^2,x, algorithm="fricas")

[Out]

1/20*x*e^(-(2*x^3 - x^2*log(5) - 1)/x^2) + 3/5*x

________________________________________________________________________________________

giac [A]  time = 0.17, size = 20, normalized size = 0.91 \begin {gather*} \frac {1}{4} \, x e^{\left (-\frac {2 \, x^{3} - 1}{x^{2}}\right )} + \frac {3}{5} \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/20*((-2*x^3+x^2-2)*exp((x^2*log(5)-2*x^3+1)/x^2)+12*x^2)/x^2,x, algorithm="giac")

[Out]

1/4*x*e^(-(2*x^3 - 1)/x^2) + 3/5*x

________________________________________________________________________________________

maple [A]  time = 0.06, size = 21, normalized size = 0.95




method result size



risch \(\frac {{\mathrm e}^{-\frac {2 x^{3}-1}{x^{2}}} x}{4}+\frac {3 x}{5}\) \(21\)
norman \(\frac {\frac {3 x^{2}}{5}+\frac {{\mathrm e}^{\frac {x^{2} \ln \relax (5)-2 x^{3}+1}{x^{2}}} x^{2}}{20}}{x}\) \(34\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/20*((-2*x^3+x^2-2)*exp((x^2*ln(5)-2*x^3+1)/x^2)+12*x^2)/x^2,x,method=_RETURNVERBOSE)

[Out]

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

________________________________________________________________________________________

maxima [A]  time = 0.40, size = 15, normalized size = 0.68 \begin {gather*} \frac {1}{4} \, x e^{\left (-2 \, x + \frac {1}{x^{2}}\right )} + \frac {3}{5} \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/20*((-2*x^3+x^2-2)*exp((x^2*log(5)-2*x^3+1)/x^2)+12*x^2)/x^2,x, algorithm="maxima")

[Out]

1/4*x*e^(-2*x + 1/x^2) + 3/5*x

________________________________________________________________________________________

mupad [B]  time = 5.25, size = 15, normalized size = 0.68 \begin {gather*} \frac {x\,\left (5\,{\mathrm {e}}^{\frac {1}{x^2}-2\,x}+12\right )}{20} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-((exp((x^2*log(5) - 2*x^3 + 1)/x^2)*(2*x^3 - x^2 + 2))/20 - (3*x^2)/5)/x^2,x)

[Out]

(x*(5*exp(1/x^2 - 2*x) + 12))/20

________________________________________________________________________________________

sympy [A]  time = 0.14, size = 26, normalized size = 1.18 \begin {gather*} \frac {x e^{\frac {- 2 x^{3} + x^{2} \log {\relax (5 )} + 1}{x^{2}}}}{20} + \frac {3 x}{5} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/20*((-2*x**3+x**2-2)*exp((x**2*ln(5)-2*x**3+1)/x**2)+12*x**2)/x**2,x)

[Out]

x*exp((-2*x**3 + x**2*log(5) + 1)/x**2)/20 + 3*x/5

________________________________________________________________________________________