### 3.248 $$\int \cosh (x) \text{csch}(5 x) \, dx$$

Optimal. Leaf size=62 $-\frac{1}{20} \left (1+\sqrt{5}\right ) \log \left (8 \sinh ^2(x)-\sqrt{5}+5\right )-\frac{1}{20} \left (1-\sqrt{5}\right ) \log \left (8 \sinh ^2(x)+\sqrt{5}+5\right )+\frac{1}{5} \log (\sinh (x))$

[Out]

Log[Sinh[x]]/5 - ((1 + Sqrt[5])*Log[5 - Sqrt[5] + 8*Sinh[x]^2])/20 - ((1 - Sqrt[5])*Log[5 + Sqrt[5] + 8*Sinh[x
]^2])/20

________________________________________________________________________________________

Rubi [A]  time = 0.0779144, antiderivative size = 62, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 7, $$\frac{\text{number of rules}}{\text{integrand size}}$$ = 0.857, Rules used = {4356, 1114, 705, 29, 632, 31} $-\frac{1}{20} \left (1+\sqrt{5}\right ) \log \left (8 \sinh ^2(x)-\sqrt{5}+5\right )-\frac{1}{20} \left (1-\sqrt{5}\right ) \log \left (8 \sinh ^2(x)+\sqrt{5}+5\right )+\frac{1}{5} \log (\sinh (x))$

Antiderivative was successfully veriﬁed.

[In]

Int[Cosh[x]*Csch[5*x],x]

[Out]

Log[Sinh[x]]/5 - ((1 + Sqrt[5])*Log[5 - Sqrt[5] + 8*Sinh[x]^2])/20 - ((1 - Sqrt[5])*Log[5 + Sqrt[5] + 8*Sinh[x
]^2])/20

Rule 4356

Int[(u_)*(F_)[(c_.)*((a_.) + (b_.)*(x_))], x_Symbol] :> With[{d = FreeFactors[Sin[c*(a + b*x)], x]}, Dist[d/(b
*c), Subst[Int[SubstFor[1, Sin[c*(a + b*x)]/d, u, x], x], x, Sin[c*(a + b*x)]/d], x] /; FunctionOfQ[Sin[c*(a +
b*x)]/d, u, x]] /; FreeQ[{a, b, c}, x] && (EqQ[F, Cos] || EqQ[F, cos])

Rule 1114

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_.), x_Symbol] :> Dist[1/2, Subst[Int[x^((m - 1)/2)*(a +
b*x + c*x^2)^p, x], x, x^2], x] /; FreeQ[{a, b, c, p}, x] && IntegerQ[(m - 1)/2]

Rule 705

Int[1/(((d_.) + (e_.)*(x_))*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)), x_Symbol] :> Dist[e^2/(c*d^2 - b*d*e + a*e^2
), Int[1/(d + e*x), x], x] + Dist[1/(c*d^2 - b*d*e + a*e^2), Int[(c*d - b*e - c*e*x)/(a + b*x + c*x^2), x], x]
/; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2, 0] && NeQ[2*c*d - b*e, 0]

Rule 29

Int[(x_)^(-1), x_Symbol] :> Simp[Log[x], x]

Rule 632

Int[((d_.) + (e_.)*(x_))/((a_) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> With[{q = Rt[b^2 - 4*a*c, 2]}, Dist[
(c*d - e*(b/2 - q/2))/q, Int[1/(b/2 - q/2 + c*x), x], x] - Dist[(c*d - e*(b/2 + q/2))/q, Int[1/(b/2 + q/2 + c*
x), x], x]] /; FreeQ[{a, b, c, d, e}, x] && NeQ[2*c*d - b*e, 0] && NeQ[b^2 - 4*a*c, 0] && NiceSqrtQ[b^2 - 4*a*
c]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rubi steps

\begin{align*} \int \cosh (x) \text{csch}(5 x) \, dx &=\operatorname{Subst}\left (\int \frac{1}{x \left (5+20 x^2+16 x^4\right )} \, dx,x,\sinh (x)\right )\\ &=\frac{1}{2} \operatorname{Subst}\left (\int \frac{1}{x \left (5+20 x+16 x^2\right )} \, dx,x,\sinh ^2(x)\right )\\ &=\frac{1}{10} \operatorname{Subst}\left (\int \frac{1}{x} \, dx,x,\sinh ^2(x)\right )+\frac{1}{10} \operatorname{Subst}\left (\int \frac{-20-16 x}{5+20 x+16 x^2} \, dx,x,\sinh ^2(x)\right )\\ &=\frac{1}{5} \log (\sinh (x))-\frac{1}{5} \left (4 \left (1-\sqrt{5}\right )\right ) \operatorname{Subst}\left (\int \frac{1}{10+2 \sqrt{5}+16 x} \, dx,x,\sinh ^2(x)\right )-\frac{1}{5} \left (4 \left (1+\sqrt{5}\right )\right ) \operatorname{Subst}\left (\int \frac{1}{10-2 \sqrt{5}+16 x} \, dx,x,\sinh ^2(x)\right )\\ &=\frac{1}{5} \log (\sinh (x))-\frac{1}{20} \left (1+\sqrt{5}\right ) \log \left (5-\sqrt{5}+8 \sinh ^2(x)\right )-\frac{1}{20} \left (1-\sqrt{5}\right ) \log \left (5+\sqrt{5}+8 \sinh ^2(x)\right )\\ \end{align*}

Mathematica [A]  time = 0.0590466, size = 57, normalized size = 0.92 $\frac{1}{20} \left (4 \log (\sinh (x))-\left (1+\sqrt{5}\right ) \log \left (4 \cosh (2 x)-\sqrt{5}+1\right )+\left (\sqrt{5}-1\right ) \log \left (4 \cosh (2 x)+\sqrt{5}+1\right )\right )$

Antiderivative was successfully veriﬁed.

[In]

Integrate[Cosh[x]*Csch[5*x],x]

[Out]

(-((1 + Sqrt[5])*Log[1 - Sqrt[5] + 4*Cosh[2*x]]) + (-1 + Sqrt[5])*Log[1 + Sqrt[5] + 4*Cosh[2*x]] + 4*Log[Sinh[
x]])/20

________________________________________________________________________________________

Maple [B]  time = 0.063, size = 101, normalized size = 1.6 \begin{align*}{\frac{\ln \left ({{\rm e}^{2\,x}}-1 \right ) }{5}}-{\frac{\ln \left ({{\rm e}^{4\,x}}+ \left ({\frac{1}{2}}+{\frac{\sqrt{5}}{2}} \right ){{\rm e}^{2\,x}}+1 \right ) }{20}}+{\frac{\ln \left ({{\rm e}^{4\,x}}+ \left ({\frac{1}{2}}+{\frac{\sqrt{5}}{2}} \right ){{\rm e}^{2\,x}}+1 \right ) \sqrt{5}}{20}}-{\frac{\ln \left ({{\rm e}^{4\,x}}+ \left ({\frac{1}{2}}-{\frac{\sqrt{5}}{2}} \right ){{\rm e}^{2\,x}}+1 \right ) }{20}}-{\frac{\ln \left ({{\rm e}^{4\,x}}+ \left ({\frac{1}{2}}-{\frac{\sqrt{5}}{2}} \right ){{\rm e}^{2\,x}}+1 \right ) \sqrt{5}}{20}} \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

int(cosh(x)*csch(5*x),x)

[Out]

1/5*ln(exp(2*x)-1)-1/20*ln(exp(4*x)+(1/2+1/2*5^(1/2))*exp(2*x)+1)+1/20*ln(exp(4*x)+(1/2+1/2*5^(1/2))*exp(2*x)+
1)*5^(1/2)-1/20*ln(exp(4*x)+(1/2-1/2*5^(1/2))*exp(2*x)+1)-1/20*ln(exp(4*x)+(1/2-1/2*5^(1/2))*exp(2*x)+1)*5^(1/
2)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} -\frac{1}{5} \, \int \frac{{\left (e^{\left (3 \, x\right )} + e^{\left (2 \, x\right )} + e^{x} + 1\right )} e^{x}}{e^{\left (4 \, x\right )} + e^{\left (3 \, x\right )} + e^{\left (2 \, x\right )} + e^{x} + 1}\,{d x} - \frac{1}{5} \, \int \frac{{\left (e^{\left (3 \, x\right )} - e^{\left (2 \, x\right )} + e^{x} - 1\right )} e^{x}}{e^{\left (4 \, x\right )} - e^{\left (3 \, x\right )} + e^{\left (2 \, x\right )} - e^{x} + 1}\,{d x} + \frac{3}{10} \, \int \frac{e^{\left (3 \, x\right )}}{e^{\left (4 \, x\right )} + e^{\left (3 \, x\right )} + e^{\left (2 \, x\right )} + e^{x} + 1}\,{d x} - \frac{3}{10} \, \int \frac{e^{\left (3 \, x\right )}}{e^{\left (4 \, x\right )} - e^{\left (3 \, x\right )} + e^{\left (2 \, x\right )} - e^{x} + 1}\,{d x} + \frac{1}{10} \, \int \frac{e^{\left (2 \, x\right )}}{e^{\left (4 \, x\right )} + e^{\left (3 \, x\right )} + e^{\left (2 \, x\right )} + e^{x} + 1}\,{d x} + \frac{1}{10} \, \int \frac{e^{\left (2 \, x\right )}}{e^{\left (4 \, x\right )} - e^{\left (3 \, x\right )} + e^{\left (2 \, x\right )} - e^{x} + 1}\,{d x} - \frac{1}{10} \, \int \frac{e^{x}}{e^{\left (4 \, x\right )} + e^{\left (3 \, x\right )} + e^{\left (2 \, x\right )} + e^{x} + 1}\,{d x} + \frac{1}{10} \, \int \frac{e^{x}}{e^{\left (4 \, x\right )} - e^{\left (3 \, x\right )} + e^{\left (2 \, x\right )} - e^{x} + 1}\,{d x} + \frac{1}{5} \, \log \left (e^{x} + 1\right ) + \frac{1}{5} \, \log \left (e^{x} - 1\right ) \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(x)*csch(5*x),x, algorithm="maxima")

[Out]

-1/5*integrate((e^(3*x) + e^(2*x) + e^x + 1)*e^x/(e^(4*x) + e^(3*x) + e^(2*x) + e^x + 1), x) - 1/5*integrate((
e^(3*x) - e^(2*x) + e^x - 1)*e^x/(e^(4*x) - e^(3*x) + e^(2*x) - e^x + 1), x) + 3/10*integrate(e^(3*x)/(e^(4*x)
+ e^(3*x) + e^(2*x) + e^x + 1), x) - 3/10*integrate(e^(3*x)/(e^(4*x) - e^(3*x) + e^(2*x) - e^x + 1), x) + 1/1
0*integrate(e^(2*x)/(e^(4*x) + e^(3*x) + e^(2*x) + e^x + 1), x) + 1/10*integrate(e^(2*x)/(e^(4*x) - e^(3*x) +
e^(2*x) - e^x + 1), x) - 1/10*integrate(e^x/(e^(4*x) + e^(3*x) + e^(2*x) + e^x + 1), x) + 1/10*integrate(e^x/(
e^(4*x) - e^(3*x) + e^(2*x) - e^x + 1), x) + 1/5*log(e^x + 1) + 1/5*log(e^x - 1)

________________________________________________________________________________________

Fricas [B]  time = 2.16057, size = 583, normalized size = 9.4 \begin{align*} \frac{1}{20} \, \sqrt{5} \log \left (\frac{4 \, \cosh \left (x\right )^{4} + 4 \, \sinh \left (x\right )^{4} + 4 \,{\left (\sqrt{5} + 1\right )} \cosh \left (x\right )^{2} + 4 \,{\left (6 \, \cosh \left (x\right )^{2} + \sqrt{5} + 1\right )} \sinh \left (x\right )^{2} + \sqrt{5} + 7}{2 \, \cosh \left (x\right )^{4} + 2 \, \sinh \left (x\right )^{4} + 2 \,{\left (6 \, \cosh \left (x\right )^{2} + 1\right )} \sinh \left (x\right )^{2} + 2 \, \cosh \left (x\right )^{2} + 1}\right ) - \frac{1}{20} \, \log \left (\frac{2 \, \cosh \left (x\right )^{4} + 2 \, \sinh \left (x\right )^{4} + 2 \,{\left (6 \, \cosh \left (x\right )^{2} + 1\right )} \sinh \left (x\right )^{2} + 2 \, \cosh \left (x\right )^{2} + 1}{\cosh \left (x\right )^{4} - 4 \, \cosh \left (x\right )^{3} \sinh \left (x\right ) + 6 \, \cosh \left (x\right )^{2} \sinh \left (x\right )^{2} - 4 \, \cosh \left (x\right ) \sinh \left (x\right )^{3} + \sinh \left (x\right )^{4}}\right ) + \frac{1}{5} \, \log \left (\frac{2 \, \sinh \left (x\right )}{\cosh \left (x\right ) - \sinh \left (x\right )}\right ) \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(x)*csch(5*x),x, algorithm="fricas")

[Out]

1/20*sqrt(5)*log((4*cosh(x)^4 + 4*sinh(x)^4 + 4*(sqrt(5) + 1)*cosh(x)^2 + 4*(6*cosh(x)^2 + sqrt(5) + 1)*sinh(x
)^2 + sqrt(5) + 7)/(2*cosh(x)^4 + 2*sinh(x)^4 + 2*(6*cosh(x)^2 + 1)*sinh(x)^2 + 2*cosh(x)^2 + 1)) - 1/20*log((
2*cosh(x)^4 + 2*sinh(x)^4 + 2*(6*cosh(x)^2 + 1)*sinh(x)^2 + 2*cosh(x)^2 + 1)/(cosh(x)^4 - 4*cosh(x)^3*sinh(x)
+ 6*cosh(x)^2*sinh(x)^2 - 4*cosh(x)*sinh(x)^3 + sinh(x)^4)) + 1/5*log(2*sinh(x)/(cosh(x) - sinh(x)))

________________________________________________________________________________________

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

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(x)*csch(5*x),x)

[Out]

Integral(cosh(x)*csch(5*x), x)

________________________________________________________________________________________

Giac [B]  time = 1.1892, size = 146, normalized size = 2.35 \begin{align*} -\frac{1}{20} \,{\left (\sqrt{5} + 1\right )} \log \left (\frac{1}{2} \,{\left (\sqrt{5} + 1\right )} e^{x} + e^{\left (2 \, x\right )} + 1\right ) - \frac{1}{20} \,{\left (\sqrt{5} + 1\right )} \log \left (-\frac{1}{2} \,{\left (\sqrt{5} + 1\right )} e^{x} + e^{\left (2 \, x\right )} + 1\right ) + \frac{1}{20} \,{\left (\sqrt{5} - 1\right )} \log \left (\frac{1}{2} \,{\left (\sqrt{5} - 1\right )} e^{x} + e^{\left (2 \, x\right )} + 1\right ) + \frac{1}{20} \,{\left (\sqrt{5} - 1\right )} \log \left (-\frac{1}{2} \,{\left (\sqrt{5} - 1\right )} e^{x} + e^{\left (2 \, x\right )} + 1\right ) + \frac{1}{5} \, \log \left (e^{x} + 1\right ) + \frac{1}{5} \, \log \left ({\left | e^{x} - 1 \right |}\right ) \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(x)*csch(5*x),x, algorithm="giac")

[Out]

-1/20*(sqrt(5) + 1)*log(1/2*(sqrt(5) + 1)*e^x + e^(2*x) + 1) - 1/20*(sqrt(5) + 1)*log(-1/2*(sqrt(5) + 1)*e^x +
e^(2*x) + 1) + 1/20*(sqrt(5) - 1)*log(1/2*(sqrt(5) - 1)*e^x + e^(2*x) + 1) + 1/20*(sqrt(5) - 1)*log(-1/2*(sqr
t(5) - 1)*e^x + e^(2*x) + 1) + 1/5*log(e^x + 1) + 1/5*log(abs(e^x - 1))