This looks odd to me. I need a definition. Is it just the square of $\cos(x) $ ?
Like $\ \cos^2(x) = \cos(x) \cdot \cos(x) $ ?
Then why don't you write it like that: $\cos(x)^2 $ ?
This looks odd to me. I need a definition. Is it just the square of $\cos(x) $ ?
Like $\ \cos^2(x) = \cos(x) \cdot \cos(x) $ ?
Then why don't you write it like that: $\cos(x)^2 $ ?
On
It is because the square is somehow "applied" on the function.
For function, you will probably often encounter this notation, and that is because, it is the function itself that is squared, not just the value.
For instance, $$\ln^2 : t \mapsto \ln(t)^2$$ Is a function, so if you write $\ln^2(t)$ it refeers to the value of the function $\ln^2$ evaluated at $t$, while if you write $\ln(t)^2$ you refeer to the value of the function $\ln$ evaluated at $t$ that you then square.
Yes, $\cos^2 (x)$ usually means $\cos(x) \cdot \cos(x)$.
Most other information already given here is also correct:
Sometimes additional brackets mean something, so it is not always safe to add them. For example $f^{(n)}$ denotes $n$th derivative of function $f$, like $f^{(2)}=f''$. You will learn what to use in practice. If you are not sure, you can always explain what do you mean. Writing that you use $\cos^n x = (\cos x)^n$ should be enough if it is not automatically clear that you are not using this notation for iterated function.