Optimal. Leaf size=20 \[ -x^2+x \left (3+e^{2 x}+5 x^2\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 37, normalized size of antiderivative = 1.85, number of steps used = 3, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {2176, 2194} \begin {gather*} 5 x^3-x^2+3 x-\frac {e^{2 x}}{2}+\frac {1}{2} e^{2 x} (2 x+1) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2176
Rule 2194
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=3 x-x^2+5 x^3+\int e^{2 x} (1+2 x) \, dx\\ &=3 x-x^2+5 x^3+\frac {1}{2} e^{2 x} (1+2 x)-\int e^{2 x} \, dx\\ &=-\frac {e^{2 x}}{2}+3 x-x^2+5 x^3+\frac {1}{2} e^{2 x} (1+2 x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 21, normalized size = 1.05 \begin {gather*} 3 x+e^{2 x} x-x^2+5 x^3 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.92, size = 20, normalized size = 1.00 \begin {gather*} 5 \, x^{3} - x^{2} + x e^{\left (2 \, x\right )} + 3 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.18, size = 20, normalized size = 1.00 \begin {gather*} 5 \, x^{3} - x^{2} + x e^{\left (2 \, x\right )} + 3 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 21, normalized size = 1.05
method | result | size |
default | \(3 x +x \,{\mathrm e}^{2 x}-x^{2}+5 x^{3}\) | \(21\) |
norman | \(3 x +x \,{\mathrm e}^{2 x}-x^{2}+5 x^{3}\) | \(21\) |
risch | \(3 x +x \,{\mathrm e}^{2 x}-x^{2}+5 x^{3}\) | \(21\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 20, normalized size = 1.00 \begin {gather*} 5 \, x^{3} - x^{2} + x e^{\left (2 \, x\right )} + 3 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 16, normalized size = 0.80 \begin {gather*} x\,\left ({\mathrm {e}}^{2\,x}-x+5\,x^2+3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.08, size = 17, normalized size = 0.85 \begin {gather*} 5 x^{3} - x^{2} + x e^{2 x} + 3 x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________