Optimal. Leaf size=24 \[ -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a+b \sinh (x)}}{\sqrt {a}}\right )}{\sqrt {a}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 24, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {2800, 65, 213}
\begin {gather*} -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a+b \sinh (x)}}{\sqrt {a}}\right )}{\sqrt {a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 213
Rule 2800
Rubi steps
\begin {align*} \int \frac {\coth (x)}{\sqrt {a+b \sinh (x)}} \, dx &=\text {Subst}\left (\int \frac {1}{x \sqrt {a+x}} \, dx,x,b \sinh (x)\right )\\ &=2 \text {Subst}\left (\int \frac {1}{-a+x^2} \, dx,x,\sqrt {a+b \sinh (x)}\right )\\ &=-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a+b \sinh (x)}}{\sqrt {a}}\right )}{\sqrt {a}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 24, normalized size = 1.00 \begin {gather*} -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a+b \sinh (x)}}{\sqrt {a}}\right )}{\sqrt {a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.80, size = 19, normalized size = 0.79
method | result | size |
derivativedivides | \(-\frac {2 \arctanh \left (\frac {\sqrt {a +b \sinh \left (x \right )}}{\sqrt {a}}\right )}{\sqrt {a}}\) | \(19\) |
default | \(-\frac {2 \arctanh \left (\frac {\sqrt {a +b \sinh \left (x \right )}}{\sqrt {a}}\right )}{\sqrt {a}}\) | \(19\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 99 vs.
\(2 (18) = 36\).
time = 0.46, size = 370, normalized size = 15.42 \begin {gather*} \left [\frac {\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 {a}}, \frac {\sqrt {-a} \arctan \left (\frac {{\left (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 )} \sqrt {b \sinh \left (x\right ) + a} \sqrt {-a}}{2 \, {\left (a b \cosh \left (x\right )^{2} + a b \sinh \left (x\right )^{2} + 2 \, a^{2} \cosh \left (x\right ) - a b + 2 \, {\left (a b \cosh \left (x\right ) + a^{2}\right )} \sinh \left (x\right )\right )}}\right )}{a}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\coth {\left (x \right )}}{\sqrt {a + b \sinh {\left (x \right )}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.04 \begin {gather*} \int \frac {\mathrm {coth}\left (x\right )}{\sqrt {a+b\,\mathrm {sinh}\left (x\right )}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________