\(\int \frac {e^{c+b^2 x^2} \text {erf}(b x)}{x^5} \, dx\) [69]

Optimal result
Mathematica [A] (verified)
Rubi [A] (verified)
Maple [F]
Fricas [F]
Sympy [F(-1)]
Maxima [F]
Giac [F]
Mupad [F(-1)]
Reduce [F]

Optimal result

Integrand size = 19, antiderivative size = 115 \[ \int \frac {e^{c+b^2 x^2} \text {erf}(b x)}{x^5} \, dx=-\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 {erf}(b x)}{4 x^4}-\frac {b^2 e^{c+b^2 x^2} \text {erf}(b x)}{4 x^2}+\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 }} \] Output:

-1/6*b*exp(c)/Pi^(1/2)/x^3-1/2*b^3*exp(c)/Pi^(1/2)/x-1/4*exp(b^2*x^2+c)*er 
f(b*x)/x^4-1/4*b^2*exp(b^2*x^2+c)*erf(b*x)/x^2+b^5*exp(c)*x*hypergeom([1/2 
, 1],[3/2, 3/2],b^2*x^2)/Pi^(1/2)
 

Mathematica [A] (verified)

Time = 0.10 (sec) , antiderivative size = 36, normalized size of antiderivative = 0.31 \[ \int \frac {e^{c+b^2 x^2} \text {erf}(b x)}{x^5} \, dx=-\frac {2 b e^c \, _2F_2\left (-\frac {3}{2},1;-\frac {1}{2},\frac {3}{2};b^2 x^2\right )}{3 \sqrt {\pi } x^3} \] Input:

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

Output:

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

Rubi [A] (verified)

Time = 0.48 (sec) , antiderivative size = 117, normalized size of antiderivative = 1.02, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.263, Rules used = {6945, 15, 6945, 15, 6942}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

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

\(\Big \downarrow \) 6945

\(\displaystyle \frac {1}{2} b^2 \int \frac {e^{b^2 x^2+c} \text {erf}(b x)}{x^3}dx+\frac {b \int \frac {e^c}{x^4}dx}{2 \sqrt {\pi }}-\frac {e^{b^2 x^2+c} \text {erf}(b x)}{4 x^4}\)

\(\Big \downarrow \) 15

\(\displaystyle \frac {1}{2} b^2 \int \frac {e^{b^2 x^2+c} \text {erf}(b x)}{x^3}dx-\frac {e^{b^2 x^2+c} \text {erf}(b x)}{4 x^4}-\frac {b e^c}{6 \sqrt {\pi } x^3}\)

\(\Big \downarrow \) 6945

\(\displaystyle \frac {1}{2} b^2 \left (b^2 \int \frac {e^{b^2 x^2+c} \text {erf}(b x)}{x}dx+\frac {b \int \frac {e^c}{x^2}dx}{\sqrt {\pi }}-\frac {e^{b^2 x^2+c} \text {erf}(b x)}{2 x^2}\right )-\frac {e^{b^2 x^2+c} \text {erf}(b x)}{4 x^4}-\frac {b e^c}{6 \sqrt {\pi } x^3}\)

\(\Big \downarrow \) 15

\(\displaystyle \frac {1}{2} b^2 \left (b^2 \int \frac {e^{b^2 x^2+c} \text {erf}(b x)}{x}dx-\frac {e^{b^2 x^2+c} \text {erf}(b x)}{2 x^2}-\frac {b e^c}{\sqrt {\pi } x}\right )-\frac {e^{b^2 x^2+c} \text {erf}(b x)}{4 x^4}-\frac {b e^c}{6 \sqrt {\pi } x^3}\)

\(\Big \downarrow \) 6942

\(\displaystyle \frac {1}{2} b^2 \left (\frac {2 b^3 e^c x \, _2F_2\left (\frac {1}{2},1;\frac {3}{2},\frac {3}{2};b^2 x^2\right )}{\sqrt {\pi }}-\frac {e^{b^2 x^2+c} \text {erf}(b x)}{2 x^2}-\frac {b e^c}{\sqrt {\pi } x}\right )-\frac {e^{b^2 x^2+c} \text {erf}(b x)}{4 x^4}-\frac {b e^c}{6 \sqrt {\pi } x^3}\)

Input:

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

Output:

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

Defintions of rubi rules used

rule 15
Int[(a_.)*(x_)^(m_.), x_Symbol] :> Simp[a*(x^(m + 1)/(m + 1)), x] /; FreeQ[ 
{a, m}, x] && NeQ[m, -1]
 

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

rule 6945
Int[E^((c_.) + (d_.)*(x_)^2)*Erf[(a_.) + (b_.)*(x_)]*(x_)^(m_), x_Symbol] : 
> Simp[x^(m + 1)*E^(c + d*x^2)*(Erf[a + b*x]/(m + 1)), x] + (-Simp[2*(d/(m 
+ 1))   Int[x^(m + 2)*E^(c + d*x^2)*Erf[a + b*x], x], x] - Simp[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]
 
Maple [F]

\[\int \frac {{\mathrm e}^{b^{2} x^{2}+c} \operatorname {erf}\left (b x \right )}{x^{5}}d x\]

Input:

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

Output:

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

Fricas [F]

\[ \int \frac {e^{c+b^2 x^2} \text {erf}(b x)}{x^5} \, dx=\int { \frac {\operatorname {erf}\left (b x\right ) e^{\left (b^{2} x^{2} + c\right )}}{x^{5}} \,d x } \] Input:

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

Output:

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

Sympy [F(-1)]

Timed out. \[ \int \frac {e^{c+b^2 x^2} \text {erf}(b x)}{x^5} \, dx=\text {Timed out} \] Input:

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

Output:

Timed out
 

Maxima [F]

\[ \int \frac {e^{c+b^2 x^2} \text {erf}(b x)}{x^5} \, dx=\int { \frac {\operatorname {erf}\left (b x\right ) e^{\left (b^{2} x^{2} + c\right )}}{x^{5}} \,d x } \] Input:

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

Output:

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

Giac [F]

\[ \int \frac {e^{c+b^2 x^2} \text {erf}(b x)}{x^5} \, dx=\int { \frac {\operatorname {erf}\left (b x\right ) e^{\left (b^{2} x^{2} + c\right )}}{x^{5}} \,d x } \] Input:

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

Output:

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

Mupad [F(-1)]

Timed out. \[ \int \frac {e^{c+b^2 x^2} \text {erf}(b x)}{x^5} \, dx=\int \frac {{\mathrm {e}}^{b^2\,x^2+c}\,\mathrm {erf}\left (b\,x\right )}{x^5} \,d x \] Input:

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

Output:

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

Reduce [F]

\[ \int \frac {e^{c+b^2 x^2} \text {erf}(b x)}{x^5} \, dx=\frac {e^{c} \left (-3 e^{b^{2} x^{2}} \mathrm {erf}\left (b x \right ) b^{2} \pi \,x^{2}-3 e^{b^{2} x^{2}} \mathrm {erf}\left (b x \right ) \pi -6 \sqrt {\pi }\, b^{3} x^{3}-2 \sqrt {\pi }\, b x +6 \left (\int \frac {e^{b^{2} x^{2}} \mathrm {erf}\left (b x \right )}{x}d x \right ) b^{4} \pi \,x^{4}\right )}{12 \pi \,x^{4}} \] Input:

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

Output:

(e**c*( - 3*e**(b**2*x**2)*erf(b*x)*b**2*pi*x**2 - 3*e**(b**2*x**2)*erf(b* 
x)*pi - 6*sqrt(pi)*b**3*x**3 - 2*sqrt(pi)*b*x + 6*int((e**(b**2*x**2)*erf( 
b*x))/x,x)*b**4*pi*x**4))/(12*pi*x**4)