Optimal. Leaf size=41 \[ -10 \cot (x)-\frac {5 \cot ^3(x)}{3}-\frac {\cot ^5(x)}{5}+10 \tan (x)+\frac {5 \tan ^3(x)}{3}+\frac {\tan ^5(x)}{5} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 41, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {2700, 276}
\begin {gather*} \frac {\tan ^5(x)}{5}+\frac {5 \tan ^3(x)}{3}+10 \tan (x)-\frac {1}{5} \cot ^5(x)-\frac {5 \cot ^3(x)}{3}-10 \cot (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 276
Rule 2700
Rubi steps
\begin {align*} \int \csc ^6(x) \sec ^6(x) \, dx &=\text {Subst}\left (\int \frac {\left (1+x^2\right )^5}{x^6} \, dx,x,\tan (x)\right )\\ &=\text {Subst}\left (\int \left (10+\frac {1}{x^6}+\frac {5}{x^4}+\frac {10}{x^2}+5 x^2+x^4\right ) \, dx,x,\tan (x)\right )\\ &=-10 \cot (x)-\frac {5 \cot ^3(x)}{3}-\frac {\cot ^5(x)}{5}+10 \tan (x)+\frac {5 \tan ^3(x)}{3}+\frac {\tan ^5(x)}{5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 53, normalized size = 1.29 \begin {gather*} -\frac {128 \cot (x)}{15}-\frac {19}{15} \cot (x) \csc ^2(x)-\frac {1}{5} \cot (x) \csc ^4(x)+\frac {128 \tan (x)}{15}+\frac {19}{15} \sec ^2(x) \tan (x)+\frac {1}{5} \sec ^4(x) \tan (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.08, size = 56, normalized size = 1.37
method | result | size |
risch | \(-\frac {512 i \left (10 \,{\mathrm e}^{8 i x}-5 \,{\mathrm e}^{4 i x}+1\right )}{15 \left ({\mathrm e}^{2 i x}-1\right )^{5} \left ({\mathrm e}^{2 i x}+1\right )^{5}}\) | \(38\) |
default | \(\frac {1}{5 \sin \left (x \right )^{5} \cos \left (x \right )^{5}}-\frac {2}{5 \sin \left (x \right )^{5} \cos \left (x \right )^{3}}+\frac {16}{15 \sin \left (x \right )^{3} \cos \left (x \right )^{3}}-\frac {32}{15 \sin \left (x \right )^{3} \cos \left (x \right )}+\frac {128}{15 \cos \left (x \right ) \sin \left (x \right )}-\frac {256 \cot \left (x \right )}{15}\) | \(56\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 3.26, size = 37, normalized size = 0.90 \begin {gather*} \frac {1}{5} \, \tan \left (x\right )^{5} + \frac {5}{3} \, \tan \left (x\right )^{3} - \frac {150 \, \tan \left (x\right )^{4} + 25 \, \tan \left (x\right )^{2} + 3}{15 \, \tan \left (x\right )^{5}} + 10 \, \tan \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.75, size = 55, normalized size = 1.34 \begin {gather*} -\frac {256 \, \cos \left (x\right )^{10} - 640 \, \cos \left (x\right )^{8} + 480 \, \cos \left (x\right )^{6} - 80 \, \cos \left (x\right )^{4} - 10 \, \cos \left (x\right )^{2} - 3}{15 \, {\left (\cos \left (x\right )^{9} - 2 \, \cos \left (x\right )^{7} + \cos \left (x\right )^{5}\right )} \sin \left (x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.02, size = 44, normalized size = 1.07 \begin {gather*} - \frac {256 \cos {\left (2 x \right )}}{15 \sin {\left (2 x \right )}} - \frac {128 \cos {\left (2 x \right )}}{15 \sin ^{3}{\left (2 x \right )}} - \frac {32 \cos {\left (2 x \right )}}{5 \sin ^{5}{\left (2 x \right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.04, size = 26, normalized size = 0.63 \begin {gather*} -\frac {32 \, {\left (15 \, \tan \left (2 \, x\right )^{4} + 10 \, \tan \left (2 \, x\right )^{2} + 3\right )}}{15 \, \tan \left (2 \, x\right )^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.12, size = 27, normalized size = 0.66 \begin {gather*} -\frac {32\,\left (\frac {\cos \left (2\,x\right )}{3}-\frac {\cos \left (6\,x\right )}{6}+\frac {\cos \left (10\,x\right )}{30}\right )}{{\sin \left (2\,x\right )}^5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________