Optimal. Leaf size=19 \[ 2 x \left (1+x+e^2 x-(2-x) x\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 21, normalized size of antiderivative = 1.11, number of steps used = 2, number of rules used = 1, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.062, Rules used = {6} \begin {gather*} 2 x^3-2 \left (1-e^2\right ) x^2+2 x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (2+\left (-4+4 e^2\right ) x+6 x^2\right ) \, dx\\ &=2 x-2 \left (1-e^2\right ) x^2+2 x^3\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 22, normalized size = 1.16 \begin {gather*} 2 x-2 x^2+2 e^2 x^2+2 x^3 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.64, size = 21, normalized size = 1.11 \begin {gather*} 2 \, x^{3} + 2 \, x^{2} e^{2} - 2 \, x^{2} + 2 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.19, size = 21, normalized size = 1.11 \begin {gather*} 2 \, x^{3} + 2 \, x^{2} e^{2} - 2 \, x^{2} + 2 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 16, normalized size = 0.84
method | result | size |
gosper | \(2 x \left ({\mathrm e}^{2} x +x^{2}-x +1\right )\) | \(16\) |
norman | \(\left (2 \,{\mathrm e}^{2}-2\right ) x^{2}+2 x +2 x^{3}\) | \(20\) |
default | \(2 x^{2} {\mathrm e}^{2}+2 x^{3}-2 x^{2}+2 x\) | \(22\) |
risch | \(2 x^{2} {\mathrm e}^{2}+2 x^{3}-2 x^{2}+2 x\) | \(22\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.36, size = 21, normalized size = 1.11 \begin {gather*} 2 \, x^{3} + 2 \, x^{2} e^{2} - 2 \, x^{2} + 2 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.03, size = 19, normalized size = 1.00 \begin {gather*} 2\,x^3+\left (2\,{\mathrm {e}}^2-2\right )\,x^2+2\,x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.05, size = 17, normalized size = 0.89 \begin {gather*} 2 x^{3} + x^{2} \left (-2 + 2 e^{2}\right ) + 2 x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________