Please, I need full explanation on the cancellation property applied to the composition of functions below $$\;\arcsin{\big(\sin(x)\big)}=x,\; \forall\; x\in \Big[-\frac{\pi}{2},\frac{\pi}{2}\Big] ,\;\;\;\sin{\big(\arcsin(x)\big)}=x,\; \forall\; x\in [-1,1].$$ and why is $$\sin{\big(\arcsin(x)\big)}\neq x,\; \forall\; x\in \Bbb{R}?$$
I need some explanation on the kind of maps, how the values are calculated and perhaps, some drawings for clarity!
It's all about Domain and Range.
$$ {\rm sin}(x) \;: \;\mathbb{R} \rightarrow [-1, 1]$$
$$ {\rm arcsin}(x) \;: \;[-1, 1] \rightarrow \Big[-\frac{\pi}{2}, \frac{\pi}{2}\Big]$$
$$ \Downarrow $$
$$ {\rm sin(arcsin(}(x)) \;: \;[-1, 1] \xrightarrow[id]{} [-1, 1]$$
$$ {\rm arcsin(sin(}(x)) \;: \;\mathbb{R} \rightarrow \Big[-\frac{\pi}{2}, \frac{\pi}{2}\Big]$$
The last map is not an identity, but its restriction on $[-\frac{\pi}{2}, \frac{\pi}{2}] \subset \mathbb{R}$ is:
$$ {\rm arcsin(sin(}(x))_{[-\frac{\pi}{2}, \frac{\pi}{2}]} \;: \;\Big[-\frac{\pi}{2}, \frac{\pi}{2}\Big] \xrightarrow[id]{} \Big[-\frac{\pi}{2}, \frac{\pi}{2}\Big].$$