Optimal. Leaf size=21 \[ \frac {1}{6} \csc ^3(2 x)-\frac {1}{10} \csc ^5(2 x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 21, normalized size of antiderivative = 1.00, 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 = {2686, 14}
\begin {gather*} \frac {1}{6} \csc ^3(2 x)-\frac {1}{10} \csc ^5(2 x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2686
Rubi steps
\begin {align*} \int \cot ^3(2 x) \csc ^3(2 x) \, dx &=-\left (\frac {1}{2} \text {Subst}\left (\int x^2 \left (-1+x^2\right ) \, dx,x,\csc (2 x)\right )\right )\\ &=-\left (\frac {1}{2} \text {Subst}\left (\int \left (-x^2+x^4\right ) \, dx,x,\csc (2 x)\right )\right )\\ &=\frac {1}{6} \csc ^3(2 x)-\frac {1}{10} \csc ^5(2 x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 21, normalized size = 1.00 \begin {gather*} \frac {1}{6} \csc ^3(2 x)-\frac {1}{10} \csc ^5(2 x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [A]
time = 1.87, size = 18, normalized size = 0.86 \begin {gather*} \frac {-3+5 \text {Sin}\left [2 x\right ]^2}{30 \text {Sin}\left [2 x\right ]^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(57\) vs.
\(2(17)=34\).
time = 0.05, size = 58, normalized size = 2.76
method | result | size |
risch | \(-\frac {4 i \left (5 \,{\mathrm e}^{14 i x}+2 \,{\mathrm e}^{10 i x}+5 \,{\mathrm e}^{6 i x}\right )}{15 \left ({\mathrm e}^{4 i x}-1\right )^{5}}\) | \(35\) |
derivativedivides | \(-\frac {\cos ^{4}\left (2 x \right )}{10 \sin \left (2 x \right )^{5}}-\frac {\cos ^{4}\left (2 x \right )}{30 \sin \left (2 x \right )^{3}}+\frac {\cos ^{4}\left (2 x \right )}{30 \sin \left (2 x \right )}+\frac {\left (2+\cos ^{2}\left (2 x \right )\right ) \sin \left (2 x \right )}{30}\) | \(58\) |
default | \(-\frac {\cos ^{4}\left (2 x \right )}{10 \sin \left (2 x \right )^{5}}-\frac {\cos ^{4}\left (2 x \right )}{30 \sin \left (2 x \right )^{3}}+\frac {\cos ^{4}\left (2 x \right )}{30 \sin \left (2 x \right )}+\frac {\left (2+\cos ^{2}\left (2 x \right )\right ) \sin \left (2 x \right )}{30}\) | \(58\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 18, normalized size = 0.86 \begin {gather*} \frac {5 \, \sin \left (2 \, x\right )^{2} - 3}{30 \, \sin \left (2 \, 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. 36 vs.
\(2 (17) = 34\).
time = 0.33, size = 36, normalized size = 1.71 \begin {gather*} -\frac {5 \, \cos \left (2 \, x\right )^{2} - 2}{30 \, {\left (\cos \left (2 \, x\right )^{4} - 2 \, \cos \left (2 \, x\right )^{2} + 1\right )} \sin \left (2 \, x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.05, size = 19, normalized size = 0.90 \begin {gather*} - \frac {3 - 5 \sin ^{2}{\left (2 x \right )}}{30 \sin ^{5}{\left (2 x \right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 22, normalized size = 1.05 \begin {gather*} \frac {5 \sin ^{2}\left (2 x\right )-3}{2\cdot 15 \sin ^{5}\left (2 x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.38, size = 18, normalized size = 0.86 \begin {gather*} \frac {5\,{\sin \left (2\,x\right )}^2-3}{30\,{\sin \left (2\,x\right )}^5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________