Integrand size = 10, antiderivative size = 13 \[ \int \sqrt {a \sinh ^2(x)} \, dx=\coth (x) \sqrt {a \sinh ^2(x)} \]
[Out]
Time = 0.01 (sec) , antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {3286, 2718} \[ \int \sqrt {a \sinh ^2(x)} \, dx=\coth (x) \sqrt {a \sinh ^2(x)} \]
[In]
[Out]
Rule 2718
Rule 3286
Rubi steps \begin{align*} \text {integral}& = \left (\text {csch}(x) \sqrt {a \sinh ^2(x)}\right ) \int \sinh (x) \, dx \\ & = \coth (x) \sqrt {a \sinh ^2(x)} \\ \end{align*}
Time = 0.02 (sec) , antiderivative size = 13, normalized size of antiderivative = 1.00 \[ \int \sqrt {a \sinh ^2(x)} \, dx=\coth (x) \sqrt {a \sinh ^2(x)} \]
[In]
[Out]
Time = 0.88 (sec) , antiderivative size = 15, normalized size of antiderivative = 1.15
method | result | size |
default | \(\frac {a \sinh \left (x \right ) \cosh \left (x \right )}{\sqrt {a \sinh \left (x \right )^{2}}}\) | \(15\) |
risch | \(\frac {\sqrt {a \left ({\mathrm e}^{2 x}-1\right )^{2} {\mathrm e}^{-2 x}}\, {\mathrm e}^{2 x}}{2 \,{\mathrm e}^{2 x}-2}+\frac {\sqrt {a \left ({\mathrm e}^{2 x}-1\right )^{2} {\mathrm e}^{-2 x}}}{2 \,{\mathrm e}^{2 x}-2}\) | \(58\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 71 vs. \(2 (11) = 22\).
Time = 0.28 (sec) , antiderivative size = 71, normalized size of antiderivative = 5.46 \[ \int \sqrt {a \sinh ^2(x)} \, dx=\frac {{\left (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 )} \sqrt {a e^{\left (4 \, x\right )} - 2 \, a e^{\left (2 \, x\right )} + a} e^{\left (-x\right )}}{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 )}} \]
[In]
[Out]
Time = 0.11 (sec) , antiderivative size = 15, normalized size of antiderivative = 1.15 \[ \int \sqrt {a \sinh ^2(x)} \, dx=\frac {\sqrt {a \sinh ^{2}{\left (x \right )}} \cosh {\left (x \right )}}{\sinh {\left (x \right )}} \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 17, normalized size of antiderivative = 1.31 \[ \int \sqrt {a \sinh ^2(x)} \, dx=-\frac {1}{2} \, \sqrt {a} e^{\left (-x\right )} - \frac {1}{2} \, \sqrt {a} e^{x} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 34 vs. \(2 (11) = 22\).
Time = 0.27 (sec) , antiderivative size = 34, normalized size of antiderivative = 2.62 \[ \int \sqrt {a \sinh ^2(x)} \, dx=\frac {1}{2} \, {\left (e^{\left (-x\right )} \mathrm {sgn}\left (e^{\left (3 \, x\right )} - e^{x}\right ) + e^{x} \mathrm {sgn}\left (e^{\left (3 \, x\right )} - e^{x}\right )\right )} \sqrt {a} \]
[In]
[Out]
Time = 1.17 (sec) , antiderivative size = 21, normalized size of antiderivative = 1.62 \[ \int \sqrt {a \sinh ^2(x)} \, dx=\sqrt {a}\,\mathrm {coth}\left (x\right )\,\sqrt {{\left (\frac {{\mathrm {e}}^{-x}}{2}-\frac {{\mathrm {e}}^x}{2}\right )}^2} \]
[In]
[Out]