Optimal. Leaf size=27 \[ -\frac {1}{2} \sinh ^{-1}(\log (\coth (x)))-\frac {1}{2} \log (\coth (x)) \sqrt {1+\log ^2(\coth (x))} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {6828, 201, 221}
\begin {gather*} -\frac {1}{2} \log (\coth (x)) \sqrt {\log ^2(\coth (x))+1}-\frac {1}{2} \sinh ^{-1}(\log (\coth (x))) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 201
Rule 221
Rule 6828
Rubi steps
\begin {align*} \int \text {csch}(x) \sqrt {1+\log ^2(\coth (x))} \text {sech}(x) \, dx &=-\text {Subst}\left (\int \sqrt {1+x^2} \, dx,x,\log (\coth (x))\right )\\ &=-\frac {1}{2} \log (\coth (x)) \sqrt {1+\log ^2(\coth (x))}-\frac {1}{2} \text {Subst}\left (\int \frac {1}{\sqrt {1+x^2}} \, dx,x,\log (\coth (x))\right )\\ &=-\frac {1}{2} \sinh ^{-1}(\log (\coth (x)))-\frac {1}{2} \log (\coth (x)) \sqrt {1+\log ^2(\coth (x))}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 39, normalized size = 1.44 \begin {gather*} -\frac {1}{2} \tanh ^{-1}\left (\frac {\log (\coth (x))}{\sqrt {1+\log ^2(\coth (x))}}\right )-\frac {1}{2} \log (\coth (x)) \sqrt {1+\log ^2(\coth (x))} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 5.47, size = 22, normalized size = 0.81
method | result | size |
derivativedivides | \(-\frac {\arcsinh \left (\ln \left (\coth \left (x \right )\right )\right )}{2}-\frac {\ln \left (\coth \left (x \right )\right ) \sqrt {1+\ln \left (\coth \left (x \right )\right )^{2}}}{2}\) | \(22\) |
default | \(-\frac {\arcsinh \left (\ln \left (\coth \left (x \right )\right )\right )}{2}-\frac {\ln \left (\coth \left (x \right )\right ) \sqrt {1+\ln \left (\coth \left (x \right )\right )^{2}}}{2}\) | \(22\) |
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. 53 vs.
\(2 (21) = 42\).
time = 0.35, size = 53, normalized size = 1.96 \begin {gather*} -\frac {1}{2} \, \sqrt {\log \left (\frac {\cosh \left (x\right )}{\sinh \left (x\right )}\right )^{2} + 1} \log \left (\frac {\cosh \left (x\right )}{\sinh \left (x\right )}\right ) + \frac {1}{2} \, \log \left (\sqrt {\log \left (\frac {\cosh \left (x\right )}{\sinh \left (x\right )}\right )^{2} + 1} - \log \left (\frac {\cosh \left (x\right )}{\sinh \left (x\right )}\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \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 [B]
time = 1.88, size = 21, normalized size = 0.78 \begin {gather*} -\frac {\mathrm {asinh}\left (\ln \left (\mathrm {coth}\left (x\right )\right )\right )}{2}-\frac {\ln \left (\mathrm {coth}\left (x\right )\right )\,\sqrt {{\ln \left (\mathrm {coth}\left (x\right )\right )}^2+1}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________