\(\int \frac {e^{-b^2 x^2} \text {erfi}(b x)}{x^3} \, dx\) [274]

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

Optimal result

Integrand size = 18, antiderivative size = 65 \[ \int \frac {e^{-b^2 x^2} \text {erfi}(b x)}{x^3} \, dx=-\frac {b}{\sqrt {\pi } x}-\frac {e^{-b^2 x^2} \text {erfi}(b x)}{2 x^2}-\frac {2 b^3 x \, _2F_2\left (\frac {1}{2},1;\frac {3}{2},\frac {3}{2};-b^2 x^2\right )}{\sqrt {\pi }} \]

[Out]

-1/2*erfi(b*x)/exp(b^2*x^2)/x^2-b/x/Pi^(1/2)-2*b^3*x*hypergeom([1/2, 1],[3/2, 3/2],-b^2*x^2)/Pi^(1/2)

Rubi [A] (verified)

Time = 0.05 (sec) , antiderivative size = 65, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {6528, 6525, 30} \[ \int \frac {e^{-b^2 x^2} \text {erfi}(b x)}{x^3} \, dx=-\frac {2 b^3 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} \text {erfi}(b x)}{2 x^2}-\frac {b}{\sqrt {\pi } x} \]

[In]

Int[Erfi[b*x]/(E^(b^2*x^2)*x^3),x]

[Out]

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

Rule 30

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

Rule 6525

Int[(E^((c_.) + (d_.)*(x_)^2)*Erfi[(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] /; FreeQ[{b, c, d}, x] && EqQ[d, -b^2]

Rule 6528

Int[E^((c_.) + (d_.)*(x_)^2)*Erfi[(a_.) + (b_.)*(x_)]*(x_)^(m_), x_Symbol] :> Simp[x^(m + 1)*E^(c + d*x^2)*(Er
fi[a + b*x]/(m + 1)), x] + (-Dist[2*(d/(m + 1)), Int[x^(m + 2)*E^(c + d*x^2)*Erfi[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*} \text {integral}& = -\frac {e^{-b^2 x^2} \text {erfi}(b x)}{2 x^2}-b^2 \int \frac {e^{-b^2 x^2} \text {erfi}(b x)}{x} \, dx+\frac {b \int \frac {1}{x^2} \, dx}{\sqrt {\pi }} \\ & = -\frac {b}{\sqrt {\pi } x}-\frac {e^{-b^2 x^2} \text {erfi}(b x)}{2 x^2}-\frac {2 b^3 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] (verified)

Time = 0.01 (sec) , antiderivative size = 32, normalized size of antiderivative = 0.49 \[ \int \frac {e^{-b^2 x^2} \text {erfi}(b x)}{x^3} \, dx=-\frac {2 b \, _2F_2\left (-\frac {1}{2},1;\frac {1}{2},\frac {3}{2};-b^2 x^2\right )}{\sqrt {\pi } x} \]

[In]

Integrate[Erfi[b*x]/(E^(b^2*x^2)*x^3),x]

[Out]

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

Maple [F]

\[\int \frac {\operatorname {erfi}\left (b x \right ) {\mathrm e}^{-b^{2} x^{2}}}{x^{3}}d x\]

[In]

int(erfi(b*x)/exp(b^2*x^2)/x^3,x)

[Out]

int(erfi(b*x)/exp(b^2*x^2)/x^3,x)

Fricas [F]

\[ \int \frac {e^{-b^2 x^2} \text {erfi}(b x)}{x^3} \, dx=\int { \frac {\operatorname {erfi}\left (b x\right ) e^{\left (-b^{2} x^{2}\right )}}{x^{3}} \,d x } \]

[In]

integrate(erfi(b*x)/exp(b^2*x^2)/x^3,x, algorithm="fricas")

[Out]

integral(erfi(b*x)*e^(-b^2*x^2)/x^3, x)

Sympy [A] (verification not implemented)

Time = 7.39 (sec) , antiderivative size = 27, normalized size of antiderivative = 0.42 \[ \int \frac {e^{-b^2 x^2} \text {erfi}(b x)}{x^3} \, dx=- \frac {2 b {{}_{2}F_{2}\left (\begin {matrix} - \frac {1}{2}, 1 \\ \frac {1}{2}, \frac {3}{2} \end {matrix}\middle | {- b^{2} x^{2}} \right )}}{\sqrt {\pi } x} \]

[In]

integrate(erfi(b*x)/exp(b**2*x**2)/x**3,x)

[Out]

-2*b*hyper((-1/2, 1), (1/2, 3/2), -b**2*x**2)/(sqrt(pi)*x)

Maxima [F]

\[ \int \frac {e^{-b^2 x^2} \text {erfi}(b x)}{x^3} \, dx=\int { \frac {\operatorname {erfi}\left (b x\right ) e^{\left (-b^{2} x^{2}\right )}}{x^{3}} \,d x } \]

[In]

integrate(erfi(b*x)/exp(b^2*x^2)/x^3,x, algorithm="maxima")

[Out]

integrate(erfi(b*x)*e^(-b^2*x^2)/x^3, x)

Giac [F]

\[ \int \frac {e^{-b^2 x^2} \text {erfi}(b x)}{x^3} \, dx=\int { \frac {\operatorname {erfi}\left (b x\right ) e^{\left (-b^{2} x^{2}\right )}}{x^{3}} \,d x } \]

[In]

integrate(erfi(b*x)/exp(b^2*x^2)/x^3,x, algorithm="giac")

[Out]

integrate(erfi(b*x)*e^(-b^2*x^2)/x^3, x)

Mupad [F(-1)]

Timed out. \[ \int \frac {e^{-b^2 x^2} \text {erfi}(b x)}{x^3} \, dx=\int \frac {{\mathrm {e}}^{-b^2\,x^2}\,\mathrm {erfi}\left (b\,x\right )}{x^3} \,d x \]

[In]

int((exp(-b^2*x^2)*erfi(b*x))/x^3,x)

[Out]

int((exp(-b^2*x^2)*erfi(b*x))/x^3, x)