Optimal. Leaf size=527 \[ \frac {3 b e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2}}{4 \left (b^2-d\right ) d^2 \sqrt {\pi }}-\frac {a^2 b^3 e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2}}{2 \left (b^2-d\right )^3 d \sqrt {\pi }}-\frac {b e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2}}{2 \left (b^2-d\right )^2 d \sqrt {\pi }}+\frac {a b^2 e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2} x}{2 \left (b^2-d\right )^2 d \sqrt {\pi }}-\frac {b e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2} x^2}{2 \left (b^2-d\right ) d \sqrt {\pi }}+\frac {3 a b^2 e^{c+\frac {a^2 d}{b^2-d}} \text {Erf}\left (\frac {a b+\left (b^2-d\right ) x}{\sqrt {b^2-d}}\right )}{4 \left (b^2-d\right )^{3/2} d^2}-\frac {a^3 b^4 e^{c+\frac {a^2 d}{b^2-d}} \text {Erf}\left (\frac {a b+\left (b^2-d\right ) x}{\sqrt {b^2-d}}\right )}{2 \left (b^2-d\right )^{7/2} d}-\frac {3 a b^2 e^{c+\frac {a^2 d}{b^2-d}} \text {Erf}\left (\frac {a b+\left (b^2-d\right ) x}{\sqrt {b^2-d}}\right )}{4 \left (b^2-d\right )^{5/2} d}-\frac {3 e^{c+d x^2} x \text {Erfc}(a+b x)}{4 d^2}+\frac {e^{c+d x^2} x^3 \text {Erfc}(a+b x)}{2 d}+\frac {3 \text {Int}\left (e^{c+d x^2} \text {Erfc}(a+b x),x\right )}{4 d^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.63, 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^4 \text {Erfc}(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^4 \text {erfc}(a+b x) \, dx &=\frac {e^{c+d x^2} x^3 \text {erfc}(a+b x)}{2 d}-\frac {3 \int e^{c+d x^2} x^2 \text {erfc}(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^3 \, dx}{d \sqrt {\pi }}\\ &=-\frac {b e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2} x^2}{2 \left (b^2-d\right ) d \sqrt {\pi }}-\frac {3 e^{c+d x^2} x \text {erfc}(a+b x)}{4 d^2}+\frac {e^{c+d x^2} x^3 \text {erfc}(a+b x)}{2 d}+\frac {3 \int e^{c+d x^2} \text {erfc}(a+b x) \, dx}{4 d^2}-\frac {(3 b) \int e^{-a^2+c-2 a b x+\left (-b^2+d\right ) x^2} x \, dx}{2 d^2 \sqrt {\pi }}+\frac {b \int e^{-a^2+c-2 a b x+\left (-b^2+d\right ) x^2} x \, dx}{\left (b^2-d\right ) d \sqrt {\pi }}-\frac {\left (a b^2\right ) \int e^{-a^2+c-2 a b x+\left (-b^2+d\right ) x^2} x^2 \, dx}{\left (b^2-d\right ) d \sqrt {\pi }}\\ &=\frac {3 b e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2}}{4 \left (b^2-d\right ) d^2 \sqrt {\pi }}-\frac {b e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2}}{2 \left (b^2-d\right )^2 d \sqrt {\pi }}+\frac {a b^2 e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2} x}{2 \left (b^2-d\right )^2 d \sqrt {\pi }}-\frac {b e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2} x^2}{2 \left (b^2-d\right ) d \sqrt {\pi }}-\frac {3 e^{c+d x^2} x \text {erfc}(a+b x)}{4 d^2}+\frac {e^{c+d x^2} x^3 \text {erfc}(a+b x)}{2 d}+\frac {3 \int e^{c+d x^2} \text {erfc}(a+b x) \, dx}{4 d^2}+\frac {\left (3 a b^2\right ) \int e^{-a^2+c-2 a b x+\left (-b^2+d\right ) x^2} \, dx}{2 \left (b^2-d\right ) d^2 \sqrt {\pi }}-\frac {\left (a b^2\right ) \int e^{-a^2+c-2 a b x+\left (-b^2+d\right ) x^2} \, dx}{2 \left (b^2-d\right )^2 d \sqrt {\pi }}-\frac {\left (a b^2\right ) \int e^{-a^2+c-2 a b x+\left (-b^2+d\right ) x^2} \, dx}{\left (b^2-d\right )^2 d \sqrt {\pi }}+\frac {\left (a^2 b^3\right ) \int e^{-a^2+c-2 a b x+\left (-b^2+d\right ) x^2} x \, dx}{\left (b^2-d\right )^2 d \sqrt {\pi }}\\ &=\frac {3 b e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2}}{4 \left (b^2-d\right ) d^2 \sqrt {\pi }}-\frac {a^2 b^3 e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2}}{2 \left (b^2-d\right )^3 d \sqrt {\pi }}-\frac {b e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2}}{2 \left (b^2-d\right )^2 d \sqrt {\pi }}+\frac {a b^2 e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2} x}{2 \left (b^2-d\right )^2 d \sqrt {\pi }}-\frac {b e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2} x^2}{2 \left (b^2-d\right ) d \sqrt {\pi }}-\frac {3 e^{c+d x^2} x \text {erfc}(a+b x)}{4 d^2}+\frac {e^{c+d x^2} x^3 \text {erfc}(a+b x)}{2 d}+\frac {3 \int e^{c+d x^2} \text {erfc}(a+b x) \, dx}{4 d^2}-\frac {\left (a^3 b^4\right ) \int e^{-a^2+c-2 a b x+\left (-b^2+d\right ) x^2} \, dx}{\left (b^2-d\right )^3 d \sqrt {\pi }}+\frac {\left (3 a b^2 e^{\frac {b^2 c+a^2 d-c d}{b^2-d}}\right ) \int \exp \left (\frac {\left (-2 a b+2 \left (-b^2+d\right ) x\right )^2}{4 \left (-b^2+d\right )}\right ) \, dx}{2 \left (b^2-d\right ) d^2 \sqrt {\pi }}-\frac {\left (a b^2 e^{\frac {b^2 c+a^2 d-c d}{b^2-d}}\right ) \int \exp \left (\frac {\left (-2 a b+2 \left (-b^2+d\right ) x\right )^2}{4 \left (-b^2+d\right )}\right ) \, dx}{2 \left (b^2-d\right )^2 d \sqrt {\pi }}-\frac {\left (a b^2 e^{\frac {b^2 c+a^2 d-c d}{b^2-d}}\right ) \int \exp \left (\frac {\left (-2 a b+2 \left (-b^2+d\right ) x\right )^2}{4 \left (-b^2+d\right )}\right ) \, dx}{\left (b^2-d\right )^2 d \sqrt {\pi }}\\ &=\frac {3 b e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2}}{4 \left (b^2-d\right ) d^2 \sqrt {\pi }}-\frac {a^2 b^3 e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2}}{2 \left (b^2-d\right )^3 d \sqrt {\pi }}-\frac {b e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2}}{2 \left (b^2-d\right )^2 d \sqrt {\pi }}+\frac {a b^2 e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2} x}{2 \left (b^2-d\right )^2 d \sqrt {\pi }}-\frac {b e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2} x^2}{2 \left (b^2-d\right ) d \sqrt {\pi }}+\frac {3 a b^2 e^{\frac {b^2 c+a^2 d-c d}{b^2-d}} \text {erf}\left (\frac {a b+\left (b^2-d\right ) x}{\sqrt {b^2-d}}\right )}{4 \left (b^2-d\right )^{3/2} d^2}-\frac {3 a b^2 e^{\frac {b^2 c+a^2 d-c d}{b^2-d}} \text {erf}\left (\frac {a b+\left (b^2-d\right ) x}{\sqrt {b^2-d}}\right )}{4 \left (b^2-d\right )^{5/2} d}-\frac {3 e^{c+d x^2} x \text {erfc}(a+b x)}{4 d^2}+\frac {e^{c+d x^2} x^3 \text {erfc}(a+b x)}{2 d}+\frac {3 \int e^{c+d x^2} \text {erfc}(a+b x) \, dx}{4 d^2}-\frac {\left (a^3 b^4 e^{\frac {b^2 c+a^2 d-c d}{b^2-d}}\right ) \int \exp \left (\frac {\left (-2 a b+2 \left (-b^2+d\right ) x\right )^2}{4 \left (-b^2+d\right )}\right ) \, dx}{\left (b^2-d\right )^3 d \sqrt {\pi }}\\ &=\frac {3 b e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2}}{4 \left (b^2-d\right ) d^2 \sqrt {\pi }}-\frac {a^2 b^3 e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2}}{2 \left (b^2-d\right )^3 d \sqrt {\pi }}-\frac {b e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2}}{2 \left (b^2-d\right )^2 d \sqrt {\pi }}+\frac {a b^2 e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2} x}{2 \left (b^2-d\right )^2 d \sqrt {\pi }}-\frac {b e^{-a^2+c-2 a b x-\left (b^2-d\right ) x^2} x^2}{2 \left (b^2-d\right ) d \sqrt {\pi }}+\frac {3 a b^2 e^{\frac {b^2 c+a^2 d-c d}{b^2-d}} \text {erf}\left (\frac {a b+\left (b^2-d\right ) x}{\sqrt {b^2-d}}\right )}{4 \left (b^2-d\right )^{3/2} d^2}-\frac {a^3 b^4 e^{\frac {b^2 c+a^2 d-c d}{b^2-d}} \text {erf}\left (\frac {a b+\left (b^2-d\right ) x}{\sqrt {b^2-d}}\right )}{2 \left (b^2-d\right )^{7/2} d}-\frac {3 a b^2 e^{\frac {b^2 c+a^2 d-c d}{b^2-d}} \text {erf}\left (\frac {a b+\left (b^2-d\right ) x}{\sqrt {b^2-d}}\right )}{4 \left (b^2-d\right )^{5/2} d}-\frac {3 e^{c+d x^2} x \text {erfc}(a+b x)}{4 d^2}+\frac {e^{c+d x^2} x^3 \text {erfc}(a+b x)}{2 d}+\frac {3 \int e^{c+d x^2} \text {erfc}(a+b x) \, dx}{4 d^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.79, size = 0, normalized size = 0.00 \begin {gather*} \int e^{c+d x^2} x^4 \text {Erfc}(a+b x) \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.08, size = 0, normalized size = 0.00 \[\int {\mathrm e}^{d \,x^{2}+c} x^{4} \mathrm {erfc}\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 [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \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.00 \begin {gather*} \int x^4\,\mathrm {erfc}\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]
________________________________________________________________________________________