The integral is $$\int\frac{\sqrt{\cos 2x}}{\sin x}\,\text{d}x$$ I have tried solving this by taking the sine inside the radical as follows: $$\int\sqrt\frac{\cos 2x}{\sin^2 x}\,\text{d}x$$$$\int\sqrt\frac{\cos^2x-\sin^2x}{\sin^2 x}\,\text{d}x$$$$\int\sqrt{\cot^2x-1}\,\text{d}x$$ I don't know how to proceed from here, or whether this is even right.
Any suggestions?
You can continue like this: \begin{align*} \int\sqrt{\cot^2(x)-1}\,dx&=\int\frac{\cot^2(x)-1}{\sqrt{\cot^2(x)-1}}\,dx\\ &=\int\frac{\csc^2(x)-2}{\sqrt{\cot^2(x)-1}}\,dx\\ &=\int\frac{\csc^2(x)}{\sqrt{\cot^2(x)-1}}\,dx-2\int\frac{1}{\sqrt{\cot^2(x)-1}}\,dx\\ \end{align*} The first integral can be solved with substitution $u=\cot(x)$ and the second one with substitution $\cot(x)=\cosh(t)$ will be converted to the following one: \begin{align*} \int\frac{1}{\sqrt{\cot^2(x)-1}}\,dx&=-\int\frac{dt}{1+\cosh^2(t)}\\ &=-\int\frac{2}{2+e^t+e^{-t}}\,dt\\ &=-\int\frac{2e^t}{e^{2t}+2e^t+1}\,dt\\ &=-\int\frac{2e^t}{(e^t+1)^2}\,dt\\ &=\frac{2}{e^t+1} \end{align*} Can you continue?( I hope you can)