0

Prove, using only the definition of $O()$, that $2^{\sqrt{x}}$ is not $O(x^{10})$.

I have been doing a few exercises on Big O and this is the first time I have encountered the variable in the exponent. I was wondering how to disprove this function. Any help would be appreciated

Yuval Filmus
  • 280,205
  • 27
  • 317
  • 514

2 Answers2

2

Hint: Try converting both functions to the form $e^{f'(x)}$.

FrankW
  • 6,609
  • 4
  • 27
  • 42
0

$O(x^{10})$ is $O(x^k)$ for some constant $k$ (polynomial complexity) whereas $O(2^{\sqrt{x}})=O(2^{x^k})$ is subexponential by definition.

Using De l'Hôpital's rule, you can find the following:

$ \lim_{x\rightarrow\infty} \displaystyle\frac{x^{10}}{2^{\sqrt{x}}} = \lim_{x\rightarrow\infty} \frac{\frac{\delta x^{10}}{\delta x}}{\frac{\delta 2^{\sqrt{x}}}{\delta x}}=0 $

which shows that the denominator grows faster than the numerator. You can actually differentiate the fraction until you get a constant numerator while the denominator will always stay a function of $x$.

user13675
  • 1,684
  • 12
  • 19