Optimal. Leaf size=13 \[ \frac {17 e^{-2/x}}{2}+x \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {14, 2209} \begin {gather*} x+\frac {17 e^{-2/x}}{2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2209
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (1+\frac {17 e^{-2/x}}{x^2}\right ) \, dx\\ &=x+17 \int \frac {e^{-2/x}}{x^2} \, dx\\ &=\frac {17 e^{-2/x}}{2}+x\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 13, normalized size = 1.00 \begin {gather*} \frac {17 e^{-2/x}}{2}+x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.72, size = 10, normalized size = 0.77 \begin {gather*} x + \frac {17}{2} \, e^{\left (-\frac {2}{x}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 16, normalized size = 1.23 \begin {gather*} \frac {1}{2} \, x {\left (\frac {17 \, e^{\left (-\frac {2}{x}\right )}}{x} + 2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.10, size = 11, normalized size = 0.85
method | result | size |
derivativedivides | \(x +\frac {17 \,{\mathrm e}^{-\frac {2}{x}}}{2}\) | \(11\) |
default | \(x +\frac {17 \,{\mathrm e}^{-\frac {2}{x}}}{2}\) | \(11\) |
risch | \(x +\frac {17 \,{\mathrm e}^{-\frac {2}{x}}}{2}\) | \(11\) |
norman | \(\frac {x^{2}+\frac {17 x \,{\mathrm e}^{-\frac {2}{x}}}{2}}{x}\) | \(18\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 10, normalized size = 0.77 \begin {gather*} x + \frac {17}{2} \, e^{\left (-\frac {2}{x}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.30, size = 10, normalized size = 0.77 \begin {gather*} x+\frac {17\,{\mathrm {e}}^{-\frac {2}{x}}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 8, normalized size = 0.62 \begin {gather*} x + \frac {17 e^{- \frac {2}{x}}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________