Optimal. Leaf size=38 \[ \frac{\sinh (a-c) \tanh (b x+c)}{b}-\frac{\cosh (a-c) \text{sech}^2(b x+c)}{2 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0440048, antiderivative size = 38, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333, Rules used = {5624, 2606, 30, 3767, 8} \[ \frac{\sinh (a-c) \tanh (b x+c)}{b}-\frac{\cosh (a-c) \text{sech}^2(b x+c)}{2 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5624
Rule 2606
Rule 30
Rule 3767
Rule 8
Rubi steps
\begin{align*} \int \text{sech}^3(c+b x) \sinh (a+b x) \, dx &=\cosh (a-c) \int \text{sech}^2(c+b x) \tanh (c+b x) \, dx+\sinh (a-c) \int \text{sech}^2(c+b x) \, dx\\ &=-\frac{\cosh (a-c) \operatorname{Subst}(\int x \, dx,x,\text{sech}(c+b x))}{b}+\frac{(i \sinh (a-c)) \operatorname{Subst}(\int 1 \, dx,x,-i \tanh (c+b x))}{b}\\ &=-\frac{\cosh (a-c) \text{sech}^2(c+b x)}{2 b}+\frac{\sinh (a-c) \tanh (c+b x)}{b}\\ \end{align*}
Mathematica [A] time = 0.162124, size = 35, normalized size = 0.92 \[ -\frac{\text{sech}(c) \text{sech}^2(b x+c) (\cosh (a)-\sinh (a-c) \sinh (2 b x+c))}{2 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.03, size = 58, normalized size = 1.5 \begin{align*} -{\frac{ \left ( 2\,{{\rm e}^{2\,bx+2\,a+2\,c}}+{{\rm e}^{2\,a}}-{{\rm e}^{2\,c}} \right ){{\rm e}^{3\,a-c}}}{b \left ({{\rm e}^{2\,bx+2\,a+2\,c}}+{{\rm e}^{2\,a}} \right ) ^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.25841, size = 162, normalized size = 4.26 \begin{align*} -\frac{2 \, e^{\left (-2 \, b x + 3 \, c\right )}}{b{\left (2 \, e^{\left (-2 \, b x + a + 2 \, c\right )} + e^{\left (-4 \, b x + a\right )} + e^{\left (a + 4 \, c\right )}\right )}} + \frac{e^{\left (2 \, a + 3 \, c\right )}}{b{\left (2 \, e^{\left (-2 \, b x + a + 2 \, c\right )} + e^{\left (-4 \, b x + a\right )} + e^{\left (a + 4 \, c\right )}\right )}} - \frac{e^{\left (5 \, c\right )}}{b{\left (2 \, e^{\left (-2 \, b x + a + 2 \, c\right )} + e^{\left (-4 \, b x + a\right )} + e^{\left (a + 4 \, c\right )}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.99303, size = 644, normalized size = 16.95 \begin{align*} -\frac{2 \,{\left (\cosh \left (b x + c\right ) \cosh \left (-a + c\right ) + \cosh \left (-a + c\right ) \sinh \left (b x + c\right ) - 2 \, \cosh \left (b x + c\right ) \sinh \left (-a + c\right )\right )}}{b \cosh \left (b x + c\right )^{3} \cosh \left (-a + c\right )^{2} + 3 \, b \cosh \left (b x + c\right ) \cosh \left (-a + c\right )^{2} +{\left (b \cosh \left (-a + c\right )^{2} - b \sinh \left (-a + c\right )^{2}\right )} \sinh \left (b x + c\right )^{3} + 3 \,{\left (b \cosh \left (b x + c\right ) \cosh \left (-a + c\right )^{2} - b \cosh \left (b x + c\right ) \sinh \left (-a + c\right )^{2}\right )} \sinh \left (b x + c\right )^{2} -{\left (b \cosh \left (b x + c\right )^{3} + 3 \, b \cosh \left (b x + c\right )\right )} \sinh \left (-a + c\right )^{2} +{\left (3 \, b \cosh \left (b x + c\right )^{2} \cosh \left (-a + c\right )^{2} + b \cosh \left (-a + c\right )^{2} -{\left (3 \, b \cosh \left (b x + c\right )^{2} + b\right )} \sinh \left (-a + c\right )^{2}\right )} \sinh \left (b x + c\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 \sinh{\left (a + b x \right )} \operatorname{sech}^{3}{\left (b x + c \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.14558, size = 69, normalized size = 1.82 \begin{align*} -\frac{{\left (2 \, e^{\left (2 \, b x + 2 \, a + 2 \, c\right )} + e^{\left (2 \, a\right )} - e^{\left (2 \, c\right )}\right )} e^{\left (-a - c\right )}}{b{\left (e^{\left (2 \, b x + 2 \, c\right )} + 1\right )}^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]