Optimal. Leaf size=22 \[ -\frac {2 \text {ArcTan}\left (\sqrt {\frac {5}{39}} (1-2 \tanh (x))\right )}{\sqrt {195}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {4427, 632, 210}
\begin {gather*} -\frac {2 \text {ArcTan}\left (\sqrt {\frac {5}{39}} (1-2 \tanh (x))\right )}{\sqrt {195}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 210
Rule 632
Rule 4427
Rubi steps
\begin {align*} \int \frac {\text {sech}^2(x)}{11-5 \tanh (x)+5 \tanh ^2(x)} \, dx &=\text {Subst}\left (\int \frac {1}{11-5 x+5 x^2} \, dx,x,\tanh (x)\right )\\ &=-\left (2 \text {Subst}\left (\int \frac {1}{-195-x^2} \, dx,x,-5+10 \tanh (x)\right )\right )\\ &=-\frac {2 \tan ^{-1}\left (\sqrt {\frac {5}{39}} (1-2 \tanh (x))\right )}{\sqrt {195}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [F]
time = 0.03, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\text {sech}^2(x)}{11-5 \tanh (x)+5 \tanh ^2(x)} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 1.15, size = 62, normalized size = 2.82
method | result | size |
risch | \(\frac {i \sqrt {195}\, \ln \left ({\mathrm e}^{2 x}+\frac {i \sqrt {195}}{11}+\frac {6}{11}\right )}{195}-\frac {i \sqrt {195}\, \ln \left ({\mathrm e}^{2 x}-\frac {i \sqrt {195}}{11}+\frac {6}{11}\right )}{195}\) | \(40\) |
default | \(\frac {i \sqrt {195}\, \ln \left (11 \left (\tanh ^{2}\left (\frac {x}{2}\right )\right )+\left (-i \sqrt {195}-5\right ) \tanh \left (\frac {x}{2}\right )+11\right )}{195}-\frac {i \sqrt {195}\, \ln \left (11 \left (\tanh ^{2}\left (\frac {x}{2}\right )\right )+\left (i \sqrt {195}-5\right ) \tanh \left (\frac {x}{2}\right )+11\right )}{195}\) | \(62\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.33, size = 32, normalized size = 1.45 \begin {gather*} -\frac {2}{195} \, \sqrt {195} \arctan \left (-\frac {17 \, \sqrt {195} \cosh \left (x\right ) + 5 \, \sqrt {195} \sinh \left (x\right )}{195 \, {\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 )}}{5 \tanh ^{2}{\left (x \right )} - 5 \tanh {\left (x \right )} + 11}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.40, size = 19, normalized size = 0.86 \begin {gather*} \frac {2}{195} \, \sqrt {195} \arctan \left (\frac {1}{195} \, \sqrt {195} {\left (11 \, e^{\left (2 \, x\right )} + 6\right )}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.11, size = 19, normalized size = 0.86 \begin {gather*} \frac {2\,\sqrt {195}\,\mathrm {atan}\left (\frac {\sqrt {195}\,\left (11\,{\mathrm {e}}^{2\,x}+6\right )}{195}\right )}{195} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________