Optimal. Leaf size=7 \[ \log \left (\tanh \left (\frac {x}{2}\right )\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 5, normalized size of antiderivative = 0.71, 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*} -\text {arctanh}(\cosh (x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3855
Rubi steps
\begin {gather*} \begin {aligned} \text {Integral} &=-\text {arctanh}(\cosh (x))\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(17\) vs. \(2(7)=14\).
time = 0.00, size = 17, normalized size = 2.43 \begin {gather*} -\log \left (\cosh \left (\frac {x}{2}\right )\right )+\log \left (\sinh \left (\frac {x}{2}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 6, normalized size = 0.86
method | result | size |
default | \(-2 \,\arctanh \left ({\mathrm e}^{x}\right )\) | \(6\) |
parallelrisch | \(\ln \left (\tanh \left (\frac {x}{2}\right )\right )\) | \(6\) |
risch | \(\ln \left (-1+{\mathrm e}^{x}\right )-\ln \left ({\mathrm e}^{x}+1\right )\) | \(14\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 17 vs.
\(2 (5) = 10\).
time = 0.35, size = 17, normalized size = 2.43 \begin {gather*} -\log \left (e^{\left (-x\right )} + 1\right ) + \log \left (e^{\left (-x\right )} - 1\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.57, size = 17, normalized size = 2.43 \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 [A]
time = 0.08, size = 5, normalized size = 0.71 \begin {gather*} \log {\left (\tanh {\left (\frac {x}{2} \right )} \right )} \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. 14 vs.
\(2 (5) = 10\).
time = 0.39, size = 14, normalized size = 2.00 \begin {gather*} -\log \left (e^{x} + 1\right ) + \log \left ({\left | e^{x} - 1 \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.01, size = 5, normalized size = 0.71 \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]
________________________________________________________________________________________