Optimal. Leaf size=102 \[ \frac {\log \left (2 \sqrt [3]{2} \tanh ^2(x)+2^{2/3} \sqrt [3]{3} \tanh (x)+3^{2/3}\right )}{6\ 6^{2/3}}-\frac {\log \left (\sqrt [3]{3}-2^{2/3} \tanh (x)\right )}{3\ 6^{2/3}}+\frac {\tan ^{-1}\left (\frac {2\ 2^{2/3} \tanh (x)+\sqrt [3]{3}}{3^{5/6}}\right )}{3\ 2^{2/3} \sqrt [6]{3}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.11, antiderivative size = 102, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.467, Rules used = {3675, 200, 31, 634, 617, 204, 628} \[ \frac {\log \left (2 \sqrt [3]{2} \tanh ^2(x)+2^{2/3} \sqrt [3]{3} \tanh (x)+3^{2/3}\right )}{6\ 6^{2/3}}-\frac {\log \left (\sqrt [3]{3}-2^{2/3} \tanh (x)\right )}{3\ 6^{2/3}}+\frac {\tan ^{-1}\left (\frac {2\ 2^{2/3} \tanh (x)+\sqrt [3]{3}}{3^{5/6}}\right )}{3\ 2^{2/3} \sqrt [6]{3}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 200
Rule 204
Rule 617
Rule 628
Rule 634
Rule 3675
Rubi steps
\begin {align*} \int \frac {\text {sech}^2(x)}{3-4 \tanh ^3(x)} \, dx &=\operatorname {Subst}\left (\int \frac {1}{3-4 x^3} \, dx,x,\tanh (x)\right )\\ &=\frac {\operatorname {Subst}\left (\int \frac {1}{\sqrt [3]{3}-2^{2/3} x} \, dx,x,\tanh (x)\right )}{3\ 3^{2/3}}+\frac {\operatorname {Subst}\left (\int \frac {2 \sqrt [3]{3}+2^{2/3} x}{3^{2/3}+2^{2/3} \sqrt [3]{3} x+2 \sqrt [3]{2} x^2} \, dx,x,\tanh (x)\right )}{3\ 3^{2/3}}\\ &=-\frac {\log \left (\sqrt [3]{3}-2^{2/3} \tanh (x)\right )}{3\ 6^{2/3}}+\frac {\operatorname {Subst}\left (\int \frac {1}{3^{2/3}+2^{2/3} \sqrt [3]{3} x+2 \sqrt [3]{2} x^2} \, dx,x,\tanh (x)\right )}{2 \sqrt [3]{3}}+\frac {\operatorname {Subst}\left (\int \frac {2^{2/3} \sqrt [3]{3}+4 \sqrt [3]{2} x}{3^{2/3}+2^{2/3} \sqrt [3]{3} x+2 \sqrt [3]{2} x^2} \, dx,x,\tanh (x)\right )}{6\ 6^{2/3}}\\ &=-\frac {\log \left (\sqrt [3]{3}-2^{2/3} \tanh (x)\right )}{3\ 6^{2/3}}+\frac {\log \left (3^{2/3}+2^{2/3} \sqrt [3]{3} \tanh (x)+2 \sqrt [3]{2} \tanh ^2(x)\right )}{6\ 6^{2/3}}-\frac {\operatorname {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1+\frac {2\ 2^{2/3} \tanh (x)}{\sqrt [3]{3}}\right )}{6^{2/3}}\\ &=\frac {\tan ^{-1}\left (\frac {3+2\ 6^{2/3} \tanh (x)}{3 \sqrt {3}}\right )}{3\ 2^{2/3} \sqrt [6]{3}}-\frac {\log \left (\sqrt [3]{3}-2^{2/3} \tanh (x)\right )}{3\ 6^{2/3}}+\frac {\log \left (3^{2/3}+2^{2/3} \sqrt [3]{3} \tanh (x)+2 \sqrt [3]{2} \tanh ^2(x)\right )}{6\ 6^{2/3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.11, size = 74, normalized size = 0.73 \[ \frac {\log \left (2 \sqrt [3]{6} \tanh ^2(x)+6^{2/3} \tanh (x)+3\right )-2 \log \left (3-6^{2/3} \tanh (x)\right )+2 \sqrt {3} \tan ^{-1}\left (\frac {2\ 6^{2/3} \tanh (x)+3}{3 \sqrt {3}}\right )}{6\ 6^{2/3}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.46, size = 309, normalized size = 3.03 \[ -\frac {1}{18} \cdot 36^{\frac {1}{6}} \sqrt {3} \left (-1\right )^{\frac {1}{3}} \arctan \left (\frac {1}{54} \cdot 36^{\frac {1}{6}} {\left ({\left (36^{\frac {2}{3}} \sqrt {3} \left (-1\right )^{\frac {2}{3}} + 3 \cdot 36^{\frac {1}{3}} \sqrt {3} - 9 \, \sqrt {3} \left (-1\right )^{\frac {1}{3}}\right )} \cosh \relax (x)^{2} + 2 \, {\left (36^{\frac {2}{3}} \sqrt {3} \left (-1\right )^{\frac {2}{3}} + 3 \cdot 36^{\frac {1}{3}} \sqrt {3} - 9 \, \sqrt {3} \left (-1\right )^{\frac {1}{3}}\right )} \cosh \relax (x) \sinh \relax (x) + {\left (36^{\frac {2}{3}} \sqrt {3} \left (-1\right )^{\frac {2}{3}} + 3 \cdot 36^{\frac {1}{3}} \sqrt {3} - 9 \, \sqrt {3} \left (-1\right )^{\frac {1}{3}}\right )} \sinh \relax (x)^{2} - 36^{\frac {2}{3}} \sqrt {3} \left (-1\right )^{\frac {2}{3}} - 9 \, \sqrt {3} \left (-1\right )^{\frac {1}{3}}\right )}\right ) - \frac {1}{216} \cdot 36^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} \log \left (\frac {2 \, {\left ({\left (36^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} + 3 \cdot 36^{\frac {1}{3}} \left (-1\right )^{\frac {2}{3}} + 3\right )} \cosh \relax (x)^{2} - 2 \, {\left (36^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} + 3 \cdot 36^{\frac {1}{3}} \left (-1\right )^{\frac {2}{3}}\right )} \cosh \relax (x) \sinh \relax (x) + {\left (36^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} + 3 \cdot 36^{\frac {1}{3}} \left (-1\right )^{\frac {2}{3}} + 3\right )} \sinh \relax (x)^{2} - 36^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} + 3 \cdot 36^{\frac {1}{3}} \left (-1\right )^{\frac {2}{3}} - 21\right )}}{\cosh \relax (x)^{2} - 2 \, \cosh \relax (x) \sinh \relax (x) + \sinh \relax (x)^{2}}\right ) + \frac {1}{108} \cdot 36^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} \log \left (\frac {2 \, {\left ({\left (36^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} - 3 \cdot 36^{\frac {1}{3}} \left (-1\right )^{\frac {2}{3}} - 9\right )} \cosh \relax (x) - {\left (36^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} - 3 \cdot 36^{\frac {1}{3}} \left (-1\right )^{\frac {2}{3}} - 12\right )} \sinh \relax (x)\right )}}{\cosh \relax (x) - \sinh \relax (x)}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 1, normalized size = 0.01 \[ 0 \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.24, size = 34, normalized size = 0.33 \[ \frac {\left (\munderset {\textit {\_R} =\RootOf \left (36 \textit {\_Z}^{3}+1\right )}{\sum }\textit {\_R} \ln \left (-24 \tanh \left (\frac {x}{2}\right ) \textit {\_R}^{2}+\tanh ^{2}\left (\frac {x}{2}\right )+1\right )\right )}{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ -\int \frac {\operatorname {sech}\relax (x)^{2}}{4 \, \tanh \relax (x)^{3} - 3}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.34, size = 169, normalized size = 1.66 \[ -\frac {6^{1/3}\,\ln \left (\frac {6^{1/3}\,\left (29856\,{\mathrm {e}}^{2\,x}-\frac {6^{1/3}\,\left (109440\,{\mathrm {e}}^{2\,x}+153216\right )}{18}+672\right )}{18}-\frac {5696\,{\mathrm {e}}^{2\,x}}{3}+\frac {4480}{3}\right )}{18}-\frac {6^{1/3}\,\ln \left (\frac {4480}{3}+\frac {6^{1/3}\,\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (29856\,{\mathrm {e}}^{2\,x}-\frac {6^{1/3}\,\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (109440\,{\mathrm {e}}^{2\,x}+153216\right )}{18}+672\right )}{18}-\frac {5696\,{\mathrm {e}}^{2\,x}}{3}\right )\,\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}{18}+\frac {6^{1/3}\,\ln \left (\frac {4480}{3}-\frac {6^{1/3}\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (29856\,{\mathrm {e}}^{2\,x}+\frac {6^{1/3}\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (109440\,{\mathrm {e}}^{2\,x}+153216\right )}{18}+672\right )}{18}-\frac {5696\,{\mathrm {e}}^{2\,x}}{3}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}{18} \]
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}{\relax (x )}}{4 \tanh ^{3}{\relax (x )} - 3}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________