Optimal. Leaf size=6 \[ \text {ArcTan}(\sinh (x))+\text {sech}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 6, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {3582, 3855}
\begin {gather*} \text {ArcTan}(\sinh (x))+\text {sech}(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3582
Rule 3855
Rubi steps
\begin {align*} \int \frac {\text {sech}^3(x)}{1+\tanh (x)} \, dx &=\text {sech}(x)+\int \text {sech}(x) \, dx\\ &=\tan ^{-1}(\sinh (x))+\text {sech}(x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 12, normalized size = 2.00 \begin {gather*} 2 \text {ArcTan}\left (\tanh \left (\frac {x}{2}\right )\right )+\text {sech}(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(20\) vs.
\(2(6)=12\).
time = 0.50, size = 21, normalized size = 3.50
method | result | size |
default | \(\frac {2}{\tanh ^{2}\left (\frac {x}{2}\right )+1}+2 \arctan \left (\tanh \left (\frac {x}{2}\right )\right )\) | \(21\) |
risch | \(\frac {2 \,{\mathrm e}^{x}}{1+{\mathrm e}^{2 x}}+i \ln \left ({\mathrm e}^{x}+i\right )-i \ln \left ({\mathrm e}^{x}-i\right )\) | \(32\) |
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. 22 vs.
\(2 (6) = 12\).
time = 0.48, size = 22, normalized size = 3.67 \begin {gather*} \frac {2 \, e^{\left (-x\right )}}{e^{\left (-2 \, x\right )} + 1} - 2 \, \arctan \left (e^{\left (-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. 48 vs.
\(2 (6) = 12\).
time = 0.35, size = 48, normalized size = 8.00 \begin {gather*} \frac {2 \, {\left ({\left (\cosh \left (x\right )^{2} + 2 \, \cosh \left (x\right ) \sinh \left (x\right ) + \sinh \left (x\right )^{2} + 1\right )} \arctan \left (\cosh \left (x\right ) + \sinh \left (x\right )\right ) + \cosh \left (x\right ) + \sinh \left (x\right )\right )}}{\cosh \left (x\right )^{2} + 2 \, \cosh \left (x\right ) \sinh \left (x\right ) + \sinh \left (x\right )^{2} + 1} \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 {\operatorname {sech}^{3}{\left (x \right )}}{\tanh {\left (x \right )} + 1}\, 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. 18 vs.
\(2 (6) = 12\).
time = 0.41, size = 18, normalized size = 3.00 \begin {gather*} \frac {2 \, e^{x}}{e^{\left (2 \, x\right )} + 1} + 2 \, \arctan \left (e^{x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.04, size = 18, normalized size = 3.00 \begin {gather*} 2\,\mathrm {atan}\left ({\mathrm {e}}^x\right )+\frac {2\,{\mathrm {e}}^x}{{\mathrm {e}}^{2\,x}+1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________