Optimal. Leaf size=22 \[ e^{\frac {-2-x-x^2+\log (x)}{x}} x^2 \]
________________________________________________________________________________________
Rubi [B] time = 0.04, antiderivative size = 63, normalized size of antiderivative = 2.86, number of steps used = 1, number of rules used = 1, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.030, Rules used = {2288} \begin {gather*} -\frac {e^{-\frac {x^2+x+2}{x}} x^{\frac {1}{x}} \left (-x^2-\log (x)+3\right )}{\frac {2 x-\frac {1}{x}+1}{x}-\frac {x^2+x-\log (x)+2}{x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2288
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=-\frac {e^{-\frac {2+x+x^2}{x}} x^{\frac {1}{x}} \left (3-x^2-\log (x)\right )}{\frac {1-\frac {1}{x}+2 x}{x}-\frac {2+x+x^2-\log (x)}{x^2}}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.36, size = 20, normalized size = 0.91 \begin {gather*} e^{-1-\frac {2}{x}-x} x^{2+\frac {1}{x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.10, size = 20, normalized size = 0.91 \begin {gather*} x^{2} e^{\left (-\frac {x^{2} + x - \log \relax (x) + 2}{x}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.22, size = 20, normalized size = 0.91 \begin {gather*} x^{2} e^{\left (-\frac {x^{2} + x - \log \relax (x) + 2}{x}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 22, normalized size = 1.00
method | result | size |
norman | \({\mathrm e}^{\frac {\ln \relax (x )-x^{2}-x -2}{x}} x^{2}\) | \(22\) |
risch | \({\mathrm e}^{\frac {\ln \relax (x )-x^{2}-x -2}{x}} x^{2}\) | \(22\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.43, size = 21, normalized size = 0.95 \begin {gather*} x^{2} e^{\left (-x + \frac {\log \relax (x)}{x} - \frac {2}{x} - 1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.35, size = 20, normalized size = 0.91 \begin {gather*} x^{\frac {1}{x}+2}\,{\mathrm {e}}^{-x}\,{\mathrm {e}}^{-1}\,{\mathrm {e}}^{-\frac {2}{x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.32, size = 15, normalized size = 0.68 \begin {gather*} x^{2} e^{\frac {- x^{2} - x + \log {\relax (x )} - 2}{x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________