The function y = sin x is invertible for which of the values of x?
Look at it this way: we verify [ - /2, /2 ] by full calculation: use standard identity, substitute, simplify step by step to reach [ - /2, /2 ].
Ref: NCERT Mathematics Class XI — Trigonometry