\(\int \frac {e^{-\frac {5}{x^2}+\frac {e^{-\frac {5}{x^2}} (-x^3+e^{\frac {5}{x^2}} (-e x^2+x^3+x^2 \log (5))-e^{\frac {5}{x^2}} \log ^2(x))}{x^2}} (-10 x-x^3+e^{\frac {5}{x^2}} x^3-2 e^{\frac {5}{x^2}} \log (x)+2 e^{\frac {5}{x^2}} \log ^2(x))}{4 x^3} \, dx\) [1460]

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

Optimal result

Integrand size = 113, antiderivative size = 30 \[ \int \frac {e^{-\frac {5}{x^2}+\frac {e^{-\frac {5}{x^2}} \left (-x^3+e^{\frac {5}{x^2}} \left (-e x^2+x^3+x^2 \log (5)\right )-e^{\frac {5}{x^2}} \log ^2(x)\right )}{x^2}} \left (-10 x-x^3+e^{\frac {5}{x^2}} x^3-2 e^{\frac {5}{x^2}} \log (x)+2 e^{\frac {5}{x^2}} \log ^2(x)\right )}{4 x^3} \, dx=\frac {5}{4} e^{-e+x-e^{-\frac {5}{x^2}} x-\frac {\log ^2(x)}{x^2}} \] Output:

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

Mathematica [A] (verified)

Time = 1.46 (sec) , antiderivative size = 30, normalized size of antiderivative = 1.00 \[ \int \frac {e^{-\frac {5}{x^2}+\frac {e^{-\frac {5}{x^2}} \left (-x^3+e^{\frac {5}{x^2}} \left (-e x^2+x^3+x^2 \log (5)\right )-e^{\frac {5}{x^2}} \log ^2(x)\right )}{x^2}} \left (-10 x-x^3+e^{\frac {5}{x^2}} x^3-2 e^{\frac {5}{x^2}} \log (x)+2 e^{\frac {5}{x^2}} \log ^2(x)\right )}{4 x^3} \, dx=\frac {5}{4} e^{-e+x-e^{-\frac {5}{x^2}} x-\frac {\log ^2(x)}{x^2}} \] Input:

Integrate[(E^(-5/x^2 + (-x^3 + E^(5/x^2)*(-(E*x^2) + x^3 + x^2*Log[5]) - E 
^(5/x^2)*Log[x]^2)/(E^(5/x^2)*x^2))*(-10*x - x^3 + E^(5/x^2)*x^3 - 2*E^(5/ 
x^2)*Log[x] + 2*E^(5/x^2)*Log[x]^2))/(4*x^3),x]
 

Output:

(5*E^(-E + x - x/E^(5/x^2) - Log[x]^2/x^2))/4
 

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 {\left (-x^3+2 e^{\frac {5}{x^2}} \log ^2(x)-2 e^{\frac {5}{x^2}} \log (x)+e^{\frac {5}{x^2}} x^3-10 x\right ) \exp \left (\frac {e^{-\frac {5}{x^2}} \left (-x^3-e^{\frac {5}{x^2}} \log ^2(x)+e^{\frac {5}{x^2}} \left (x^3-e x^2+x^2 \log (5)\right )\right )}{x^2}-\frac {5}{x^2}\right )}{4 x^3} \, dx\)

\(\Big \downarrow \) 27

\(\displaystyle \frac {1}{4} \int -\frac {\exp \left (-\frac {e^{-\frac {5}{x^2}} \left (x^3+e^{\frac {5}{x^2}} \log ^2(x)+e^{\frac {5}{x^2}} \left (-x^3-\log (5) x^2+e x^2\right )\right )}{x^2}-\frac {5}{x^2}\right ) \left (-e^{\frac {5}{x^2}} x^3+x^3+10 x-2 e^{\frac {5}{x^2}} \log ^2(x)+2 e^{\frac {5}{x^2}} \log (x)\right )}{x^3}dx\)

\(\Big \downarrow \) 25

\(\displaystyle -\frac {1}{4} \int \frac {\exp \left (-\frac {e^{-\frac {5}{x^2}} \left (x^3+e^{\frac {5}{x^2}} \log ^2(x)+e^{\frac {5}{x^2}} \left (-x^3-\log (5) x^2+e x^2\right )\right )}{x^2}-\frac {5}{x^2}\right ) \left (-e^{\frac {5}{x^2}} x^3+x^3+10 x-2 e^{\frac {5}{x^2}} \log ^2(x)+2 e^{\frac {5}{x^2}} \log (x)\right )}{x^3}dx\)

\(\Big \downarrow \) 7293

\(\displaystyle -\frac {1}{4} \int \left (\frac {\exp \left (-\frac {e^{-\frac {5}{x^2}} \left (x^3+e^{\frac {5}{x^2}} \log ^2(x)+e^{\frac {5}{x^2}} \left (-x^3-\log (5) x^2+e x^2\right )\right )}{x^2}-\frac {5}{x^2}\right ) \left (x^2+10\right )}{x^2}-\frac {\exp \left (-\frac {e^{-\frac {5}{x^2}} \left (x^3+e^{\frac {5}{x^2}} \log ^2(x)+e^{\frac {5}{x^2}} \left (-x^3-\log (5) x^2+e x^2\right )\right )}{x^2}\right ) \left (x^3+2 \log ^2(x)-2 \log (x)\right )}{x^3}\right )dx\)

\(\Big \downarrow \) 2009

\(\displaystyle \frac {1}{4} \left (5 \int e^{-\frac {\log ^2(x)}{x^2}-e^{-\frac {5}{x^2}} x+x-e}dx-5 \int e^{-\frac {\log ^2(x)}{x^2}-e^{-\frac {5}{x^2}} x+x-\frac {5}{x^2}-e}dx-50 \int \frac {e^{-\frac {\log ^2(x)}{x^2}-e^{-\frac {5}{x^2}} x+x-\frac {5}{x^2}-e}}{x^2}dx-10 \int \frac {e^{-\frac {\log ^2(x)}{x^2}-e^{-\frac {5}{x^2}} x+x-e} \log (x)}{x^3}dx+10 \int \frac {e^{-\frac {\log ^2(x)}{x^2}-e^{-\frac {5}{x^2}} x+x-e} \log ^2(x)}{x^3}dx\right )\)

Input:

Int[(E^(-5/x^2 + (-x^3 + E^(5/x^2)*(-(E*x^2) + x^3 + x^2*Log[5]) - E^(5/x^ 
2)*Log[x]^2)/(E^(5/x^2)*x^2))*(-10*x - x^3 + E^(5/x^2)*x^3 - 2*E^(5/x^2)*L 
og[x] + 2*E^(5/x^2)*Log[x]^2))/(4*x^3),x]
 

Output:

$Aborted
 
Maple [A] (verified)

Time = 0.85 (sec) , antiderivative size = 55, normalized size of antiderivative = 1.83

method result size
risch \(\frac {5 \,{\mathrm e}^{-\frac {{\mathrm e}^{-\frac {5}{x^{2}}} \left (-x^{3} {\mathrm e}^{\frac {5}{x^{2}}}+{\mathrm e}^{\frac {5}{x^{2}}} \ln \left (x \right )^{2}+x^{2} {\mathrm e}^{\frac {x^{2}+5}{x^{2}}}+x^{3}\right )}{x^{2}}}}{4}\) \(55\)
derivativedivides \(\frac {{\mathrm e}^{\frac {\left (-{\mathrm e}^{\frac {5}{x^{2}}} \ln \left (x \right )^{2}+\left (x^{2} \ln \left (5\right )-x^{2} {\mathrm e}+x^{3}\right ) {\mathrm e}^{\frac {5}{x^{2}}}-x^{3}\right ) {\mathrm e}^{-\frac {5}{x^{2}}}}{x^{2}}}}{4}\) \(58\)
default \(\frac {{\mathrm e}^{\frac {\left (-{\mathrm e}^{\frac {5}{x^{2}}} \ln \left (x \right )^{2}+\left (x^{2} \ln \left (5\right )-x^{2} {\mathrm e}+x^{3}\right ) {\mathrm e}^{\frac {5}{x^{2}}}-x^{3}\right ) {\mathrm e}^{-\frac {5}{x^{2}}}}{x^{2}}}}{4}\) \(58\)
parallelrisch \(\frac {{\mathrm e}^{\frac {\left (-{\mathrm e}^{\frac {5}{x^{2}}} \ln \left (x \right )^{2}+\left (x^{2} \ln \left (5\right )-x^{2} {\mathrm e}+x^{3}\right ) {\mathrm e}^{\frac {5}{x^{2}}}-x^{3}\right ) {\mathrm e}^{-\frac {5}{x^{2}}}}{x^{2}}}}{4}\) \(58\)

Input:

int(1/4*(2*exp(5/x^2)*ln(x)^2-2*exp(5/x^2)*ln(x)+x^3*exp(5/x^2)-x^3-10*x)* 
exp((-exp(5/x^2)*ln(x)^2+(x^2*ln(5)-x^2*exp(1)+x^3)*exp(5/x^2)-x^3)/x^2/ex 
p(5/x^2))/x^3/exp(5/x^2),x,method=_RETURNVERBOSE)
 

Output:

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

Fricas [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 61 vs. \(2 (29) = 58\).

Time = 0.07 (sec) , antiderivative size = 61, normalized size of antiderivative = 2.03 \[ \int \frac {e^{-\frac {5}{x^2}+\frac {e^{-\frac {5}{x^2}} \left (-x^3+e^{\frac {5}{x^2}} \left (-e x^2+x^3+x^2 \log (5)\right )-e^{\frac {5}{x^2}} \log ^2(x)\right )}{x^2}} \left (-10 x-x^3+e^{\frac {5}{x^2}} x^3-2 e^{\frac {5}{x^2}} \log (x)+2 e^{\frac {5}{x^2}} \log ^2(x)\right )}{4 x^3} \, dx=\frac {1}{4} \, e^{\left (-\frac {{\left (x^{3} + e^{\left (\frac {5}{x^{2}}\right )} \log \left (x\right )^{2} - {\left (x^{3} - x^{2} e + x^{2} \log \left (5\right ) - 5\right )} e^{\left (\frac {5}{x^{2}}\right )}\right )} e^{\left (-\frac {5}{x^{2}}\right )}}{x^{2}} + \frac {5}{x^{2}}\right )} \] Input:

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

Output:

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

Sympy [A] (verification not implemented)

Time = 0.30 (sec) , antiderivative size = 51, normalized size of antiderivative = 1.70 \[ \int \frac {e^{-\frac {5}{x^2}+\frac {e^{-\frac {5}{x^2}} \left (-x^3+e^{\frac {5}{x^2}} \left (-e x^2+x^3+x^2 \log (5)\right )-e^{\frac {5}{x^2}} \log ^2(x)\right )}{x^2}} \left (-10 x-x^3+e^{\frac {5}{x^2}} x^3-2 e^{\frac {5}{x^2}} \log (x)+2 e^{\frac {5}{x^2}} \log ^2(x)\right )}{4 x^3} \, dx=\frac {e^{\frac {\left (- x^{3} + \left (x^{3} - e x^{2} + x^{2} \log {\left (5 \right )}\right ) e^{\frac {5}{x^{2}}} - e^{\frac {5}{x^{2}}} \log {\left (x \right )}^{2}\right ) e^{- \frac {5}{x^{2}}}}{x^{2}}}}{4} \] Input:

integrate(1/4*(2*exp(5/x**2)*ln(x)**2-2*exp(5/x**2)*ln(x)+x**3*exp(5/x**2) 
-x**3-10*x)*exp((-exp(5/x**2)*ln(x)**2+(x**2*ln(5)-x**2*exp(1)+x**3)*exp(5 
/x**2)-x**3)/x**2/exp(5/x**2))/x**3/exp(5/x**2),x)
 

Output:

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

Maxima [A] (verification not implemented)

Time = 0.44 (sec) , antiderivative size = 27, normalized size of antiderivative = 0.90 \[ \int \frac {e^{-\frac {5}{x^2}+\frac {e^{-\frac {5}{x^2}} \left (-x^3+e^{\frac {5}{x^2}} \left (-e x^2+x^3+x^2 \log (5)\right )-e^{\frac {5}{x^2}} \log ^2(x)\right )}{x^2}} \left (-10 x-x^3+e^{\frac {5}{x^2}} x^3-2 e^{\frac {5}{x^2}} \log (x)+2 e^{\frac {5}{x^2}} \log ^2(x)\right )}{4 x^3} \, dx=\frac {5}{4} \, e^{\left (-x e^{\left (-\frac {5}{x^{2}}\right )} + x - \frac {\log \left (x\right )^{2}}{x^{2}} - e\right )} \] Input:

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

Output:

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

Giac [F]

\[ \int \frac {e^{-\frac {5}{x^2}+\frac {e^{-\frac {5}{x^2}} \left (-x^3+e^{\frac {5}{x^2}} \left (-e x^2+x^3+x^2 \log (5)\right )-e^{\frac {5}{x^2}} \log ^2(x)\right )}{x^2}} \left (-10 x-x^3+e^{\frac {5}{x^2}} x^3-2 e^{\frac {5}{x^2}} \log (x)+2 e^{\frac {5}{x^2}} \log ^2(x)\right )}{4 x^3} \, dx=\int { \frac {{\left (x^{3} e^{\left (\frac {5}{x^{2}}\right )} - x^{3} + 2 \, e^{\left (\frac {5}{x^{2}}\right )} \log \left (x\right )^{2} - 2 \, e^{\left (\frac {5}{x^{2}}\right )} \log \left (x\right ) - 10 \, x\right )} e^{\left (-\frac {{\left (x^{3} + e^{\left (\frac {5}{x^{2}}\right )} \log \left (x\right )^{2} - {\left (x^{3} - x^{2} e + x^{2} \log \left (5\right )\right )} e^{\left (\frac {5}{x^{2}}\right )}\right )} e^{\left (-\frac {5}{x^{2}}\right )}}{x^{2}} - \frac {5}{x^{2}}\right )}}{4 \, x^{3}} \,d x } \] Input:

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

Output:

integrate(1/4*(x^3*e^(5/x^2) - x^3 + 2*e^(5/x^2)*log(x)^2 - 2*e^(5/x^2)*lo 
g(x) - 10*x)*e^(-(x^3 + e^(5/x^2)*log(x)^2 - (x^3 - x^2*e + x^2*log(5))*e^ 
(5/x^2))*e^(-5/x^2)/x^2 - 5/x^2)/x^3, x)
 

Mupad [B] (verification not implemented)

Time = 1.56 (sec) , antiderivative size = 29, normalized size of antiderivative = 0.97 \[ \int \frac {e^{-\frac {5}{x^2}+\frac {e^{-\frac {5}{x^2}} \left (-x^3+e^{\frac {5}{x^2}} \left (-e x^2+x^3+x^2 \log (5)\right )-e^{\frac {5}{x^2}} \log ^2(x)\right )}{x^2}} \left (-10 x-x^3+e^{\frac {5}{x^2}} x^3-2 e^{\frac {5}{x^2}} \log (x)+2 e^{\frac {5}{x^2}} \log ^2(x)\right )}{4 x^3} \, dx=\frac {5\,{\mathrm {e}}^{-\mathrm {e}}\,{\mathrm {e}}^{-x\,{\mathrm {e}}^{-\frac {5}{x^2}}}\,{\mathrm {e}}^x\,{\mathrm {e}}^{-\frac {{\ln \left (x\right )}^2}{x^2}}}{4} \] Input:

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

Output:

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

Reduce [F]

\[ \int \frac {e^{-\frac {5}{x^2}+\frac {e^{-\frac {5}{x^2}} \left (-x^3+e^{\frac {5}{x^2}} \left (-e x^2+x^3+x^2 \log (5)\right )-e^{\frac {5}{x^2}} \log ^2(x)\right )}{x^2}} \left (-10 x-x^3+e^{\frac {5}{x^2}} x^3-2 e^{\frac {5}{x^2}} \log (x)+2 e^{\frac {5}{x^2}} \log ^2(x)\right )}{4 x^3} \, dx=\frac {5 \left (\int \frac {e^{x}}{e^{\frac {e^{\frac {5}{x^{2}}} \mathrm {log}\left (x \right )^{2}+e^{\frac {5}{x^{2}}} e \,x^{2}+x^{3}}{e^{\frac {5}{x^{2}}} x^{2}}}}d x \right )}{4}-\frac {5 \left (\int \frac {e^{x}}{e^{\frac {e^{\frac {5}{x^{2}}} \mathrm {log}\left (x \right )^{2}+e^{\frac {5}{x^{2}}} e \,x^{2}+5 e^{\frac {5}{x^{2}}}+x^{3}}{e^{\frac {5}{x^{2}}} x^{2}}}}d x \right )}{4}-\frac {25 \left (\int \frac {e^{x}}{e^{\frac {e^{\frac {5}{x^{2}}} \mathrm {log}\left (x \right )^{2}+e^{\frac {5}{x^{2}}} e \,x^{2}+5 e^{\frac {5}{x^{2}}}+x^{3}}{e^{\frac {5}{x^{2}}} x^{2}}} x^{2}}d x \right )}{2}+\frac {5 \left (\int \frac {e^{x} \mathrm {log}\left (x \right )^{2}}{e^{\frac {e^{\frac {5}{x^{2}}} \mathrm {log}\left (x \right )^{2}+e^{\frac {5}{x^{2}}} e \,x^{2}+x^{3}}{e^{\frac {5}{x^{2}}} x^{2}}} x^{3}}d x \right )}{2}-\frac {5 \left (\int \frac {e^{x} \mathrm {log}\left (x \right )}{e^{\frac {e^{\frac {5}{x^{2}}} \mathrm {log}\left (x \right )^{2}+e^{\frac {5}{x^{2}}} e \,x^{2}+x^{3}}{e^{\frac {5}{x^{2}}} x^{2}}} x^{3}}d x \right )}{2} \] Input:

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

Output:

(5*(int(e**x/e**((e**(5/x**2)*log(x)**2 + e**(5/x**2)*e*x**2 + x**3)/(e**( 
5/x**2)*x**2)),x) - int(e**x/e**((e**(5/x**2)*log(x)**2 + e**(5/x**2)*e*x* 
*2 + 5*e**(5/x**2) + x**3)/(e**(5/x**2)*x**2)),x) - 10*int(e**x/(e**((e**( 
5/x**2)*log(x)**2 + e**(5/x**2)*e*x**2 + 5*e**(5/x**2) + x**3)/(e**(5/x**2 
)*x**2))*x**2),x) + 2*int((e**x*log(x)**2)/(e**((e**(5/x**2)*log(x)**2 + e 
**(5/x**2)*e*x**2 + x**3)/(e**(5/x**2)*x**2))*x**3),x) - 2*int((e**x*log(x 
))/(e**((e**(5/x**2)*log(x)**2 + e**(5/x**2)*e*x**2 + x**3)/(e**(5/x**2)*x 
**2))*x**3),x)))/4