Optimal. Leaf size=53 \[ -\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 \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 53, normalized size of antiderivative = 1.00, 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 30
Rule 2210
Rule 6374
Rule 6392
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.02, size = 53, normalized size = 1.00 \[ -\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]
________________________________________________________________________________________
fricas [A] time = 0.42, size = 77, normalized size = 1.45 \[ -\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} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {erfc}\left (b x\right ) e^{\left (-b^{2} x^{2}\right )}}{x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.23, size = 0, normalized size = 0.00 \[ \int \frac {\mathrm {erfc}\left (b x \right ) {\mathrm e}^{-b^{2} x^{2}}}{x^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {erfc}\left (b x\right ) e^{\left (-b^{2} x^{2}\right )}}{x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {{\mathrm {e}}^{-b^2\,x^2}\,\mathrm {erfc}\left (b\,x\right )}{x^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {e^{- b^{2} x^{2}} \operatorname {erfc}{\left (b x \right )}}{x^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________