Optimal. Leaf size=116 \[ \frac{e^{-a-b x} \, _2F_1\left (1,-\frac{b}{2 d};1-\frac{b}{2 d};e^{2 (c+d x)}\right )}{b}-\frac{e^{a+b x} \, _2F_1\left (1,\frac{b}{2 d};\frac{b}{2 d}+1;e^{2 (c+d x)}\right )}{b}-\frac{e^{-a-b x}}{2 b}+\frac{e^{a+b x}}{2 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.10577, antiderivative size = 116, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 3, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.231, Rules used = {5602, 2194, 2251} \[ \frac{e^{-a-b x} \, _2F_1\left (1,-\frac{b}{2 d};1-\frac{b}{2 d};e^{2 (c+d x)}\right )}{b}-\frac{e^{a+b x} \, _2F_1\left (1,\frac{b}{2 d};\frac{b}{2 d}+1;e^{2 (c+d x)}\right )}{b}-\frac{e^{-a-b x}}{2 b}+\frac{e^{a+b x}}{2 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5602
Rule 2194
Rule 2251
Rubi steps
\begin{align*} \int \cosh (a+b x) \coth (c+d x) \, dx &=\int \left (\frac{1}{2} e^{-a-b x}+\frac{1}{2} e^{a+b x}-\frac{e^{-a-b x}}{1-e^{2 (c+d x)}}-\frac{e^{a+b x}}{1-e^{2 (c+d x)}}\right ) \, dx\\ &=\frac{1}{2} \int e^{-a-b x} \, dx+\frac{1}{2} \int e^{a+b x} \, dx-\int \frac{e^{-a-b x}}{1-e^{2 (c+d x)}} \, dx-\int \frac{e^{a+b x}}{1-e^{2 (c+d x)}} \, dx\\ &=-\frac{e^{-a-b x}}{2 b}+\frac{e^{a+b x}}{2 b}+\frac{e^{-a-b x} \, _2F_1\left (1,-\frac{b}{2 d};1-\frac{b}{2 d};e^{2 (c+d x)}\right )}{b}-\frac{e^{a+b x} \, _2F_1\left (1,\frac{b}{2 d};1+\frac{b}{2 d};e^{2 (c+d x)}\right )}{b}\\ \end{align*}
Mathematica [A] time = 9.16386, size = 99, normalized size = 0.85 \[ \frac{e^{-a-b x} \left (-2 e^{2 (a+b x)} \, _2F_1\left (1,\frac{b}{2 d};\frac{b}{2 d}+1;e^{2 (c+d x)}\right )+e^{2 (a+b x)}+2 \, _2F_1\left (1,-\frac{b}{2 d};1-\frac{b}{2 d};e^{2 (c+d x)}\right )-1\right )}{2 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.08, size = 0, normalized size = 0. \begin{align*} \int \cosh \left ( bx+a \right ){\rm coth} \left (dx+c\right )\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{{\left (e^{\left (2 \, b x + 2 \, a\right )} - 1\right )} e^{\left (-b x - a\right )}}{2 \, b} - \frac{1}{2} \, \int \frac{e^{\left (2 \, b x + 2 \, a\right )} + 1}{e^{\left (b x + d x + a + c\right )} + e^{\left (b x + a\right )}}\,{d x} + \frac{1}{2} \, \int \frac{e^{\left (2 \, b x + 2 \, a\right )} + 1}{e^{\left (b x + d x + a + c\right )} - e^{\left (b x + a\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\cosh \left (b x + a\right ) \coth \left (d x + c\right ), x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \cosh{\left (a + b x \right )} \coth{\left (c + d x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \cosh \left (b x + a\right ) \coth \left (d x + c\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]