3.203 \(\int \text {erfc}(b x) \sinh (c+b^2 x^2) \, dx\)

Optimal. Leaf size=75 \[ -\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]

-1/2*b*exp(c)*x^2*HypergeometricPFQ([1, 1],[3/2, 2],b^2*x^2)/Pi^(1/2)+1/8*erfc(b*x)^2*Pi^(1/2)/b/exp(c)+1/4*ex
p(c)*erfi(b*x)*Pi^(1/2)/b

________________________________________________________________________________________

Rubi [A]  time = 0.07, antiderivative size = 75, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {6411, 6377, 2204, 6376, 6374, 30} \[ -\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]

Int[Erfc[b*x]*Sinh[c + b^2*x^2],x]

[Out]

(Sqrt[Pi]*Erfc[b*x]^2)/(8*b*E^c) + (E^c*Sqrt[Pi]*Erfi[b*x])/(4*b) - (b*E^c*x^2*HypergeometricPFQ[{1, 1}, {3/2,
 2}, b^2*x^2])/(2*Sqrt[Pi])

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rule 2204

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[(F^a*Sqrt[Pi]*Erfi[(c + d*x)*Rt[b*Log[F], 2
]])/(2*d*Rt[b*Log[F], 2]), x] /; FreeQ[{F, a, b, c, d}, x] && PosQ[b]

Rule 6374

Int[E^((c_.) + (d_.)*(x_)^2)*Erfc[(b_.)*(x_)]^(n_.), x_Symbol] :> -Dist[(E^c*Sqrt[Pi])/(2*b), Subst[Int[x^n, x
], x, Erfc[b*x]], x] /; FreeQ[{b, c, d, n}, x] && EqQ[d, -b^2]

Rule 6376

Int[E^((c_.) + (d_.)*(x_)^2)*Erf[(b_.)*(x_)], x_Symbol] :> Simp[(b*E^c*x^2*HypergeometricPFQ[{1, 1}, {3/2, 2},
 b^2*x^2])/Sqrt[Pi], x] /; FreeQ[{b, c, d}, x] && EqQ[d, b^2]

Rule 6377

Int[E^((c_.) + (d_.)*(x_)^2)*Erfc[(b_.)*(x_)], x_Symbol] :> Int[E^(c + d*x^2), x] - Int[E^(c + d*x^2)*Erf[b*x]
, x] /; FreeQ[{b, c, d}, x] && EqQ[d, b^2]

Rule 6411

Int[Erfc[(b_.)*(x_)]*Sinh[(c_.) + (d_.)*(x_)^2], x_Symbol] :> Dist[1/2, Int[E^(c + d*x^2)*Erfc[b*x], x], x] -
Dist[1/2, Int[E^(-c - d*x^2)*Erfc[b*x], x], x] /; FreeQ[{b, c, d}, x] && EqQ[d^2, b^4]

Rubi steps

\begin {align*} \int \text {erfc}(b x) \sinh \left (c+b^2 x^2\right ) \, dx &=-\left (\frac {1}{2} \int e^{-c-b^2 x^2} \text {erfc}(b x) \, dx\right )+\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 ) \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.20, size = 83, normalized size = 1.11 \[ \frac {\pi \left (\text {erf}(b x)^2 (\cosh (c)-\sinh (c))-2 \text {erf}(b x) (\cosh (c)-\sinh (c))+2 \text {erfi}(b x) (\sinh (c)+\cosh (c))\right )-4 b^2 x^2 (\sinh (c)+\cosh (c)) \, _2F_2\left (1,1;\frac {3}{2},2;b^2 x^2\right )}{8 \sqrt {\pi } b} \]

Warning: Unable to verify antiderivative.

[In]

Integrate[Erfc[b*x]*Sinh[c + b^2*x^2],x]

[Out]

(-4*b^2*x^2*HypergeometricPFQ[{1, 1}, {3/2, 2}, b^2*x^2]*(Cosh[c] + Sinh[c]) + Pi*(-2*Erf[b*x]*(Cosh[c] - Sinh
[c]) + Erf[b*x]^2*(Cosh[c] - Sinh[c]) + 2*Erfi[b*x]*(Cosh[c] + Sinh[c])))/(8*b*Sqrt[Pi])

________________________________________________________________________________________

fricas [F]  time = 0.42, 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]

integrate(erfc(b*x)*sinh(b^2*x^2+c),x, algorithm="fricas")

[Out]

integral(-(erf(b*x) - 1)*sinh(b^2*x^2 + c), x)

________________________________________________________________________________________

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]

integrate(erfc(b*x)*sinh(b^2*x^2+c),x, algorithm="giac")

[Out]

integrate(erfc(b*x)*sinh(b^2*x^2 + c), x)

________________________________________________________________________________________

maple [F]  time = 0.16, 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]

int(erfc(b*x)*sinh(b^2*x^2+c),x)

[Out]

int(erfc(b*x)*sinh(b^2*x^2+c),x)

________________________________________________________________________________________

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]

integrate(erfc(b*x)*sinh(b^2*x^2+c),x, algorithm="maxima")

[Out]

integrate(erfc(b*x)*sinh(b^2*x^2 + c), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int \mathrm {sinh}\left (b^2\,x^2+c\right )\,\mathrm {erfc}\left (b\,x\right ) \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sinh(c + b^2*x^2)*erfc(b*x),x)

[Out]

int(sinh(c + b^2*x^2)*erfc(b*x), x)

________________________________________________________________________________________

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]

integrate(erfc(b*x)*sinh(b**2*x**2+c),x)

[Out]

Integral(sinh(b**2*x**2 + c)*erfc(b*x), x)

________________________________________________________________________________________