Integrand size = 13, antiderivative size = 31 \[ \int \frac {\sinh ^4(x)}{a+a \cosh (x)} \, dx=\frac {x}{2 a}-\frac {\cosh (x) \sinh (x)}{2 a}+\frac {\sinh ^3(x)}{3 a} \]
[Out]
Time = 0.03 (sec) , antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {2761, 2715, 8} \[ \int \frac {\sinh ^4(x)}{a+a \cosh (x)} \, dx=\frac {x}{2 a}+\frac {\sinh ^3(x)}{3 a}-\frac {\sinh (x) \cosh (x)}{2 a} \]
[In]
[Out]
Rule 8
Rule 2715
Rule 2761
Rubi steps \begin{align*} \text {integral}& = \frac {\sinh ^3(x)}{3 a}-\frac {\int \sinh ^2(x) \, dx}{a} \\ & = -\frac {\cosh (x) \sinh (x)}{2 a}+\frac {\sinh ^3(x)}{3 a}+\frac {\int 1 \, dx}{2 a} \\ & = \frac {x}{2 a}-\frac {\cosh (x) \sinh (x)}{2 a}+\frac {\sinh ^3(x)}{3 a} \\ \end{align*}
Time = 0.11 (sec) , antiderivative size = 25, normalized size of antiderivative = 0.81 \[ \int \frac {\sinh ^4(x)}{a+a \cosh (x)} \, dx=\frac {6 x-3 \sinh (x)-3 \sinh (2 x)+\sinh (3 x)}{12 a} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(59\) vs. \(2(25)=50\).
Time = 3.72 (sec) , antiderivative size = 60, normalized size of antiderivative = 1.94
method | result | size |
risch | \(\frac {x}{2 a}+\frac {{\mathrm e}^{3 x}}{24 a}-\frac {{\mathrm e}^{2 x}}{8 a}-\frac {{\mathrm e}^{x}}{8 a}+\frac {{\mathrm e}^{-x}}{8 a}+\frac {{\mathrm e}^{-2 x}}{8 a}-\frac {{\mathrm e}^{-3 x}}{24 a}\) | \(60\) |
default | \(\frac {-\frac {1}{3 \left (\tanh \left (\frac {x}{2}\right )-1\right )^{3}}-\frac {1}{\left (\tanh \left (\frac {x}{2}\right )-1\right )^{2}}-\frac {1}{2 \left (\tanh \left (\frac {x}{2}\right )-1\right )}-\frac {\ln \left (\tanh \left (\frac {x}{2}\right )-1\right )}{2}-\frac {1}{3 \left (\tanh \left (\frac {x}{2}\right )+1\right )^{3}}+\frac {1}{\left (\tanh \left (\frac {x}{2}\right )+1\right )^{2}}-\frac {1}{2 \left (\tanh \left (\frac {x}{2}\right )+1\right )}+\frac {\ln \left (\tanh \left (\frac {x}{2}\right )+1\right )}{2}}{a}\) | \(85\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 27, normalized size of antiderivative = 0.87 \[ \int \frac {\sinh ^4(x)}{a+a \cosh (x)} \, dx=\frac {\sinh \left (x\right )^{3} + 3 \, {\left (\cosh \left (x\right )^{2} - 2 \, \cosh \left (x\right ) - 1\right )} \sinh \left (x\right ) + 6 \, x}{12 \, a} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 294 vs. \(2 (22) = 44\).
Time = 0.43 (sec) , antiderivative size = 294, normalized size of antiderivative = 9.48 \[ \int \frac {\sinh ^4(x)}{a+a \cosh (x)} \, dx=\frac {3 x \tanh ^{6}{\left (\frac {x}{2} \right )}}{6 a \tanh ^{6}{\left (\frac {x}{2} \right )} - 18 a \tanh ^{4}{\left (\frac {x}{2} \right )} + 18 a \tanh ^{2}{\left (\frac {x}{2} \right )} - 6 a} - \frac {9 x \tanh ^{4}{\left (\frac {x}{2} \right )}}{6 a \tanh ^{6}{\left (\frac {x}{2} \right )} - 18 a \tanh ^{4}{\left (\frac {x}{2} \right )} + 18 a \tanh ^{2}{\left (\frac {x}{2} \right )} - 6 a} + \frac {9 x \tanh ^{2}{\left (\frac {x}{2} \right )}}{6 a \tanh ^{6}{\left (\frac {x}{2} \right )} - 18 a \tanh ^{4}{\left (\frac {x}{2} \right )} + 18 a \tanh ^{2}{\left (\frac {x}{2} \right )} - 6 a} - \frac {3 x}{6 a \tanh ^{6}{\left (\frac {x}{2} \right )} - 18 a \tanh ^{4}{\left (\frac {x}{2} \right )} + 18 a \tanh ^{2}{\left (\frac {x}{2} \right )} - 6 a} - \frac {6 \tanh ^{5}{\left (\frac {x}{2} \right )}}{6 a \tanh ^{6}{\left (\frac {x}{2} \right )} - 18 a \tanh ^{4}{\left (\frac {x}{2} \right )} + 18 a \tanh ^{2}{\left (\frac {x}{2} \right )} - 6 a} - \frac {16 \tanh ^{3}{\left (\frac {x}{2} \right )}}{6 a \tanh ^{6}{\left (\frac {x}{2} \right )} - 18 a \tanh ^{4}{\left (\frac {x}{2} \right )} + 18 a \tanh ^{2}{\left (\frac {x}{2} \right )} - 6 a} + \frac {6 \tanh {\left (\frac {x}{2} \right )}}{6 a \tanh ^{6}{\left (\frac {x}{2} \right )} - 18 a \tanh ^{4}{\left (\frac {x}{2} \right )} + 18 a \tanh ^{2}{\left (\frac {x}{2} \right )} - 6 a} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 54 vs. \(2 (25) = 50\).
Time = 0.18 (sec) , antiderivative size = 54, normalized size of antiderivative = 1.74 \[ \int \frac {\sinh ^4(x)}{a+a \cosh (x)} \, dx=-\frac {{\left (3 \, e^{\left (-x\right )} + 3 \, e^{\left (-2 \, x\right )} - 1\right )} e^{\left (3 \, x\right )}}{24 \, a} + \frac {x}{2 \, a} + \frac {3 \, e^{\left (-x\right )} + 3 \, e^{\left (-2 \, x\right )} - e^{\left (-3 \, x\right )}}{24 \, a} \]
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 40, normalized size of antiderivative = 1.29 \[ \int \frac {\sinh ^4(x)}{a+a \cosh (x)} \, dx=\frac {{\left (3 \, e^{\left (2 \, x\right )} + 3 \, e^{x} - 1\right )} e^{\left (-3 \, x\right )} + 12 \, x + e^{\left (3 \, x\right )} - 3 \, e^{\left (2 \, x\right )} - 3 \, e^{x}}{24 \, a} \]
[In]
[Out]
Time = 1.61 (sec) , antiderivative size = 59, normalized size of antiderivative = 1.90 \[ \int \frac {\sinh ^4(x)}{a+a \cosh (x)} \, dx=\frac {{\mathrm {e}}^{-x}}{8\,a}+\frac {{\mathrm {e}}^{-2\,x}}{8\,a}-\frac {{\mathrm {e}}^{2\,x}}{8\,a}-\frac {{\mathrm {e}}^{-3\,x}}{24\,a}+\frac {{\mathrm {e}}^{3\,x}}{24\,a}+\frac {x}{2\,a}-\frac {{\mathrm {e}}^x}{8\,a} \]
[In]
[Out]