Integrand size = 18, antiderivative size = 91 \[ \int \text {erfc}(b x) \sin \left (c-i b^2 x^2\right ) \, dx=-\frac {i e^{-i c} \sqrt {\pi } \text {erfc}(b x)^2}{8 b}-\frac {i e^{i c} \sqrt {\pi } \text {erfi}(b x)}{4 b}+\frac {i b e^{i c} x^2 \, _2F_2\left (1,1;\frac {3}{2},2;b^2 x^2\right )}{2 \sqrt {\pi }} \]
[Out]
Time = 0.07 (sec) , antiderivative size = 91, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {6540, 6509, 30, 6512, 2235, 6511} \[ \int \text {erfc}(b x) \sin \left (c-i b^2 x^2\right ) \, dx=\frac {i b e^{i c} x^2 \, _2F_2\left (1,1;\frac {3}{2},2;b^2 x^2\right )}{2 \sqrt {\pi }}-\frac {i \sqrt {\pi } e^{-i c} \text {erfc}(b x)^2}{8 b}-\frac {i \sqrt {\pi } e^{i c} \text {erfi}(b x)}{4 b} \]
[In]
[Out]
Rule 30
Rule 2235
Rule 6509
Rule 6511
Rule 6512
Rule 6540
Rubi steps \begin{align*} \text {integral}& = \frac {1}{2} i \int e^{-i c-b^2 x^2} \text {erfc}(b x) \, dx-\frac {1}{2} i \int e^{i c+b^2 x^2} \text {erfc}(b x) \, dx \\ & = -\left (\frac {1}{2} i \int e^{i c+b^2 x^2} \, dx\right )+\frac {1}{2} i \int e^{i c+b^2 x^2} \text {erf}(b x) \, dx-\frac {\left (i e^{-i c} \sqrt {\pi }\right ) \text {Subst}(\int x \, dx,x,\text {erfc}(b x))}{4 b} \\ & = -\frac {i e^{-i c} \sqrt {\pi } \text {erfc}(b x)^2}{8 b}-\frac {i e^{i c} \sqrt {\pi } \text {erfi}(b x)}{4 b}+\frac {i b e^{i c} x^2 \, _2F_2\left (1,1;\frac {3}{2},2;b^2 x^2\right )}{2 \sqrt {\pi }} \\ \end{align*}
Time = 2.20 (sec) , antiderivative size = 101, normalized size of antiderivative = 1.11 \[ \int \text {erfc}(b x) \sin \left (c-i b^2 x^2\right ) \, dx=\frac {1}{2} i \left (-\frac {\sqrt {\pi } \left (-2 \text {erf}(b x) (\cos (c)-i \sin (c))+\text {erf}(b x)^2 (\cos (c)-i \sin (c))+2 \text {erfi}(b x) (\cos (c)+i \sin (c))\right )}{4 b}+\frac {b x^2 \, _2F_2\left (1,1;\frac {3}{2},2;b^2 x^2\right ) (\cos (c)+i \sin (c))}{\sqrt {\pi }}\right ) \]
[In]
[Out]
\[\int -\operatorname {erfc}\left (b x \right ) \sin \left (i b^{2} x^{2}-c \right )d x\]
[In]
[Out]
\[ \int \text {erfc}(b x) \sin \left (c-i b^2 x^2\right ) \, dx=\int { -\operatorname {erfc}\left (b x\right ) \sin \left (i \, b^{2} x^{2} - c\right ) \,d x } \]
[In]
[Out]
\[ \int \text {erfc}(b x) \sin \left (c-i b^2 x^2\right ) \, dx=- \int \sin {\left (i b^{2} x^{2} - c \right )} \operatorname {erfc}{\left (b x \right )}\, dx \]
[In]
[Out]
\[ \int \text {erfc}(b x) \sin \left (c-i b^2 x^2\right ) \, dx=\int { -\operatorname {erfc}\left (b x\right ) \sin \left (i \, b^{2} x^{2} - c\right ) \,d x } \]
[In]
[Out]
\[ \int \text {erfc}(b x) \sin \left (c-i b^2 x^2\right ) \, dx=\int { -\operatorname {erfc}\left (b x\right ) \sin \left (i \, b^{2} x^{2} - c\right ) \,d x } \]
[In]
[Out]
Timed out. \[ \int \text {erfc}(b x) \sin \left (c-i b^2 x^2\right ) \, dx=\int \sin \left (c-b^2\,x^2\,1{}\mathrm {i}\right )\,\mathrm {erfc}\left (b\,x\right ) \,d x \]
[In]
[Out]