### 3.949 $$\int e^{c+d x} \coth (a+b x) \, dx$$

Optimal. Leaf size=53 $\frac{e^{c+d x}}{d}-\frac{2 e^{c+d x} \, _2F_1\left (1,\frac{d}{2 b};\frac{d}{2 b}+1;e^{2 (a+b x)}\right )}{d}$

[Out]

E^(c + d*x)/d - (2*E^(c + d*x)*Hypergeometric2F1[1, d/(2*b), 1 + d/(2*b), E^(2*(a + b*x))])/d

________________________________________________________________________________________

Rubi [A]  time = 0.0645266, antiderivative size = 53, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 14, $$\frac{\text{number of rules}}{\text{integrand size}}$$ = 0.214, Rules used = {5485, 2194, 2251} $\frac{e^{c+d x}}{d}-\frac{2 e^{c+d x} \, _2F_1\left (1,\frac{d}{2 b};\frac{d}{2 b}+1;e^{2 (a+b x)}\right )}{d}$

Antiderivative was successfully veriﬁed.

[In]

Int[E^(c + d*x)*Coth[a + b*x],x]

[Out]

E^(c + d*x)/d - (2*E^(c + d*x)*Hypergeometric2F1[1, d/(2*b), 1 + d/(2*b), E^(2*(a + b*x))])/d

Rule 5485

Int[Coth[(d_.) + (e_.)*(x_)]^(n_.)*(F_)^((c_.)*((a_.) + (b_.)*(x_))), x_Symbol] :> Int[ExpandIntegrand[(F^(c*(
a + b*x))*(1 + E^(2*(d + e*x)))^n)/(-1 + E^(2*(d + e*x)))^n, x], x] /; FreeQ[{F, a, b, c, d, e}, x] && Integer
Q[n]

Rule 2194

Int[((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(n_.), x_Symbol] :> Simp[(F^(c*(a + b*x)))^n/(b*c*n*Log[F]), x] /; Fre
eQ[{F, a, b, c, n}, x]

Rule 2251

Int[((a_) + (b_.)*(F_)^((e_.)*((c_.) + (d_.)*(x_))))^(p_)*(G_)^((h_.)*((f_.) + (g_.)*(x_))), x_Symbol] :> Simp
[(a^p*G^(h*(f + g*x))*Hypergeometric2F1[-p, (g*h*Log[G])/(d*e*Log[F]), (g*h*Log[G])/(d*e*Log[F]) + 1, Simplify
[-((b*F^(e*(c + d*x)))/a)]])/(g*h*Log[G]), x] /; FreeQ[{F, G, a, b, c, d, e, f, g, h, p}, x] && (ILtQ[p, 0] ||
GtQ[a, 0])

Rubi steps

\begin{align*} \int e^{c+d x} \coth (a+b x) \, dx &=\int \left (e^{c+d x}+\frac{2 e^{c+d x}}{-1+e^{2 (a+b x)}}\right ) \, dx\\ &=2 \int \frac{e^{c+d x}}{-1+e^{2 (a+b x)}} \, dx+\int e^{c+d x} \, dx\\ &=\frac{e^{c+d x}}{d}-\frac{2 e^{c+d x} \, _2F_1\left (1,\frac{d}{2 b};1+\frac{d}{2 b};e^{2 (a+b x)}\right )}{d}\\ \end{align*}

Mathematica [B]  time = 1.92924, size = 120, normalized size = 2.26 $\frac{\coth (a) e^{c+d x}}{d}-\frac{2 e^{2 a+c} \left (\frac{e^{d x} \, _2F_1\left (1,\frac{d}{2 b};\frac{d}{2 b}+1;e^{2 (a+b x)}\right )}{d}-\frac{e^{x (2 b+d)} \, _2F_1\left (1,\frac{d}{2 b}+1;\frac{d}{2 b}+2;e^{2 (a+b x)}\right )}{2 b+d}\right )}{e^{2 a}-1}$

Antiderivative was successfully veriﬁed.

[In]

Integrate[E^(c + d*x)*Coth[a + b*x],x]

[Out]

(E^(c + d*x)*Coth[a])/d - (2*E^(2*a + c)*((E^(d*x)*Hypergeometric2F1[1, d/(2*b), 1 + d/(2*b), E^(2*(a + b*x))]
)/d - (E^((2*b + d)*x)*Hypergeometric2F1[1, 1 + d/(2*b), 2 + d/(2*b), E^(2*(a + b*x))])/(2*b + d)))/(-1 + E^(2
*a))

________________________________________________________________________________________

Maple [F]  time = 0.056, size = 0, normalized size = 0. \begin{align*} \int{{\rm e}^{dx+c}}\cosh \left ( bx+a \right ){\rm csch} \left (bx+a\right )\, dx \end{align*}

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

[In]

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

[Out]

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

________________________________________________________________________________________

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

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

[In]

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

[Out]

-4*b*integrate(e^(d*x + c)/((2*b - d)*e^(4*b*x + 4*a) - 2*(2*b - d)*e^(2*b*x + 2*a) + 2*b - d), x) - ((2*b*e^c
- d*e^c)*e^(2*b*x + 2*a) - 2*b*e^c - d*e^c)*e^(d*x)/(2*b*d - d^2 - (2*b*d - d^2)*e^(2*b*x + 2*a))

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\cosh \left (b x + a\right ) \operatorname{csch}\left (b x + a\right ) e^{\left (d x + c\right )}, x\right ) \end{align*}

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

[In]

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

[Out]

integral(cosh(b*x + a)*csch(b*x + a)*e^(d*x + c), x)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

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

[In]

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

[Out]

Timed out

________________________________________________________________________________________

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

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

[In]

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

[Out]

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