Optimal. Leaf size=8 \[ \frac{\tan ^4(x)}{4} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0167934, antiderivative size = 8, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 2, integrand size = 9, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.222, Rules used = {3473, 3475} \[ \frac{\tan ^4(x)}{4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3473
Rule 3475
Rubi steps
\begin{align*} \int \left (\tan ^3(x)+\tan ^5(x)\right ) \, dx &=\int \tan ^3(x) \, dx+\int \tan ^5(x) \, dx\\ &=\frac{\tan ^2(x)}{2}+\frac{\tan ^4(x)}{4}-\int \tan (x) \, dx-\int \tan ^3(x) \, dx\\ &=\log (\cos (x))+\frac{\tan ^4(x)}{4}+\int \tan (x) \, dx\\ &=\frac{\tan ^4(x)}{4}\\ \end{align*}
Mathematica [A] time = 0.0048798, size = 8, normalized size = 1. \[ \frac{\tan ^4(x)}{4} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 7, normalized size = 0.9 \begin{align*}{\frac{ \left ( \tan \left ( x \right ) \right ) ^{4}}{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 0.948578, size = 47, normalized size = 5.88 \begin{align*} \frac{4 \, \sin \left (x\right )^{2} - 3}{4 \,{\left (\sin \left (x\right )^{4} - 2 \, \sin \left (x\right )^{2} + 1\right )}} - \frac{1}{2 \,{\left (\sin \left (x\right )^{2} - 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.92514, size = 19, normalized size = 2.38 \begin{align*} \frac{1}{4} \, \tan \left (x\right )^{4} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 0.125427, size = 22, normalized size = 2.75 \begin{align*} - \frac{4 \cos ^{2}{\left (x \right )} - 1}{4 \cos ^{4}{\left (x \right )}} + \frac{1}{2 \cos ^{2}{\left (x \right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.07061, size = 8, normalized size = 1. \begin{align*} \frac{1}{4} \, \tan \left (x\right )^{4} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]