Optimal. Leaf size=22 \[ 2 e^x+\frac {e^{2 x}}{2}+\frac {x^3}{3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 1, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.071, Rules used = {2225}
\begin {gather*} \frac {x^3}{3}+2 e^x+\frac {e^{2 x}}{2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2225
Rubi steps
\begin {align*} \int \left (2 e^x+e^{2 x}+x^2\right ) \, dx &=\frac {x^3}{3}+2 \int e^x \, dx+\int e^{2 x} \, dx\\ &=2 e^x+\frac {e^{2 x}}{2}+\frac {x^3}{3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 22, normalized size = 1.00 \begin {gather*} 2 e^x+\frac {e^{2 x}}{2}+\frac {x^3}{3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [A]
time = 1.84, size = 18, normalized size = 0.82 \begin {gather*} \frac {x^3}{3}+\frac {E^{2 x}}{2}+2 E^x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 17, normalized size = 0.77
method | result | size |
default | \(2 \,{\mathrm e}^{x}+\frac {{\mathrm e}^{2 x}}{2}+\frac {x^{3}}{3}\) | \(17\) |
norman | \(2 \,{\mathrm e}^{x}+\frac {{\mathrm e}^{2 x}}{2}+\frac {x^{3}}{3}\) | \(17\) |
risch | \(2 \,{\mathrm e}^{x}+\frac {{\mathrm e}^{2 x}}{2}+\frac {x^{3}}{3}\) | \(17\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 16, normalized size = 0.73 \begin {gather*} \frac {1}{3} \, x^{3} + \frac {1}{2} \, e^{\left (2 \, x\right )} + 2 \, e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.32, size = 16, normalized size = 0.73 \begin {gather*} \frac {1}{3} \, x^{3} + \frac {1}{2} \, e^{\left (2 \, x\right )} + 2 \, e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.05, size = 15, normalized size = 0.68 \begin {gather*} \frac {x^{3}}{3} + \frac {e^{2 x}}{2} + 2 e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 18, normalized size = 0.82 \begin {gather*} 2 \mathrm {e}^{x}+\frac {\mathrm {e}^{2 x}}{2}+\frac {x^{3}}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.05, size = 16, normalized size = 0.73 \begin {gather*} \frac {{\mathrm {e}}^{2\,x}}{2}+2\,{\mathrm {e}}^x+\frac {x^3}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________