Optimal. Leaf size=23 \[ x \left (3+x^2-\frac {4 e^{-x^2} \log (4)}{3 x}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 20, normalized size of antiderivative = 0.87, number of steps used = 4, number of rules used = 3, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {12, 6688, 2209} \begin {gather*} x^3-\frac {4}{3} e^{-x^2} \log (4)+3 x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2209
Rule 6688
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{3} \int e^{-x^2} \left (e^{x^2} \left (9+9 x^2\right )+8 x \log (4)\right ) \, dx\\ &=\frac {1}{3} \int \left (9+9 x^2+8 e^{-x^2} x \log (4)\right ) \, dx\\ &=3 x+x^3+\frac {1}{3} (8 \log (4)) \int e^{-x^2} x \, dx\\ &=3 x+x^3-\frac {4}{3} e^{-x^2} \log (4)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 20, normalized size = 0.87 \begin {gather*} 3 x+x^3-\frac {4}{3} e^{-x^2} \log (4) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.66, size = 26, normalized size = 1.13 \begin {gather*} \frac {1}{3} \, {\left (3 \, {\left (x^{3} + 3 \, x\right )} e^{\left (x^{2}\right )} - 8 \, \log \relax (2)\right )} e^{\left (-x^{2}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.12, size = 17, normalized size = 0.74 \begin {gather*} x^{3} - \frac {8}{3} \, e^{\left (-x^{2}\right )} \log \relax (2) + 3 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 18, normalized size = 0.78
method | result | size |
default | \(x^{3}+3 x -\frac {8 \ln \relax (2) {\mathrm e}^{-x^{2}}}{3}\) | \(18\) |
risch | \(x^{3}+3 x -\frac {8 \ln \relax (2) {\mathrm e}^{-x^{2}}}{3}\) | \(18\) |
norman | \(\left (x^{3} {\mathrm e}^{x^{2}}+3 \,{\mathrm e}^{x^{2}} x -\frac {8 \ln \relax (2)}{3}\right ) {\mathrm e}^{-x^{2}}\) | \(28\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 17, normalized size = 0.74 \begin {gather*} x^{3} - \frac {8}{3} \, e^{\left (-x^{2}\right )} \log \relax (2) + 3 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.08, size = 17, normalized size = 0.74 \begin {gather*} 3\,x-\frac {8\,{\mathrm {e}}^{-x^2}\,\ln \relax (2)}{3}+x^3 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.10, size = 17, normalized size = 0.74 \begin {gather*} x^{3} + 3 x - \frac {8 e^{- x^{2}} \log {\relax (2 )}}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________