Optimal. Leaf size=37 \[ 2 \sqrt{a+b \sinh (x)}-2 \sqrt{a} \tanh ^{-1}\left (\frac{\sqrt{a+b \sinh (x)}}{\sqrt{a}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0624441, antiderivative size = 37, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.308, Rules used = {2721, 50, 63, 207} \[ 2 \sqrt{a+b \sinh (x)}-2 \sqrt{a} \tanh ^{-1}\left (\frac{\sqrt{a+b \sinh (x)}}{\sqrt{a}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2721
Rule 50
Rule 63
Rule 207
Rubi steps
\begin{align*} \int \coth (x) \sqrt{a+b \sinh (x)} \, dx &=\operatorname{Subst}\left (\int \frac{\sqrt{a+x}}{x} \, dx,x,b \sinh (x)\right )\\ &=2 \sqrt{a+b \sinh (x)}+a \operatorname{Subst}\left (\int \frac{1}{x \sqrt{a+x}} \, dx,x,b \sinh (x)\right )\\ &=2 \sqrt{a+b \sinh (x)}+(2 a) \operatorname{Subst}\left (\int \frac{1}{-a+x^2} \, dx,x,\sqrt{a+b \sinh (x)}\right )\\ &=-2 \sqrt{a} \tanh ^{-1}\left (\frac{\sqrt{a+b \sinh (x)}}{\sqrt{a}}\right )+2 \sqrt{a+b \sinh (x)}\\ \end{align*}
Mathematica [A] time = 0.0217951, size = 37, normalized size = 1. \[ 2 \sqrt{a+b \sinh (x)}-2 \sqrt{a} \tanh ^{-1}\left (\frac{\sqrt{a+b \sinh (x)}}{\sqrt{a}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.014, size = 30, normalized size = 0.8 \begin{align*} -2\,{\it Artanh} \left ({\frac{\sqrt{a+b\sinh \left ( x \right ) }}{\sqrt{a}}} \right ) \sqrt{a}+2\,\sqrt{a+b\sinh \left ( x \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \sinh \left (x\right ) + a} \coth \left (x\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 4.91948, size = 1071, normalized size = 28.95 \begin{align*} \left [\frac{1}{2} \, \sqrt{a} \log \left (-\frac{b^{2} \cosh \left (x\right )^{4} + b^{2} \sinh \left (x\right )^{4} + 16 \, a b \cosh \left (x\right )^{3} + 4 \,{\left (b^{2} \cosh \left (x\right ) + 4 \, a b\right )} \sinh \left (x\right )^{3} - 16 \, a b \cosh \left (x\right ) + 2 \,{\left (16 \, a^{2} - b^{2}\right )} \cosh \left (x\right )^{2} + 2 \,{\left (3 \, b^{2} \cosh \left (x\right )^{2} + 24 \, a b \cosh \left (x\right ) + 16 \, a^{2} - b^{2}\right )} \sinh \left (x\right )^{2} - 8 \,{\left (b \cosh \left (x\right )^{3} + b \sinh \left (x\right )^{3} + 4 \, a \cosh \left (x\right )^{2} +{\left (3 \, b \cosh \left (x\right ) + 4 \, a\right )} \sinh \left (x\right )^{2} - b \cosh \left (x\right ) +{\left (3 \, b \cosh \left (x\right )^{2} + 8 \, a \cosh \left (x\right ) - b\right )} \sinh \left (x\right )\right )} \sqrt{b \sinh \left (x\right ) + a} \sqrt{a} + b^{2} + 4 \,{\left (b^{2} \cosh \left (x\right )^{3} + 12 \, a b \cosh \left (x\right )^{2} - 4 \, a b +{\left (16 \, a^{2} - b^{2}\right )} \cosh \left (x\right )\right )} \sinh \left (x\right )}{\cosh \left (x\right )^{4} + 4 \, \cosh \left (x\right ) \sinh \left (x\right )^{3} + \sinh \left (x\right )^{4} + 2 \,{\left (3 \, \cosh \left (x\right )^{2} - 1\right )} \sinh \left (x\right )^{2} - 2 \, \cosh \left (x\right )^{2} + 4 \,{\left (\cosh \left (x\right )^{3} - \cosh \left (x\right )\right )} \sinh \left (x\right ) + 1}\right ) + 2 \, \sqrt{b \sinh \left (x\right ) + a}, \sqrt{-a} \arctan \left (\frac{4 \, \sqrt{b \sinh \left (x\right ) + a} \sqrt{-a}{\left (\cosh \left (x\right ) + \sinh \left (x\right )\right )}}{b \cosh \left (x\right )^{2} + b \sinh \left (x\right )^{2} + 4 \, a \cosh \left (x\right ) + 2 \,{\left (b \cosh \left (x\right ) + 2 \, a\right )} \sinh \left (x\right ) - b}\right ) + 2 \, \sqrt{b \sinh \left (x\right ) + a}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{a + b \sinh{\left (x \right )}} \coth{\left (x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \sinh \left (x\right ) + a} \coth \left (x\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]