I'm a bit confused, $\log_{10} x = \log x $ right? I believe I've read somewhere that $\log_{2} x = lg x$ but some people say lg = $\log$.
So what does lg really stand for? specifically when talking about "binary trees"
|
I'm a bit confused, $\log_{10} x = \log x $ right? I believe I've read somewhere that $\log_{2} x = lg x$ but some people say lg = $\log$. So what does lg really stand for? specifically when talking about "binary trees" |
|||||
|
|
$\lg$ will usually stand for $\log_2$ when talking about binary. In Germany and Russia, $\lg$ refers to $\log_{10}$. Source |
|||
|
|
|
It is common that $\lg=\log_2$, but note that $\log_a = \Theta(\log_b)$, because $$\log_a x = \frac{\log_b x}{\log_b a}.$$ |
|||
|
|