The basic fact is that because of the concavity of the logarithm, it is always lower than its tangent. So
log(x) <= log(e) + 1/e * (xe) = x/e
In this way,
log(n) = O(n).
Now you need to apply the laws of the logarithm to find
log(n) = 1/c * log(n^c) <= 1/(ce) * n^c
and therefore log(n)=O(n^c) for any positive C
Lutzl source share