3.291 \(\int e^{c+b^2 x^2} \text {erfi}(b x) \, dx\)

Optimal. Leaf size=21 \[ \frac {\sqrt {\pi } e^c \text {erfi}(b x)^2}{4 b} \]

[Out]

1/4*exp(c)*erfi(b*x)^2*Pi^(1/2)/b

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 21, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {6375, 30} \[ \frac {\sqrt {\pi } e^c \text {Erfi}(b x)^2}{4 b} \]

Antiderivative was successfully verified.

[In]

Int[E^(c + b^2*x^2)*Erfi[b*x],x]

[Out]

(E^c*Sqrt[Pi]*Erfi[b*x]^2)/(4*b)

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rule 6375

Int[E^((c_.) + (d_.)*(x_)^2)*Erfi[(b_.)*(x_)]^(n_.), x_Symbol] :> Dist[(E^c*Sqrt[Pi])/(2*b), Subst[Int[x^n, x]
, x, Erfi[b*x]], x] /; FreeQ[{b, c, d, n}, x] && EqQ[d, b^2]

Rubi steps

\begin {align*} \int e^{c+b^2 x^2} \text {erfi}(b x) \, dx &=\frac {\left (e^c \sqrt {\pi }\right ) \operatorname {Subst}(\int x \, dx,x,\text {erfi}(b x))}{2 b}\\ &=\frac {e^c \sqrt {\pi } \text {erfi}(b x)^2}{4 b}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 21, normalized size = 1.00 \[ \frac {\sqrt {\pi } e^c \text {erfi}(b x)^2}{4 b} \]

Antiderivative was successfully verified.

[In]

Integrate[E^(c + b^2*x^2)*Erfi[b*x],x]

[Out]

(E^c*Sqrt[Pi]*Erfi[b*x]^2)/(4*b)

________________________________________________________________________________________

fricas [A]  time = 0.42, size = 16, normalized size = 0.76 \[ \frac {\sqrt {\pi } \operatorname {erfi}\left (b x\right )^{2} e^{c}}{4 \, b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(b^2*x^2+c)*erfi(b*x),x, algorithm="fricas")

[Out]

1/4*sqrt(pi)*erfi(b*x)^2*e^c/b

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \operatorname {erfi}\left (b x\right ) e^{\left (b^{2} x^{2} + c\right )}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(b^2*x^2+c)*erfi(b*x),x, algorithm="giac")

[Out]

integrate(erfi(b*x)*e^(b^2*x^2 + c), x)

________________________________________________________________________________________

maple [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\mathrm e}^{b^{2} x^{2}+c} \erfi \left (b x \right )\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(b^2*x^2+c)*erfi(b*x),x)

[Out]

int(exp(b^2*x^2+c)*erfi(b*x),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \operatorname {erfi}\left (b x\right ) e^{\left (b^{2} x^{2} + c\right )}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(b^2*x^2+c)*erfi(b*x),x, algorithm="maxima")

[Out]

integrate(erfi(b*x)*e^(b^2*x^2 + c), x)

________________________________________________________________________________________

mupad [B]  time = 0.31, size = 91, normalized size = 4.33 \[ \frac {\sqrt {\pi }\,\mathrm {erfi}\left (\frac {b^2\,x}{\sqrt {b^2}}\right )\,{\mathrm {e}}^c\,\mathrm {erfi}\left (b\,x\right )}{2\,\sqrt {b^2}}-\frac {\sqrt {\pi }\,{\mathrm {e}}^c\,{\mathrm {erf}\left (x\,\sqrt {-b^2}\right )}^2}{4\,b}-\frac {b\,\sqrt {\pi }\,\mathrm {erfi}\left (\frac {b^2\,x}{\sqrt {b^2}}\right )\,{\mathrm {e}}^c\,\mathrm {erf}\left (x\,\sqrt {-b^2}\right )}{2\,\sqrt {b^2}\,\sqrt {-b^2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(c + b^2*x^2)*erfi(b*x),x)

[Out]

(pi^(1/2)*erfi((b^2*x)/(b^2)^(1/2))*exp(c)*erfi(b*x))/(2*(b^2)^(1/2)) - (pi^(1/2)*exp(c)*erf(x*(-b^2)^(1/2))^2
)/(4*b) - (b*pi^(1/2)*erfi((b^2*x)/(b^2)^(1/2))*exp(c)*erf(x*(-b^2)^(1/2)))/(2*(b^2)^(1/2)*(-b^2)^(1/2))

________________________________________________________________________________________

sympy [A]  time = 0.54, size = 19, normalized size = 0.90 \[ \begin {cases} \frac {\sqrt {\pi } e^{c} \operatorname {erfi}^{2}{\left (b x \right )}}{4 b} & \text {for}\: b \neq 0 \\0 & \text {otherwise} \end {cases} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(b**2*x**2+c)*erfi(b*x),x)

[Out]

Piecewise((sqrt(pi)*exp(c)*erfi(b*x)**2/(4*b), Ne(b, 0)), (0, True))

________________________________________________________________________________________