3.180 \(\int e^{-b^2 x^2} x \text {erfc}(b x) \, dx\)

Optimal. Leaf size=43 \[ -\frac {\text {erf}\left (\sqrt {2} b x\right )}{2 \sqrt {2} b^2}-\frac {e^{-b^2 x^2} \text {erfc}(b x)}{2 b^2} \]

[Out]

-1/2*erfc(b*x)/b^2/exp(b^2*x^2)-1/4*erf(b*x*2^(1/2))/b^2*2^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 43, 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 = {6383, 2205} \[ -\frac {\text {Erf}\left (\sqrt {2} b x\right )}{2 \sqrt {2} b^2}-\frac {e^{-b^2 x^2} \text {Erfc}(b x)}{2 b^2} \]

Antiderivative was successfully verified.

[In]

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

[Out]

-Erf[Sqrt[2]*b*x]/(2*Sqrt[2]*b^2) - Erfc[b*x]/(2*b^2*E^(b^2*x^2))

Rule 2205

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[(F^a*Sqrt[Pi]*Erf[(c + d*x)*Rt[-(b*Log[F]),
 2]])/(2*d*Rt[-(b*Log[F]), 2]), x] /; FreeQ[{F, a, b, c, d}, x] && NegQ[b]

Rule 6383

Int[E^((c_.) + (d_.)*(x_)^2)*Erfc[(a_.) + (b_.)*(x_)]*(x_), x_Symbol] :> Simp[(E^(c + d*x^2)*Erfc[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 {erfc}(b x) \, dx &=-\frac {e^{-b^2 x^2} \text {erfc}(b x)}{2 b^2}-\frac {\int e^{-2 b^2 x^2} \, dx}{b \sqrt {\pi }}\\ &=-\frac {\text {erf}\left (\sqrt {2} b x\right )}{2 \sqrt {2} b^2}-\frac {e^{-b^2 x^2} \text {erfc}(b x)}{2 b^2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 39, normalized size = 0.91 \[ -\frac {2 e^{-b^2 x^2} \text {erfc}(b x)+\sqrt {2} \text {erf}\left (\sqrt {2} b x\right )}{4 b^2} \]

Antiderivative was successfully verified.

[In]

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

[Out]

-1/4*(Sqrt[2]*Erf[Sqrt[2]*b*x] + (2*Erfc[b*x])/E^(b^2*x^2))/b^2

________________________________________________________________________________________

fricas [A]  time = 0.41, size = 47, normalized size = 1.09 \[ -\frac {\sqrt {2} \sqrt {b^{2}} \operatorname {erf}\left (\sqrt {2} \sqrt {b^{2}} x\right ) - 2 \, {\left (b \operatorname {erf}\left (b x\right ) - b\right )} e^{\left (-b^{2} x^{2}\right )}}{4 \, b^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-1/4*(sqrt(2)*sqrt(b^2)*erf(sqrt(2)*sqrt(b^2)*x) - 2*(b*erf(b*x) - b)*e^(-b^2*x^2))/b^3

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int x \operatorname {erfc}\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*erfc(b*x)/exp(b^2*x^2),x, algorithm="giac")

[Out]

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

________________________________________________________________________________________

maple [A]  time = 0.08, size = 53, normalized size = 1.23 \[ \frac {-\frac {{\mathrm e}^{-b^{2} x^{2}}}{2 b}+\frac {\erf \left (b x \right ) {\mathrm e}^{-b^{2} x^{2}}}{2 b}-\frac {\sqrt {2}\, \erf \left (b x \sqrt {2}\right )}{4 b}}{b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

(-1/2/b*exp(-b^2*x^2)+1/2*erf(b*x)/b*exp(-b^2*x^2)-1/4/b*2^(1/2)*erf(b*x*2^(1/2)))/b

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int x \operatorname {erfc}\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*erfc(b*x)/exp(b^2*x^2),x, algorithm="maxima")

[Out]

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

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \[ \int x\,{\mathrm {e}}^{-b^2\,x^2}\,\mathrm {erfc}\left (b\,x\right ) \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int x e^{- b^{2} x^{2}} \operatorname {erfc}{\left (b x \right )}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Integral(x*exp(-b**2*x**2)*erfc(b*x), x)

________________________________________________________________________________________