Optimal. Leaf size=109 \[ \frac {3 x^2 \, _2F_2\left (1,1;\frac {3}{2},2;-b^2 x^2\right )}{4 \sqrt {\pi } b^3}+\frac {3 x^2}{4 \sqrt {\pi } b^3}-\frac {x^3 e^{-b^2 x^2} \text {erfi}(b x)}{2 b^2}-\frac {3 x e^{-b^2 x^2} \text {erfi}(b x)}{4 b^4}+\frac {x^4}{4 \sqrt {\pi } b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.10, antiderivative size = 109, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 3, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {6387, 6378, 30} \[ \frac {3 x^2 \, _2F_2\left (1,1;\frac {3}{2},2;-b^2 x^2\right )}{4 \sqrt {\pi } b^3}-\frac {x^3 e^{-b^2 x^2} \text {Erfi}(b x)}{2 b^2}-\frac {3 x e^{-b^2 x^2} \text {Erfi}(b x)}{4 b^4}+\frac {3 x^2}{4 \sqrt {\pi } b^3}+\frac {x^4}{4 \sqrt {\pi } b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 6378
Rule 6387
Rubi steps
\begin {align*} \int e^{-b^2 x^2} x^4 \text {erfi}(b x) \, dx &=-\frac {e^{-b^2 x^2} x^3 \text {erfi}(b x)}{2 b^2}+\frac {3 \int e^{-b^2 x^2} x^2 \text {erfi}(b x) \, dx}{2 b^2}+\frac {\int x^3 \, dx}{b \sqrt {\pi }}\\ &=\frac {x^4}{4 b \sqrt {\pi }}-\frac {3 e^{-b^2 x^2} x \text {erfi}(b x)}{4 b^4}-\frac {e^{-b^2 x^2} x^3 \text {erfi}(b x)}{2 b^2}+\frac {3 \int e^{-b^2 x^2} \text {erfi}(b x) \, dx}{4 b^4}+\frac {3 \int x \, dx}{2 b^3 \sqrt {\pi }}\\ &=\frac {3 x^2}{4 b^3 \sqrt {\pi }}+\frac {x^4}{4 b \sqrt {\pi }}-\frac {3 e^{-b^2 x^2} x \text {erfi}(b x)}{4 b^4}-\frac {e^{-b^2 x^2} x^3 \text {erfi}(b x)}{2 b^2}+\frac {3 x^2 \, _2F_2\left (1,1;\frac {3}{2},2;-b^2 x^2\right )}{4 b^3 \sqrt {\pi }}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 43, normalized size = 0.39 \[ \frac {x^2 \left (-\, _2F_2\left (1,1;-\frac {1}{2},2;-b^2 x^2\right )+b^2 x^2+1\right )}{4 \sqrt {\pi } b^3} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.45, size = 0, normalized size = 0.00 \[ {\rm integral}\left (x^{4} \operatorname {erfi}\left (b x\right ) e^{\left (-b^{2} x^{2}\right )}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{4} \operatorname {erfi}\left (b x\right ) e^{\left (-b^{2} x^{2}\right )}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.22, size = 0, normalized size = 0.00 \[ \int x^{4} \erfi \left (b x \right ) {\mathrm e}^{-b^{2} x^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{4} \operatorname {erfi}\left (b x\right ) e^{\left (-b^{2} x^{2}\right )}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int x^4\,{\mathrm {e}}^{-b^2\,x^2}\,\mathrm {erfi}\left (b\,x\right ) \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________