3.2.9 \(\int \frac {\text {Erfc}(b x)}{x^5} \, dx\) [109]

Optimal. Leaf size=71 \[ \frac {b e^{-b^2 x^2}}{6 \sqrt {\pi } x^3}-\frac {b^3 e^{-b^2 x^2}}{3 \sqrt {\pi } x}-\frac {1}{3} b^4 \text {Erf}(b x)-\frac {\text {Erfc}(b x)}{4 x^4} \]

[Out]

-1/3*b^4*erf(b*x)-1/4*erfc(b*x)/x^4+1/6*b/exp(b^2*x^2)/x^3/Pi^(1/2)-1/3*b^3/exp(b^2*x^2)/x/Pi^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.04, antiderivative size = 71, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {6497, 2245, 2236} \begin {gather*} -\frac {1}{3} b^4 \text {Erf}(b x)+\frac {b e^{-b^2 x^2}}{6 \sqrt {\pi } x^3}-\frac {b^3 e^{-b^2 x^2}}{3 \sqrt {\pi } x}-\frac {\text {Erfc}(b x)}{4 x^4} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Erfc[b*x]/x^5,x]

[Out]

b/(6*E^(b^2*x^2)*Sqrt[Pi]*x^3) - b^3/(3*E^(b^2*x^2)*Sqrt[Pi]*x) - (b^4*Erf[b*x])/3 - Erfc[b*x]/(4*x^4)

Rule 2236

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[F^a*Sqrt[Pi]*(Erf[(c + d*x)*Rt[(-b)*Log[F],
 2]]/(2*d*Rt[(-b)*Log[F], 2])), x] /; FreeQ[{F, a, b, c, d}, x] && NegQ[b]

Rule 2245

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^(n_))*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[(c + d*x)^(m
+ 1)*(F^(a + b*(c + d*x)^n)/(d*(m + 1))), x] - Dist[b*n*(Log[F]/(m + 1)), Int[(c + d*x)^(m + n)*F^(a + b*(c +
d*x)^n), x], x] /; FreeQ[{F, a, b, c, d}, x] && IntegerQ[2*((m + 1)/n)] && LtQ[-4, (m + 1)/n, 5] && IntegerQ[n
] && ((GtQ[n, 0] && LtQ[m, -1]) || (GtQ[-n, 0] && LeQ[-n, m + 1]))

Rule 6497

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

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]
time = 0.03, size = 53, normalized size = 0.75 \begin {gather*} \frac {1}{12} \left (\frac {2 e^{-b^2 x^2} \left (b-2 b^3 x^2\right )}{\sqrt {\pi } x^3}-4 b^4 \text {Erf}(b x)-\frac {3 \text {Erfc}(b x)}{x^4}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Erfc[b*x]/x^5,x]

[Out]

((2*(b - 2*b^3*x^2))/(E^(b^2*x^2)*Sqrt[Pi]*x^3) - 4*b^4*Erf[b*x] - (3*Erfc[b*x])/x^4)/12

________________________________________________________________________________________

Maple [A]
time = 0.09, size = 69, normalized size = 0.97

method result size
derivativedivides \(b^{4} \left (-\frac {\mathrm {erfc}\left (b x \right )}{4 b^{4} x^{4}}-\frac {-\frac {{\mathrm e}^{-b^{2} x^{2}}}{3 b^{3} x^{3}}+\frac {2 \,{\mathrm e}^{-b^{2} x^{2}}}{3 x b}+\frac {2 \erf \left (b x \right ) \sqrt {\pi }}{3}}{2 \sqrt {\pi }}\right )\) \(69\)
default \(b^{4} \left (-\frac {\mathrm {erfc}\left (b x \right )}{4 b^{4} x^{4}}-\frac {-\frac {{\mathrm e}^{-b^{2} x^{2}}}{3 b^{3} x^{3}}+\frac {2 \,{\mathrm e}^{-b^{2} x^{2}}}{3 x b}+\frac {2 \erf \left (b x \right ) \sqrt {\pi }}{3}}{2 \sqrt {\pi }}\right )\) \(69\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(erfc(b*x)/x^5,x,method=_RETURNVERBOSE)

[Out]

b^4*(-1/4/b^4/x^4*erfc(b*x)-1/2/Pi^(1/2)*(-1/3/exp(b^2*x^2)/b^3/x^3+2/3/exp(b^2*x^2)/b/x+2/3*Pi^(1/2)*erf(b*x)
))

________________________________________________________________________________________

Maxima [A]
time = 0.31, size = 35, normalized size = 0.49 \begin {gather*} \frac {b^{4} {\left (x^{2}\right )}^{\frac {3}{2}} \Gamma \left (-\frac {3}{2}, b^{2} x^{2}\right )}{4 \, \sqrt {\pi } x^{3}} - \frac {\operatorname {erfc}\left (b x\right )}{4 \, x^{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(erfc(b*x)/x^5,x, algorithm="maxima")

[Out]

1/4*b^4*(x^2)^(3/2)*gamma(-3/2, b^2*x^2)/(sqrt(pi)*x^3) - 1/4*erfc(b*x)/x^4

________________________________________________________________________________________

Fricas [A]
time = 0.35, size = 58, normalized size = 0.82 \begin {gather*} -\frac {3 \, \pi + 2 \, \sqrt {\pi } {\left (2 \, b^{3} x^{3} - b x\right )} e^{\left (-b^{2} x^{2}\right )} - {\left (3 \, \pi - 4 \, \pi b^{4} x^{4}\right )} \operatorname {erf}\left (b x\right )}{12 \, \pi x^{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(erfc(b*x)/x^5,x, algorithm="fricas")

[Out]

-1/12*(3*pi + 2*sqrt(pi)*(2*b^3*x^3 - b*x)*e^(-b^2*x^2) - (3*pi - 4*pi*b^4*x^4)*erf(b*x))/(pi*x^4)

________________________________________________________________________________________

Sympy [A]
time = 0.36, size = 60, normalized size = 0.85 \begin {gather*} \frac {b^{4} \operatorname {erfc}{\left (b x \right )}}{3} - \frac {b^{3} e^{- b^{2} x^{2}}}{3 \sqrt {\pi } x} + \frac {b e^{- b^{2} x^{2}}}{6 \sqrt {\pi } x^{3}} - \frac {\operatorname {erfc}{\left (b x \right )}}{4 x^{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(erfc(b*x)/x**5,x)

[Out]

b**4*erfc(b*x)/3 - b**3*exp(-b**2*x**2)/(3*sqrt(pi)*x) + b*exp(-b**2*x**2)/(6*sqrt(pi)*x**3) - erfc(b*x)/(4*x*
*4)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(erfc(b*x)/x^5,x, algorithm="giac")

[Out]

integrate(erfc(b*x)/x^5, x)

________________________________________________________________________________________

Mupad [B]
time = 0.19, size = 71, normalized size = 1.00 \begin {gather*} -\frac {\frac {\mathrm {erfc}\left (b\,x\right )}{4}+\frac {b^3\,x^3\,{\mathrm {e}}^{-b^2\,x^2}}{3\,\sqrt {\pi }}-\frac {b\,x\,{\mathrm {e}}^{-b^2\,x^2}}{6\,\sqrt {\pi }}}{x^4}-\frac {b^5\,\mathrm {erfi}\left (x\,\sqrt {-b^2}\right )}{3\,\sqrt {-b^2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(erfc(b*x)/x^5,x)

[Out]

- (erfc(b*x)/4 + (b^3*x^3*exp(-b^2*x^2))/(3*pi^(1/2)) - (b*x*exp(-b^2*x^2))/(6*pi^(1/2)))/x^4 - (b^5*erfi(x*(-
b^2)^(1/2)))/(3*(-b^2)^(1/2))

________________________________________________________________________________________