Optimal. Leaf size=47 \[ \frac {e^{c+b^2 x^2} \text {Erfi}(b x)}{2 b^2}-\frac {e^c \text {Erfi}\left (\sqrt {2} b x\right )}{2 \sqrt {2} b^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 47, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {6519, 2235}
\begin {gather*} \frac {e^{b^2 x^2+c} \text {Erfi}(b x)}{2 b^2}-\frac {e^c \text {Erfi}\left (\sqrt {2} b x\right )}{2 \sqrt {2} b^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2235
Rule 6519
Rubi steps
\begin {align*} \int e^{c+b^2 x^2} x \text {erfi}(b x) \, dx &=\frac {e^{c+b^2 x^2} \text {erfi}(b x)}{2 b^2}-\frac {\int e^{c+2 b^2 x^2} \, dx}{b \sqrt {\pi }}\\ &=\frac {e^{c+b^2 x^2} \text {erfi}(b x)}{2 b^2}-\frac {e^c \text {erfi}\left (\sqrt {2} b x\right )}{2 \sqrt {2} b^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 42, normalized size = 0.89 \begin {gather*} \frac {e^c \left (2 e^{b^2 x^2} \text {Erfi}(b x)-\sqrt {2} \text {Erfi}\left (\sqrt {2} b x\right )\right )}{4 b^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.13, size = 0, normalized size = 0.00 \[\int {\mathrm e}^{b^{2} x^{2}+c} x \erfi \left (b x \right )\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 46, normalized size = 0.98 \begin {gather*} \frac {2 \, b \operatorname {erfi}\left (b x\right ) e^{\left (b^{2} x^{2} + c\right )} - \sqrt {2} \sqrt {b^{2}} \operatorname {erfi}\left (\sqrt {2} \sqrt {b^{2}} x\right ) e^{c}}{4 \, b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} e^{c} \int x e^{b^{2} x^{2}} \operatorname {erfi}{\left (b x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.28, size = 50, normalized size = 1.06 \begin {gather*} \frac {{\mathrm {e}}^{b^2\,x^2}\,{\mathrm {e}}^c\,\mathrm {erfi}\left (b\,x\right )}{2\,b^2}-\frac {\sqrt {2}\,\mathrm {erf}\left (\sqrt {2}\,x\,\sqrt {-b^2}\right )\,{\mathrm {e}}^c}{4\,b\,\sqrt {-b^2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________