Optimal. Leaf size=14 \[ \frac {2}{\cosh (x)+1}+\log (\cosh (x)+1) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 14, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {2667, 43} \[ \frac {2}{\cosh (x)+1}+\log (\cosh (x)+1) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 2667
Rubi steps
\begin {align*} \int \frac {\sinh ^3(x)}{(1+\cosh (x))^3} \, dx &=-\operatorname {Subst}\left (\int \frac {1-x}{(1+x)^2} \, dx,x,\cosh (x)\right )\\ &=-\operatorname {Subst}\left (\int \left (\frac {1}{-1-x}+\frac {2}{(1+x)^2}\right ) \, dx,x,\cosh (x)\right )\\ &=\frac {2}{1+\cosh (x)}+\log (1+\cosh (x))\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 20, normalized size = 1.43 \[ 2 \log \left (\cosh \left (\frac {x}{2}\right )\right )-\tanh ^2\left (\frac {x}{2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.55, size = 89, normalized size = 6.36 \[ -\frac {x \cosh \relax (x)^{2} + x \sinh \relax (x)^{2} + 2 \, {\left (x - 2\right )} \cosh \relax (x) - 2 \, {\left (\cosh \relax (x)^{2} + 2 \, {\left (\cosh \relax (x) + 1\right )} \sinh \relax (x) + \sinh \relax (x)^{2} + 2 \, \cosh \relax (x) + 1\right )} \log \left (\cosh \relax (x) + \sinh \relax (x) + 1\right ) + 2 \, {\left (x \cosh \relax (x) + x - 2\right )} \sinh \relax (x) + x}{\cosh \relax (x)^{2} + 2 \, {\left (\cosh \relax (x) + 1\right )} \sinh \relax (x) + \sinh \relax (x)^{2} + 2 \, \cosh \relax (x) + 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.12, size = 21, normalized size = 1.50 \[ -x + \frac {4 \, e^{x}}{{\left (e^{x} + 1\right )}^{2}} + 2 \, \log \left (e^{x} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 15, normalized size = 1.07 \[ \frac {2}{1+\cosh \relax (x )}+\ln \left (1+\cosh \relax (x )\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.30, size = 31, normalized size = 2.21 \[ x + \frac {4 \, e^{\left (-x\right )}}{2 \, e^{\left (-x\right )} + e^{\left (-2 \, x\right )} + 1} + 2 \, \log \left (e^{\left (-x\right )} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.98, size = 14, normalized size = 1.00 \[ \ln \left (\mathrm {cosh}\relax (x)+1\right )+\frac {2}{\mathrm {cosh}\relax (x)+1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.59, size = 126, normalized size = 9.00 \[ \frac {2 \log {\left (\cosh {\relax (x )} + 1 \right )} \cosh ^{2}{\relax (x )}}{2 \cosh ^{2}{\relax (x )} + 4 \cosh {\relax (x )} + 2} + \frac {4 \log {\left (\cosh {\relax (x )} + 1 \right )} \cosh {\relax (x )}}{2 \cosh ^{2}{\relax (x )} + 4 \cosh {\relax (x )} + 2} + \frac {2 \log {\left (\cosh {\relax (x )} + 1 \right )}}{2 \cosh ^{2}{\relax (x )} + 4 \cosh {\relax (x )} + 2} - \frac {\sinh ^{2}{\relax (x )}}{2 \cosh ^{2}{\relax (x )} + 4 \cosh {\relax (x )} + 2} + \frac {2 \cosh {\relax (x )}}{2 \cosh ^{2}{\relax (x )} + 4 \cosh {\relax (x )} + 2} + \frac {2}{2 \cosh ^{2}{\relax (x )} + 4 \cosh {\relax (x )} + 2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________