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

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

[Out]

1/4*b^4*exp(c)*Ei(b^2*x^2)-1/4*exp(b^2*x^2+c)*erfc(b*x)/x^4-1/4*b^2*exp(b^2*x^2+c)*erfc(b*x)/x^2+1/6*b*exp(c)/
x^3/Pi^(1/2)+1/2*b^3*exp(c)/x/Pi^(1/2)-b^5*exp(c)*x*HypergeometricPFQ([1/2, 1],[3/2, 3/2],b^2*x^2)/Pi^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.20, antiderivative size = 134, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 6, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.316, Rules used = {6392, 6389, 2210, 6388, 12, 30} \[ -\frac {b^5 e^c x \, _2F_2\left (\frac {1}{2},1;\frac {3}{2},\frac {3}{2};b^2 x^2\right )}{\sqrt {\pi }}-\frac {b^2 e^{b^2 x^2+c} \text {Erfc}(b x)}{4 x^2}-\frac {e^{b^2 x^2+c} \text {Erfc}(b x)}{4 x^4}+\frac {1}{4} b^4 e^c \text {Ei}\left (b^2 x^2\right )+\frac {b^3 e^c}{2 \sqrt {\pi } x}+\frac {b e^c}{6 \sqrt {\pi } x^3} \]

Antiderivative was successfully verified.

[In]

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

[Out]

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

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

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]

Rule 6392

Int[E^((c_.) + (d_.)*(x_)^2)*Erfc[(a_.) + (b_.)*(x_)]*(x_)^(m_), x_Symbol] :> Simp[(x^(m + 1)*E^(c + d*x^2)*Er
fc[a + b*x])/(m + 1), x] + (-Dist[(2*d)/(m + 1), Int[x^(m + 2)*E^(c + d*x^2)*Erfc[a + b*x], x], x] + Dist[(2*b
)/((m + 1)*Sqrt[Pi]), Int[x^(m + 1)*E^(-a^2 + c - 2*a*b*x - (b^2 - d)*x^2), x], x]) /; FreeQ[{a, b, c, d}, x]
&& ILtQ[m, -1]

Rubi steps

\begin {align*} \int \frac {e^{c+b^2 x^2} \text {erfc}(b x)}{x^5} \, dx &=-\frac {e^{c+b^2 x^2} \text {erfc}(b x)}{4 x^4}+\frac {1}{2} b^2 \int \frac {e^{c+b^2 x^2} \text {erfc}(b x)}{x^3} \, dx-\frac {b \int \frac {e^c}{x^4} \, dx}{2 \sqrt {\pi }}\\ &=-\frac {e^{c+b^2 x^2} \text {erfc}(b x)}{4 x^4}-\frac {b^2 e^{c+b^2 x^2} \text {erfc}(b x)}{4 x^2}+\frac {1}{2} b^4 \int \frac {e^{c+b^2 x^2} \text {erfc}(b x)}{x} \, dx-\frac {b^3 \int \frac {e^c}{x^2} \, dx}{2 \sqrt {\pi }}-\frac {\left (b e^c\right ) \int \frac {1}{x^4} \, dx}{2 \sqrt {\pi }}\\ &=\frac {b e^c}{6 \sqrt {\pi } x^3}-\frac {e^{c+b^2 x^2} \text {erfc}(b x)}{4 x^4}-\frac {b^2 e^{c+b^2 x^2} \text {erfc}(b x)}{4 x^2}+\frac {1}{2} b^4 \int \frac {e^{c+b^2 x^2}}{x} \, dx-\frac {1}{2} b^4 \int \frac {e^{c+b^2 x^2} \text {erf}(b x)}{x} \, dx-\frac {\left (b^3 e^c\right ) \int \frac {1}{x^2} \, dx}{2 \sqrt {\pi }}\\ &=\frac {b e^c}{6 \sqrt {\pi } x^3}+\frac {b^3 e^c}{2 \sqrt {\pi } x}-\frac {e^{c+b^2 x^2} \text {erfc}(b x)}{4 x^4}-\frac {b^2 e^{c+b^2 x^2} \text {erfc}(b x)}{4 x^2}+\frac {1}{4} b^4 e^c \text {Ei}\left (b^2 x^2\right )-\frac {b^5 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.26, size = 83, normalized size = 0.62 \[ -\frac {e^c \left (3 \sqrt {\pi } \left (e^{b^2 x^2} \left (b^2 x^2+1\right )-b^4 x^4 \text {Ei}\left (b^2 x^2\right )\right )-8 b x \, _2F_2\left (-\frac {3}{2},1;-\frac {1}{2},\frac {3}{2};b^2 x^2\right )\right )}{12 \sqrt {\pi } x^4} \]

Warning: Unable to verify antiderivative.

[In]

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

[Out]

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

________________________________________________________________________________________

fricas [F]  time = 0.42, 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^{5}}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integral(-(erf(b*x) - 1)*e^(b^2*x^2 + c)/x^5, 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^{5}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

int(exp(b^2*x^2+c)*erfc(b*x)/x^5,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^{5}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Timed out

________________________________________________________________________________________