Optimal. Leaf size=12 \[ -\frac {1}{3 \left (2+\tanh ^3(x)\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {4427, 267}
\begin {gather*} -\frac {1}{3 \left (\tanh ^3(x)+2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 267
Rule 4427
Rubi steps
\begin {align*} \int \frac {\text {sech}^2(x) \tanh ^2(x)}{\left (2+\tanh ^3(x)\right )^2} \, dx &=\text {Subst}\left (\int \frac {x^2}{\left (2+x^3\right )^2} \, dx,x,\tanh (x)\right )\\ &=-\frac {1}{3 \left (2+\tanh ^3(x)\right )}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 12, normalized size = 1.00 \begin {gather*} -\frac {1}{3 \left (2+\tanh ^3(x)\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.76, size = 11, normalized size = 0.92
method | result | size |
derivativedivides | \(-\frac {1}{3 \left (2+\tanh ^{3}\left (x \right )\right )}\) | \(11\) |
default | \(-\frac {1}{3 \left (2+\tanh ^{3}\left (x \right )\right )}\) | \(11\) |
risch | \(-\frac {2 \left (3 \,{\mathrm e}^{4 x}+1\right )}{9 \left (3 \,{\mathrm e}^{6 x}+3 \,{\mathrm e}^{4 x}+9 \,{\mathrm e}^{2 x}+1\right )}\) | \(33\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 10, normalized size = 0.83 \begin {gather*} -\frac {1}{3 \, {\left (\tanh \left (x\right )^{3} + 2\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. 73 vs.
\(2 (10) = 20\).
time = 0.32, size = 73, normalized size = 6.08 \begin {gather*} -\frac {8 \, {\left (\cosh \left (x\right )^{2} + \cosh \left (x\right ) \sinh \left (x\right ) + \sinh \left (x\right )^{2}\right )}}{9 \, {\left (3 \, \cosh \left (x\right )^{4} + 12 \, \cosh \left (x\right ) \sinh \left (x\right )^{3} + 3 \, \sinh \left (x\right )^{4} + 2 \, {\left (9 \, \cosh \left (x\right )^{2} + 2\right )} \sinh \left (x\right )^{2} + 4 \, \cosh \left (x\right )^{2} + 4 \, {\left (3 \, \cosh \left (x\right )^{3} + \cosh \left (x\right )\right )} \sinh \left (x\right ) + 9\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \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. 32 vs.
\(2 (10) = 20\).
time = 0.40, size = 32, normalized size = 2.67 \begin {gather*} -\frac {2 \, {\left (3 \, e^{\left (4 \, x\right )} + 1\right )}}{9 \, {\left (3 \, e^{\left (6 \, x\right )} + 3 \, e^{\left (4 \, x\right )} + 9 \, e^{\left (2 \, x\right )} + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.80, size = 32, normalized size = 2.67 \begin {gather*} -\frac {\frac {2\,{\mathrm {e}}^{4\,x}}{3}+\frac {2}{9}}{9\,{\mathrm {e}}^{2\,x}+3\,{\mathrm {e}}^{4\,x}+3\,{\mathrm {e}}^{6\,x}+1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________