3.272 \(\int e^{-b^2 x^2} x \text {erfi}(b x) \, dx\)

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

[Out]

-1/2*erfi(b*x)/b^2/exp(b^2*x^2)+x/b/Pi^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 32, 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 = {6384, 8} \[ \frac {x}{\sqrt {\pi } b}-\frac {e^{-b^2 x^2} \text {Erfi}(b x)}{2 b^2} \]

Antiderivative was successfully verified.

[In]

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

[Out]

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

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rule 6384

Int[E^((c_.) + (d_.)*(x_)^2)*Erfi[(a_.) + (b_.)*(x_)]*(x_), x_Symbol] :> Simp[(E^(c + d*x^2)*Erfi[a + b*x])/(2
*d), x] - Dist[b/(d*Sqrt[Pi]), Int[E^(a^2 + c + 2*a*b*x + (b^2 + d)*x^2), x], x] /; FreeQ[{a, b, c, d}, x]

Rubi steps

\begin {align*} \int e^{-b^2 x^2} x \text {erfi}(b x) \, dx &=-\frac {e^{-b^2 x^2} \text {erfi}(b x)}{2 b^2}+\frac {\int 1 \, dx}{b \sqrt {\pi }}\\ &=\frac {x}{b \sqrt {\pi }}-\frac {e^{-b^2 x^2} \text {erfi}(b x)}{2 b^2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 32, normalized size = 1.00 \[ \frac {x}{\sqrt {\pi } b}-\frac {e^{-b^2 x^2} \text {erfi}(b x)}{2 b^2} \]

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

fricas [A]  time = 0.51, size = 40, normalized size = 1.25 \[ \frac {{\left (2 \, \sqrt {\pi } b x e^{\left (b^{2} x^{2}\right )} - \pi \operatorname {erfi}\left (b x\right )\right )} e^{\left (-b^{2} x^{2}\right )}}{2 \, \pi b^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int x \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]

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

[Out]

integrate(x*erfi(b*x)*e^(-b^2*x^2), x)

________________________________________________________________________________________

maple [A]  time = 0.03, size = 41, normalized size = 1.28 \[ \frac {\left (2 \,{\mathrm e}^{b^{2} x^{2}} b x -\sqrt {\pi }\, \erfi \left (b x \right )\right ) {\mathrm e}^{-b^{2} x^{2}}}{2 \sqrt {\pi }\, b^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*erfi(b*x)/exp(b^2*x^2),x)

[Out]

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

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int x \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]

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

[Out]

integrate(x*erfi(b*x)*e^(-b^2*x^2), x)

________________________________________________________________________________________

mupad [B]  time = 0.05, size = 27, normalized size = 0.84 \[ \frac {x}{b\,\sqrt {\pi }}-\frac {{\mathrm {e}}^{-b^2\,x^2}\,\mathrm {erfi}\left (b\,x\right )}{2\,b^2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*exp(-b^2*x^2)*erfi(b*x),x)

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*erfi(b*x)/exp(b**2*x**2),x)

[Out]

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

________________________________________________________________________________________