I had a fun talk about this with an interviewer once when they asked me about the runtime complexity of some algorithm.

Let (f) and (g) be eventually positive functions from (\mathbb{R}_{\ge 0}) to (\mathbb{R}_{>0}). Pick an unlimited hypernatural (H\in{}^*\mathbb{N}\setminus\mathbb{N}) (we write (H\gg 1) for short), and consider the ratio

[R(H);=;\frac{ {}*f(H) }{ {}*g(H) }.]

Then the big O relations become simple checks on (R(H)), where we require that the condition holds for every unlimited (H):

We have (f\in O(g)) if and only if there exists a standard constant (C>0) such that (R(H)\le C). In math: (f\in O(g)\ \iff\ \exists\ \text{standard } C>0:\ R(H)\le C.)

We have (f\in \Omega(g)) if and on…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help