Asymptotic and the big O
| By Yatir Halevi on
Friday, January 25, 2002 - 12:09 pm: |
I don't know if I understand when do you say that one function
is asymptotic to another, and what is the big-oh O() term
mean?
if f(x)=2n+1/n
and g(x)=2n
Does it mean that f(x) is asymptotic to g(x), and that
f(x)=O(g(x))
Thanks,
Yatir
@
|
By Michael Doré on Friday, January 25, 2002 - 05:28 pm:
|
is asymptotic to
means that there exists a
function
such that
and
as
. If
is non-zero, this is the same as saying
as
.
The statement ''
is asymptotic to
'' is written
. You
are correct that with your example
because
as
. You might like to check that
is an equivalence relation - in other words:
-
for all functions
-
-
,
is a weaker condition than
. It just means that there
exist constants
,
such that for all
we have
.
In other words
is bounded for sufficiently high
. If
,
are asymptotic then
but the converse isn't necessarily true.
There is also a symbol for an asymptotic lower bound.
means
that there exist constants
,
such that
and for all
we have
.
@
@
| By Yatir Halevi on
Friday, January 25, 2002 - 05:58 pm: |
Thanks.
Yatir