Optimal. Leaf size=28 \[ e^{x^2}-e^{x^2} x^2+\frac {1}{2} e^{x^2} x^4 \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 28, normalized size of antiderivative = 1.00, 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 = {2243, 2240}
\begin {gather*} -e^{x^2} x^2+e^{x^2}+\frac {1}{2} e^{x^2} x^4 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2240
Rule 2243
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.02, size = 19, normalized size = 0.68 \begin {gather*} \frac {1}{2} e^{x^2} \left (2-2 x^2+x^4\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [A]
time = 1.74, size = 18, normalized size = 0.64 \begin {gather*} \left (1-x^2+\frac {x^4}{2}\right ) E^{x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 24, normalized size = 0.86
method | result | size |
gosper | \(\frac {\left (x^{4}-2 x^{2}+2\right ) {\mathrm e}^{x^{2}}}{2}\) | \(17\) |
risch | \(\left (\frac {1}{2} x^{4}-x^{2}+1\right ) {\mathrm e}^{x^{2}}\) | \(18\) |
meijerg | \(-1+\frac {\left (3 x^{4}-6 x^{2}+6\right ) {\mathrm e}^{x^{2}}}{6}\) | \(21\) |
default | \({\mathrm e}^{x^{2}}-{\mathrm e}^{x^{2}} x^{2}+\frac {{\mathrm e}^{x^{2}} x^{4}}{2}\) | \(24\) |
norman | \({\mathrm e}^{x^{2}}-{\mathrm e}^{x^{2}} x^{2}+\frac {{\mathrm e}^{x^{2}} x^{4}}{2}\) | \(24\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 16, normalized size = 0.57 \begin {gather*} \frac {1}{2} \, {\left (x^{4} - 2 \, x^{2} + 2\right )} e^{\left (x^{2}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.34, size = 16, normalized size = 0.57 \begin {gather*} \frac {1}{2} \, {\left (x^{4} - 2 \, x^{2} + 2\right )} e^{\left (x^{2}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.06, size = 15, normalized size = 0.54 \begin {gather*} \frac {\left (x^{4} - 2 x^{2} + 2\right ) e^{x^{2}}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 18, normalized size = 0.64 \begin {gather*} \frac {1}{2} \left (x^{4}-2 x^{2}+2\right ) \mathrm {e}^{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.03, size = 16, normalized size = 0.57 \begin {gather*} \frac {{\mathrm {e}}^{x^2}\,\left (x^4-2\,x^2+2\right )}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________