Optimal. Leaf size=11 \[ \frac {\tan ^3(x)}{3}+\tan (x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 11, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {3767} \[ \frac {\tan ^3(x)}{3}+\tan (x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3767
Rubi steps
\begin {align*} \int \sec ^4(x) \, dx &=-\operatorname {Subst}\left (\int \left (1+x^2\right ) \, dx,x,-\tan (x)\right )\\ &=\tan (x)+\frac {\tan ^3(x)}{3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 17, normalized size = 1.55 \[ \frac {2 \tan (x)}{3}+\frac {1}{3} \tan (x) \sec ^2(x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.40, size = 16, normalized size = 1.45 \[ \frac {{\left (2 \, \cos \relax (x)^{2} + 1\right )} \sin \relax (x)}{3 \, \cos \relax (x)^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.95, size = 9, normalized size = 0.82 \[ \frac {1}{3} \, \tan \relax (x)^{3} + \tan \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.10, size = 13, normalized size = 1.18 \[ -\left (-\frac {\left (\sec ^{2}\relax (x )\right )}{3}-\frac {2}{3}\right ) \tan \relax (x ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.44, size = 9, normalized size = 0.82 \[ \frac {1}{3} \, \tan \relax (x)^{3} + \tan \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.03, size = 17, normalized size = 1.55 \[ \frac {2\,\sin \relax (x)\,{\cos \relax (x)}^2+\sin \relax (x)}{3\,{\cos \relax (x)}^3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.07, size = 19, normalized size = 1.73 \[ \frac {2 \sin {\relax (x )}}{3 \cos {\relax (x )}} + \frac {\sin {\relax (x )}}{3 \cos ^{3}{\relax (x )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________