Optimal. Leaf size=8 \[ \tan ^{-1}(\sinh (x))-\sinh (x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 8, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {2637, 3770} \[ \tan ^{-1}(\sinh (x))-\sinh (x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2637
Rule 3770
Rubi steps
\begin {align*} \int (-\cosh (x)+\text {sech}(x)) \, dx &=-\int \cosh (x) \, dx+\int \text {sech}(x) \, dx\\ &=\tan ^{-1}(\sinh (x))-\sinh (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 14, normalized size = 1.75 \[ 2 \tan ^{-1}\left (\tanh \left (\frac {x}{2}\right )\right )-\sinh (x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.47, size = 42, normalized size = 5.25 \[ \frac {4 \, {\left (\cosh \relax (x) + \sinh \relax (x)\right )} \arctan \left (\cosh \relax (x) + \sinh \relax (x)\right ) - \cosh \relax (x)^{2} - 2 \, \cosh \relax (x) \sinh \relax (x) - \sinh \relax (x)^{2} + 1}{2 \, {\left (\cosh \relax (x) + \sinh \relax (x)\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.13, size = 16, normalized size = 2.00 \[ 2 \, \arctan \left (e^{x}\right ) + \frac {1}{2} \, e^{\left (-x\right )} - \frac {1}{2} \, e^{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 9, normalized size = 1.12 \[ \arctan \left (\sinh \relax (x )\right )-\sinh \relax (x ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.52, size = 8, normalized size = 1.00 \[ \arctan \left (\sinh \relax (x)\right ) - \sinh \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.49, size = 16, normalized size = 2.00 \[ \frac {{\mathrm {e}}^{-x}}{2}+2\,\mathrm {atan}\left ({\mathrm {e}}^x\right )-\frac {{\mathrm {e}}^x}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (- \cosh {\relax (x )} + \operatorname {sech}{\relax (x )}\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________