Integrand size = 13, antiderivative size = 16 \[ \int \frac {\cot (x) \csc (x)}{\sqrt {\sin (2 x)}} \, dx=-\frac {2 \cos (x) \cot (x)}{3 \sqrt {\sin (2 x)}} \]
[Out]
Time = 0.11 (sec) , antiderivative size = 16, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {4475, 30} \[ \int \frac {\cot (x) \csc (x)}{\sqrt {\sin (2 x)}} \, dx=-\frac {2 \cos (x) \cot (x)}{3 \sqrt {\sin (2 x)}} \]
[In]
[Out]
Rule 30
Rule 4475
Rubi steps \begin{align*} \text {integral}& = \frac {\sin (x) \int \frac {\csc ^2(x)}{\sqrt {\tan (x)}} \, dx}{\sqrt {\sin (2 x)} \sqrt {\tan (x)}} \\ & = \frac {\sin (x) \text {Subst}\left (\int \frac {1}{x^{5/2}} \, dx,x,\tan (x)\right )}{\sqrt {\sin (2 x)} \sqrt {\tan (x)}} \\ & = -\frac {2 \cos (x) \cot (x)}{3 \sqrt {\sin (2 x)}} \\ \end{align*}
Time = 0.07 (sec) , antiderivative size = 16, normalized size of antiderivative = 1.00 \[ \int \frac {\cot (x) \csc (x)}{\sqrt {\sin (2 x)}} \, dx=-\frac {1}{3} \cot (x) \csc (x) \sqrt {\sin (2 x)} \]
[In]
[Out]
Result contains higher order function than in optimal. Order 4 vs. order 3.
Time = 1.27 (sec) , antiderivative size = 119, normalized size of antiderivative = 7.44
method | result | size |
default | \(\frac {\sqrt {-\frac {\tan \left (\frac {x}{2}\right )}{\tan \left (\frac {x}{2}\right )^{2}-1}}\, \left (\tan \left (\frac {x}{2}\right )^{2}-1\right ) \left (4 \sqrt {\tan \left (\frac {x}{2}\right )+1}\, \sqrt {-2 \tan \left (\frac {x}{2}\right )+2}\, \sqrt {-\tan \left (\frac {x}{2}\right )}\, \operatorname {EllipticF}\left (\sqrt {\tan \left (\frac {x}{2}\right )+1}, \frac {\sqrt {2}}{2}\right ) \tan \left (\frac {x}{2}\right )+\tan \left (\frac {x}{2}\right )^{4}-1\right )}{6 \tan \left (\frac {x}{2}\right ) \sqrt {\tan \left (\frac {x}{2}\right ) \left (\tan \left (\frac {x}{2}\right )^{2}-1\right )}\, \sqrt {\tan \left (\frac {x}{2}\right )^{3}-\tan \left (\frac {x}{2}\right )}}\) | \(119\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 29 vs. \(2 (12) = 24\).
Time = 0.25 (sec) , antiderivative size = 29, normalized size of antiderivative = 1.81 \[ \int \frac {\cot (x) \csc (x)}{\sqrt {\sin (2 x)}} \, dx=\frac {\sqrt {2} \sqrt {\cos \left (x\right ) \sin \left (x\right )} \cos \left (x\right ) + \cos \left (x\right )^{2} - 1}{3 \, {\left (\cos \left (x\right )^{2} - 1\right )}} \]
[In]
[Out]
\[ \int \frac {\cot (x) \csc (x)}{\sqrt {\sin (2 x)}} \, dx=\int \frac {\cot {\left (x \right )} \csc {\left (x \right )}}{\sqrt {\sin {\left (2 x \right )}}}\, dx \]
[In]
[Out]
\[ \int \frac {\cot (x) \csc (x)}{\sqrt {\sin (2 x)}} \, dx=\int { \frac {\cot \left (x\right ) \csc \left (x\right )}{\sqrt {\sin \left (2 \, x\right )}} \,d x } \]
[In]
[Out]
\[ \int \frac {\cot (x) \csc (x)}{\sqrt {\sin (2 x)}} \, dx=\int { \frac {\cot \left (x\right ) \csc \left (x\right )}{\sqrt {\sin \left (2 \, x\right )}} \,d x } \]
[In]
[Out]
Time = 26.37 (sec) , antiderivative size = 14, normalized size of antiderivative = 0.88 \[ \int \frac {\cot (x) \csc (x)}{\sqrt {\sin (2 x)}} \, dx=-\frac {\sqrt {\sin \left (2\,x\right )}\,\cos \left (x\right )}{3\,{\sin \left (x\right )}^2} \]
[In]
[Out]