Optimal. Leaf size=29 \[ \frac {4 \sinh ^3(x)}{15}+\frac {4 \sinh (x)}{5}-\frac {\cosh ^3(x)}{5 (\tanh (x)+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 29, 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 = {3502, 2633} \[ \frac {4 \sinh ^3(x)}{15}+\frac {4 \sinh (x)}{5}-\frac {\cosh ^3(x)}{5 (\tanh (x)+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2633
Rule 3502
Rubi steps
\begin {align*} \int \frac {\cosh ^3(x)}{1+\tanh (x)} \, dx &=-\frac {\cosh ^3(x)}{5 (1+\tanh (x))}+\frac {4}{5} \int \cosh ^3(x) \, dx\\ &=-\frac {\cosh ^3(x)}{5 (1+\tanh (x))}+\frac {4}{5} i \operatorname {Subst}\left (\int \left (1-x^2\right ) \, dx,x,-i \sinh (x)\right )\\ &=\frac {4 \sinh (x)}{5}+\frac {4 \sinh ^3(x)}{15}-\frac {\cosh ^3(x)}{5 (1+\tanh (x))}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 36, normalized size = 1.24 \[ \frac {\text {sech}(x) (40 \sinh (2 x)+4 \sinh (4 x)+20 \cosh (2 x)+\cosh (4 x)-45)}{120 (\tanh (x)+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.57, size = 60, normalized size = 2.07 \[ \frac {\cosh \relax (x)^{4} + 16 \, \cosh \relax (x) \sinh \relax (x)^{3} + \sinh \relax (x)^{4} + 2 \, {\left (3 \, \cosh \relax (x)^{2} + 10\right )} \sinh \relax (x)^{2} + 20 \, \cosh \relax (x)^{2} + 16 \, {\left (\cosh \relax (x)^{3} + 5 \, \cosh \relax (x)\right )} \sinh \relax (x) - 45}{120 \, {\left (\cosh \relax (x) + \sinh \relax (x)\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.11, size = 31, normalized size = 1.07 \[ -\frac {1}{240} \, {\left (90 \, e^{\left (4 \, x\right )} + 20 \, e^{\left (2 \, x\right )} + 3\right )} e^{\left (-5 \, x\right )} + \frac {1}{48} \, e^{\left (3 \, x\right )} + \frac {1}{4} \, e^{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.09, size = 80, normalized size = 2.76 \[ -\frac {1}{6 \left (\tanh \left (\frac {x}{2}\right )-1\right )^{3}}-\frac {1}{4 \left (\tanh \left (\frac {x}{2}\right )-1\right )^{2}}-\frac {5}{8 \left (\tanh \left (\frac {x}{2}\right )-1\right )}-\frac {2}{5 \left (\tanh \left (\frac {x}{2}\right )+1\right )^{5}}+\frac {1}{\left (\tanh \left (\frac {x}{2}\right )+1\right )^{4}}-\frac {5}{3 \left (\tanh \left (\frac {x}{2}\right )+1\right )^{3}}+\frac {3}{2 \left (\tanh \left (\frac {x}{2}\right )+1\right )^{2}}-\frac {11}{8 \left (\tanh \left (\frac {x}{2}\right )+1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.31, size = 33, normalized size = 1.14 \[ \frac {1}{48} \, {\left (12 \, e^{\left (-2 \, x\right )} + 1\right )} e^{\left (3 \, x\right )} - \frac {3}{8} \, e^{\left (-x\right )} - \frac {1}{12} \, e^{\left (-3 \, x\right )} - \frac {1}{80} \, e^{\left (-5 \, x\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.19, size = 29, normalized size = 1.00 \[ \frac {{\mathrm {e}}^{3\,x}}{48}-\frac {{\mathrm {e}}^{-3\,x}}{12}-\frac {3\,{\mathrm {e}}^{-x}}{8}-\frac {{\mathrm {e}}^{-5\,x}}{80}+\frac {{\mathrm {e}}^x}{4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 1.11, size = 134, normalized size = 4.62 \[ - \frac {8 \sinh ^{3}{\relax (x )} \tanh {\relax (x )}}{15 \tanh {\relax (x )} + 15} - \frac {2 \sinh ^{3}{\relax (x )}}{15 \tanh {\relax (x )} + 15} - \frac {6 \sinh ^{2}{\relax (x )} \cosh {\relax (x )} \tanh {\relax (x )}}{15 \tanh {\relax (x )} + 15} + \frac {6 \sinh ^{2}{\relax (x )} \cosh {\relax (x )}}{15 \tanh {\relax (x )} + 15} + \frac {6 \sinh {\relax (x )} \cosh ^{2}{\relax (x )} \tanh {\relax (x )}}{15 \tanh {\relax (x )} + 15} + \frac {9 \sinh {\relax (x )} \cosh ^{2}{\relax (x )}}{15 \tanh {\relax (x )} + 15} + \frac {3 \cosh ^{3}{\relax (x )} \tanh {\relax (x )}}{15 \tanh {\relax (x )} + 15} - \frac {3 \cosh ^{3}{\relax (x )}}{15 \tanh {\relax (x )} + 15} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________