3.170 \(\int \frac {e^{c+b^2 x^2} \text {erfc}(b x)}{x} \, dx\)

Optimal. Leaf size=48 \[ \frac {1}{2} e^c \text {Ei}\left (b^2 x^2\right )-\frac {2 b e^c x \, _2F_2\left (\frac {1}{2},1;\frac {3}{2},\frac {3}{2};b^2 x^2\right )}{\sqrt {\pi }} \]

[Out]

1/2*exp(c)*Ei(b^2*x^2)-2*b*exp(c)*x*HypergeometricPFQ([1/2, 1],[3/2, 3/2],b^2*x^2)/Pi^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.12, antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {6389, 2210, 6388} \[ \frac {1}{2} e^c \text {Ei}\left (b^2 x^2\right )-\frac {2 b e^c x \, _2F_2\left (\frac {1}{2},1;\frac {3}{2},\frac {3}{2};b^2 x^2\right )}{\sqrt {\pi }} \]

Antiderivative was successfully verified.

[In]

Int[(E^(c + b^2*x^2)*Erfc[b*x])/x,x]

[Out]

(E^c*ExpIntegralEi[b^2*x^2])/2 - (2*b*E^c*x*HypergeometricPFQ[{1/2, 1}, {3/2, 3/2}, b^2*x^2])/Sqrt[Pi]

Rule 2210

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^(n_))/((e_.) + (f_.)*(x_)), x_Symbol] :> Simp[(F^a*ExpIntegralEi[
b*(c + d*x)^n*Log[F]])/(f*n), x] /; FreeQ[{F, a, b, c, d, e, f, n}, x] && EqQ[d*e - c*f, 0]

Rule 6388

Int[(E^((c_.) + (d_.)*(x_)^2)*Erf[(b_.)*(x_)])/(x_), x_Symbol] :> Simp[(2*b*E^c*x*HypergeometricPFQ[{1/2, 1},
{3/2, 3/2}, b^2*x^2])/Sqrt[Pi], x] /; FreeQ[{b, c, d}, x] && EqQ[d, b^2]

Rule 6389

Int[(E^((c_.) + (d_.)*(x_)^2)*Erfc[(b_.)*(x_)])/(x_), x_Symbol] :> Int[E^(c + d*x^2)/x, x] - Int[(E^(c + d*x^2
)*Erf[b*x])/x, x] /; FreeQ[{b, c, d}, x] && EqQ[d, b^2]

Rubi steps

\begin {align*} \int \frac {e^{c+b^2 x^2} \text {erfc}(b x)}{x} \, dx &=\int \frac {e^{c+b^2 x^2}}{x} \, dx-\int \frac {e^{c+b^2 x^2} \text {erf}(b x)}{x} \, dx\\ &=\frac {1}{2} e^c \text {Ei}\left (b^2 x^2\right )-\frac {2 b e^c x \, _2F_2\left (\frac {1}{2},1;\frac {3}{2},\frac {3}{2};b^2 x^2\right )}{\sqrt {\pi }}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.19, size = 45, normalized size = 0.94 \[ \frac {1}{2} e^c \left (\text {Ei}\left (b^2 x^2\right )-\frac {4 b x \, _2F_2\left (\frac {1}{2},1;\frac {3}{2},\frac {3}{2};b^2 x^2\right )}{\sqrt {\pi }}\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[(E^(c + b^2*x^2)*Erfc[b*x])/x,x]

[Out]

(E^c*(ExpIntegralEi[b^2*x^2] - (4*b*x*HypergeometricPFQ[{1/2, 1}, {3/2, 3/2}, b^2*x^2])/Sqrt[Pi]))/2

________________________________________________________________________________________

fricas [F]  time = 0.43, size = 0, normalized size = 0.00 \[ {\rm integral}\left (-\frac {{\left (\operatorname {erf}\left (b x\right ) - 1\right )} e^{\left (b^{2} x^{2} + c\right )}}{x}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(b^2*x^2+c)*erfc(b*x)/x,x, algorithm="fricas")

[Out]

integral(-(erf(b*x) - 1)*e^(b^2*x^2 + c)/x, x)

________________________________________________________________________________________

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} + c\right )}}{x}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(b^2*x^2+c)*erfc(b*x)/x,x, algorithm="giac")

[Out]

integrate(erfc(b*x)*e^(b^2*x^2 + c)/x, x)

________________________________________________________________________________________

maple [F]  time = 0.06, size = 0, normalized size = 0.00 \[ \int \frac {{\mathrm e}^{b^{2} x^{2}+c} \mathrm {erfc}\left (b x \right )}{x}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(b^2*x^2+c)*erfc(b*x)/x,x)

[Out]

int(exp(b^2*x^2+c)*erfc(b*x)/x,x)

________________________________________________________________________________________

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} + c\right )}}{x}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(b^2*x^2+c)*erfc(b*x)/x,x, algorithm="maxima")

[Out]

integrate(erfc(b*x)*e^(b^2*x^2 + c)/x, x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {{\mathrm {e}}^{b^2\,x^2+c}\,\mathrm {erfc}\left (b\,x\right )}{x} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((exp(c + b^2*x^2)*erfc(b*x))/x,x)

[Out]

int((exp(c + b^2*x^2)*erfc(b*x))/x, x)

________________________________________________________________________________________

sympy [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: AttributeError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(b**2*x**2+c)*erfc(b*x)/x,x)

[Out]

Exception raised: AttributeError

________________________________________________________________________________________