Optimal. Leaf size=28 \[ \frac{1}{2} e^{x^2} x^4-e^{x^2} x^2+e^{x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0337833, antiderivative size = 28, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 9, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.222, Rules used = {2212, 2209} \[ \frac{1}{2} e^{x^2} x^4-e^{x^2} x^2+e^{x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2212
Rule 2209
Rubi steps
\begin{align*} \int e^{x^2} x^5 \, dx &=\frac{1}{2} e^{x^2} x^4-2 \int e^{x^2} x^3 \, dx\\ &=-e^{x^2} x^2+\frac{1}{2} e^{x^2} x^4+2 \int e^{x^2} x \, dx\\ &=e^{x^2}-e^{x^2} x^2+\frac{1}{2} e^{x^2} x^4\\ \end{align*}
Mathematica [A] time = 0.0021054, size = 19, normalized size = 0.68 \[ \frac{1}{2} e^{x^2} \left (x^4-2 x^2+2\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.001, size = 17, normalized size = 0.6 \begin{align*}{\frac{ \left ({x}^{4}-2\,{x}^{2}+2 \right ){{\rm e}^{{x}^{2}}}}{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.943267, size = 22, normalized size = 0.79 \begin{align*} \frac{1}{2} \,{\left (x^{4} - 2 \, x^{2} + 2\right )} e^{\left (x^{2}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.28847, size = 42, normalized size = 1.5 \begin{align*} \frac{1}{2} \,{\left (x^{4} - 2 \, x^{2} + 2\right )} e^{\left (x^{2}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.084731, size = 15, normalized size = 0.54 \begin{align*} \frac{\left (x^{4} - 2 x^{2} + 2\right ) e^{x^{2}}}{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.066, size = 22, normalized size = 0.79 \begin{align*} \frac{1}{2} \,{\left (x^{4} - 2 \, x^{2} + 2\right )} e^{\left (x^{2}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]