Optimal. Leaf size=21 \[ 5+2 x+e^{4+2 x^2} x+25 x^2 \]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 20, normalized size of antiderivative = 0.95, number of steps used = 6, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {2226, 2204, 2212} \begin {gather*} 25 x^2+e^{2 x^2+4} x+2 x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2204
Rule 2212
Rule 2226
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=2 x+25 x^2+\int e^{4+2 x^2} \left (1+4 x^2\right ) \, dx\\ &=2 x+25 x^2+\int \left (e^{4+2 x^2}+4 e^{4+2 x^2} x^2\right ) \, dx\\ &=2 x+25 x^2+4 \int e^{4+2 x^2} x^2 \, dx+\int e^{4+2 x^2} \, dx\\ &=2 x+e^{4+2 x^2} x+25 x^2+\frac {1}{2} e^4 \sqrt {\frac {\pi }{2}} \text {erfi}\left (\sqrt {2} x\right )-\int e^{4+2 x^2} \, dx\\ &=2 x+e^{4+2 x^2} x+25 x^2\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 20, normalized size = 0.95 \begin {gather*} 2 x+e^{4+2 x^2} x+25 x^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.62, size = 19, normalized size = 0.90 \begin {gather*} 25 \, x^{2} + x e^{\left (2 \, x^{2} + 4\right )} + 2 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.18, size = 19, normalized size = 0.90 \begin {gather*} 25 \, x^{2} + x e^{\left (2 \, x^{2} + 4\right )} + 2 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 20, normalized size = 0.95
method | result | size |
norman | \(x \,{\mathrm e}^{2 x^{2}+4}+2 x +25 x^{2}\) | \(20\) |
risch | \(x \,{\mathrm e}^{2 x^{2}+4}+2 x +25 x^{2}\) | \(20\) |
default | \(2 x +\frac {{\mathrm e}^{4} \sqrt {2}\, \sqrt {\pi }\, \erfi \left (\sqrt {2}\, x \right )}{4}+4 \,{\mathrm e}^{4} \left (\frac {x \,{\mathrm e}^{2 x^{2}}}{4}-\frac {\sqrt {2}\, \sqrt {\pi }\, \erfi \left (\sqrt {2}\, x \right )}{16}\right )+25 x^{2}\) | \(58\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.38, size = 19, normalized size = 0.90 \begin {gather*} 25 \, x^{2} + x e^{\left (2 \, x^{2} + 4\right )} + 2 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.07, size = 15, normalized size = 0.71 \begin {gather*} x\,\left (25\,x+{\mathrm {e}}^{2\,x^2+4}+2\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.08, size = 17, normalized size = 0.81 \begin {gather*} 25 x^{2} + x e^{2 x^{2} + 4} + 2 x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________