Optimal. Leaf size=30 \[ x+x^2-\frac {-e^{\frac {1}{5} \left (2+e^3\right )}-\frac {3}{x}+x}{x^2} \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 30, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.032, Rules used = {14} \begin {gather*} \frac {3}{x^3}+x^2+\frac {e^{\frac {1}{5} \left (2+e^3\right )}}{x^2}+x-\frac {1}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (1-\frac {9}{x^4}-\frac {2 e^{\frac {2}{5}+\frac {e^3}{5}}}{x^3}+\frac {1}{x^2}+2 x\right ) \, dx\\ &=\frac {3}{x^3}+\frac {e^{\frac {1}{5} \left (2+e^3\right )}}{x^2}-\frac {1}{x}+x+x^2\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 30, normalized size = 1.00 \begin {gather*} \frac {3}{x^3}+\frac {e^{\frac {1}{5} \left (2+e^3\right )}}{x^2}-\frac {1}{x}+x+x^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.44, size = 26, normalized size = 0.87 \begin {gather*} \frac {x^{5} + x^{4} - x^{2} + x e^{\left (\frac {1}{5} \, e^{3} + \frac {2}{5}\right )} + 3}{x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 25, normalized size = 0.83 \begin {gather*} x^{2} + x - \frac {x^{2} - x e^{\left (\frac {1}{5} \, e^{3} + \frac {2}{5}\right )} - 3}{x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.10, size = 26, normalized size = 0.87
method | result | size |
risch | \(x^{2}+x +\frac {-x^{2}+x \,{\mathrm e}^{\frac {2}{5}+\frac {{\mathrm e}^{3}}{5}}+3}{x^{3}}\) | \(26\) |
gosper | \(\frac {x^{5}+x^{4}+x \,{\mathrm e}^{\frac {2}{5}+\frac {{\mathrm e}^{3}}{5}}-x^{2}+3}{x^{3}}\) | \(27\) |
default | \(x^{2}+x +\frac {{\mathrm e}^{\frac {2}{5}+\frac {{\mathrm e}^{3}}{5}}}{x^{2}}-\frac {1}{x}+\frac {3}{x^{3}}\) | \(27\) |
norman | \(\frac {3+x^{4}+x^{5}+{\mathrm e}^{\frac {2}{5}} {\mathrm e}^{\frac {{\mathrm e}^{3}}{5}} x -x^{2}}{x^{3}}\) | \(27\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 25, normalized size = 0.83 \begin {gather*} x^{2} + x - \frac {x^{2} - x e^{\left (\frac {1}{5} \, e^{3} + \frac {2}{5}\right )} - 3}{x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 8.27, size = 26, normalized size = 0.87 \begin {gather*} \frac {x^5+x^4-x^2+{\mathrm {e}}^{\frac {{\mathrm {e}}^3}{5}+\frac {2}{5}}\,x+3}{x^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.27, size = 26, normalized size = 0.87 \begin {gather*} x^{2} + x + \frac {- x^{2} + x e^{\frac {2}{5}} e^{\frac {e^{3}}{5}} + 3}{x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________