Optimal. Leaf size=81 \[ \frac{\left (a^2+2 b^2\right ) \sinh ^2(x)}{2 b^3}-\frac{a \left (a^2+2 b^2\right ) \sinh (x)}{b^4}+\frac{\left (a^2+b^2\right )^2 \log (a+b \sinh (x))}{b^5}-\frac{a \sinh ^3(x)}{3 b^2}+\frac{\sinh ^4(x)}{4 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0909712, antiderivative size = 81, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154, Rules used = {2668, 697} \[ \frac{\left (a^2+2 b^2\right ) \sinh ^2(x)}{2 b^3}-\frac{a \left (a^2+2 b^2\right ) \sinh (x)}{b^4}+\frac{\left (a^2+b^2\right )^2 \log (a+b \sinh (x))}{b^5}-\frac{a \sinh ^3(x)}{3 b^2}+\frac{\sinh ^4(x)}{4 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2668
Rule 697
Rubi steps
\begin{align*} \int \frac{\cosh ^5(x)}{a+b \sinh (x)} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{\left (-b^2-x^2\right )^2}{a+x} \, dx,x,b \sinh (x)\right )}{b^5}\\ &=\frac{\operatorname{Subst}\left (\int \left (-a \left (a^2+2 b^2\right )+\left (a^2+2 b^2\right ) x-a x^2+x^3+\frac{\left (a^2+b^2\right )^2}{a+x}\right ) \, dx,x,b \sinh (x)\right )}{b^5}\\ &=\frac{\left (a^2+b^2\right )^2 \log (a+b \sinh (x))}{b^5}-\frac{a \left (a^2+2 b^2\right ) \sinh (x)}{b^4}+\frac{\left (a^2+2 b^2\right ) \sinh ^2(x)}{2 b^3}-\frac{a \sinh ^3(x)}{3 b^2}+\frac{\sinh ^4(x)}{4 b}\\ \end{align*}
Mathematica [A] time = 0.0877441, size = 76, normalized size = 0.94 \[ \frac{6 b^2 \left (a^2+b^2\right ) \sinh ^2(x)-12 a b \left (a^2+2 b^2\right ) \sinh (x)+12 \left (a^2+b^2\right )^2 \log (a+b \sinh (x))-4 a b^3 \sinh ^3(x)+3 b^4 \cosh ^4(x)}{12 b^5} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.033, size = 447, normalized size = 5.5 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.25078, size = 243, normalized size = 3. \begin{align*} -\frac{{\left (8 \, a b^{2} e^{\left (-x\right )} - 3 \, b^{3} - 12 \,{\left (2 \, a^{2} b + 3 \, b^{3}\right )} e^{\left (-2 \, x\right )} + 24 \,{\left (4 \, a^{3} + 7 \, a b^{2}\right )} e^{\left (-3 \, x\right )}\right )} e^{\left (4 \, x\right )}}{192 \, b^{4}} + \frac{8 \, a b^{2} e^{\left (-3 \, x\right )} + 3 \, b^{3} e^{\left (-4 \, x\right )} + 24 \,{\left (4 \, a^{3} + 7 \, a b^{2}\right )} e^{\left (-x\right )} + 12 \,{\left (2 \, a^{2} b + 3 \, b^{3}\right )} e^{\left (-2 \, x\right )}}{192 \, b^{4}} + \frac{{\left (a^{4} + 2 \, a^{2} b^{2} + b^{4}\right )} x}{b^{5}} + \frac{{\left (a^{4} + 2 \, a^{2} b^{2} + b^{4}\right )} \log \left (-2 \, a e^{\left (-x\right )} + b e^{\left (-2 \, x\right )} - b\right )}{b^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.92069, size = 2228, normalized size = 27.51 \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 [A] time = 1.2494, size = 188, normalized size = 2.32 \begin{align*} \frac{3 \, b^{3}{\left (e^{\left (-x\right )} - e^{x}\right )}^{4} + 8 \, a b^{2}{\left (e^{\left (-x\right )} - e^{x}\right )}^{3} + 24 \, a^{2} b{\left (e^{\left (-x\right )} - e^{x}\right )}^{2} + 48 \, b^{3}{\left (e^{\left (-x\right )} - e^{x}\right )}^{2} + 96 \, a^{3}{\left (e^{\left (-x\right )} - e^{x}\right )} + 192 \, a b^{2}{\left (e^{\left (-x\right )} - e^{x}\right )}}{192 \, b^{4}} + \frac{{\left (a^{4} + 2 \, a^{2} b^{2} + b^{4}\right )} \log \left ({\left | -b{\left (e^{\left (-x\right )} - e^{x}\right )} + 2 \, a \right |}\right )}{b^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]