Optimal. Leaf size=26 \[ \frac{e^{-b^2 x^2}}{\sqrt{\pi } b}+x \text{Erf}(b x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.005257, antiderivative size = 26, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 4, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {6349} \[ \frac{e^{-b^2 x^2}}{\sqrt{\pi } b}+x \text{Erf}(b x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6349
Rubi steps
\begin{align*} \int \text{erf}(b x) \, dx &=\frac{e^{-b^2 x^2}}{b \sqrt{\pi }}+x \text{erf}(b x)\\ \end{align*}
Mathematica [A] time = 0.009682, size = 26, normalized size = 1. \[ \frac{e^{-b^2 x^2}}{\sqrt{\pi } b}+x \text{Erf}(b x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.044, size = 26, normalized size = 1. \begin{align*}{\frac{1}{b} \left ({\it Erf} \left ( bx \right ) bx+{\frac{{{\rm e}^{-{b}^{2}{x}^{2}}}}{\sqrt{\pi }}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.08567, size = 34, normalized size = 1.31 \begin{align*} \frac{b x \operatorname{erf}\left (b x\right ) + \frac{e^{\left (-b^{2} x^{2}\right )}}{\sqrt{\pi }}}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.52973, size = 68, normalized size = 2.62 \begin{align*} \frac{\pi b x \operatorname{erf}\left (b x\right ) + \sqrt{\pi } e^{\left (-b^{2} x^{2}\right )}}{\pi b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.36341, size = 24, normalized size = 0.92 \begin{align*} \begin{cases} x \operatorname{erf}{\left (b x \right )} + \frac{e^{- b^{2} x^{2}}}{\sqrt{\pi } b} & \text{for}\: b \neq 0 \\0 & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.23808, size = 31, normalized size = 1.19 \begin{align*} x \operatorname{erf}\left (b x\right ) + \frac{e^{\left (-b^{2} x^{2}\right )}}{\sqrt{\pi } b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]