Optimal. Leaf size=11 \[ \frac {1}{3} \text {ArcTan}\left (\frac {\tanh (x)}{3}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 11, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {3756, 209}
\begin {gather*} \frac {1}{3} \text {ArcTan}\left (\frac {\tanh (x)}{3}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 3756
Rubi steps
\begin {align*} \int \frac {\text {sech}^2(x)}{9+\tanh ^2(x)} \, dx &=\text {Subst}\left (\int \frac {1}{9+x^2} \, dx,x,\tanh (x)\right )\\ &=\frac {1}{3} \tan ^{-1}\left (\frac {\tanh (x)}{3}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [F]
time = 0.02, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\text {sech}^2(x)}{9+\tanh ^2(x)} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(71\) vs.
\(2(7)=14\).
time = 1.39, size = 72, normalized size = 6.55
method | result | size |
risch | \(\frac {i \ln \left ({\mathrm e}^{2 x}+\frac {4}{5}+\frac {3 i}{5}\right )}{6}-\frac {i \ln \left ({\mathrm e}^{2 x}+\frac {4}{5}-\frac {3 i}{5}\right )}{6}\) | \(26\) |
default | \(-\frac {\left (-10+\sqrt {10}\right ) \sqrt {10}\, \arctan \left (\frac {18 \tanh \left (\frac {x}{2}\right )}{6 \sqrt {10}-6}\right )}{5 \left (6 \sqrt {10}-6\right )}-\frac {\left (10+\sqrt {10}\right ) \sqrt {10}\, \arctan \left (\frac {18 \tanh \left (\frac {x}{2}\right )}{6 \sqrt {10}+6}\right )}{5 \left (6 \sqrt {10}+6\right )}\) | \(72\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.47, size = 11, normalized size = 1.00 \begin {gather*} -\frac {1}{3} \, \arctan \left (\frac {5}{3} \, e^{\left (-2 \, x\right )} + \frac {4}{3}\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. 21 vs.
\(2 (7) = 14\).
time = 0.35, size = 21, normalized size = 1.91 \begin {gather*} -\frac {1}{3} \, \arctan \left (-\frac {9 \, \cosh \left (x\right ) + \sinh \left (x\right )}{3 \, {\left (\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]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\operatorname {sech}^{2}{\left (x \right )}}{\tanh ^{2}{\left (x \right )} + 9}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 11, normalized size = 1.00 \begin {gather*} \frac {1}{3} \, \arctan \left (\frac {5}{3} \, e^{\left (2 \, x\right )} + \frac {4}{3}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.64, size = 11, normalized size = 1.00 \begin {gather*} \frac {\mathrm {atan}\left (\frac {5\,{\mathrm {e}}^{2\,x}}{3}+\frac {4}{3}\right )}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________