Optimal. Leaf size=19 \[ 9 \left (-3+e^x+e^{x \left (\frac {1}{x^2}+x\right )}-x\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.12, antiderivative size = 20, normalized size of antiderivative = 1.05, number of steps used = 5, number of rules used = 3, integrand size = 37, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.081, Rules used = {14, 2194, 6706} \begin {gather*} 9 e^{x^2+\frac {1}{x}}-9 x+9 e^x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2194
Rule 6706
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (9 \left (-1+e^x\right )+\frac {9 e^{\frac {1}{x}+x^2} \left (-1+2 x^3\right )}{x^2}\right ) \, dx\\ &=9 \int \left (-1+e^x\right ) \, dx+9 \int \frac {e^{\frac {1}{x}+x^2} \left (-1+2 x^3\right )}{x^2} \, dx\\ &=9 e^{\frac {1}{x}+x^2}-9 x+9 \int e^x \, dx\\ &=9 e^x+9 e^{\frac {1}{x}+x^2}-9 x\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 18, normalized size = 0.95 \begin {gather*} 9 \left (e^x+e^{\frac {1}{x}+x^2}-x\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.69, size = 20, normalized size = 1.05 \begin {gather*} -9 \, x + 9 \, e^{x} + 9 \, e^{\left (\frac {x^{3} + 1}{x}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.25, size = 20, normalized size = 1.05 \begin {gather*} -9 \, x + 9 \, e^{x} + 9 \, e^{\left (\frac {x^{3} + 1}{x}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.09, size = 27, normalized size = 1.42
method | result | size |
risch | \(-9 x +9 \,{\mathrm e}^{x}+9 \,{\mathrm e}^{\frac {\left (x +1\right ) \left (x^{2}-x +1\right )}{x}}\) | \(27\) |
norman | \(\frac {-9 x^{2}+9 \,{\mathrm e}^{x} x +9 \,{\mathrm e}^{\frac {x^{3}+1}{x}} x}{x}\) | \(29\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.38, size = 18, normalized size = 0.95 \begin {gather*} -9 \, x + 9 \, e^{\left (x^{2} + \frac {1}{x}\right )} + 9 \, e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.23, size = 18, normalized size = 0.95 \begin {gather*} 9\,{\mathrm {e}}^{\frac {1}{x}+x^2}-9\,x+9\,{\mathrm {e}}^x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.19, size = 17, normalized size = 0.89 \begin {gather*} - 9 x + 9 e^{x} + 9 e^{\frac {x^{3} + 1}{x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________