Integrand size = 10, antiderivative size = 25 \[ \int \sqrt {a \text {sech}^2(x)} \, dx=\sqrt {a} \arctan \left (\frac {\sqrt {a} \tanh (x)}{\sqrt {a \text {sech}^2(x)}}\right ) \]
[Out]
Time = 0.01 (sec) , antiderivative size = 25, 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 = {4207, 223, 209} \[ \int \sqrt {a \text {sech}^2(x)} \, dx=\sqrt {a} \arctan \left (\frac {\sqrt {a} \tanh (x)}{\sqrt {a \text {sech}^2(x)}}\right ) \]
[In]
[Out]
Rule 209
Rule 223
Rule 4207
Rubi steps \begin{align*} \text {integral}& = a \text {Subst}\left (\int \frac {1}{\sqrt {a-a x^2}} \, dx,x,\tanh (x)\right ) \\ & = a \text {Subst}\left (\int \frac {1}{1+a x^2} \, dx,x,\frac {\tanh (x)}{\sqrt {a \text {sech}^2(x)}}\right ) \\ & = \sqrt {a} \arctan \left (\frac {\sqrt {a} \tanh (x)}{\sqrt {a \text {sech}^2(x)}}\right ) \\ \end{align*}
Time = 0.01 (sec) , antiderivative size = 16, normalized size of antiderivative = 0.64 \[ \int \sqrt {a \text {sech}^2(x)} \, dx=\arctan (\sinh (x)) \cosh (x) \sqrt {a \text {sech}^2(x)} \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.18 (sec) , antiderivative size = 72, normalized size of antiderivative = 2.88
method | result | size |
risch | \(i \sqrt {\frac {{\mathrm e}^{2 x} a}{\left (1+{\mathrm e}^{2 x}\right )^{2}}}\, {\mathrm e}^{-x} \left (1+{\mathrm e}^{2 x}\right ) \ln \left ({\mathrm e}^{x}+i\right )-i \sqrt {\frac {{\mathrm e}^{2 x} a}{\left (1+{\mathrm e}^{2 x}\right )^{2}}}\, {\mathrm e}^{-x} \left (1+{\mathrm e}^{2 x}\right ) \ln \left ({\mathrm e}^{x}-i\right )\) | \(72\) |
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 145, normalized size of antiderivative = 5.80 \[ \int \sqrt {a \text {sech}^2(x)} \, dx=\left [\sqrt {-a} \log \left (\frac {2 \, a \cosh \left (x\right ) e^{x} \sinh \left (x\right ) + a e^{x} \sinh \left (x\right )^{2} + 2 \, {\left (\cosh \left (x\right ) e^{\left (2 \, x\right )} + {\left (e^{\left (2 \, x\right )} + 1\right )} \sinh \left (x\right ) + \cosh \left (x\right )\right )} \sqrt {-a} \sqrt {\frac {a}{e^{\left (4 \, x\right )} + 2 \, e^{\left (2 \, x\right )} + 1}} e^{x} + {\left (a \cosh \left (x\right )^{2} - a\right )} e^{x}}{2 \, \cosh \left (x\right ) e^{x} \sinh \left (x\right ) + e^{x} \sinh \left (x\right )^{2} + {\left (\cosh \left (x\right )^{2} + 1\right )} e^{x}}\right ), 2 \, \sqrt {\frac {a}{e^{\left (4 \, x\right )} + 2 \, e^{\left (2 \, x\right )} + 1}} {\left (e^{\left (2 \, x\right )} + 1\right )} \arctan \left (\cosh \left (x\right ) + \sinh \left (x\right )\right )\right ] \]
[In]
[Out]
\[ \int \sqrt {a \text {sech}^2(x)} \, dx=\int \sqrt {a \operatorname {sech}^{2}{\left (x \right )}}\, dx \]
[In]
[Out]
none
Time = 0.32 (sec) , antiderivative size = 8, normalized size of antiderivative = 0.32 \[ \int \sqrt {a \text {sech}^2(x)} \, dx=2 \, \sqrt {a} \arctan \left (e^{x}\right ) \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 8, normalized size of antiderivative = 0.32 \[ \int \sqrt {a \text {sech}^2(x)} \, dx=2 \, \sqrt {a} \arctan \left (e^{x}\right ) \]
[In]
[Out]
Timed out. \[ \int \sqrt {a \text {sech}^2(x)} \, dx=\int \sqrt {\frac {a}{{\mathrm {cosh}\left (x\right )}^2}} \,d x \]
[In]
[Out]