Optimal. Leaf size=8 \[ \frac {\tan ^5(x)}{5} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 8, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {2687, 30}
\begin {gather*} \frac {\tan ^5(x)}{5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 2687
Rubi steps
\begin {align*} \int \sec ^2(x) \tan ^4(x) \, dx &=\text {Subst}\left (\int x^4 \, dx,x,\tan (x)\right )\\ &=\frac {\tan ^5(x)}{5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 8, normalized size = 1.00 \begin {gather*} \frac {\tan ^5(x)}{5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 11, normalized size = 1.38
method | result | size |
default | \(\frac {\sin ^{5}\left (x \right )}{5 \cos \left (x \right )^{5}}\) | \(11\) |
risch | \(\frac {2 i \left (5 \,{\mathrm e}^{8 i x}+10 \,{\mathrm e}^{4 i x}+1\right )}{5 \left ({\mathrm e}^{2 i x}+1\right )^{5}}\) | \(29\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 1.82, size = 6, normalized size = 0.75 \begin {gather*} \frac {1}{5} \, \tan \left (x\right )^{5} \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. 20 vs.
\(2 (6) = 12\).
time = 0.73, size = 20, normalized size = 2.50 \begin {gather*} \frac {{\left (\cos \left (x\right )^{4} - 2 \, \cos \left (x\right )^{2} + 1\right )} \sin \left (x\right )}{5 \, \cos \left (x\right )^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 29 vs.
\(2 (5) = 10\).
time = 0.01, size = 29, normalized size = 3.62 \begin {gather*} \frac {\sin {\left (x \right )}}{5 \cos {\left (x \right )}} - \frac {2 \sin {\left (x \right )}}{5 \cos ^{3}{\left (x \right )}} + \frac {\sin {\left (x \right )}}{5 \cos ^{5}{\left (x \right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.97, size = 6, normalized size = 0.75 \begin {gather*} \frac {1}{5} \, \tan \left (x\right )^{5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.03, size = 6, normalized size = 0.75 \begin {gather*} \frac {{\mathrm {tan}\left (x\right )}^5}{5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________