Integrand size = 17, antiderivative size = 283 \[ \int e^{c+d x^2} x^5 \text {erfc}(b x) \, dx=\frac {b e^{c-\left (b^2-d\right ) x^2} x}{\left (b^2-d\right ) d^2 \sqrt {\pi }}-\frac {3 b e^{c-\left (b^2-d\right ) x^2} x}{4 \left (b^2-d\right )^2 d \sqrt {\pi }}-\frac {b e^{c-\left (b^2-d\right ) x^2} x^3}{2 \left (b^2-d\right ) d \sqrt {\pi }}+\frac {b e^c \text {erf}\left (\sqrt {b^2-d} x\right )}{\sqrt {b^2-d} d^3}-\frac {b e^c \text {erf}\left (\sqrt {b^2-d} x\right )}{2 \left (b^2-d\right )^{3/2} d^2}+\frac {3 b e^c \text {erf}\left (\sqrt {b^2-d} x\right )}{8 \left (b^2-d\right )^{5/2} d}+\frac {e^{c+d x^2} \text {erfc}(b x)}{d^3}-\frac {e^{c+d x^2} x^2 \text {erfc}(b x)}{d^2}+\frac {e^{c+d x^2} x^4 \text {erfc}(b x)}{2 d} \]
[Out]
Time = 0.28 (sec) , antiderivative size = 283, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.235, Rules used = {6521, 6518, 2236, 2243} \[ \int e^{c+d x^2} x^5 \text {erfc}(b x) \, dx=\frac {b e^c \text {erf}\left (x \sqrt {b^2-d}\right )}{d^3 \sqrt {b^2-d}}-\frac {b e^c \text {erf}\left (x \sqrt {b^2-d}\right )}{2 d^2 \left (b^2-d\right )^{3/2}}+\frac {b x e^{c-x^2 \left (b^2-d\right )}}{\sqrt {\pi } d^2 \left (b^2-d\right )}+\frac {3 b e^c \text {erf}\left (x \sqrt {b^2-d}\right )}{8 d \left (b^2-d\right )^{5/2}}-\frac {3 b x e^{c-x^2 \left (b^2-d\right )}}{4 \sqrt {\pi } d \left (b^2-d\right )^2}-\frac {b x^3 e^{c-x^2 \left (b^2-d\right )}}{2 \sqrt {\pi } d \left (b^2-d\right )}+\frac {\text {erfc}(b x) e^{c+d x^2}}{d^3}-\frac {x^2 \text {erfc}(b x) e^{c+d x^2}}{d^2}+\frac {x^4 \text {erfc}(b x) e^{c+d x^2}}{2 d} \]
[In]
[Out]
Rule 2236
Rule 2243
Rule 6518
Rule 6521
Rubi steps \begin{align*} \text {integral}& = \frac {e^{c+d x^2} x^4 \text {erfc}(b x)}{2 d}-\frac {2 \int e^{c+d x^2} x^3 \text {erfc}(b x) \, dx}{d}+\frac {b \int e^{c-\left (b^2-d\right ) x^2} x^4 \, dx}{d \sqrt {\pi }} \\ & = -\frac {b e^{c-\left (b^2-d\right ) x^2} x^3}{2 \left (b^2-d\right ) d \sqrt {\pi }}-\frac {e^{c+d x^2} x^2 \text {erfc}(b x)}{d^2}+\frac {e^{c+d x^2} x^4 \text {erfc}(b x)}{2 d}+\frac {2 \int e^{c+d x^2} x \text {erfc}(b x) \, dx}{d^2}-\frac {(2 b) \int e^{c-\left (b^2-d\right ) x^2} x^2 \, dx}{d^2 \sqrt {\pi }}+\frac {(3 b) \int e^{c+\left (-b^2+d\right ) x^2} x^2 \, dx}{2 \left (b^2-d\right ) d \sqrt {\pi }} \\ & = \frac {b e^{c-\left (b^2-d\right ) x^2} x}{\left (b^2-d\right ) d^2 \sqrt {\pi }}-\frac {3 b e^{c-\left (b^2-d\right ) x^2} x}{4 \left (b^2-d\right )^2 d \sqrt {\pi }}-\frac {b e^{c-\left (b^2-d\right ) x^2} x^3}{2 \left (b^2-d\right ) d \sqrt {\pi }}+\frac {e^{c+d x^2} \text {erfc}(b x)}{d^3}-\frac {e^{c+d x^2} x^2 \text {erfc}(b x)}{d^2}+\frac {e^{c+d x^2} x^4 \text {erfc}(b x)}{2 d}+\frac {(2 b) \int e^{c-\left (b^2-d\right ) x^2} \, dx}{d^3 \sqrt {\pi }}-\frac {b \int e^{c+\left (-b^2+d\right ) x^2} \, dx}{\left (b^2-d\right ) d^2 \sqrt {\pi }}+\frac {(3 b) \int e^{c+\left (-b^2+d\right ) x^2} \, dx}{4 \left (b^2-d\right )^2 d \sqrt {\pi }} \\ & = \frac {b e^{c-\left (b^2-d\right ) x^2} x}{\left (b^2-d\right ) d^2 \sqrt {\pi }}-\frac {3 b e^{c-\left (b^2-d\right ) x^2} x}{4 \left (b^2-d\right )^2 d \sqrt {\pi }}-\frac {b e^{c-\left (b^2-d\right ) x^2} x^3}{2 \left (b^2-d\right ) d \sqrt {\pi }}+\frac {b e^c \text {erf}\left (\sqrt {b^2-d} x\right )}{\sqrt {b^2-d} d^3}-\frac {b e^c \text {erf}\left (\sqrt {b^2-d} x\right )}{2 \left (b^2-d\right )^{3/2} d^2}+\frac {3 b e^c \text {erf}\left (\sqrt {b^2-d} x\right )}{8 \left (b^2-d\right )^{5/2} d}+\frac {e^{c+d x^2} \text {erfc}(b x)}{d^3}-\frac {e^{c+d x^2} x^2 \text {erfc}(b x)}{d^2}+\frac {e^{c+d x^2} x^4 \text {erfc}(b x)}{2 d} \\ \end{align*}
Time = 0.28 (sec) , antiderivative size = 138, normalized size of antiderivative = 0.49 \[ \int e^{c+d x^2} x^5 \text {erfc}(b x) \, dx=\frac {e^c \left (\frac {2 b d e^{\left (-b^2+d\right ) x^2} x \left (b^2 \left (4-2 d x^2\right )+d \left (-7+2 d x^2\right )\right )}{\left (b^2-d\right )^2 \sqrt {\pi }}+4 e^{d x^2} \left (2-2 d x^2+d^2 x^4\right ) \text {erfc}(b x)+\frac {b \left (8 b^4-20 b^2 d+15 d^2\right ) \text {erfi}\left (\sqrt {-b^2+d} x\right )}{\left (-b^2+d\right )^{5/2}}\right )}{8 d^3} \]
[In]
[Out]
Time = 5.43 (sec) , antiderivative size = 376, normalized size of antiderivative = 1.33
method | result | size |
default | \(\frac {\frac {{\mathrm e}^{c} \left (\frac {{\mathrm e}^{d \,x^{2}} b^{6} x^{4}}{2 d}-\frac {2 b^{2} \left (\frac {b^{4} x^{2} {\mathrm e}^{d \,x^{2}}}{2 d}-\frac {b^{4} {\mathrm e}^{d \,x^{2}}}{2 d^{2}}\right )}{d}\right )}{b^{5}}-\frac {\operatorname {erf}\left (b x \right ) {\mathrm e}^{c} \left (\frac {{\mathrm e}^{d \,x^{2}} b^{6} x^{4}}{2 d}-\frac {2 b^{2} \left (\frac {b^{4} x^{2} {\mathrm e}^{d \,x^{2}}}{2 d}-\frac {b^{4} {\mathrm e}^{d \,x^{2}}}{2 d^{2}}\right )}{d}\right )}{b^{5}}+\frac {{\mathrm e}^{c} \left (\frac {b^{2} \left (\frac {b^{3} x^{3} {\mathrm e}^{\left (-1+\frac {d}{b^{2}}\right ) b^{2} x^{2}}}{-2+\frac {2 d}{b^{2}}}-\frac {3 \left (\frac {b x \,{\mathrm e}^{\left (-1+\frac {d}{b^{2}}\right ) b^{2} x^{2}}}{-2+\frac {2 d}{b^{2}}}-\frac {\sqrt {\pi }\, \operatorname {erf}\left (\sqrt {1-\frac {d}{b^{2}}}\, b x \right )}{4 \left (-1+\frac {d}{b^{2}}\right ) \sqrt {1-\frac {d}{b^{2}}}}\right )}{2 \left (-1+\frac {d}{b^{2}}\right )}\right )}{d}+\frac {b^{6} \sqrt {\pi }\, \operatorname {erf}\left (\sqrt {1-\frac {d}{b^{2}}}\, b x \right )}{d^{3} \sqrt {1-\frac {d}{b^{2}}}}-\frac {2 b^{4} \left (\frac {b x \,{\mathrm e}^{\left (-1+\frac {d}{b^{2}}\right ) b^{2} x^{2}}}{-2+\frac {2 d}{b^{2}}}-\frac {\sqrt {\pi }\, \operatorname {erf}\left (\sqrt {1-\frac {d}{b^{2}}}\, b x \right )}{4 \left (-1+\frac {d}{b^{2}}\right ) \sqrt {1-\frac {d}{b^{2}}}}\right )}{d^{2}}\right )}{\sqrt {\pi }\, b^{5}}}{b}\) | \(376\) |
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 356, normalized size of antiderivative = 1.26 \[ \int e^{c+d x^2} x^5 \text {erfc}(b x) \, dx=\frac {\pi {\left (8 \, b^{5} - 20 \, b^{3} d + 15 \, b d^{2}\right )} \sqrt {b^{2} - d} \operatorname {erf}\left (\sqrt {b^{2} - d} x\right ) e^{c} - 2 \, \sqrt {\pi } {\left (2 \, {\left (b^{5} d^{2} - 2 \, b^{3} d^{3} + b d^{4}\right )} x^{3} - {\left (4 \, b^{5} d - 11 \, b^{3} d^{2} + 7 \, b d^{3}\right )} x\right )} e^{\left (-b^{2} x^{2} + d x^{2} + c\right )} + 4 \, {\left (\pi {\left (b^{6} d^{2} - 3 \, b^{4} d^{3} + 3 \, b^{2} d^{4} - d^{5}\right )} x^{4} - 2 \, \pi {\left (b^{6} d - 3 \, b^{4} d^{2} + 3 \, b^{2} d^{3} - d^{4}\right )} x^{2} + 2 \, \pi {\left (b^{6} - 3 \, b^{4} d + 3 \, b^{2} d^{2} - d^{3}\right )} - {\left (\pi {\left (b^{6} d^{2} - 3 \, b^{4} d^{3} + 3 \, b^{2} d^{4} - d^{5}\right )} x^{4} - 2 \, \pi {\left (b^{6} d - 3 \, b^{4} d^{2} + 3 \, b^{2} d^{3} - d^{4}\right )} x^{2} + 2 \, \pi {\left (b^{6} - 3 \, b^{4} d + 3 \, b^{2} d^{2} - d^{3}\right )}\right )} \operatorname {erf}\left (b x\right )\right )} e^{\left (d x^{2} + c\right )}}{8 \, \pi {\left (b^{6} d^{3} - 3 \, b^{4} d^{4} + 3 \, b^{2} d^{5} - d^{6}\right )}} \]
[In]
[Out]
\[ \int e^{c+d x^2} x^5 \text {erfc}(b x) \, dx=e^{c} \int x^{5} e^{d x^{2}} \operatorname {erfc}{\left (b x \right )}\, dx \]
[In]
[Out]
\[ \int e^{c+d x^2} x^5 \text {erfc}(b x) \, dx=\int { x^{5} \operatorname {erfc}\left (b x\right ) e^{\left (d x^{2} + c\right )} \,d x } \]
[In]
[Out]
\[ \int e^{c+d x^2} x^5 \text {erfc}(b x) \, dx=\int { x^{5} \operatorname {erfc}\left (b x\right ) e^{\left (d x^{2} + c\right )} \,d x } \]
[In]
[Out]
Timed out. \[ \int e^{c+d x^2} x^5 \text {erfc}(b x) \, dx=\int x^5\,{\mathrm {e}}^{d\,x^2+c}\,\mathrm {erfc}\left (b\,x\right ) \,d x \]
[In]
[Out]