Optimal. Leaf size=25 \[ \frac{\sinh (x)}{3 (\cosh (x)+1)}+\frac{\sinh (x)}{3 (\cosh (x)+1)^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0166621, antiderivative size = 25, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 6, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333, Rules used = {2650, 2648} \[ \frac{\sinh (x)}{3 (\cosh (x)+1)}+\frac{\sinh (x)}{3 (\cosh (x)+1)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2650
Rule 2648
Rubi steps
\begin{align*} \int \frac{1}{(1+\cosh (x))^2} \, dx &=\frac{\sinh (x)}{3 (1+\cosh (x))^2}+\frac{1}{3} \int \frac{1}{1+\cosh (x)} \, dx\\ &=\frac{\sinh (x)}{3 (1+\cosh (x))^2}+\frac{\sinh (x)}{3 (1+\cosh (x))}\\ \end{align*}
Mathematica [A] time = 0.0114978, size = 16, normalized size = 0.64 \[ \frac{\sinh (x) (\cosh (x)+2)}{3 (\cosh (x)+1)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.005, size = 16, normalized size = 0.6 \begin{align*} -{\frac{1}{6} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{3}}+{\frac{1}{2}\tanh \left ({\frac{x}{2}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 0.938846, size = 66, normalized size = 2.64 \begin{align*} \frac{2 \, e^{\left (-x\right )}}{3 \, e^{\left (-x\right )} + 3 \, e^{\left (-2 \, x\right )} + e^{\left (-3 \, x\right )} + 1} + \frac{2}{3 \,{\left (3 \, e^{\left (-x\right )} + 3 \, e^{\left (-2 \, x\right )} + e^{\left (-3 \, x\right )} + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.00102, size = 211, normalized size = 8.44 \begin{align*} -\frac{2 \,{\left (3 \, \cosh \left (x\right ) + 3 \, \sinh \left (x\right ) + 1\right )}}{3 \,{\left (\cosh \left (x\right )^{3} + 3 \,{\left (\cosh \left (x\right ) + 1\right )} \sinh \left (x\right )^{2} + \sinh \left (x\right )^{3} + 3 \, \cosh \left (x\right )^{2} + 3 \,{\left (\cosh \left (x\right )^{2} + 2 \, \cosh \left (x\right ) + 1\right )} \sinh \left (x\right ) + 3 \, \cosh \left (x\right ) + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.409911, size = 14, normalized size = 0.56 \begin{align*} - \frac{\tanh ^{3}{\left (\frac{x}{2} \right )}}{6} + \frac{\tanh{\left (\frac{x}{2} \right )}}{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.1271, size = 19, normalized size = 0.76 \begin{align*} -\frac{2 \,{\left (3 \, e^{x} + 1\right )}}{3 \,{\left (e^{x} + 1\right )}^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]