1

I was tasked to order some functions in respect to the $\mathcal{O}$ notation, and have some problems with the following ones:

$n^{\ln(7)} = \mathcal{O}(n^{3})$: I can't find a more elegant proof for this other than using L'Hôpital's rule and a numerical approximation of $\ln(7)$:

$\lim_{n\to\infty} \frac{n^{\ln(7)}}{n^3} = \lim_{n\to\infty} \frac{n^{ \approx1.94591014906}}{n^3} = \lim_{n\to\infty} \frac{n^{\approx1.94591014906-3}}{3*2*1} = 0 $

(The last equal sign is valid, since the exponent is negative.) Is there a better way to do this ?

Furthermore I have no idea how to prove $8^{\log_2 n} = \mathcal{O}(5^n)$. I tried to apply the limit rule but to no avail. I think it is intuitively clear, since $\log_2 n$ grows slower than $n$, but I don't know how to argue that rigorously.

Thanks for any answers.

3nondatur
  • 457
  • 2
  • 13
  • Proving that $n^{\ln 7} = O(n^3)$ is just the same as proving that $n^2=O(n^3)$: it's just $n$-to-the-some-constant-smaller-than-$3$ versus $n$-to-the-$3$. And $8^{\log_2 n} = (2^{\log_2 n})^3$. – David Richerby Oct 15 '17 at 21:53