Optimal. Leaf size=16 \[ -5+e^{-3 \left (2-\frac {3}{x}+x\right )} x \]
________________________________________________________________________________________
Rubi [B] time = 0.07, antiderivative size = 51, normalized size of antiderivative = 3.19, number of steps used = 1, number of rules used = 1, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.034, Rules used = {2288} \begin {gather*} \frac {e^{\frac {3 \left (-x^2-2 x+3\right )}{x}} \left (x^2+3\right )}{x \left (\frac {-x^2-2 x+3}{x^2}+\frac {2 (x+1)}{x}\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2288
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {e^{\frac {3 \left (3-2 x-x^2\right )}{x}} \left (3+x^2\right )}{x \left (\frac {2 (1+x)}{x}+\frac {3-2 x-x^2}{x^2}\right )}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 14, normalized size = 0.88 \begin {gather*} e^{-6+\frac {9}{x}-3 x} x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.56, size = 16, normalized size = 1.00 \begin {gather*} x e^{\left (-\frac {3 \, {\left (x^{2} + 2 \, x - 3\right )}}{x}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.13, size = 16, normalized size = 1.00 \begin {gather*} x e^{\left (-\frac {3 \, {\left (x^{2} + 2 \, x - 3\right )}}{x}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.17, size = 15, normalized size = 0.94
method | result | size |
risch | \(x \,{\mathrm e}^{-\frac {3 \left (3+x \right ) \left (x -1\right )}{x}}\) | \(15\) |
gosper | \(x \,{\mathrm e}^{-\frac {3 \left (x^{2}+2 x -3\right )}{x}}\) | \(19\) |
norman | \(x \,{\mathrm e}^{-\frac {3 x^{2}+6 x -9}{x}}\) | \(20\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.51, size = 13, normalized size = 0.81 \begin {gather*} x e^{\left (-3 \, x + \frac {9}{x} - 6\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.26, size = 14, normalized size = 0.88 \begin {gather*} x\,{\mathrm {e}}^{-3\,x}\,{\mathrm {e}}^{-6}\,{\mathrm {e}}^{9/x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.12, size = 14, normalized size = 0.88 \begin {gather*} x e^{- \frac {3 x^{2} + 6 x - 9}{x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________