Optimal. Leaf size=20 \[ -\frac {3}{32} \left (1+\sqrt [3]{1-8 \tan ^2(x)}\right )^2 \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.15, antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.061, Rules used = {4427, 6818}
\begin {gather*} -\frac {3}{32} \left (\sqrt [3]{1-8 \tan ^2(x)}+1\right )^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 4427
Rule 6818
Rubi steps
\begin {align*} \int \frac {\sec ^2(x) \tan (x) \left (1+\sqrt [3]{1-8 \tan ^2(x)}\right )}{\left (1-8 \tan ^2(x)\right )^{2/3}} \, dx &=\text {Subst}\left (\int \frac {x \left (1+\sqrt [3]{1-8 x^2}\right )}{\left (1-8 x^2\right )^{2/3}} \, dx,x,\tan (x)\right )\\ &=-\frac {3}{32} \left (1+\sqrt [3]{1-8 \tan ^2(x)}\right )^2\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(42\) vs. \(2(20)=40\).
time = 0.15, size = 42, normalized size = 2.10 \begin {gather*} -\frac {3 (-7+9 \cos (2 x)) \sec ^2(x) \left (2+\sqrt [3]{1-8 \tan ^2(x)}\right )}{64 \left (1-8 \tan ^2(x)\right )^{2/3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.05, size = 26, normalized size = 1.30
method | result | size |
derivativedivides | \(-\frac {3 \left (1-8 \left (\tan ^{2}\left (x \right )\right )\right )^{\frac {1}{3}}}{16}-\frac {3 \left (1-8 \left (\tan ^{2}\left (x \right )\right )\right )^{\frac {2}{3}}}{32}\) | \(26\) |
default | \(-\frac {3 \left (1-8 \left (\tan ^{2}\left (x \right )\right )\right )^{\frac {1}{3}}}{16}-\frac {3 \left (1-8 \left (\tan ^{2}\left (x \right )\right )\right )^{\frac {2}{3}}}{32}\) | \(26\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 86 vs.
\(2 (16) = 32\).
time = 5.42, size = 86, normalized size = 4.30 \begin {gather*} -\frac {3 \, {\left (\frac {{\left (9 \, \sin \left (x\right )^{2} - 1\right )} {\left (3 \, \sin \left (x\right ) - 1\right )}^{\frac {1}{3}} {\left (\sin \left (x\right ) + 1\right )}^{\frac {1}{3}} {\left (\sin \left (x\right ) - 1\right )}^{\frac {1}{3}}}{{\left (3 \, \sin \left (x\right ) + 1\right )}^{\frac {1}{3}}} + \frac {2 \, {\left (9 \, \sin \left (x\right )^{2} - 1\right )} {\left (\sin \left (x\right ) + 1\right )}^{\frac {2}{3}} {\left (\sin \left (x\right ) - 1\right )}^{\frac {2}{3}}}{{\left (3 \, \sin \left (x\right ) + 1\right )}^{\frac {2}{3}}}\right )}}{32 \, {\left (\sin \left (x\right )^{2} - 1\right )} {\left (3 \, \sin \left (x\right ) - 1\right )}^{\frac {2}{3}}} \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. 35 vs.
\(2 (16) = 32\).
time = 1.29, size = 35, normalized size = 1.75 \begin {gather*} -\frac {3}{32} \, \left (\frac {9 \, \cos \left (x\right )^{2} - 8}{\cos \left (x\right )^{2}}\right )^{\frac {2}{3}} - \frac {3}{16} \, \left (\frac {9 \, \cos \left (x\right )^{2} - 8}{\cos \left (x\right )^{2}}\right )^{\frac {1}{3}} \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 {\left (\sqrt [3]{1 - 8 \tan ^{2}{\left (x \right )}} + 1\right ) \tan {\left (x \right )}}{\left (1 - 8 \tan ^{2}{\left (x \right )}\right )^{\frac {2}{3}} \cos ^{2}{\left (x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.89, size = 25, normalized size = 1.25 \begin {gather*} -\frac {3}{32} \, {\left (-8 \, \tan \left (x\right )^{2} + 1\right )}^{\frac {2}{3}} - \frac {3}{16} \, {\left (-8 \, \tan \left (x\right )^{2} + 1\right )}^{\frac {1}{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.62, size = 43, normalized size = 2.15 \begin {gather*} -\frac {3\,\left ({\left (18\,{\cos \left (x\right )}^2-16\right )}^{1/3}+2\,{\left (2\,{\cos \left (x\right )}^2\right )}^{1/3}\right )\,{\left (18\,{\cos \left (x\right )}^2-16\right )}^{1/3}}{32\,{\left (2\,{\cos \left (x\right )}^2\right )}^{2/3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________