3.280 \(\int \frac {e^{-b^2 x^2} \text {erfi}(b x)}{x^2} \, dx\)

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

[Out]

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

________________________________________________________________________________________

Rubi [A]  time = 0.06, antiderivative size = 60, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {6393, 6378, 29} \[ -\frac {2 b^3 x^2 \, _2F_2\left (1,1;\frac {3}{2},2;-b^2 x^2\right )}{\sqrt {\pi }}-\frac {e^{-b^2 x^2} \text {Erfi}(b x)}{x}+\frac {2 b \log (x)}{\sqrt {\pi }} \]

Antiderivative was successfully verified.

[In]

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

[Out]

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

Rule 29

Int[(x_)^(-1), x_Symbol] :> Simp[Log[x], x]

Rule 6378

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

Rule 6393

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*} \int \frac {e^{-b^2 x^2} \text {erfi}(b x)}{x^2} \, dx &=-\frac {e^{-b^2 x^2} \text {erfi}(b x)}{x}-\left (2 b^2\right ) \int e^{-b^2 x^2} \text {erfi}(b x) \, dx+\frac {(2 b) \int \frac {1}{x} \, dx}{\sqrt {\pi }}\\ &=-\frac {e^{-b^2 x^2} \text {erfi}(b x)}{x}-\frac {2 b^3 x^2 \, _2F_2\left (1,1;\frac {3}{2},2;-b^2 x^2\right )}{\sqrt {\pi }}+\frac {2 b \log (x)}{\sqrt {\pi }}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C]  time = 0.02, size = 26, normalized size = 0.43 \[ -\frac {1}{2} b G_{2,3}^{2,1}\left (b^2 x^2|\begin {array}{c} 0,1 \\ 0,0,-\frac {1}{2} \\\end {array}\right ) \]

Warning: Unable to verify antiderivative.

[In]

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

[Out]

-1/2*(b*MeijerG[{{0}, {1}}, {{0, 0}, {-1/2}}, b^2*x^2])

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {erfi}\left (b x\right ) e^{\left (-b^{2} x^{2}\right )}}{x^{2}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maple [F]  time = 0.08, size = 0, normalized size = 0.00 \[ \int \frac {\erfi \left (b x \right ) {\mathrm e}^{-b^{2} x^{2}}}{x^{2}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {erfi}\left (b x\right ) e^{\left (-b^{2} x^{2}\right )}}{x^{2}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

int((exp(-b^2*x^2)*erfi(b*x))/x^2, 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(erfi(b*x)/exp(b**2*x**2)/x**2,x)

[Out]

Exception raised: AttributeError

________________________________________________________________________________________