Optimal. Leaf size=17 \[ e^{\frac {x}{x+\frac {x+x^2}{x^2}}} \]
________________________________________________________________________________________
Rubi [A] time = 0.32, antiderivative size = 14, normalized size of antiderivative = 0.82, number of steps used = 3, number of rules used = 3, integrand size = 42, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.071, Rules used = {1593, 6688, 6706} \begin {gather*} e^{\frac {x^2}{x^2+x+1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1593
Rule 6688
Rule 6706
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {e^{\frac {x^2}{1+x+x^2}} x (2+x)}{1+2 x+3 x^2+2 x^3+x^4} \, dx\\ &=\int \frac {e^{\frac {x^2}{1+x+x^2}} x (2+x)}{\left (1+x+x^2\right )^2} \, dx\\ &=e^{\frac {x^2}{1+x+x^2}}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.26, size = 14, normalized size = 0.82 \begin {gather*} e^{\frac {x^2}{1+x+x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.83, size = 13, normalized size = 0.76 \begin {gather*} e^{\left (\frac {x^{2}}{x^{2} + x + 1}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 4.84, size = 13, normalized size = 0.76 \begin {gather*} e^{\left (\frac {x^{2}}{x^{2} + x + 1}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 14, normalized size = 0.82
method | result | size |
gosper | \({\mathrm e}^{\frac {x^{2}}{x^{2}+x +1}}\) | \(14\) |
risch | \({\mathrm e}^{\frac {x^{2}}{x^{2}+x +1}}\) | \(14\) |
norman | \(\frac {x \,{\mathrm e}^{\frac {x^{2}}{x^{2}+x +1}}+x^{2} {\mathrm e}^{\frac {x^{2}}{x^{2}+x +1}}+{\mathrm e}^{\frac {x^{2}}{x^{2}+x +1}}}{x^{2}+x +1}\) | \(56\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.84, size = 24, normalized size = 1.41 \begin {gather*} e^{\left (-\frac {x}{x^{2} + x + 1} - \frac {1}{x^{2} + x + 1} + 1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.19, size = 13, normalized size = 0.76 \begin {gather*} {\mathrm {e}}^{\frac {x^2}{x^2+x+1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.16, size = 10, normalized size = 0.59 \begin {gather*} e^{\frac {x^{2}}{x^{2} + x + 1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________