Optimal. Leaf size=34 \[ \frac{5 \cosh ^3(x)}{6}+\frac{5 \cosh (x)}{2}-\frac{1}{2} \cosh ^3(x) \coth ^2(x)-\frac{5}{2} \tanh ^{-1}(\cosh (x)) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0517341, antiderivative size = 34, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 7, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.714, Rules used = {4397, 2592, 288, 302, 206} \[ \frac{5 \cosh ^3(x)}{6}+\frac{5 \cosh (x)}{2}-\frac{1}{2} \cosh ^3(x) \coth ^2(x)-\frac{5}{2} \tanh ^{-1}(\cosh (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4397
Rule 2592
Rule 288
Rule 302
Rule 206
Rubi steps
\begin{align*} \int (\text{csch}(x)+\sinh (x))^3 \, dx &=\int \cosh ^3(x) \coth ^3(x) \, dx\\ &=\operatorname{Subst}\left (\int \frac{x^6}{\left (1-x^2\right )^2} \, dx,x,\cosh (x)\right )\\ &=-\frac{1}{2} \cosh ^3(x) \coth ^2(x)-\frac{5}{2} \operatorname{Subst}\left (\int \frac{x^4}{1-x^2} \, dx,x,\cosh (x)\right )\\ &=-\frac{1}{2} \cosh ^3(x) \coth ^2(x)-\frac{5}{2} \operatorname{Subst}\left (\int \left (-1-x^2+\frac{1}{1-x^2}\right ) \, dx,x,\cosh (x)\right )\\ &=\frac{5 \cosh (x)}{2}+\frac{5 \cosh ^3(x)}{6}-\frac{1}{2} \cosh ^3(x) \coth ^2(x)-\frac{5}{2} \operatorname{Subst}\left (\int \frac{1}{1-x^2} \, dx,x,\cosh (x)\right )\\ &=-\frac{5}{2} \tanh ^{-1}(\cosh (x))+\frac{5 \cosh (x)}{2}+\frac{5 \cosh ^3(x)}{6}-\frac{1}{2} \cosh ^3(x) \coth ^2(x)\\ \end{align*}
Mathematica [A] time = 0.0682244, size = 45, normalized size = 1.32 \[ \frac{1}{48} \text{csch}^2(x) \left (-50 \cosh (x)+25 \cosh (3 x)+\cosh (5 x)-60 \log \left (\tanh \left (\frac{x}{2}\right )\right )+60 \cosh (2 x) \log \left (\tanh \left (\frac{x}{2}\right )\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.017, size = 28, normalized size = 0.8 \begin{align*} -{\frac{{\rm csch} \left (x\right ){\rm coth} \left (x\right )}{2}}-5\,{\it Artanh} \left ({{\rm e}^{x}} \right ) +3\,\cosh \left ( x \right ) + \left ( -{\frac{2}{3}}+{\frac{ \left ( \sinh \left ( x \right ) \right ) ^{2}}{3}} \right ) \cosh \left ( x \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.13593, size = 90, normalized size = 2.65 \begin{align*} \frac{e^{\left (-x\right )} + e^{\left (-3 \, x\right )}}{2 \, e^{\left (-2 \, x\right )} - e^{\left (-4 \, x\right )} - 1} + \frac{1}{24} \, e^{\left (3 \, x\right )} + \frac{9}{8} \, e^{\left (-x\right )} + \frac{1}{24} \, e^{\left (-3 \, x\right )} + \frac{9}{8} \, e^{x} - \frac{5}{2} \, \log \left (e^{\left (-x\right )} + 1\right ) + \frac{5}{2} \, \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 = 1.89613, size = 2090, normalized size = 61.47 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.12487, size = 84, normalized size = 2.47 \begin{align*} \frac{1}{24} \,{\left (e^{\left (-x\right )} + e^{x}\right )}^{3} - \frac{e^{\left (-x\right )} + e^{x}}{{\left (e^{\left (-x\right )} + e^{x}\right )}^{2} - 4} + e^{\left (-x\right )} + e^{x} - \frac{5}{4} \, \log \left (e^{\left (-x\right )} + e^{x} + 2\right ) + \frac{5}{4} \, \log \left (e^{\left (-x\right )} + e^{x} - 2\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]