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]
________________________________________________________________________________________
Rubi [A] time = 0.0310541, antiderivative size = 43, normalized size of antiderivative = 1., 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]
[Out]
Rule 6383
Rule 2205
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.0225946, 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]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.113, size = 53, normalized size = 1.2 \begin{align*}{\frac{1}{b} \left ( -{\frac{{{\rm e}^{-{b}^{2}{x}^{2}}}}{2\,b}}+{\frac{{\it Erf} \left ( bx \right ){{\rm e}^{-{b}^{2}{x}^{2}}}}{2\,b}}-{\frac{\sqrt{2}{\it Erf} \left ( bx\sqrt{2} \right ) }{4\,b}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x \operatorname{erfc}\left (b x\right ) e^{\left (-b^{2} x^{2}\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.16247, size = 120, normalized size = 2.79 \begin{align*} -\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}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x e^{- b^{2} x^{2}} \operatorname{erfc}{\left (b x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x \operatorname{erfc}\left (b x\right ) e^{\left (-b^{2} x^{2}\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]