Optimal. Leaf size=103 \[ -\frac {3 e^{-a+c-(b-d) x}}{2 (b-d)}+\frac {e^{a+c+(b+d) x}}{2 (b+d)}+\frac {2 e^{-a+c-(b-d) x} \, _2F_1\left (1,-\frac {b-d}{2 b};\frac {b+d}{2 b};e^{2 (a+b x)}\right )}{b-d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.14, antiderivative size = 103, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 4, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {5622, 2225,
2259, 2283} \begin {gather*} \frac {2 e^{-a-x (b-d)+c} \, _2F_1\left (1,-\frac {b-d}{2 b};\frac {b+d}{2 b};e^{2 (a+b x)}\right )}{b-d}-\frac {3 e^{-a-x (b-d)+c}}{2 (b-d)}+\frac {e^{a+x (b+d)+c}}{2 (b+d)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2225
Rule 2259
Rule 2283
Rule 5622
Rubi steps
\begin {align*} \int e^{c+d x} \cosh (a+b x) \coth (a+b x) \, dx &=\int \left (\frac {3}{2} e^{-a+c-(b-d) x}+\frac {1}{2} e^{-a+c-(b-d) x+2 (a+b x)}+\frac {2 e^{-a+c-(b-d) x}}{-1+e^{2 (a+b x)}}\right ) \, dx\\ &=\frac {1}{2} \int e^{-a+c-(b-d) x+2 (a+b x)} \, dx+\frac {3}{2} \int e^{-a+c-(b-d) x} \, dx+2 \int \frac {e^{-a+c-(b-d) x}}{-1+e^{2 (a+b x)}} \, dx\\ &=-\frac {3 e^{-a+c-(b-d) x}}{2 (b-d)}+\frac {2 e^{-a+c-(b-d) x} \, _2F_1\left (1,-\frac {b-d}{2 b};\frac {b+d}{2 b};e^{2 (a+b x)}\right )}{b-d}+\frac {1}{2} \int e^{a+c+(b+d) x} \, dx\\ &=-\frac {3 e^{-a+c-(b-d) x}}{2 (b-d)}+\frac {e^{a+c+(b+d) x}}{2 (b+d)}+\frac {2 e^{-a+c-(b-d) x} \, _2F_1\left (1,-\frac {b-d}{2 b};\frac {b+d}{2 b};e^{2 (a+b x)}\right )}{b-d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.39, size = 93, normalized size = 0.90 \begin {gather*} \frac {e^c \left (-2 e^{(b+d) x} \, _2F_1\left (1,\frac {b+d}{2 b};\frac {3 b+d}{2 b};e^{2 b x} (\cosh (a)+\sinh (a))^2\right ) (\cosh (a)+\sinh (a))+\frac {e^{d x} (b \cosh (a+b x)-d \sinh (a+b x))}{b-d}\right )}{b+d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 2.73, size = 0, normalized size = 0.00 \[\int {\mathrm e}^{d x +c} \left (\cosh ^{2}\left (b x +a \right )\right ) \mathrm {csch}\left (b x +a \right )\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\mathrm {cosh}\left (a+b\,x\right )}^2\,{\mathrm {e}}^{c+d\,x}}{\mathrm {sinh}\left (a+b\,x\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________