How to prove $2^{\sqrt{f(n)}} \in O\ (2^{f(n)})$ if $f:\Bbb{N}\rightarrow \Bbb{R^+}$?

34 Views Asked by At

How to prove $2^{\sqrt{f(n)}} \in O\ (2^{f(n)})$ if $f:\Bbb{N}\rightarrow \Bbb{R^+}$?

So we want to prove $\exists c\in\Bbb{R^+}:\ [\exists B\in\Bbb{N}:[\ \forall n\in\Bbb{N}:\ n\ge B\rightarrow 2^{\sqrt{f(n)}} \le c(2^{f(n)}))]]$

But we don't know what the function does, so how are we supposed to make the connection, i.e. $2^{\sqrt{f(n)}} \ge g(n)\ge c(2^{f(n)}))$?

1

There are 1 best solutions below

2
On BEST ANSWER

Hint: $f(n)+1 \ge \sqrt{f(n)}$ no matter what $f(n)$ is.