Optimal. Leaf size=28 \[ -\frac {1}{4} e^{-x^4} x^2+\frac {1}{8} \sqrt {\pi } \text {erf}\left (x^2\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 28, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.273, Rules used = {2243, 2242,
2236} \begin {gather*} \frac {1}{8} \sqrt {\pi } \text {erf}\left (x^2\right )-\frac {1}{4} e^{-x^4} x^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2236
Rule 2242
Rule 2243
Rubi steps
\begin {gather*} \begin {aligned} \text {Integral} &=-\frac {1}{4} e^{-x^4} x^2+\frac {1}{2} \int e^{-x^4} x \, dx\\ &=-\frac {1}{4} e^{-x^4} x^2+\frac {1}{4} \text {Subst}\left (\int e^{-x^2} \, dx,x,x^2\right )\\ &=-\frac {1}{4} e^{-x^4} x^2+\frac {1}{8} \sqrt {\pi } \text {erf}\left (x^2\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 28, normalized size = 1.00 \begin {gather*} -\frac {1}{4} e^{-x^4} x^2+\frac {1}{8} \sqrt {\pi } \text {erf}\left (x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 22, normalized size = 0.79
method | result | size |
meijerg | \(-\frac {x^{2} {\mathrm e}^{-x^{4}}}{4}+\frac {\sqrt {\pi }\, \erf \left (x^{2}\right )}{8}\) | \(22\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.35, size = 21, normalized size = 0.75 \begin {gather*} -\frac {1}{4} \, x^{2} e^{\left (-x^{4}\right )} + \frac {1}{8} \, \sqrt {\pi } \operatorname {erf}\left (x^{2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.59, size = 21, normalized size = 0.75 \begin {gather*} -\frac {1}{4} \, x^{2} e^{\left (-x^{4}\right )} + \frac {1}{8} \, \sqrt {\pi } \operatorname {erf}\left (x^{2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.58, size = 20, normalized size = 0.71 \begin {gather*} - \frac {x^{2} e^{- x^{4}}}{4} + \frac {\sqrt {\pi } \operatorname {erf}{\left (x^{2} \right )}}{8} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.50, size = 35, normalized size = 1.25 \begin {gather*} -\frac {\sqrt {\pi } {\left (\frac {2 \, \sqrt {x^{4}} e^{\left (-x^{4}\right )}}{\sqrt {\pi }} - \operatorname {erf}\left (\sqrt {x^{4}}\right )\right )} {\left | x \right |}}{8 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.11, size = 21, normalized size = 0.75 \begin {gather*} \frac {\sqrt {\pi }\,\mathrm {erf}\left (x^2\right )}{8}-\frac {x^2\,{\mathrm {e}}^{-x^4}}{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Chatgpt [F] Failed to verify
time = 1.00, size = 23, normalized size = 0.82 \begin {gather*} -\frac {x^{4} {\mathrm e}^{-x^{4}}}{4}-\frac {5 x^{\frac {1}{4}} {\mathrm e}^{-x^{4}}}{16} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________