Optimal. Leaf size=12 \[ -\frac{1}{3 \left (\tan ^3(x)+2\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0760194, antiderivative size = 12, normalized size of antiderivative = 1., 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 = {4342, 261} \[ -\frac{1}{3 \left (\tan ^3(x)+2\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4342
Rule 261
Rubi steps
\begin{align*} \int \frac{\sec ^2(x) \tan ^2(x)}{\left (2+\tan ^3(x)\right )^2} \, dx &=\operatorname{Subst}\left (\int \frac{x^2}{\left (2+x^3\right )^2} \, dx,x,\tan (x)\right )\\ &=-\frac{1}{3 \left (2+\tan ^3(x)\right )}\\ \end{align*}
Mathematica [A] time = 0.0357123, size = 12, normalized size = 1. \[ -\frac{1}{3 \left (\tan ^3(x)+2\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.072, size = 11, normalized size = 0.9 \begin{align*} -{\frac{1}{6+3\, \left ( \tan \left ( x \right ) \right ) ^{3}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.97347, size = 14, normalized size = 1.17 \begin{align*} -\frac{1}{3 \,{\left (\tan \left (x\right )^{3} + 2\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.02154, size = 109, normalized size = 9.08 \begin{align*} -\frac{\cos \left (x\right )^{3} + 2 \,{\left (\cos \left (x\right )^{2} - 1\right )} \sin \left (x\right )}{15 \,{\left (2 \, \cos \left (x\right )^{3} -{\left (\cos \left (x\right )^{2} - 1\right )} \sin \left (x\right )\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.10688, size = 14, normalized size = 1.17 \begin{align*} -\frac{1}{3 \,{\left (\tan \left (x\right )^{3} + 2\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]