Optimal. Leaf size=22 \[ \frac {\tan ^{-1}\left (\sqrt {2} \tanh (3 x+2)\right )}{3 \sqrt {2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {3675, 203} \[ \frac {\tan ^{-1}\left (\sqrt {2} \tanh (3 x+2)\right )}{3 \sqrt {2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 3675
Rubi steps
\begin {align*} \int \frac {\text {sech}^2(2+3 x)}{1+2 \tanh ^2(2+3 x)} \, dx &=\frac {1}{3} \operatorname {Subst}\left (\int \frac {1}{1+2 x^2} \, dx,x,\tanh (2+3 x)\right )\\ &=\frac {\tan ^{-1}\left (\sqrt {2} \tanh (2+3 x)\right )}{3 \sqrt {2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 0.08, size = 47, normalized size = 2.14 \[ \frac {\tan ^{-1}\left (\frac {\left (3+2 e^4+3 e^8\right ) \tanh (3 x)+3 \left (e^8-1\right )}{4 \sqrt {2} e^4}\right )}{3 \sqrt {2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.44, size = 47, normalized size = 2.14 \[ -\frac {1}{6} \, \sqrt {2} \arctan \left (-\frac {\sqrt {2} \cosh \left (3 \, x + 2\right ) + 2 \, \sqrt {2} \sinh \left (3 \, x + 2\right )}{2 \, {\left (\cosh \left (3 \, x + 2\right ) - \sinh \left (3 \, x + 2\right )\right )}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.60, size = 156, normalized size = 7.09 \[ \frac {\sqrt {6}\, \arctan \left (\frac {2 \tanh \left (1+\frac {3 x}{2}\right )}{2 \sqrt {3}-2 \sqrt {2}}\right )}{6 \sqrt {3}-6 \sqrt {2}}-\frac {2 \arctan \left (\frac {2 \tanh \left (1+\frac {3 x}{2}\right )}{2 \sqrt {3}-2 \sqrt {2}}\right )}{3 \left (2 \sqrt {3}-2 \sqrt {2}\right )}-\frac {\sqrt {6}\, \arctan \left (\frac {2 \tanh \left (1+\frac {3 x}{2}\right )}{2 \sqrt {3}+2 \sqrt {2}}\right )}{3 \left (2 \sqrt {3}+2 \sqrt {2}\right )}-\frac {2 \arctan \left (\frac {2 \tanh \left (1+\frac {3 x}{2}\right )}{2 \sqrt {3}+2 \sqrt {2}}\right )}{3 \left (2 \sqrt {3}+2 \sqrt {2}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.56, size = 21, normalized size = 0.95 \[ -\frac {1}{6} \, \sqrt {2} \arctan \left (\frac {1}{4} \, \sqrt {2} {\left (3 \, e^{\left (-6 \, x - 4\right )} - 1\right )}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.49, size = 21, normalized size = 0.95 \[ \frac {\sqrt {2}\,\mathrm {atan}\left (\frac {\sqrt {2}\,\left (3\,{\mathrm {e}}^{6\,x+4}-1\right )}{4}\right )}{6} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {sech}^{2}{\left (3 x + 2 \right )}}{2 \tanh ^{2}{\left (3 x + 2 \right )} + 1}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________