Optimal. Leaf size=57 \[ \frac{\text{Erf}(b x) e^{c+d x^2}}{2 d}-\frac{b e^c \text{Erf}\left (x \sqrt{b^2-d}\right )}{2 d \sqrt{b^2-d}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0387532, antiderivative size = 57, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133, Rules used = {6382, 2205} \[ \frac{\text{Erf}(b x) e^{c+d x^2}}{2 d}-\frac{b e^c \text{Erf}\left (x \sqrt{b^2-d}\right )}{2 d \sqrt{b^2-d}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6382
Rule 2205
Rubi steps
\begin{align*} \int e^{c+d x^2} x \text{erf}(b x) \, dx &=\frac{e^{c+d x^2} \text{erf}(b x)}{2 d}-\frac{b \int e^{c-\left (b^2-d\right ) x^2} \, dx}{d \sqrt{\pi }}\\ &=\frac{e^{c+d x^2} \text{erf}(b x)}{2 d}-\frac{b e^c \text{erf}\left (\sqrt{b^2-d} x\right )}{2 \sqrt{b^2-d} d}\\ \end{align*}
Mathematica [A] time = 0.0381589, size = 51, normalized size = 0.89 \[ \frac{e^c \left (e^{d x^2} \text{Erf}(b x)-\frac{b \text{Erfi}\left (x \sqrt{d-b^2}\right )}{\sqrt{d-b^2}}\right )}{2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.333, size = 67, normalized size = 1.2 \begin{align*}{\frac{1}{b} \left ({\frac{{\it Erf} \left ( bx \right ) b}{2\,d}{{\rm e}^{{\frac{{b}^{2}d{x}^{2}+{b}^{2}c}{{b}^{2}}}}}}-{\frac{b{{\rm e}^{c}}}{2\,d}{\it Erf} \left ( \sqrt{1-{\frac{d}{{b}^{2}}}}bx \right ){\frac{1}{\sqrt{1-{\frac{d}{{b}^{2}}}}}}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.0571, size = 63, normalized size = 1.11 \begin{align*} -\frac{b \operatorname{erf}\left (\sqrt{b^{2} - d} x\right ) e^{c}}{2 \, \sqrt{b^{2} - d} d} + \frac{\operatorname{erf}\left (b x\right ) e^{\left (d x^{2} + c\right )}}{2 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.9042, size = 132, normalized size = 2.32 \begin{align*} -\frac{\sqrt{b^{2} - d} b \operatorname{erf}\left (\sqrt{b^{2} - d} x\right ) e^{c} -{\left (b^{2} - d\right )} \operatorname{erf}\left (b x\right ) e^{\left (d x^{2} + c\right )}}{2 \,{\left (b^{2} d - d^{2}\right )}} \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*} e^{c} \int x e^{d 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.22563, size = 65, normalized size = 1.14 \begin{align*} \frac{b \operatorname{erf}\left (-\sqrt{b^{2} - d} x\right ) e^{c}}{2 \, \sqrt{b^{2} - d} d} + \frac{\operatorname{erf}\left (b x\right ) e^{\left (d x^{2} + c\right )}}{2 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]