this is the result in the book(Discrete mathematics and its applications) I was reading.
- $n^d\in O(b^n)$
where $b>1$ and $d$ is positive
and
- $(\log_b(n))^c\in O(n^d)$
where b>1 and d,c are positive
but i am having trouble understanding how that's possible for eg in the second if you have $c$ as some big number like $10^{100}$ and d as $10^{-100}$ they both are positive and b can be 1.0000001 how can we find a $C$ and $k$ for it to be a big-Oh notation
and in the first one if we compare the function by taking log on both sides (ignoring the d here as we can always multiply with it on the other side)
we will have
$\log(n)$ and $n\cdot \log(b)$
now which one of them is bigger as $b$ can be some number like $1.00000000001$
can some one give me proof of these two results. Thanks
edit: in the first one its not $d.n$ but $n^d$
update: i found a same question from another user identical question
it's answer did clear a little bit for me but still left me confused as acc to op's accepted answer $d<log_2(b)$ where, $log_2(b)>0$.
but the result from the book is
$n^d\in O(b^n)$
This tells us that every power of n is big-O of every exponential function of n with a base that is greater than one
There is no such constraint for $d$ (as the statement says for every power of n)