Optimal. Leaf size=33 \[ \frac {\tan ^{13}(x)}{13}+\frac {3 \tan ^{11}(x)}{11}+\frac {\tan ^9(x)}{3}+\frac {\tan ^7(x)}{7} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 33, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {3657, 2607, 270} \[ \frac {\tan ^{13}(x)}{13}+\frac {3 \tan ^{11}(x)}{11}+\frac {\tan ^9(x)}{3}+\frac {\tan ^7(x)}{7} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 270
Rule 2607
Rule 3657
Rubi steps
\begin {align*} \int \sec ^2(x) \tan ^6(x) \left (1+\tan ^2(x)\right )^3 \, dx &=\int \sec ^8(x) \tan ^6(x) \, dx\\ &=\operatorname {Subst}\left (\int x^6 \left (1+x^2\right )^3 \, dx,x,\tan (x)\right )\\ &=\operatorname {Subst}\left (\int \left (x^6+3 x^8+3 x^{10}+x^{12}\right ) \, dx,x,\tan (x)\right )\\ &=\frac {\tan ^7(x)}{7}+\frac {\tan ^9(x)}{3}+\frac {3 \tan ^{11}(x)}{11}+\frac {\tan ^{13}(x)}{13}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 0.02, size = 67, normalized size = 2.03 \[ -\frac {16 \tan (x)}{3003}+\frac {1}{13} \tan (x) \sec ^{12}(x)-\frac {27}{143} \tan (x) \sec ^{10}(x)+\frac {53}{429} \tan (x) \sec ^8(x)-\frac {5 \tan (x) \sec ^6(x)}{3003}-\frac {2 \tan (x) \sec ^4(x)}{1001}-\frac {8 \tan (x) \sec ^2(x)}{3003} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.86, size = 46, normalized size = 1.39 \[ -\frac {{\left (16 \, \cos \relax (x)^{12} + 8 \, \cos \relax (x)^{10} + 6 \, \cos \relax (x)^{8} + 5 \, \cos \relax (x)^{6} - 371 \, \cos \relax (x)^{4} + 567 \, \cos \relax (x)^{2} - 231\right )} \sin \relax (x)}{3003 \, \cos \relax (x)^{13}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 25, normalized size = 0.76 \[ \frac {1}{13} \, \tan \relax (x)^{13} + \frac {3}{11} \, \tan \relax (x)^{11} + \frac {1}{3} \, \tan \relax (x)^{9} + \frac {1}{7} \, \tan \relax (x)^{7} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 42, normalized size = 1.27 \[ \frac {\sin ^{7}\relax (x )}{7 \cos \relax (x )^{7}}+\frac {\sin ^{9}\relax (x )}{3 \cos \relax (x )^{9}}+\frac {3 \left (\sin ^{11}\relax (x )\right )}{11 \cos \relax (x )^{11}}+\frac {\sin ^{13}\relax (x )}{13 \cos \relax (x )^{13}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.39, size = 25, normalized size = 0.76 \[ \frac {1}{13} \, \tan \relax (x)^{13} + \frac {3}{11} \, \tan \relax (x)^{11} + \frac {1}{3} \, \tan \relax (x)^{9} + \frac {1}{7} \, \tan \relax (x)^{7} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.92, size = 25, normalized size = 0.76 \[ \frac {{\mathrm {tan}\relax (x)}^{13}}{13}+\frac {3\,{\mathrm {tan}\relax (x)}^{11}}{11}+\frac {{\mathrm {tan}\relax (x)}^9}{3}+\frac {{\mathrm {tan}\relax (x)}^7}{7} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 19.28, size = 27, normalized size = 0.82 \[ \frac {\tan ^{13}{\relax (x )}}{13} + \frac {3 \tan ^{11}{\relax (x )}}{11} + \frac {\tan ^{9}{\relax (x )}}{3} + \frac {\tan ^{7}{\relax (x )}}{7} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________