Optimal. Leaf size=19 \[ 2 e^{x^2} x-\frac {e^{x^2}}{x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.10, antiderivative size = 19, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {6742, 2214, 2204, 2212} \[ 2 e^{x^2} x-\frac {e^{x^2}}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2204
Rule 2212
Rule 2214
Rule 6742
Rubi steps
\begin {align*} \int \frac {e^{x^2} \left (1+4 x^4\right )}{x^2} \, dx &=\int \left (\frac {e^{x^2}}{x^2}+4 e^{x^2} x^2\right ) \, dx\\ &=4 \int e^{x^2} x^2 \, dx+\int \frac {e^{x^2}}{x^2} \, dx\\ &=-\frac {e^{x^2}}{x}+2 e^{x^2} x\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 16, normalized size = 0.84 \[ \frac {e^{x^2} \left (2 x^2-1\right )}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.39, size = 15, normalized size = 0.79 \[ \frac {{\left (2 \, x^{2} - 1\right )} e^{\left (x^{2}\right )}}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.21, size = 20, normalized size = 1.05 \[ \frac {2 \, x^{2} e^{\left (x^{2}\right )} - e^{\left (x^{2}\right )}}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 16, normalized size = 0.84 \[ \frac {\left (2 x^{2}-1\right ) {\mathrm e}^{x^{2}}}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [C] time = 0.74, size = 36, normalized size = 1.89 \[ 2 \, x e^{\left (x^{2}\right )} + i \, \sqrt {\pi } \operatorname {erf}\left (i \, x\right ) - \frac {\sqrt {-x^{2}} \Gamma \left (-\frac {1}{2}, -x^{2}\right )}{2 \, x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.07, size = 15, normalized size = 0.79 \[ \frac {{\mathrm {e}}^{x^2}\,\left (2\,x^2-1\right )}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 12, normalized size = 0.63 \[ \frac {\left (2 x^{2} - 1\right ) e^{x^{2}}}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________