Optimal. Leaf size=149 \[ -\frac {b e^{a^2+c+2 a b x+\left (b^2+d\right ) x^2}}{2 d \left (b^2+d\right ) \sqrt {\pi }}+\frac {e^{c+d x^2} x \text {Erfi}(a+b x)}{2 d}+\frac {a b^2 e^{c+\frac {a^2 d}{b^2+d}} \text {Erfi}\left (\frac {a b+\left (b^2+d\right ) x}{\sqrt {b^2+d}}\right )}{2 d \left (b^2+d\right )^{3/2}}-\frac {\text {Int}\left (e^{c+d x^2} \text {Erfi}(a+b x),x\right )}{2 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps
used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {}
\begin {gather*} \int e^{c+d x^2} x^2 \text {Erfi}(a+b x) \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int e^{c+d x^2} x^2 \text {erfi}(a+b x) \, dx &=\frac {e^{c+d x^2} x \text {erfi}(a+b x)}{2 d}-\frac {\int e^{c+d x^2} \text {erfi}(a+b x) \, dx}{2 d}-\frac {b \int e^{a^2+c+2 a b x+\left (b^2+d\right ) x^2} x \, dx}{d \sqrt {\pi }}\\ &=-\frac {b e^{a^2+c+2 a b x+\left (b^2+d\right ) x^2}}{2 d \left (b^2+d\right ) \sqrt {\pi }}+\frac {e^{c+d x^2} x \text {erfi}(a+b x)}{2 d}-\frac {\int e^{c+d x^2} \text {erfi}(a+b x) \, dx}{2 d}+\frac {\left (a b^2\right ) \int e^{a^2+c+2 a b x+\left (b^2+d\right ) x^2} \, dx}{d \left (b^2+d\right ) \sqrt {\pi }}\\ &=-\frac {b e^{a^2+c+2 a b x+\left (b^2+d\right ) x^2}}{2 d \left (b^2+d\right ) \sqrt {\pi }}+\frac {e^{c+d x^2} x \text {erfi}(a+b x)}{2 d}-\frac {\int e^{c+d x^2} \text {erfi}(a+b x) \, dx}{2 d}+\frac {\left (a b^2 e^{c+\frac {a^2 d}{b^2+d}}\right ) \int e^{\frac {\left (2 a b+2 \left (b^2+d\right ) x\right )^2}{4 \left (b^2+d\right )}} \, dx}{d \left (b^2+d\right ) \sqrt {\pi }}\\ &=-\frac {b e^{a^2+c+2 a b x+\left (b^2+d\right ) x^2}}{2 d \left (b^2+d\right ) \sqrt {\pi }}+\frac {e^{c+d x^2} x \text {erfi}(a+b x)}{2 d}+\frac {a b^2 e^{c+\frac {a^2 d}{b^2+d}} \text {erfi}\left (\frac {a b+\left (b^2+d\right ) x}{\sqrt {b^2+d}}\right )}{2 d \left (b^2+d\right )^{3/2}}-\frac {\int e^{c+d x^2} \text {erfi}(a+b x) \, dx}{2 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.26, size = 0, normalized size = 0.00 \begin {gather*} \int e^{c+d x^2} x^2 \text {Erfi}(a+b x) \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.13, size = 0, normalized size = 0.00 \[\int {\mathrm e}^{d \,x^{2}+c} x^{2} \erfi \left (b x +a \right )\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
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.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]
________________________________________________________________________________________
Sympy [A]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} e^{c} \int x^{2} e^{d x^{2}} \operatorname {erfi}{\left (a + b x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
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 [A]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x^2\,\mathrm {erfi}\left (a+b\,x\right )\,{\mathrm {e}}^{d\,x^2+c} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________