Optimal. Leaf size=21 \[ e^x-\left (-5+(-1+x)^2-x\right )^2+2 x \]
________________________________________________________________________________________
Rubi [A] time = 0.00, antiderivative size = 22, normalized size of antiderivative = 1.05, number of steps used = 2, number of rules used = 1, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {2194} \begin {gather*} -x^4+6 x^3-x^2-22 x+e^x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2194
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=-22 x-x^2+6 x^3-x^4+\int e^x \, dx\\ &=e^x-22 x-x^2+6 x^3-x^4\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 22, normalized size = 1.05 \begin {gather*} e^x-22 x-x^2+6 x^3-x^4 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.60, size = 21, normalized size = 1.00 \begin {gather*} -x^{4} + 6 \, x^{3} - x^{2} - 22 \, x + e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 21, normalized size = 1.00 \begin {gather*} -x^{4} + 6 \, x^{3} - x^{2} - 22 \, x + e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 22, normalized size = 1.05
method | result | size |
default | \(-x^{4}+6 x^{3}-x^{2}-22 x +{\mathrm e}^{x}\) | \(22\) |
norman | \(-x^{4}+6 x^{3}-x^{2}-22 x +{\mathrm e}^{x}\) | \(22\) |
risch | \(-x^{4}+6 x^{3}-x^{2}-22 x +{\mathrm e}^{x}\) | \(22\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 21, normalized size = 1.00 \begin {gather*} -x^{4} + 6 \, x^{3} - x^{2} - 22 \, x + e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.06, size = 21, normalized size = 1.00 \begin {gather*} {\mathrm {e}}^x-22\,x-x^2+6\,x^3-x^4 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.08, size = 17, normalized size = 0.81 \begin {gather*} - x^{4} + 6 x^{3} - x^{2} - 22 x + e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________