Optimal. Leaf size=34 \[ \frac{\text{csch}^3(x)}{3}+\frac{1}{8} \tanh ^{-1}(\cosh (x))-\frac{1}{4} \coth (x) \text{csch}^3(x)-\frac{1}{8} \coth (x) \text{csch}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.191537, antiderivative size = 34, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 8, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.727, Rules used = {3518, 3108, 3107, 2606, 30, 2611, 3768, 3770} \[ \frac{\text{csch}^3(x)}{3}+\frac{1}{8} \tanh ^{-1}(\cosh (x))-\frac{1}{4} \coth (x) \text{csch}^3(x)-\frac{1}{8} \coth (x) \text{csch}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3518
Rule 3108
Rule 3107
Rule 2606
Rule 30
Rule 2611
Rule 3768
Rule 3770
Rubi steps
\begin{align*} \int \frac{\text{csch}^5(x)}{1+\tanh (x)} \, dx &=\int \frac{\coth (x) \text{csch}^4(x)}{\cosh (x)+\sinh (x)} \, dx\\ &=i \int \coth (x) \text{csch}^4(x) (-i \cosh (x)+i \sinh (x)) \, dx\\ &=-\int \left (\coth (x) \text{csch}^3(x)-\coth ^2(x) \text{csch}^3(x)\right ) \, dx\\ &=-\int \coth (x) \text{csch}^3(x) \, dx+\int \coth ^2(x) \text{csch}^3(x) \, dx\\ &=-\frac{1}{4} \coth (x) \text{csch}^3(x)-i \operatorname{Subst}\left (\int x^2 \, dx,x,-i \text{csch}(x)\right )+\frac{1}{4} \int \text{csch}^3(x) \, dx\\ &=-\frac{1}{8} \coth (x) \text{csch}(x)+\frac{\text{csch}^3(x)}{3}-\frac{1}{4} \coth (x) \text{csch}^3(x)-\frac{1}{8} \int \text{csch}(x) \, dx\\ &=\frac{1}{8} \tanh ^{-1}(\cosh (x))-\frac{1}{8} \coth (x) \text{csch}(x)+\frac{\text{csch}^3(x)}{3}-\frac{1}{4} \coth (x) \text{csch}^3(x)\\ \end{align*}
Mathematica [A] time = 0.118608, size = 49, normalized size = 1.44 \[ -\frac{1}{192} \text{csch}^4(x) \left (42 \cosh (x)+6 \cosh (3 x)+2 \sinh (x) \left (-9 \sinh (x) \log \left (\tanh \left (\frac{x}{2}\right )\right )+3 \sinh (3 x) \log \left (\tanh \left (\frac{x}{2}\right )\right )-32\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.033, size = 55, normalized size = 1.6 \begin{align*}{\frac{1}{64} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{4}}-{\frac{1}{24} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{3}}+{\frac{1}{8}\tanh \left ({\frac{x}{2}} \right ) }-{\frac{1}{8} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{-1}}+{\frac{1}{24} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{-3}}-{\frac{1}{8}\ln \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) }-{\frac{1}{64} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{-4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.07946, size = 100, normalized size = 2.94 \begin{align*} \frac{3 \, e^{\left (-x\right )} - 11 \, e^{\left (-3 \, x\right )} + 53 \, e^{\left (-5 \, x\right )} + 3 \, e^{\left (-7 \, x\right )}}{12 \,{\left (4 \, e^{\left (-2 \, x\right )} - 6 \, e^{\left (-4 \, x\right )} + 4 \, e^{\left (-6 \, x\right )} - e^{\left (-8 \, x\right )} - 1\right )}} + \frac{1}{8} \, \log \left (e^{\left (-x\right )} + 1\right ) - \frac{1}{8} \, \log \left (e^{\left (-x\right )} - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.18859, size = 2136, normalized size = 62.82 \begin{align*} \text{result too large to display} \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 \frac{\operatorname{csch}^{5}{\left (x \right )}}{\tanh{\left (x \right )} + 1}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.32025, size = 66, normalized size = 1.94 \begin{align*} -\frac{3 \, e^{\left (7 \, x\right )} - 11 \, e^{\left (5 \, x\right )} + 53 \, e^{\left (3 \, x\right )} + 3 \, e^{x}}{12 \,{\left (e^{\left (2 \, x\right )} - 1\right )}^{4}} + \frac{1}{8} \, \log \left (e^{x} + 1\right ) - \frac{1}{8} \, \log \left ({\left | e^{x} - 1 \right |}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]