Integrand size = 13, antiderivative size = 23 \[ \int \frac {\sinh ^3(x)}{a+a \text {sech}(x)} \, dx=\frac {\cosh ^3(x)}{3 a}-\frac {\sinh ^2(x)}{2 a} \]
[Out]
Time = 0.09 (sec) , antiderivative size = 23, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.385, Rules used = {3957, 2914, 2644, 30, 2645} \[ \int \frac {\sinh ^3(x)}{a+a \text {sech}(x)} \, dx=\frac {\cosh ^3(x)}{3 a}-\frac {\sinh ^2(x)}{2 a} \]
[In]
[Out]
Rule 30
Rule 2644
Rule 2645
Rule 2914
Rule 3957
Rubi steps \begin{align*} \text {integral}& = -\int \frac {\cosh (x) \sinh ^3(x)}{-a-a \cosh (x)} \, dx \\ & = -\frac {\int \cosh (x) \sinh (x) \, dx}{a}+\frac {\int \cosh ^2(x) \sinh (x) \, dx}{a} \\ & = \frac {\text {Subst}(\int x \, dx,x,i \sinh (x))}{a}+\frac {\text {Subst}\left (\int x^2 \, dx,x,\cosh (x)\right )}{a} \\ & = \frac {\cosh ^3(x)}{3 a}-\frac {\sinh ^2(x)}{2 a} \\ \end{align*}
Time = 0.06 (sec) , antiderivative size = 23, normalized size of antiderivative = 1.00 \[ \int \frac {\sinh ^3(x)}{a+a \text {sech}(x)} \, dx=\frac {-7+3 \cosh (x)-3 \cosh (2 x)+\cosh (3 x)}{12 a} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(53\) vs. \(2(19)=38\).
Time = 2.53 (sec) , antiderivative size = 54, normalized size of antiderivative = 2.35
method | result | size |
risch | \(\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}\) | \(54\) |
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}{\tanh \left (\frac {x}{2}\right )-1}+\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 {8}{8 \tanh \left (\frac {x}{2}\right )+8}}{a}\) | \(67\) |
[In]
[Out]
none
Time = 0.24 (sec) , antiderivative size = 30, normalized size of antiderivative = 1.30 \[ \int \frac {\sinh ^3(x)}{a+a \text {sech}(x)} \, dx=\frac {\cosh \left (x\right )^{3} + 3 \, {\left (\cosh \left (x\right ) - 1\right )} \sinh \left (x\right )^{2} - 3 \, \cosh \left (x\right )^{2} + 3 \, \cosh \left (x\right )}{12 \, a} \]
[In]
[Out]
\[ \int \frac {\sinh ^3(x)}{a+a \text {sech}(x)} \, dx=\frac {\int \frac {\sinh ^{3}{\left (x \right )}}{\operatorname {sech}{\left (x \right )} + 1}\, dx}{a} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 46 vs. \(2 (19) = 38\).
Time = 0.20 (sec) , antiderivative size = 46, normalized size of antiderivative = 2.00 \[ \int \frac {\sinh ^3(x)}{a+a \text {sech}(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 {3 \, e^{\left (-x\right )} - 3 \, e^{\left (-2 \, x\right )} + e^{\left (-3 \, x\right )}}{24 \, a} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 37, normalized size of antiderivative = 1.61 \[ \int \frac {\sinh ^3(x)}{a+a \text {sech}(x)} \, dx=\frac {{\left (3 \, e^{\left (2 \, x\right )} - 3 \, e^{x} + 1\right )} e^{\left (-3 \, x\right )} + e^{\left (3 \, x\right )} - 3 \, e^{\left (2 \, x\right )} + 3 \, e^{x}}{24 \, a} \]
[In]
[Out]
Time = 1.99 (sec) , antiderivative size = 53, normalized size of antiderivative = 2.30 \[ \int \frac {\sinh ^3(x)}{a+a \text {sech}(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 {{\mathrm {e}}^x}{8\,a} \]
[In]
[Out]