Optimal. Leaf size=43 \[ \frac{1}{10} \sin ^5(2 x)-\frac{2}{3} \sin ^3(2 x)+3 \sin (2 x)-\frac{1}{6} \csc ^3(2 x)+2 \csc (2 x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0360787, antiderivative size = 43, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154, Rules used = {2590, 270} \[ \frac{1}{10} \sin ^5(2 x)-\frac{2}{3} \sin ^3(2 x)+3 \sin (2 x)-\frac{1}{6} \csc ^3(2 x)+2 \csc (2 x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2590
Rule 270
Rubi steps
\begin{align*} \int \cos ^5(2 x) \cot ^4(2 x) \, dx &=-\left (\frac{1}{2} \operatorname{Subst}\left (\int \frac{\left (1-x^2\right )^4}{x^4} \, dx,x,-\sin (2 x)\right )\right )\\ &=-\left (\frac{1}{2} \operatorname{Subst}\left (\int \left (6+\frac{1}{x^4}-\frac{4}{x^2}-4 x^2+x^4\right ) \, dx,x,-\sin (2 x)\right )\right )\\ &=2 \csc (2 x)-\frac{1}{6} \csc ^3(2 x)+3 \sin (2 x)-\frac{2}{3} \sin ^3(2 x)+\frac{1}{10} \sin ^5(2 x)\\ \end{align*}
Mathematica [A] time = 0.0259009, size = 43, normalized size = 1. \[ \frac{1}{10} \sin ^5(2 x)-\frac{2}{3} \sin ^3(2 x)+3 \sin (2 x)-\frac{1}{6} \csc ^3(2 x)+2 \csc (2 x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.054, size = 68, normalized size = 1.6 \begin{align*} -{\frac{ \left ( \cos \left ( 2\,x \right ) \right ) ^{10}}{6\, \left ( \sin \left ( 2\,x \right ) \right ) ^{3}}}+{\frac{7\, \left ( \cos \left ( 2\,x \right ) \right ) ^{10}}{6\,\sin \left ( 2\,x \right ) }}+{\frac{7\,\sin \left ( 2\,x \right ) }{6} \left ({\frac{128}{35}}+ \left ( \cos \left ( 2\,x \right ) \right ) ^{8}+{\frac{8\, \left ( \cos \left ( 2\,x \right ) \right ) ^{6}}{7}}+{\frac{48\, \left ( \cos \left ( 2\,x \right ) \right ) ^{4}}{35}}+{\frac{64\, \left ( \cos \left ( 2\,x \right ) \right ) ^{2}}{35}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.939942, size = 55, normalized size = 1.28 \begin{align*} \frac{1}{10} \, \sin \left (2 \, x\right )^{5} - \frac{2}{3} \, \sin \left (2 \, x\right )^{3} + \frac{12 \, \sin \left (2 \, x\right )^{2} - 1}{6 \, \sin \left (2 \, x\right )^{3}} + 3 \, \sin \left (2 \, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.41084, size = 140, normalized size = 3.26 \begin{align*} -\frac{3 \, \cos \left (2 \, x\right )^{8} + 8 \, \cos \left (2 \, x\right )^{6} + 48 \, \cos \left (2 \, x\right )^{4} - 192 \, \cos \left (2 \, x\right )^{2} + 128}{30 \,{\left (\cos \left (2 \, x\right )^{2} - 1\right )} \sin \left (2 \, x\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.098547, size = 42, normalized size = 0.98 \begin{align*} \frac{12 \sin ^{2}{\left (2 x \right )} - 1}{6 \sin ^{3}{\left (2 x \right )}} + \frac{\sin ^{5}{\left (2 x \right )}}{10} - \frac{2 \sin ^{3}{\left (2 x \right )}}{3} + 3 \sin{\left (2 x \right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.08401, size = 55, normalized size = 1.28 \begin{align*} \frac{1}{10} \, \sin \left (2 \, x\right )^{5} - \frac{2}{3} \, \sin \left (2 \, x\right )^{3} + \frac{12 \, \sin \left (2 \, x\right )^{2} - 1}{6 \, \sin \left (2 \, x\right )^{3}} + 3 \, \sin \left (2 \, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]