Optimal. Leaf size=11 \[ \frac{\log (\cosh (a+b x))}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0062648, antiderivative size = 11, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 6, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {3475} \[ \frac{\log (\cosh (a+b x))}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3475
Rubi steps
\begin{align*} \int \tanh (a+b x) \, dx &=\frac{\log (\cosh (a+b x))}{b}\\ \end{align*}
Mathematica [A] time = 0.0076157, size = 11, normalized size = 1. \[ \frac{\log (\cosh (a+b x))}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.005, size = 13, normalized size = 1.2 \begin{align*} -{\frac{\ln \left ({\rm sech} \left (bx+a\right ) \right ) }{b}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.00375, size = 28, normalized size = 2.55 \begin{align*} \frac{\log \left (e^{\left (b x + a\right )} + e^{\left (-b x - a\right )}\right )}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.86847, size = 88, normalized size = 8. \begin{align*} -\frac{b x - \log \left (\frac{2 \, \cosh \left (b x + a\right )}{\cosh \left (b x + a\right ) - \sinh \left (b x + a\right )}\right )}{b} \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}{\left (a + b x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.26725, size = 36, normalized size = 3.27 \begin{align*} -\frac{b x + a}{b} + \frac{\log \left (e^{\left (2 \, b x + 2 \, a\right )} + 1\right )}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]