Find $\displaystyle \int \sqrt{\tan(x)}dx$.
According to an integral calculator, the answer to this question is $$(-2 \tan^{-1}(1-\sqrt(2) \sqrt(\tan(x)))+2 \tan^{-1}(\sqrt(2) \sqrt(\tan(x))+1)+\log(\tan(x)-\sqrt(2) \sqrt(\tan(x))+1)-\log(\tan(x)+\sqrt(2) \sqrt(\tan(x))+1))/(2 \sqrt(2))+C.$$
Is the question as complicated as the answer looks?
setting $t=\sqrt{\tan(x)}$ then we get $$dt=\frac{1}{2}(\tan(x)^{-1/2}(1+\tan(x)^2)dx$$ and from here we get $$\frac{2\sqrt{\tan(x)}}{1+\tan(x)^2}dt=dx$$ and expressing by $t$ we get $$dx=\frac{2t}{1+t^4}dt$$