<s>[INST] Is it possible to $\int \sqrt{\cot x}$ by hand $$\int \sqrt{\cot x}{dx}$$
$$\int \sqrt{\frac{\cos x}{\sin x}}{dx} $$
Using half angle formula 
$$\int \sqrt{\frac{1-\tan^2 \frac{x}{2}}{2\tan \frac{x}{2}}}{dx}$$
But I am not getting any lead from here .I think it is not possible to integrate $\sqrt{\cot x}$ by hand .
I calculated the result  with the help of integral calculator 
$$\dfrac{\ln\left(\left|\tan\left(x\right)+\sqrt{2}\sqrt{\tan\left(x\right)}+1\right|\right)-\ln\left(\left|\tan\left(x\right)-\sqrt{2}\sqrt{\tan\left(x\right)}+1\right|\right)+2\arctan\left(\frac{2\sqrt{\tan\left(x\right)}+\sqrt{2}}{\sqrt{2}}\right)+2\arctan\left(\frac{2\sqrt{\tan\left(x\right)}-\sqrt{2}}{\sqrt{2}}\right)}{2^\frac{3}{2}}$$
 [/INST] Let $$I = \int \sqrt{\cot x}dx = \frac{1}{2}\int 2\sqrt{\cot x}dx = \frac{1}{2}\int \left[\left(\sqrt{\cot x}+\sqrt{\tan x}\right)+\left(\sqrt{\cot x}-\sqrt{\tan x}\right)\right]dx$$
Now  Let $$J = \int \left(\sqrt{\cot x}+\sqrt{\tan x}\right)dx = \sqrt{2}\int\frac{\cos x+\sin x}{\sqrt{\sin 2x}}dx = \sqrt{2}\int\frac{(\sin  x-\cos x)'}{\sqrt{1-(\sin x-\cos x)^2}}dx$$
So we get $$J = \sqrt{2}\sin^{-1}(\sin x-\cos x)+\mathcal{C_{1}}$$
Similarly Let $$K = \int \left(\sqrt{\cot x}-\sqrt{\tan x}\right)dx = \sqrt{2}\int\frac{\cos x-\sin x}{\sqrt{\sin 2x}}dx = \sqrt{2}\int\frac{(\sin x+\cos x)'}{\sqrt{(\sin x+\cos x)^2-1}}dx$$
So we get $$K = \sqrt{2}\ln \left|(\sin x+\cos x)+\sqrt{\sin 2x}\right|+\mathcal{C_{2}}$$
So we get $$I = \int \sqrt{\cot x}dx = \frac{1}{\sqrt{2}}\sin^{-1}(\sin x-\cos x)+\frac{1}{\sqrt{2}}\ln \left|(\sin x+\cos x)+\sqrt{\sin 2x}\right|+\mathcal{C}$$
$$
</s>