Optimal. Leaf size=78 \[ \frac {e^{c+d x^2} \text {erfi}(a+b x)}{2 d}-\frac {b e^{\frac {a^2 d}{b^2+d}+c} \text {erfi}\left (\frac {a b+x \left (b^2+d\right )}{\sqrt {b^2+d}}\right )}{2 d \sqrt {b^2+d}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 78, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {6384, 2234, 2204} \[ \frac {e^{c+d x^2} \text {Erfi}(a+b x)}{2 d}-\frac {b e^{\frac {a^2 d}{b^2+d}+c} \text {Erfi}\left (\frac {a b+x \left (b^2+d\right )}{\sqrt {b^2+d}}\right )}{2 d \sqrt {b^2+d}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2204
Rule 2234
Rule 6384
Rubi steps
\begin {align*} \int e^{c+d x^2} x \text {erfi}(a+b x) \, dx &=\frac {e^{c+d x^2} \text {erfi}(a+b x)}{2 d}-\frac {b \int e^{a^2+c+2 a b x+\left (b^2+d\right ) x^2} \, dx}{d \sqrt {\pi }}\\ &=\frac {e^{c+d x^2} \text {erfi}(a+b x)}{2 d}-\frac {\left (b e^{c+\frac {a^2 d}{b^2+d}}\right ) \int e^{\frac {\left (2 a b+2 \left (b^2+d\right ) x\right )^2}{4 \left (b^2+d\right )}} \, dx}{d \sqrt {\pi }}\\ &=\frac {e^{c+d x^2} \text {erfi}(a+b x)}{2 d}-\frac {b e^{c+\frac {a^2 d}{b^2+d}} \text {erfi}\left (\frac {a b+\left (b^2+d\right ) x}{\sqrt {b^2+d}}\right )}{2 d \sqrt {b^2+d}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.07, size = 73, normalized size = 0.94 \[ \frac {e^c \left (e^{d x^2} \text {erfi}(a+b x)-\frac {b e^{\frac {a^2 d}{b^2+d}} \text {erfi}\left (\frac {a b+x \left (b^2+d\right )}{\sqrt {b^2+d}}\right )}{\sqrt {b^2+d}}\right )}{2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.51, size = 100, normalized size = 1.28 \[ \frac {\sqrt {-b^{2} - d} b \operatorname {erf}\left (\frac {{\left (a b + {\left (b^{2} + d\right )} x\right )} \sqrt {-b^{2} - d}}{b^{2} + d}\right ) e^{\left (\frac {b^{2} c + {\left (a^{2} + c\right )} d}{b^{2} + d}\right )} + {\left (b^{2} + d\right )} \operatorname {erfi}\left (b x + a\right ) e^{\left (d x^{2} + c\right )}}{2 \, {\left (b^{2} d + d^{2}\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 \operatorname {erfi}\left (b x + a\right ) e^{\left (d x^{2} + c\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 {\mathrm e}^{d \,x^{2}+c} x \erfi \left (b x +a \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 \[ \int x \operatorname {erfi}\left (b x + a\right ) e^{\left (d x^{2} + c\right )}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.25, size = 79, normalized size = 1.01 \[ \frac {\mathrm {erfi}\left (a+b\,x\right )\,{\mathrm {e}}^{d\,x^2+c}}{2\,d}+\frac {b\,{\mathrm {e}}^{c+a^2-\frac {a^2\,b^2}{b^2+d}}\,\mathrm {erf}\left (\frac {a\,b\,1{}\mathrm {i}+x\,\left (b^2+d\right )\,1{}\mathrm {i}}{\sqrt {b^2+d}}\right )\,1{}\mathrm {i}}{2\,d\,\sqrt {b^2+d}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ e^{c} \int x e^{d x^{2}} \operatorname {erfi}{\left (a + b x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________