4

How can I prove that $\log^k(n) = O(n^\epsilon)$?
(for any $\epsilon > 0 $ and for any integer and positive $k$).

I tried to do it by - definition , and to prove that exists $c,n_0 > 0$ so that for any $n > n_0 $ exists: $c \cdot n^\epsilon > \log^k(n) $, but I don't have idea how to continue for this point.

I will be happy to listen ideas :).

5 Answers5

4

It is well known that $\log (m)<m$ for all $m>0$. Taking $m=n^{\epsilon/k}$ gives $$\dfrac{\epsilon}{k} \log(n)<n^{\dfrac{\epsilon}{k}}$$ and manipulating this equation gives $$\log^k (n)<\left(\frac{k}{\epsilon} \right)^kn^\epsilon. $$

Nosrati
  • 29,995
user1337
  • 24,381
2

By definition we have

$$\log^k(n) = n^\epsilon\cdot \frac{\log^k(n)}{n^\epsilon}$$

with

$$\frac{\log^k(n)}{n^\epsilon}\to 0$$

(refer to Evaluation $\lim_{n\to \infty}\frac{{\log^k n}}{n^{\epsilon}}$)

therefore

$$\log^k(n) = o(n^\epsilon)$$

user
  • 154,566
  • 1
    It's not clear to me. Why if $\log^k(n) / n^\epsilon -> 0 $ so it's say the conclusion you said? – Software_t Jul 20 '18 at 08:09
  • @Software_t it's a standard limit, refer to https://math.stackexchange.com/q/1702483/505767 – user Jul 20 '18 at 08:17
  • I know that. but ok, it's going to $0$ , how you get "therefore ..." ? ( $ n \rightarrow \infty $ ) – Software_t Jul 20 '18 at 08:19
  • @Software_t Recall tha by definition $$f(x)=o(g(x)) \iff f(x)=\omega(x)\cdot g(x)$$ with $\omega(x)\to 0$. – user Jul 20 '18 at 08:21
  • @Software_t In that case $g(x)$ is $n^{\epsilon}$ and $\omega(x)$ is $\frac{\log^k(n)}{n^\epsilon}\to 0$. – user Jul 20 '18 at 08:23
  • @gimusi I think your post is junky. By definition we have $$\log^k(n) = n^\epsilon\cdot \frac{\log^k(n)}{n^\epsilon}$$ with $$\frac{\log^k(n)}{n^\epsilon}\to 0$$ and then yoyu referd to https://math.stackexchange.com/q/1702483/505767, and therefore $\log^k(n) = o(n^\epsilon)$. this is just a comment. – Nosrati Jul 20 '18 at 08:52
  • @user108128 The aim (and the request by the OP) is to show that $\log^k(n) = o(n^\epsilon)$ then we have applied the definition and it requires the knowledge of the well known result $\frac{\log^k(n)}{n^\epsilon}\to 0$, note that indeed the OP had no doubt on the latter limit. Maybe his problem was only the application of the definition. – user Jul 20 '18 at 09:08
2

Consider $\;\log\biggl(\dfrac{\log^kn}{n^ε}\biggr)$: $$\log\biggl(\dfrac{\log^kn}{n^ε}\biggr)=k\log(\log n)-ε\log n=-ε\log n\biggl(1-\frac kε\underbrace{\frac{\log(\log n)}{\log n}}_{\stackrel{\downarrow}{0}}\biggr)$$ so the log tends to $-\infty$ when $n$ tends to $\infty$, i.e. $$\lim_{n\to\infty}\dfrac{\log^kn}{n^ε}=0\iff\log^kn=o(n^ε),$$ and a fortiori, it is $\:O(n^ε)$.

Bernard
  • 175,478
  • Can you explain please why if $;\log\biggl(\dfrac{\log^kn}{n^ε}\biggr) \rightarrow - \infty $ , so $\lim_{n\to\infty}\dfrac{\log^kn}{n^ε}=0 $ ? – Software_t Jul 20 '18 at 08:16
  • You can look at the representative curve of the log, or simply take the inverse function: the exponential of this log tends to $0$. – Bernard Jul 20 '18 at 08:30
1

Here we'll try to come up with an explicit lower bound for $n$ instead of using limits. We need to solve $\log^k(n) \leq n^\epsilon$ (Here I assume the big-Oh constant $c=1$). Assuming $n$ large, in particular $n > 1$ we can rewrite $n = e^m$. for some $m > 0$. This gives us to solve: $$ \log^k(n) \leq n^\epsilon \Leftrightarrow m^k \leq e^{\epsilon m} $$ Now for $\epsilon, m > 0$, we have $$ e^{\epsilon m} = \sum_{i=0}^\infty \frac{(\epsilon m)^i}{i!} > \frac{(\epsilon m)^{k+1}}{(k+1)!} $$ This gives us the implication: $$ m^k \leq \frac{(\epsilon m)^{k+1}}{(k+1)!} \implies m^k \leq e^{\epsilon m} $$ Hence if we manage to solve for $m$ the LHS of the implication, we will have found a satisfying $m$ for the RHS and we will be done. Let's try: $$ m^k \leq \frac{(\epsilon m)^{k+1}}{(k+1)!} = \frac{\epsilon^{k+1}}{(k+1)!} m^{k+1}\Leftrightarrow \\ 1 \leq \frac{\epsilon^{k+1}}{(k+1)!} m \Leftrightarrow \\ \frac{(k+1)!}{\epsilon^{k+1}} \leq m $$ By our definition we have $m = \log(n)$, therefore we have the explicit (and awfully loose) bound:

$$ n \geq \exp\left(\frac{(k+1)!}{\epsilon^{k+1}}\right) \implies \log^k(n) \leq n^\epsilon $$

(Note that I assume for simplicity that $c=1$. But it really doesn't matter. This shows that this proof can hold for any $c$, which means that we have the stronger result: $\log^k(n) = o(n^\epsilon)$)

Zubzub
  • 4,143
  • 1
  • 17
  • 25
1

Propositions 1. Function $f(x)=\frac{x^{\varepsilon}}{\ln^k{x}}$ is ascending for large $x>0$.

Because $$f'(x)=\frac{x^{\varepsilon-1} (\varepsilon \ln^k{x}-k)}{\ln^{k+1}{x}}>0 \iff \varepsilon \ln^k{x}-k>0 \iff x> e^{\sqrt[k]{\frac{k}{\varepsilon}}}$$

Propositions 2. $\lim\limits_{x\rightarrow \infty}f(x) \rightarrow \infty$

If we assume it is bounded by a large $\alpha>0, \forall x>1$ and we know $\ln{x}$ is ascending $$\frac{x^{\varepsilon}}{\ln^k{x}} < \alpha \iff 1<x^{\varepsilon}< \alpha \ln^k{x} \iff \color{red}{0}<\varepsilon<\frac{\ln{\alpha}}{\ln{x}}+\frac{k\ln{\ln{x}}}{\ln{x}}\rightarrow \color{red}{0}, x\rightarrow\infty$$ which is a contradiction of $\varepsilon>0$. So, $f(x)$ is increasing and has no upper bound.

As a result: $$\lim\limits_{n\rightarrow\infty}\frac{n^{\varepsilon}}{\ln^k{n}}\rightarrow\infty \iff \lim\limits_{n\rightarrow\infty}\frac{\ln^k{n}}{n^{\varepsilon}}=0 \iff \ln^k{n}=o\left(n^{\varepsilon}\right)$$

rtybase
  • 16,907