Show that: $$\arcsin y=\arccos \sqrt{1-y^2}$$
We know that the domain of $\arcsin$ is $[-1,1]$, and the domain of $\arccos$ is also $[-1,1]$. Since,$\sqrt{1-y^2} \geq 0$, therefore $0 \leq \sqrt{1-y^2} \leq 1$, and if the identity is to be true, then $0\leq y \leq 1$. For example, if $y=-\frac{1}{\sqrt{2}}$, then $\arcsin(-\frac{1}{\sqrt{2}})=-\frac{\pi}{4} \neq \arccos(\frac{1}{\sqrt{2}})=\frac{\pi}{4}$. So I think it is necessary that one provide the condition $0 \leq y \leq 1$ in the statement of the problem, but there is no such condition given in my textbook, and I want to confirm whether what I am thinking is right, or condition should be taken as "understood". Please help!