Optimal. Leaf size=95 \[ \frac{e^c x^2 \text{HypergeometricPFQ}\left (\{1,1\},\left \{\frac{3}{2},2\right \},b^2 x^2\right )}{2 \sqrt{\pi } b}+\frac{x e^{b^2 x^2+c} \text{Erfc}(b x)}{2 b^2}-\frac{\sqrt{\pi } e^c \text{Erfi}(b x)}{4 b^3}+\frac{e^c x^2}{2 \sqrt{\pi } b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0823174, antiderivative size = 95, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.316, Rules used = {6386, 6377, 2204, 6376, 12, 30} \[ \frac{e^c x^2 \, _2F_2\left (1,1;\frac{3}{2},2;b^2 x^2\right )}{2 \sqrt{\pi } b}+\frac{x e^{b^2 x^2+c} \text{Erfc}(b x)}{2 b^2}-\frac{\sqrt{\pi } e^c \text{Erfi}(b x)}{4 b^3}+\frac{e^c x^2}{2 \sqrt{\pi } b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6386
Rule 6377
Rule 2204
Rule 6376
Rule 12
Rule 30
Rubi steps
\begin{align*} \int e^{c+b^2 x^2} x^2 \text{erfc}(b x) \, dx &=\frac{e^{c+b^2 x^2} x \text{erfc}(b x)}{2 b^2}-\frac{\int e^{c+b^2 x^2} \text{erfc}(b x) \, dx}{2 b^2}+\frac{\int e^c x \, dx}{b \sqrt{\pi }}\\ &=\frac{e^{c+b^2 x^2} x \text{erfc}(b x)}{2 b^2}-\frac{\int e^{c+b^2 x^2} \, dx}{2 b^2}+\frac{\int e^{c+b^2 x^2} \text{erf}(b x) \, dx}{2 b^2}+\frac{e^c \int x \, dx}{b \sqrt{\pi }}\\ &=\frac{e^c x^2}{2 b \sqrt{\pi }}+\frac{e^{c+b^2 x^2} x \text{erfc}(b x)}{2 b^2}-\frac{e^c \sqrt{\pi } \text{erfi}(b x)}{4 b^3}+\frac{e^c x^2 \, _2F_2\left (1,1;\frac{3}{2},2;b^2 x^2\right )}{2 b \sqrt{\pi }}\\ \end{align*}
Mathematica [A] time = 0.287222, size = 104, normalized size = 1.09 \[ -\frac{e^c \left (2 b^2 x^2 \text{HypergeometricPFQ}\left (\{1,1\},\left \{\frac{3}{2},2\right \},-b^2 x^2\right )+\text{Erf}(b x) \left (2 \sqrt{\pi } b x e^{b^2 x^2}-\pi \text{Erfi}(b x)\right )-2 b^2 x^2-2 \sqrt{\pi } b x e^{b^2 x^2}+\pi \text{Erfi}(b x)\right )}{4 \sqrt{\pi } b^3} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.222, size = 0, normalized size = 0. \begin{align*} \int{{\rm e}^{{b}^{2}{x}^{2}+c}}{x}^{2}{\it erfc} \left ( bx \right ) \, dx \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^{2} \operatorname{erfc}\left (b x\right ) e^{\left (b^{2} x^{2} + c\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-{\left (x^{2} \operatorname{erf}\left (b x\right ) - x^{2}\right )} e^{\left (b^{2} x^{2} + c\right )}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \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^{2} \operatorname{erfc}\left (b x\right ) e^{\left (b^{2} x^{2} + c\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]