Optimal. Leaf size=33 \[ -\frac {b}{\sqrt {\pi } x}-\frac {e^{-b^2 x^2} \text {Erfi}(b x)}{2 x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 33, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 3, integrand size = 40, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.075, Rules used = {6528, 6525, 30}
\begin {gather*} -\frac {e^{-b^2 x^2} \text {Erfi}(b x)}{2 x^2}-\frac {b}{\sqrt {\pi } x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 6525
Rule 6528
Rubi steps
\begin {align*} \int \left (\frac {e^{-b^2 x^2} \text {erfi}(b x)}{x^3}+\frac {b^2 e^{-b^2 x^2} \text {erfi}(b x)}{x}\right ) \, dx &=b^2 \int \frac {e^{-b^2 x^2} \text {erfi}(b x)}{x} \, dx+\int \frac {e^{-b^2 x^2} \text {erfi}(b x)}{x^3} \, dx\\ &=-\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 }}-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}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 33, normalized size = 1.00 \begin {gather*} -\frac {b}{\sqrt {\pi } x}-\frac {e^{-b^2 x^2} \text {Erfi}(b x)}{2 x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.18, size = 41, normalized size = 1.24
method | result | size |
default | \(\frac {\left (-2 \,{\mathrm e}^{b^{2} x^{2}} b x -\erfi \left (b x \right ) \sqrt {\pi }\right ) {\mathrm e}^{-b^{2} x^{2}}}{2 \sqrt {\pi }\, x^{2}}\) | \(41\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 39, normalized size = 1.18 \begin {gather*} -\frac {{\left (2 \, \sqrt {\pi } b x e^{\left (b^{2} x^{2}\right )} + \pi \operatorname {erfi}\left (b x\right )\right )} e^{\left (-b^{2} x^{2}\right )}}{2 \, \pi x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 11.08, size = 53, normalized size = 1.61 \begin {gather*} \frac {2 b^{3} x {{}_{2}F_{2}\left (\begin {matrix} \frac {1}{2}, 1 \\ \frac {3}{2}, \frac {3}{2} \end {matrix}\middle | {- b^{2} x^{2}} \right )}}{\sqrt {\pi }} - \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} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
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]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.17, size = 28, normalized size = 0.85 \begin {gather*} -\frac {{\mathrm {e}}^{-b^2\,x^2}\,\mathrm {erfi}\left (b\,x\right )}{2\,x^2}-\frac {b}{x\,\sqrt {\pi }} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________