Optimal. Leaf size=77 \[ \frac {b e^{-c} x^2 \, _2F_2\left (1,1;\frac {3}{2},2;b^2 x^2\right )}{2 \sqrt {\pi }}-\frac {\sqrt {\pi } e^c \text {erfc}(b x)^2}{8 b}-\frac {\sqrt {\pi } e^{-c} \text {erfi}(b x)}{4 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 77, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {6411, 6374, 30, 6377, 2204, 6376} \[ \frac {b e^{-c} x^2 \, _2F_2\left (1,1;\frac {3}{2},2;b^2 x^2\right )}{2 \sqrt {\pi }}-\frac {\sqrt {\pi } e^c \text {Erfc}(b x)^2}{8 b}-\frac {\sqrt {\pi } e^{-c} \text {Erfi}(b x)}{4 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 2204
Rule 6374
Rule 6376
Rule 6377
Rule 6411
Rubi steps
\begin {align*} \int \text {erfc}(b x) \sinh \left (c-b^2 x^2\right ) \, dx &=\frac {1}{2} \int e^{c-b^2 x^2} \text {erfc}(b x) \, dx-\frac {1}{2} \int e^{-c+b^2 x^2} \text {erfc}(b x) \, dx\\ &=-\left (\frac {1}{2} \int e^{-c+b^2 x^2} \, dx\right )+\frac {1}{2} \int e^{-c+b^2 x^2} \text {erf}(b x) \, dx-\frac {\left (e^c \sqrt {\pi }\right ) \operatorname {Subst}(\int x \, dx,x,\text {erfc}(b x))}{4 b}\\ &=-\frac {e^c \sqrt {\pi } \text {erfc}(b x)^2}{8 b}-\frac {e^{-c} \sqrt {\pi } \text {erfi}(b x)}{4 b}+\frac {b e^{-c} x^2 \, _2F_2\left (1,1;\frac {3}{2},2;b^2 x^2\right )}{2 \sqrt {\pi }}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.18, size = 84, normalized size = 1.09 \[ -\frac {(\cosh (c)-\sinh (c)) \left (\pi \left (\text {erf}(b x)^2 (\sinh (2 c)+\cosh (2 c))-2 \text {erf}(b x) (\sinh (2 c)+\cosh (2 c))+2 \text {erfi}(b x)\right )-4 b^2 x^2 \, _2F_2\left (1,1;\frac {3}{2},2;b^2 x^2\right )\right )}{8 \sqrt {\pi } b} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.53, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (\operatorname {erf}\left (b x\right ) - 1\right )} \sinh \left (b^{2} x^{2} - c\right ), x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int -\operatorname {erfc}\left (b x\right ) \sinh \left (b^{2} x^{2} - c\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.14, size = 0, normalized size = 0.00 \[ \int -\mathrm {erfc}\left (b x \right ) \sinh \left (b^{2} x^{2}-c \right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ -\int \operatorname {erfc}\left (b x\right ) \sinh \left (b^{2} x^{2} - c\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \mathrm {sinh}\left (c-b^2\,x^2\right )\,\mathrm {erfc}\left (b\,x\right ) \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ - \int \sinh {\left (b^{2} x^{2} - c \right )} \operatorname {erfc}{\left (b x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________