Optimal. Leaf size=97 \[ \frac{x^2 e^{b^2 x^2+c} \text{Erfi}(b x)}{2 b^2}-\frac{e^{b^2 x^2+c} \text{Erfi}(b x)}{2 b^4}+\frac{5 e^c \text{Erfi}\left (\sqrt{2} b x\right )}{8 \sqrt{2} b^4}-\frac{x e^{2 b^2 x^2+c}}{4 \sqrt{\pi } b^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.114576, antiderivative size = 97, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.21, Rules used = {6387, 6384, 2204, 2212} \[ \frac{x^2 e^{b^2 x^2+c} \text{Erfi}(b x)}{2 b^2}-\frac{e^{b^2 x^2+c} \text{Erfi}(b x)}{2 b^4}+\frac{5 e^c \text{Erfi}\left (\sqrt{2} b x\right )}{8 \sqrt{2} b^4}-\frac{x e^{2 b^2 x^2+c}}{4 \sqrt{\pi } b^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6387
Rule 6384
Rule 2204
Rule 2212
Rubi steps
\begin{align*} \int e^{c+b^2 x^2} x^3 \text{erfi}(b x) \, dx &=\frac{e^{c+b^2 x^2} x^2 \text{erfi}(b x)}{2 b^2}-\frac{\int e^{c+b^2 x^2} x \text{erfi}(b x) \, dx}{b^2}-\frac{\int e^{c+2 b^2 x^2} x^2 \, dx}{b \sqrt{\pi }}\\ &=-\frac{e^{c+2 b^2 x^2} x}{4 b^3 \sqrt{\pi }}-\frac{e^{c+b^2 x^2} \text{erfi}(b x)}{2 b^4}+\frac{e^{c+b^2 x^2} x^2 \text{erfi}(b x)}{2 b^2}+\frac{\int e^{c+2 b^2 x^2} \, dx}{4 b^3 \sqrt{\pi }}+\frac{\int e^{c+2 b^2 x^2} \, dx}{b^3 \sqrt{\pi }}\\ &=-\frac{e^{c+2 b^2 x^2} x}{4 b^3 \sqrt{\pi }}-\frac{e^{c+b^2 x^2} \text{erfi}(b x)}{2 b^4}+\frac{e^{c+b^2 x^2} x^2 \text{erfi}(b x)}{2 b^2}+\frac{5 e^c \text{erfi}\left (\sqrt{2} b x\right )}{8 \sqrt{2} b^4}\\ \end{align*}
Mathematica [A] time = 0.0379454, size = 77, normalized size = 0.79 \[ \frac{e^c \left (8 \sqrt{\pi } e^{b^2 x^2} \left (b^2 x^2-1\right ) \text{Erfi}(b x)-4 b x e^{2 b^2 x^2}+5 \sqrt{2 \pi } \text{Erfi}\left (\sqrt{2} b x\right )\right )}{16 \sqrt{\pi } b^4} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.227, size = 0, normalized size = 0. \begin{align*} \int{{\rm e}^{{b}^{2}{x}^{2}+c}}{x}^{3}{\it erfi} \left ( bx \right ) \, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{3} \operatorname{erfi}\left (b x\right ) e^{\left (b^{2} x^{2} + c\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.66692, size = 213, normalized size = 2.2 \begin{align*} -\frac{4 \, \sqrt{\pi } b^{2} x e^{\left (2 \, b^{2} x^{2} + c\right )} - 5 \, \sqrt{2} \pi \sqrt{b^{2}} \operatorname{erfi}\left (\sqrt{2} \sqrt{b^{2}} x\right ) e^{c} - 8 \,{\left (\pi b^{3} x^{2} - \pi b\right )} \operatorname{erfi}\left (b x\right ) e^{\left (b^{2} x^{2} + c\right )}}{16 \, \pi b^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} e^{c} \int x^{3} e^{b^{2} x^{2}} \operatorname{erfi}{\left (b x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{3} \operatorname{erfi}\left (b x\right ) e^{\left (b^{2} x^{2} + c\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]