18
$\begingroup$

I ran across these two notations for the log function (squared), which one is more conventional.

$\log^2(n)$ or $[\log(n)]^2$

  • 0
    @RoronoaZoro Yes, the same goes for $\ln^2(x)$ and $\big(\ln(x)\big)^2$.2014-01-22

1 Answers 1

18

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$

  • 0
    @May, $\log\log n$ is certainly not the same as $(\log n)^2$ – just plug in any value of $n$, and see for yourself – and $(\log n)^2$ is pretty simple already.2017-01-31