Trig functions are not one-to-one, so each is restricted to a stretch where it is, and only that stretch is inverted. The restriction becomes the inverse's range.
The four windows
Function
Domain
Range
arcsin
[−1,1]
[−2π,2π]
arccos
[−1,1]
[0,π]
arctan
R
(−2π,2π)
arccot
R
(0,π)
Round trips
Expression
Value
sin(arcsinx)
x, for every x in [−1,1]
arcsin(sinx)
only x when x is already inside the range
Trap
Domains are forced by the original function's reach: sine never leaves [−1,1], so arcsin2 does not exist. Tangent reaches everything, so arctan accepts everything.