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, 6512, 2235, 6511, 6509, 30} \[ \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}& = -\left (\frac {1}{2} i \int e^{i c-b^2 x^2} \text {erfc}(b x) \, dx\right )+\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} \, dx-\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 = 0.32 (sec) , antiderivative size = 94, normalized size of antiderivative = 1.03 \[ \int \text {erfc}(b x) \sin \left (c+i b^2 x^2\right ) \, dx=\frac {(i \cos (c)+\sin (c)) \left (-4 b^2 x^2 \, _2F_2\left (1,1;\frac {3}{2},2;b^2 x^2\right )+\pi \left (2 \text {erfi}(b x)-2 \text {erf}(b x) (\cos (2 c)+i \sin (2 c))+\text {erf}(b x)^2 (\cos (2 c)+i \sin (2 c))\right )\right )}{8 b \sqrt {\pi }} \]
[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 (b^2\,x^2\,1{}\mathrm {i}+c\right )\,\mathrm {erfc}\left (b\,x\right ) \,d x \]
[In]
[Out]