Integrand size = 10, antiderivative size = 36 \[ \int \frac {1}{\sqrt {a \text {sech}^4(x)}} \, dx=\frac {x \text {sech}^2(x)}{2 \sqrt {a \text {sech}^4(x)}}+\frac {\tanh (x)}{2 \sqrt {a \text {sech}^4(x)}} \]
[Out]
Time = 0.01 (sec) , antiderivative size = 36, 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.300, Rules used = {4208, 2715, 8} \[ \int \frac {1}{\sqrt {a \text {sech}^4(x)}} \, dx=\frac {x \text {sech}^2(x)}{2 \sqrt {a \text {sech}^4(x)}}+\frac {\tanh (x)}{2 \sqrt {a \text {sech}^4(x)}} \]
[In]
[Out]
Rule 8
Rule 2715
Rule 4208
Rubi steps \begin{align*} \text {integral}& = \frac {\text {sech}^2(x) \int \cosh ^2(x) \, dx}{\sqrt {a \text {sech}^4(x)}} \\ & = \frac {\tanh (x)}{2 \sqrt {a \text {sech}^4(x)}}+\frac {\text {sech}^2(x) \int 1 \, dx}{2 \sqrt {a \text {sech}^4(x)}} \\ & = \frac {x \text {sech}^2(x)}{2 \sqrt {a \text {sech}^4(x)}}+\frac {\tanh (x)}{2 \sqrt {a \text {sech}^4(x)}} \\ \end{align*}
Time = 0.05 (sec) , antiderivative size = 23, normalized size of antiderivative = 0.64 \[ \int \frac {1}{\sqrt {a \text {sech}^4(x)}} \, dx=\frac {x \text {sech}^2(x)+\tanh (x)}{2 \sqrt {a \text {sech}^4(x)}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(88\) vs. \(2(28)=56\).
Time = 0.16 (sec) , antiderivative size = 89, normalized size of antiderivative = 2.47
method | result | size |
risch | \(\frac {{\mathrm e}^{2 x} x}{2 \sqrt {\frac {{\mathrm e}^{4 x} a}{\left (1+{\mathrm e}^{2 x}\right )^{4}}}\, \left (1+{\mathrm e}^{2 x}\right )^{2}}+\frac {{\mathrm e}^{4 x}}{8 \sqrt {\frac {{\mathrm e}^{4 x} a}{\left (1+{\mathrm e}^{2 x}\right )^{4}}}\, \left (1+{\mathrm e}^{2 x}\right )^{2}}-\frac {1}{8 \left (1+{\mathrm e}^{2 x}\right )^{2} \sqrt {\frac {{\mathrm e}^{4 x} a}{\left (1+{\mathrm e}^{2 x}\right )^{4}}}}\) | \(89\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 253 vs. \(2 (28) = 56\).
Time = 0.26 (sec) , antiderivative size = 253, normalized size of antiderivative = 7.03 \[ \int \frac {1}{\sqrt {a \text {sech}^4(x)}} \, dx=\frac {{\left ({\left (e^{\left (4 \, x\right )} + 2 \, e^{\left (2 \, x\right )} + 1\right )} \sinh \left (x\right )^{4} + \cosh \left (x\right )^{4} + 4 \, {\left (\cosh \left (x\right ) e^{\left (4 \, x\right )} + 2 \, \cosh \left (x\right ) e^{\left (2 \, x\right )} + \cosh \left (x\right )\right )} \sinh \left (x\right )^{3} + 4 \, x \cosh \left (x\right )^{2} + 2 \, {\left (3 \, \cosh \left (x\right )^{2} + {\left (3 \, \cosh \left (x\right )^{2} + 2 \, x\right )} e^{\left (4 \, x\right )} + 2 \, {\left (3 \, \cosh \left (x\right )^{2} + 2 \, x\right )} e^{\left (2 \, x\right )} + 2 \, x\right )} \sinh \left (x\right )^{2} + {\left (\cosh \left (x\right )^{4} + 4 \, x \cosh \left (x\right )^{2} - 1\right )} e^{\left (4 \, x\right )} + 2 \, {\left (\cosh \left (x\right )^{4} + 4 \, x \cosh \left (x\right )^{2} - 1\right )} e^{\left (2 \, x\right )} + 4 \, {\left (\cosh \left (x\right )^{3} + 2 \, x \cosh \left (x\right ) + {\left (\cosh \left (x\right )^{3} + 2 \, x \cosh \left (x\right )\right )} e^{\left (4 \, x\right )} + 2 \, {\left (\cosh \left (x\right )^{3} + 2 \, x \cosh \left (x\right )\right )} e^{\left (2 \, x\right )}\right )} \sinh \left (x\right ) - 1\right )} \sqrt {\frac {a}{e^{\left (8 \, x\right )} + 4 \, e^{\left (6 \, x\right )} + 6 \, e^{\left (4 \, x\right )} + 4 \, e^{\left (2 \, x\right )} + 1}} e^{\left (2 \, x\right )}}{8 \, {\left (a \cosh \left (x\right )^{2} e^{\left (2 \, x\right )} + 2 \, a \cosh \left (x\right ) e^{\left (2 \, x\right )} \sinh \left (x\right ) + a e^{\left (2 \, x\right )} \sinh \left (x\right )^{2}\right )}} \]
[In]
[Out]
\[ \int \frac {1}{\sqrt {a \text {sech}^4(x)}} \, dx=\int \frac {1}{\sqrt {a \operatorname {sech}^{4}{\left (x \right )}}}\, dx \]
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 30, normalized size of antiderivative = 0.83 \[ \int \frac {1}{\sqrt {a \text {sech}^4(x)}} \, dx=-\frac {{\left (\sqrt {a} e^{\left (-4 \, x\right )} - \sqrt {a}\right )} e^{\left (2 \, x\right )}}{8 \, a} + \frac {x}{2 \, \sqrt {a}} \]
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 28, normalized size of antiderivative = 0.78 \[ \int \frac {1}{\sqrt {a \text {sech}^4(x)}} \, dx=-\frac {{\left (2 \, e^{\left (2 \, x\right )} + 1\right )} e^{\left (-2 \, x\right )} - 4 \, x - e^{\left (2 \, x\right )}}{8 \, \sqrt {a}} \]
[In]
[Out]
Timed out. \[ \int \frac {1}{\sqrt {a \text {sech}^4(x)}} \, dx=\int \frac {1}{\sqrt {\frac {a}{{\mathrm {cosh}\left (x\right )}^4}}} \,d x \]
[In]
[Out]