How to prove that $2 \arctan\sqrt{x} = \arcsin \frac{x-1}{x+1} + \frac{\pi}{2}$ I want to prove that$$2 \arctan\sqrt{x} = \arcsin \frac{x-1}{x+1} + \frac{\pi}{2}, x\geq 0$$
I have started from the arcsin part and I tried to end to the arctan one but I failed. 
Can anyone help me solve it?

Define $\displaystyle g(x)=2\arctan(\sqrt{x})-\arcsin\left(\frac{x-1}{x+1}\right)-\frac{\pi}{2}$. Differentiate to find that $g'(x)=0$. Since this was true on the connected set $[0,\infty)$ you can conclude that $g$ is contant. Note then that $g(0)=0$ to finish.
