I ran across these two notations for the log function (squared), which one is more conventional.
$\log^2(n)$ or $[\log(n)]^2$
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It only takes a minute to sign up.
Sign up to join this communityI ran across these two notations for the log function (squared), which one is more conventional.
$\log^2(n)$ or $[\log(n)]^2$
Most people will use $\log^2(n)$ and there is no problem with that. If you want to be absolutely certain no one will think you are talking about $\log\log n$, then you can write $\bigl(\log(n)\bigr)^2$