Optimal. Leaf size=39 \[ -\frac {1}{2} e^{-2 x^3-x^6} \left (1+x^3\right )+\frac {1}{4} e \sqrt {\pi } \text {erf}\left (1+x^3\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 39, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {12, 6847, 2269,
2266, 2236} \begin {gather*} \frac {1}{4} e \sqrt {\pi } \text {erf}\left (x^3+1\right )-\frac {1}{2} e^{-x^6-2 x^3} \left (x^3+1\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2236
Rule 2266
Rule 2269
Rule 6847
Rubi steps
\begin {gather*} \begin {aligned} \text {Integral} &=3 \int e^{-2 x^3-x^6} x^2 \left (1+x^3\right )^2 \, dx\\ &=\text {Subst}\left (\int e^{-2 x-x^2} (1+x)^2 \, dx,x,x^3\right )\\ &=-\frac {1}{2} e^{-2 x^3-x^6} \left (1+x^3\right )+\frac {1}{2} \text {Subst}\left (\int e^{-2 x-x^2} \, dx,x,x^3\right )\\ &=-\frac {1}{2} e^{-2 x^3-x^6} \left (1+x^3\right )+\frac {1}{2} e \text {Subst}\left (\int e^{-\frac {1}{4} (-2-2 x)^2} \, dx,x,x^3\right )\\ &=-\frac {1}{2} e^{-2 x^3-x^6} \left (1+x^3\right )+\frac {1}{4} e \sqrt {\pi } \text {erf}\left (1+x^3\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.33, size = 37, normalized size = 0.95 \begin {gather*} \frac {1}{4} \left (-2 e^{-x^3 \left (2+x^3\right )} \left (1+x^3\right )+e \sqrt {\pi } \text {erf}\left (1+x^3\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.00, size = 0, normalized size = 0.00 \[\int 3 x^{2} \left (x^{3}+1\right )^{2} {\mathrm e}^{-x^{6}-2 x^{3}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [C] Result contains complex when optimal does not.
time = 0.47, size = 137, normalized size = 3.51 \begin {gather*} \frac {1}{2} \, \sqrt {\pi } \operatorname {erf}\left (x^{3} + 1\right ) e + \frac {1}{2} i \, {\left (\frac {i \, {\left (x^{3} + 1\right )}^{3} \Gamma \left (\frac {3}{2}, {\left (x^{3} + 1\right )}^{2}\right )}{{\left ({\left (x^{3} + 1\right )}^{2}\right )}^{\frac {3}{2}}} - \frac {i \, \sqrt {\pi } {\left (x^{3} + 1\right )} {\left (\operatorname {erf}\left (\sqrt {{\left (x^{3} + 1\right )}^{2}}\right ) - 1\right )}}{\sqrt {{\left (x^{3} + 1\right )}^{2}}} - 2 i \, e^{\left (-{\left (x^{3} + 1\right )}^{2}\right )}\right )} e + i \, {\left (\frac {i \, \sqrt {\pi } {\left (x^{3} + 1\right )} {\left (\operatorname {erf}\left (\sqrt {{\left (x^{3} + 1\right )}^{2}}\right ) - 1\right )}}{\sqrt {{\left (x^{3} + 1\right )}^{2}}} + i \, e^{\left (-{\left (x^{3} + 1\right )}^{2}\right )}\right )} e \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.58, size = 33, normalized size = 0.85 \begin {gather*} \frac {1}{4} \, \sqrt {\pi } \operatorname {erf}\left (x^{3} + 1\right ) e - \frac {1}{2} \, {\left (x^{3} + 1\right )} e^{\left (-x^{6} - 2 \, x^{3}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} 3 \left (\int x^{2} e^{- 2 x^{3}} e^{- x^{6}}\, dx + \int 2 x^{5} e^{- 2 x^{3}} e^{- x^{6}}\, dx + \int x^{8} e^{- 2 x^{3}} e^{- x^{6}}\, dx\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.46, size = 33, normalized size = 0.85 \begin {gather*} \frac {1}{4} \, \sqrt {\pi } \operatorname {erf}\left (x^{3} + 1\right ) e - \frac {1}{2} \, {\left (x^{3} + 1\right )} e^{\left (-x^{6} - 2 \, x^{3}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.31, size = 45, normalized size = 1.15 \begin {gather*} \frac {\sqrt {\pi }\,\mathrm {e}\,\mathrm {erf}\left (x^3+1\right )}{4}-\frac {x^3\,{\mathrm {e}}^{-x^6-2\,x^3}}{2}-\frac {{\mathrm {e}}^{-x^6-2\,x^3}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Chatgpt [F] Failed to verify
time = 1.00, size = 36, normalized size = 0.92 \begin {gather*} -\frac {\left (x^{3}+1\right )^{2} {\mathrm e}^{-x^{6}-2 x^{3}}}{2}-{\mathrm e}^{-x^{6}-2 x^{3}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________