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{Erf}(b x)}{2 b^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0324727, 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 = {6382, 2205} \[ \frac{\text{Erf}\left (\sqrt{2} b x\right )}{2 \sqrt{2} b^2}-\frac{e^{-b^2 x^2} \text{Erf}(b x)}{2 b^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6382
Rule 2205
Rubi steps
\begin{align*} \int e^{-b^2 x^2} x \text{erf}(b x) \, dx &=-\frac{e^{-b^2 x^2} \text{erf}(b x)}{2 b^2}+\frac{\int e^{-2 b^2 x^2} \, dx}{b \sqrt{\pi }}\\ &=-\frac{e^{-b^2 x^2} \text{erf}(b x)}{2 b^2}+\frac{\text{erf}\left (\sqrt{2} b x\right )}{2 \sqrt{2} b^2}\\ \end{align*}
Mathematica [A] time = 0.0171781, size = 39, normalized size = 0.91 \[ \frac{\sqrt{2} \text{Erf}\left (\sqrt{2} b x\right )-2 e^{-b^2 x^2} \text{Erf}(b x)}{4 b^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.109, size = 39, normalized size = 0.9 \begin{align*}{\frac{1}{b} \left ( -{\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 [A] time = 1.54507, size = 46, normalized size = 1.07 \begin{align*} -\frac{\operatorname{erf}\left (b x\right ) e^{\left (-b^{2} x^{2}\right )}}{2 \, b^{2}} + \frac{\sqrt{2} \operatorname{erf}\left (\sqrt{2} b x\right )}{4 \, b^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.63868, size = 112, normalized size = 2.6 \begin{align*} -\frac{2 \, b \operatorname{erf}\left (b x\right ) e^{\left (-b^{2} x^{2}\right )} - \sqrt{2} \sqrt{b^{2}} \operatorname{erf}\left (\sqrt{2} \sqrt{b^{2}} x\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{erf}{\left (b x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.30691, size = 47, normalized size = 1.09 \begin{align*} -\frac{\operatorname{erf}\left (b x\right ) e^{\left (-b^{2} x^{2}\right )}}{2 \, b^{2}} - \frac{\sqrt{2} \operatorname{erf}\left (-\sqrt{2} b x\right )}{4 \, b^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]