I was just wondering what is the difference between ${1\over \ln(n^2)}$ and ${1\over \ln^2(n)}$
I know that ${1\over \ln(n^2)}$ is ${1\over 2\ln(n)}$ through the power rule, but I am not so sure about ${1\over \ln^2(n)}$.
I was just wondering what is the difference between ${1\over \ln(n^2)}$ and ${1\over \ln^2(n)}$
I know that ${1\over \ln(n^2)}$ is ${1\over 2\ln(n)}$ through the power rule, but I am not so sure about ${1\over \ln^2(n)}$.
Note that:
$$\ln^2(n)=\ln(n)\cdot\ln(n)$$
Therefore:
$$\frac{1}{\ln^2(n)}=\frac{1}{\ln(n)\cdot\ln(n)}$$
Whereas:
$$\frac{1}{2\ln(n)}=\frac{1}{\ln(n)+\ln(n)}$$
They are equal if and only if $\ln(n)=2$, or in other words, if and only if $n=e^2$.