3.164 \(\int \cosh (a+b x) \text{csch}(c+b x) \, dx\)

Optimal. Leaf size=26 \[ \frac{\cosh (a-c) \log (\sinh (b x+c))}{b}+x \sinh (a-c) \]

[Out]

(Cosh[a - c]*Log[Sinh[c + b*x]])/b + x*Sinh[a - c]

________________________________________________________________________________________

Rubi [A]  time = 0.0147932, antiderivative size = 26, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.231, Rules used = {5625, 3475, 8} \[ \frac{\cosh (a-c) \log (\sinh (b x+c))}{b}+x \sinh (a-c) \]

Antiderivative was successfully verified.

[In]

Int[Cosh[a + b*x]*Csch[c + b*x],x]

[Out]

(Cosh[a - c]*Log[Sinh[c + b*x]])/b + x*Sinh[a - c]

Rule 5625

Int[Cosh[v_]*Csch[w_]^(n_.), x_Symbol] :> Dist[Cosh[v - w], Int[Coth[w]*Csch[w]^(n - 1), x], x] + Dist[Sinh[v
- w], Int[Csch[w]^(n - 1), x], x] /; GtQ[n, 0] && NeQ[w, v] && FreeQ[v - w, x]

Rule 3475

Int[tan[(c_.) + (d_.)*(x_)], x_Symbol] :> -Simp[Log[RemoveContent[Cos[c + d*x], x]]/d, x] /; FreeQ[{c, d}, x]

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rubi steps

\begin{align*} \int \cosh (a+b x) \text{csch}(c+b x) \, dx &=\cosh (a-c) \int \coth (c+b x) \, dx+\sinh (a-c) \int 1 \, dx\\ &=\frac{\cosh (a-c) \log (\sinh (c+b x))}{b}+x \sinh (a-c)\\ \end{align*}

Mathematica [A]  time = 0.107218, size = 26, normalized size = 1. \[ \frac{\cosh (a-c) \log (\sinh (b x+c))}{b}+x \sinh (a-c) \]

Antiderivative was successfully verified.

[In]

Integrate[Cosh[a + b*x]*Csch[c + b*x],x]

[Out]

(Cosh[a - c]*Log[Sinh[c + b*x]])/b + x*Sinh[a - c]

________________________________________________________________________________________

Maple [B]  time = 0.036, size = 152, normalized size = 5.9 \begin{align*} x{{\rm e}^{a-c}}-{{\rm e}^{-a-c}}{{\rm e}^{2\,a}}x-{{\rm e}^{-a-c}}{{\rm e}^{2\,c}}x-{\frac{{{\rm e}^{-a-c}}{{\rm e}^{2\,a}}a}{b}}-{\frac{{{\rm e}^{-a-c}}{{\rm e}^{2\,c}}a}{b}}+{\frac{\ln \left ({{\rm e}^{2\,bx+2\,a}}-{{\rm e}^{2\,a-2\,c}} \right ){{\rm e}^{-a-c}}{{\rm e}^{2\,a}}}{2\,b}}+{\frac{\ln \left ({{\rm e}^{2\,bx+2\,a}}-{{\rm e}^{2\,a-2\,c}} \right ){{\rm e}^{-a-c}}{{\rm e}^{2\,c}}}{2\,b}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cosh(b*x+a)*csch(b*x+c),x)

[Out]

x*exp(a-c)-exp(-a-c)*exp(2*a)*x-exp(-a-c)*exp(2*c)*x-1/b*exp(-a-c)*exp(2*a)*a-1/b*exp(-a-c)*exp(2*c)*a+1/2/b*l
n(exp(2*b*x+2*a)-exp(2*a-2*c))*exp(-a-c)*exp(2*a)+1/2/b*ln(exp(2*b*x+2*a)-exp(2*a-2*c))*exp(-a-c)*exp(2*c)

________________________________________________________________________________________

Maxima [B]  time = 1.11762, size = 108, normalized size = 4.15 \begin{align*} \frac{{\left (e^{\left (2 \, a\right )} + e^{\left (2 \, c\right )}\right )} e^{\left (-a - c\right )} \log \left (e^{\left (-b x\right )} + e^{c}\right )}{2 \, b} + \frac{{\left (e^{\left (2 \, a\right )} + e^{\left (2 \, c\right )}\right )} e^{\left (-a - c\right )} \log \left (e^{\left (-b x\right )} - e^{c}\right )}{2 \, b} + \frac{{\left (b x + a\right )} e^{\left (a - c\right )}}{b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(b*x+a)*csch(b*x+c),x, algorithm="maxima")

[Out]

1/2*(e^(2*a) + e^(2*c))*e^(-a - c)*log(e^(-b*x) + e^c)/b + 1/2*(e^(2*a) + e^(2*c))*e^(-a - c)*log(e^(-b*x) - e
^c)/b + (b*x + a)*e^(a - c)/b

________________________________________________________________________________________

Fricas [B]  time = 1.85695, size = 231, normalized size = 8.88 \begin{align*} -\frac{2 \, b x -{\left (\cosh \left (-a + c\right )^{2} - 2 \, \cosh \left (-a + c\right ) \sinh \left (-a + c\right ) + \sinh \left (-a + c\right )^{2} + 1\right )} \log \left (\frac{2 \, \sinh \left (b x + c\right )}{\cosh \left (b x + c\right ) - \sinh \left (b x + c\right )}\right )}{2 \,{\left (b \cosh \left (-a + c\right ) - b \sinh \left (-a + c\right )\right )}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(b*x+a)*csch(b*x+c),x, algorithm="fricas")

[Out]

-1/2*(2*b*x - (cosh(-a + c)^2 - 2*cosh(-a + c)*sinh(-a + c) + sinh(-a + c)^2 + 1)*log(2*sinh(b*x + c)/(cosh(b*
x + c) - sinh(b*x + c))))/(b*cosh(-a + c) - b*sinh(-a + c))

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \cosh{\left (a + b x \right )} \operatorname{csch}{\left (b x + c \right )}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(b*x+a)*csch(b*x+c),x)

[Out]

Integral(cosh(a + b*x)*csch(b*x + c), x)

________________________________________________________________________________________

Giac [A]  time = 1.19731, size = 68, normalized size = 2.62 \begin{align*} -\frac{2 \, b x e^{\left (-a + c\right )} -{\left (e^{\left (2 \, a + c\right )} + e^{\left (3 \, c\right )}\right )} e^{\left (-a - 2 \, c\right )} \log \left ({\left | e^{\left (2 \, b x + 2 \, c\right )} - 1 \right |}\right )}{2 \, b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(b*x+a)*csch(b*x+c),x, algorithm="giac")

[Out]

-1/2*(2*b*x*e^(-a + c) - (e^(2*a + c) + e^(3*c))*e^(-a - 2*c)*log(abs(e^(2*b*x + 2*c) - 1)))/b