Optimal. Leaf size=29 \[ -\frac {2 \cos (x)}{3 \sin ^{\frac {3}{2}}(2 x)}+\frac {4 \sin (x)}{3 \sqrt {\sin (2 x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 29, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.273, Rules used = {4393, 4388,
4377} \begin {gather*} \frac {4 \sin (x)}{3 \sqrt {\sin (2 x)}}-\frac {2 \cos (x)}{3 \sin ^{\frac {3}{2}}(2 x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 4377
Rule 4388
Rule 4393
Rubi steps
\begin {align*} \int \frac {\csc (x)}{\sin ^{\frac {3}{2}}(2 x)} \, dx &=2 \int \frac {\cos (x)}{\sin ^{\frac {5}{2}}(2 x)} \, dx\\ &=-\frac {2 \cos (x)}{3 \sin ^{\frac {3}{2}}(2 x)}+\frac {4}{3} \int \frac {\sin (x)}{\sin ^{\frac {3}{2}}(2 x)} \, dx\\ &=-\frac {2 \cos (x)}{3 \sin ^{\frac {3}{2}}(2 x)}+\frac {4 \sin (x)}{3 \sqrt {\sin (2 x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 24, normalized size = 0.83 \begin {gather*} \left (-\frac {1}{6} \cot (x) \csc (x)+\frac {\sec (x)}{2}\right ) \sqrt {\sin (2 x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 4 vs. order
3.
time = 0.09, size = 121, normalized size = 4.17
method | result | size |
default | \(-\frac {\sqrt {-\frac {\tan \left (\frac {x}{2}\right )}{\tan ^{2}\left (\frac {x}{2}\right )-1}}\, \left (\tan ^{2}\left (\frac {x}{2}\right )-1\right ) \left (2 \sqrt {1+\tan \left (\frac {x}{2}\right )}\, \sqrt {-2 \tan \left (\frac {x}{2}\right )+2}\, \sqrt {-\tan \left (\frac {x}{2}\right )}\, \EllipticF \left (\sqrt {1+\tan \left (\frac {x}{2}\right )}, \frac {\sqrt {2}}{2}\right ) \tan \left (\frac {x}{2}\right )-\left (\tan ^{4}\left (\frac {x}{2}\right )\right )+1\right )}{12 \tan \left (\frac {x}{2}\right ) \sqrt {\tan \left (\frac {x}{2}\right ) \left (\tan ^{2}\left (\frac {x}{2}\right )-1\right )}\, \sqrt {\tan ^{3}\left (\frac {x}{2}\right )-\tan \left (\frac {x}{2}\right )}}\) | \(121\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \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. 43 vs.
\(2 (21) = 42\).
time = 1.14, size = 43, normalized size = 1.48 \begin {gather*} \frac {4 \, \cos \left (x\right )^{3} + \sqrt {2} {\left (4 \, \cos \left (x\right )^{2} - 3\right )} \sqrt {\cos \left (x\right ) \sin \left (x\right )} - 4 \, \cos \left (x\right )}{6 \, {\left (\cos \left (x\right )^{3} - \cos \left (x\right )\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.43, size = 29, normalized size = 1.00 \begin {gather*} -\frac {\sqrt {\sin \left (2\,x\right )}\,\left (2\,\cos \left (2\,x\right )-1\right )}{6\,\left (\cos \left (x\right )-{\cos \left (x\right )}^3\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________