What do you call something like log^2 x ("log squared x") and how would you calculate it? Just to be clear, I'm not referring to log-base-two of x or log x squared.
I have found contradictory answers online. One person says it's log x log x (not sure what that even means). Another person says that you take the log of the log of x, and yet another says that you square the log of x.
There are two things this could be and you will need to look at the context to figure which is correct. Either, $\log^2 x = (\log x)^2$ (which is probably also the meaning of $\log x\,\log x$), or $\log^2 x = \log (\log x)$. Given this ambiguity, it’s better to avoid this notation yourself or to clearly define what you mean beforehand.