Optimal. Leaf size=25 \[ e^4-e^{e^2}+(2 e+x) \left (4-x+x^2\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.00, antiderivative size = 24, normalized size of antiderivative = 0.96, number of steps used = 1, number of rules used = 0, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} x^3-x^2+4 x+\frac {1}{2} e (1-2 x)^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{2} e (1-2 x)^2+4 x-x^2+x^3\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 22, normalized size = 0.88 \begin {gather*} 4 x-2 e x-x^2+2 e x^2+x^3 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.59, size = 23, normalized size = 0.92 \begin {gather*} x^{3} - x^{2} + 2 \, {\left (x^{2} - x\right )} e + 4 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.13, size = 23, normalized size = 0.92 \begin {gather*} x^{3} - x^{2} + 2 \, {\left (x^{2} - x\right )} e + 4 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 20, normalized size = 0.80
method | result | size |
gosper | \(x \left (2 x \,{\mathrm e}+x^{2}-2 \,{\mathrm e}-x +4\right )\) | \(20\) |
norman | \(x^{3}+\left (2 \,{\mathrm e}-1\right ) x^{2}+\left (-2 \,{\mathrm e}+4\right ) x\) | \(23\) |
default | \({\mathrm e} \left (2 x^{2}-2 x \right )+x^{3}-x^{2}+4 x\) | \(25\) |
risch | \(2 x^{2} {\mathrm e}-2 x \,{\mathrm e}+x^{3}-x^{2}+4 x\) | \(25\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 23, normalized size = 0.92 \begin {gather*} x^{3} - x^{2} + 2 \, {\left (x^{2} - x\right )} e + 4 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 7.22, size = 23, normalized size = 0.92 \begin {gather*} x^3+\left (2\,\mathrm {e}-1\right )\,x^2+\left (4-2\,\mathrm {e}\right )\,x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.05, size = 20, normalized size = 0.80 \begin {gather*} x^{3} + x^{2} \left (-1 + 2 e\right ) + x \left (4 - 2 e\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________