Optimal. Leaf size=17 \[ \left (e^{\frac {1}{x}}-\frac {1}{5 x}\right ) x^2 \]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 15, normalized size of antiderivative = 0.88, number of steps used = 9, number of rules used = 5, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.294, Rules used = {12, 2226, 2206, 2210, 2214} \begin {gather*} e^{\frac {1}{x}} x^2-\frac {x}{5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2206
Rule 2210
Rule 2214
Rule 2226
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{5} \int \left (-1+e^{\frac {1}{x}} (-5+10 x)\right ) \, dx\\ &=-\frac {x}{5}+\frac {1}{5} \int e^{\frac {1}{x}} (-5+10 x) \, dx\\ &=-\frac {x}{5}+\frac {1}{5} \int \left (-5 e^{\frac {1}{x}}+10 e^{\frac {1}{x}} x\right ) \, dx\\ &=-\frac {x}{5}+2 \int e^{\frac {1}{x}} x \, dx-\int e^{\frac {1}{x}} \, dx\\ &=-\frac {x}{5}-e^{\frac {1}{x}} x+e^{\frac {1}{x}} x^2+\int e^{\frac {1}{x}} \, dx-\int \frac {e^{\frac {1}{x}}}{x} \, dx\\ &=-\frac {x}{5}+e^{\frac {1}{x}} x^2+\text {Ei}\left (\frac {1}{x}\right )+\int \frac {e^{\frac {1}{x}}}{x} \, dx\\ &=-\frac {x}{5}+e^{\frac {1}{x}} x^2\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 15, normalized size = 0.88 \begin {gather*} -\frac {x}{5}+e^{\frac {1}{x}} x^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.85, size = 12, normalized size = 0.71 \begin {gather*} x^{2} e^{\frac {1}{x}} - \frac {1}{5} \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.38, size = 12, normalized size = 0.71 \begin {gather*} x^{2} e^{\frac {1}{x}} - \frac {1}{5} \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 13, normalized size = 0.76
method | result | size |
derivativedivides | \(-\frac {x}{5}+x^{2} {\mathrm e}^{\frac {1}{x}}\) | \(13\) |
default | \(-\frac {x}{5}+x^{2} {\mathrm e}^{\frac {1}{x}}\) | \(13\) |
norman | \(-\frac {x}{5}+x^{2} {\mathrm e}^{\frac {1}{x}}\) | \(13\) |
risch | \(-\frac {x}{5}+x^{2} {\mathrm e}^{\frac {1}{x}}\) | \(13\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [C] time = 0.73, size = 20, normalized size = 1.18 \begin {gather*} -\frac {1}{5} \, x + \Gamma \left (-1, -\frac {1}{x}\right ) + 2 \, \Gamma \left (-2, -\frac {1}{x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.12, size = 12, normalized size = 0.71 \begin {gather*} x^2\,{\mathrm {e}}^{1/x}-\frac {x}{5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 10, normalized size = 0.59 \begin {gather*} x^{2} e^{\frac {1}{x}} - \frac {x}{5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________