Optimal. Leaf size=77 \[ -\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 }} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, 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 = {6549, 6509, 30,
6512, 2235, 6511} \begin {gather*} -\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} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 2235
Rule 6509
Rule 6511
Rule 6512
Rule 6549
Rubi steps
\begin {align*} \int \cosh \left (c-b^2 x^2\right ) \text {erfc}(b x) \, 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\\ &=\frac {1}{2} \int e^{-c+b^2 x^2} \, dx-\frac {1}{2} \int e^{-c+b^2 x^2} \text {erf}(b x) \, dx-\frac {\left (e^c \sqrt {\pi }\right ) \text {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.08, size = 117, normalized size = 1.52 \begin {gather*} \frac {4 b^2 x^2 \cosh (c) \, _2F_2\left (1,1;\frac {3}{2},2;-b^2 x^2\right )+4 b^2 x^2 \, _2F_2\left (1,1;\frac {3}{2},2;b^2 x^2\right ) \sinh (c)-\pi \left (2 \text {Erf}(b x) (-\cosh (c)+\cosh (c) \text {Erfi}(b x)-\sinh (c))+2 \text {Erfi}(b x) (-\cosh (c)+\sinh (c))+\text {Erf}(b x)^2 (\cosh (c)+\sinh (c))\right )}{8 b \sqrt {\pi }} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.43, size = 0, normalized size = 0.00 \[\int \cosh \left (b^{2} x^{2}-c \right ) \mathrm {erfc}\left (b x \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 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
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]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \cosh {\left (b^{2} x^{2} - c \right )} \operatorname {erfc}{\left (b x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
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 [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \mathrm {cosh}\left (c-b^2\,x^2\right )\,\mathrm {erfc}\left (b\,x\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________