Optimal. Leaf size=5 \[ -\tanh ^{-1}(\cosh (x)) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 5, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {3855}
\begin {gather*} -\tanh ^{-1}(\cosh (x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3855
Rubi steps
\begin {align*} \int \text {csch}(x) \, dx &=-\tanh ^{-1}(\cosh (x))\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 7, normalized size = 1.40 \begin {gather*} \log \left (\tanh \left (\frac {x}{2}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [A]
time = 1.63, size = 5, normalized size = 1.00 \begin {gather*} \text {Log}\left [\text {Tanh}\left [\frac {x}{2}\right ]\right ] \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 6, normalized size = 1.20
method | result | size |
lookup | \(\ln \left (\tanh \left (\frac {x}{2}\right )\right )\) | \(6\) |
default | \(\ln \left (\tanh \left (\frac {x}{2}\right )\right )\) | \(6\) |
risch | \(\ln \left (-1+{\mathrm e}^{x}\right )-\ln \left (1+{\mathrm e}^{x}\right )\) | \(14\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.24, size = 5, normalized size = 1.00 \begin {gather*} \log \left (\tanh \left (\frac {1}{2} \, x\right )\right ) \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. 17 vs.
\(2 (5) = 10\).
time = 0.30, size = 17, normalized size = 3.40 \begin {gather*} -\log \left (\cosh \left (x\right ) + \sinh \left (x\right ) + 1\right ) + \log \left (\cosh \left (x\right ) + \sinh \left (x\right ) - 1\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 \operatorname {csch}{\left (x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 16 vs.
\(2 (5) = 10\).
time = 0.00, size = 21, normalized size = 4.20 \begin {gather*} 2 \left (\frac {\ln \left |\mathrm {e}^{x}-1\right |}{2}-\frac {\ln \left (\mathrm {e}^{x}+1\right )}{2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.01, size = 5, normalized size = 1.00 \begin {gather*} \ln \left (\mathrm {tanh}\left (\frac {x}{2}\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________