Optimal. Leaf size=18 \[ -x^2 \left (25+\left (3-e^{x^2}\right ) x\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.10, antiderivative size = 20, normalized size of antiderivative = 1.11, number of steps used = 9, number of rules used = 4, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {1593, 2226, 2212, 2204} \begin {gather*} -3 x^3-25 x^2+e^{x^2} x^3 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1593
Rule 2204
Rule 2212
Rule 2226
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=-25 x^2-3 x^3+\int e^{x^2} \left (3 x^2+2 x^4\right ) \, dx\\ &=-25 x^2-3 x^3+\int e^{x^2} x^2 \left (3+2 x^2\right ) \, dx\\ &=-25 x^2-3 x^3+\int \left (3 e^{x^2} x^2+2 e^{x^2} x^4\right ) \, dx\\ &=-25 x^2-3 x^3+2 \int e^{x^2} x^4 \, dx+3 \int e^{x^2} x^2 \, dx\\ &=\frac {3 e^{x^2} x}{2}-25 x^2-3 x^3+e^{x^2} x^3-\frac {3}{2} \int e^{x^2} \, dx-3 \int e^{x^2} x^2 \, dx\\ &=-25 x^2-3 x^3+e^{x^2} x^3-\frac {3}{4} \sqrt {\pi } \text {erfi}(x)+\frac {3}{2} \int e^{x^2} \, dx\\ &=-25 x^2-3 x^3+e^{x^2} x^3\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 15, normalized size = 0.83 \begin {gather*} x^2 \left (-25+\left (-3+e^{x^2}\right ) x\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.61, size = 19, normalized size = 1.06 \begin {gather*} x^{3} e^{\left (x^{2}\right )} - 3 \, x^{3} - 25 \, x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 19, normalized size = 1.06 \begin {gather*} x^{3} e^{\left (x^{2}\right )} - 3 \, x^{3} - 25 \, x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 20, normalized size = 1.11
method | result | size |
default | \(x^{3} {\mathrm e}^{x^{2}}-25 x^{2}-3 x^{3}\) | \(20\) |
norman | \(x^{3} {\mathrm e}^{x^{2}}-25 x^{2}-3 x^{3}\) | \(20\) |
risch | \(x^{3} {\mathrm e}^{x^{2}}-25 x^{2}-3 x^{3}\) | \(20\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.36, size = 19, normalized size = 1.06 \begin {gather*} x^{3} e^{\left (x^{2}\right )} - 3 \, x^{3} - 25 \, x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.44, size = 17, normalized size = 0.94 \begin {gather*} -x^2\,\left (3\,x-x\,{\mathrm {e}}^{x^2}+25\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 17, normalized size = 0.94 \begin {gather*} x^{3} e^{x^{2}} - 3 x^{3} - 25 x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________