Optimal. Leaf size=53 \[ -\frac{e^{-b^2 x^2} \text{Erfc}(b x)}{x}-\frac{b \text{ExpIntegralEi}\left (-2 b^2 x^2\right )}{\sqrt{\pi }}+\frac{1}{2} \sqrt{\pi } b \text{Erfc}(b x)^2 \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0860244, antiderivative size = 53, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.222, Rules used = {6392, 6374, 30, 2210} \[ -\frac{e^{-b^2 x^2} \text{Erfc}(b x)}{x}-\frac{b \text{Ei}\left (-2 b^2 x^2\right )}{\sqrt{\pi }}+\frac{1}{2} \sqrt{\pi } b \text{Erfc}(b x)^2 \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6392
Rule 6374
Rule 30
Rule 2210
Rubi steps
\begin{align*} \int \frac{e^{-b^2 x^2} \text{erfc}(b x)}{x^2} \, dx &=-\frac{e^{-b^2 x^2} \text{erfc}(b x)}{x}-\left (2 b^2\right ) \int e^{-b^2 x^2} \text{erfc}(b x) \, dx-\frac{(2 b) \int \frac{e^{-2 b^2 x^2}}{x} \, dx}{\sqrt{\pi }}\\ &=-\frac{e^{-b^2 x^2} \text{erfc}(b x)}{x}-\frac{b \text{Ei}\left (-2 b^2 x^2\right )}{\sqrt{\pi }}+\left (b \sqrt{\pi }\right ) \operatorname{Subst}(\int x \, dx,x,\text{erfc}(b x))\\ &=-\frac{e^{-b^2 x^2} \text{erfc}(b x)}{x}+\frac{1}{2} b \sqrt{\pi } \text{erfc}(b x)^2-\frac{b \text{Ei}\left (-2 b^2 x^2\right )}{\sqrt{\pi }}\\ \end{align*}
Mathematica [A] time = 0.0157171, size = 53, normalized size = 1. \[ -\frac{e^{-b^2 x^2} \text{Erfc}(b x)}{x}-\frac{b \text{ExpIntegralEi}\left (-2 b^2 x^2\right )}{\sqrt{\pi }}+\frac{1}{2} \sqrt{\pi } b \text{Erfc}(b x)^2 \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.296, size = 0, normalized size = 0. \begin{align*} \int{\frac{{\it erfc} \left ( bx \right ) }{{{\rm e}^{{b}^{2}{x}^{2}}}{x}^{2}}}\, 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 \frac{\operatorname{erfc}\left (b x\right ) e^{\left (-b^{2} x^{2}\right )}}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.06845, size = 196, normalized size = 3.7 \begin{align*} -\frac{2 \, \pi ^{\frac{3}{2}} \sqrt{b^{2}} x \operatorname{erf}\left (\sqrt{b^{2}} x\right ) + 2 \,{\left (\pi - \pi \operatorname{erf}\left (b x\right )\right )} e^{\left (-b^{2} x^{2}\right )} - \sqrt{\pi }{\left (\pi b x \operatorname{erf}\left (b x\right )^{2} - 2 \, b x{\rm Ei}\left (-2 \, b^{2} x^{2}\right )\right )}}{2 \, \pi x} \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 \frac{e^{- b^{2} x^{2}} \operatorname{erfc}{\left (b x \right )}}{x^{2}}\, 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 \frac{\operatorname{erfc}\left (b x\right ) e^{\left (-b^{2} x^{2}\right )}}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]