It seems that $\sin^2(x)$ is used to denote the square of whatever value $\sin(x)$ is, instead of the expected $(\sin(x))^2$.
Based on that, I would assume that $\sin^{-1}(x) = \frac{1}{\sin(x)}$, but it turns out that $\sin^{-1}(x)$ is used to indicate the inverse function of sin, arcsin.
What are the reasons for this apparent lack (to me, at least) of notational coherence, and how do you write $\frac{1}{\sin(x)}$ in exponential notation?
I saw this: $\sin^2$ notation and uses of the alternative. , but I don't think it really answers what I'm asking (specifically, answers are along the lines of "it is what it is").
There are two uses of notation here: writing $f^2(x)$ for $ f(f(x)) $, and writing $f^2(x)$ for $(f(x))^2$. The latter is basically only standard for trigonometrical functions, because it saves time over writing $(\sin{x})^2$. I would assume this is historically based, given how frequently we write powers of trigonometrical functions.
The other notation, $\sin^{-1}{x}$, is a consequence of the modern function notation, where $f^{-1}$ is the inverse of $f$, that is, a function so that $f(f^{-1}(y)) = y$, and $f^{-1}(f(x)) = x $. Why this was ever introduced is quite puzzling, to say the least, considering that we have the perfectly comprehensible notation $\arcsin{x}$ for the inverse of the sine function. What is worse, the inverses of the trigonometrical functions are not actually inverses, since these functions are periodic, and therefore not injective. Throwing out the $\arcsin$ notation would be much the same as throwing out the notation $\log{x}$ for the inverse of the exponential function.
All you can do is encourage the use of unambiguous notation, and explain that the notation for trigonometrical functions is not standard functional notation: for generic functions, most mathematicians do not leave out the brackets around the arguments, but this is entirely standard for trigonometrical functions, for example.