Integrand size = 10, antiderivative size = 46 \[ \int \left (a \text {sech}^2(x)\right )^{3/2} \, dx=\frac {1}{2} a^{3/2} \arctan \left (\frac {\sqrt {a} \tanh (x)}{\sqrt {a \text {sech}^2(x)}}\right )+\frac {1}{2} a \sqrt {a \text {sech}^2(x)} \tanh (x) \]
[Out]
Time = 0.02 (sec) , antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {4207, 201, 223, 209} \[ \int \left (a \text {sech}^2(x)\right )^{3/2} \, dx=\frac {1}{2} a^{3/2} \arctan \left (\frac {\sqrt {a} \tanh (x)}{\sqrt {a \text {sech}^2(x)}}\right )+\frac {1}{2} a \tanh (x) \sqrt {a \text {sech}^2(x)} \]
[In]
[Out]
Rule 201
Rule 209
Rule 223
Rule 4207
Rubi steps \begin{align*} \text {integral}& = a \text {Subst}\left (\int \sqrt {a-a x^2} \, dx,x,\tanh (x)\right ) \\ & = \frac {1}{2} a \sqrt {a \text {sech}^2(x)} \tanh (x)+\frac {1}{2} a^2 \text {Subst}\left (\int \frac {1}{\sqrt {a-a x^2}} \, dx,x,\tanh (x)\right ) \\ & = \frac {1}{2} a \sqrt {a \text {sech}^2(x)} \tanh (x)+\frac {1}{2} a^2 \text {Subst}\left (\int \frac {1}{1+a x^2} \, dx,x,\frac {\tanh (x)}{\sqrt {a \text {sech}^2(x)}}\right ) \\ & = \frac {1}{2} a^{3/2} \arctan \left (\frac {\sqrt {a} \tanh (x)}{\sqrt {a \text {sech}^2(x)}}\right )+\frac {1}{2} a \sqrt {a \text {sech}^2(x)} \tanh (x) \\ \end{align*}
Time = 0.04 (sec) , antiderivative size = 24, normalized size of antiderivative = 0.52 \[ \int \left (a \text {sech}^2(x)\right )^{3/2} \, dx=\frac {1}{2} a \sqrt {a \text {sech}^2(x)} (\arctan (\sinh (x)) \cosh (x)+\tanh (x)) \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.14 (sec) , antiderivative size = 106, normalized size of antiderivative = 2.30
method | result | size |
risch | \(\frac {a \sqrt {\frac {{\mathrm e}^{2 x} a}{\left (1+{\mathrm e}^{2 x}\right )^{2}}}\, \left ({\mathrm e}^{2 x}-1\right )}{1+{\mathrm e}^{2 x}}+\frac {i a \,{\mathrm e}^{-x} \left (1+{\mathrm e}^{2 x}\right ) \sqrt {\frac {{\mathrm e}^{2 x} a}{\left (1+{\mathrm e}^{2 x}\right )^{2}}}\, \ln \left ({\mathrm e}^{x}+i\right )}{2}-\frac {i a \,{\mathrm e}^{-x} \left (1+{\mathrm e}^{2 x}\right ) \sqrt {\frac {{\mathrm e}^{2 x} a}{\left (1+{\mathrm e}^{2 x}\right )^{2}}}\, \ln \left ({\mathrm e}^{x}-i\right )}{2}\) | \(106\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 310 vs. \(2 (34) = 68\).
Time = 0.27 (sec) , antiderivative size = 310, normalized size of antiderivative = 6.74 \[ \int \left (a \text {sech}^2(x)\right )^{3/2} \, dx=\frac {{\left (a \cosh \left (x\right )^{3} + {\left (a e^{\left (2 \, x\right )} + a\right )} \sinh \left (x\right )^{3} + 3 \, {\left (a \cosh \left (x\right ) e^{\left (2 \, x\right )} + a \cosh \left (x\right )\right )} \sinh \left (x\right )^{2} + {\left (a \cosh \left (x\right )^{4} + {\left (a e^{\left (2 \, x\right )} + a\right )} \sinh \left (x\right )^{4} + 4 \, {\left (a \cosh \left (x\right ) e^{\left (2 \, x\right )} + a \cosh \left (x\right )\right )} \sinh \left (x\right )^{3} + 2 \, a \cosh \left (x\right )^{2} + 2 \, {\left (3 \, a \cosh \left (x\right )^{2} + {\left (3 \, a \cosh \left (x\right )^{2} + a\right )} e^{\left (2 \, x\right )} + a\right )} \sinh \left (x\right )^{2} + {\left (a \cosh \left (x\right )^{4} + 2 \, a \cosh \left (x\right )^{2} + a\right )} e^{\left (2 \, x\right )} + 4 \, {\left (a \cosh \left (x\right )^{3} + a \cosh \left (x\right ) + {\left (a \cosh \left (x\right )^{3} + a \cosh \left (x\right )\right )} e^{\left (2 \, x\right )}\right )} \sinh \left (x\right ) + a\right )} \arctan \left (\cosh \left (x\right ) + \sinh \left (x\right )\right ) - a \cosh \left (x\right ) + {\left (a \cosh \left (x\right )^{3} - a \cosh \left (x\right )\right )} e^{\left (2 \, x\right )} + {\left (3 \, a \cosh \left (x\right )^{2} + {\left (3 \, a \cosh \left (x\right )^{2} - a\right )} e^{\left (2 \, x\right )} - a\right )} \sinh \left (x\right )\right )} \sqrt {\frac {a}{e^{\left (4 \, x\right )} + 2 \, e^{\left (2 \, x\right )} + 1}} e^{x}}{4 \, \cosh \left (x\right ) e^{x} \sinh \left (x\right )^{3} + e^{x} \sinh \left (x\right )^{4} + 2 \, {\left (3 \, \cosh \left (x\right )^{2} + 1\right )} e^{x} \sinh \left (x\right )^{2} + 4 \, {\left (\cosh \left (x\right )^{3} + \cosh \left (x\right )\right )} e^{x} \sinh \left (x\right ) + {\left (\cosh \left (x\right )^{4} + 2 \, \cosh \left (x\right )^{2} + 1\right )} e^{x}} \]
[In]
[Out]
\[ \int \left (a \text {sech}^2(x)\right )^{3/2} \, dx=\int \left (a \operatorname {sech}^{2}{\left (x \right )}\right )^{\frac {3}{2}}\, dx \]
[In]
[Out]
none
Time = 0.33 (sec) , antiderivative size = 39, normalized size of antiderivative = 0.85 \[ \int \left (a \text {sech}^2(x)\right )^{3/2} \, dx=a^{\frac {3}{2}} \arctan \left (e^{x}\right ) + \frac {a^{\frac {3}{2}} e^{\left (3 \, x\right )} - a^{\frac {3}{2}} e^{x}}{e^{\left (4 \, x\right )} + 2 \, e^{\left (2 \, x\right )} + 1} \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 48, normalized size of antiderivative = 1.04 \[ \int \left (a \text {sech}^2(x)\right )^{3/2} \, dx=\frac {1}{4} \, {\left (\pi - \frac {4 \, {\left (e^{\left (-x\right )} - e^{x}\right )}}{{\left (e^{\left (-x\right )} - e^{x}\right )}^{2} + 4} + 2 \, \arctan \left (\frac {1}{2} \, {\left (e^{\left (2 \, x\right )} - 1\right )} e^{\left (-x\right )}\right )\right )} a^{\frac {3}{2}} \]
[In]
[Out]
Timed out. \[ \int \left (a \text {sech}^2(x)\right )^{3/2} \, dx=\int {\left (\frac {a}{{\mathrm {cosh}\left (x\right )}^2}\right )}^{3/2} \,d x \]
[In]
[Out]