next up previous
Next: def3: Up: ORDER NOTATION FOR POSITVE Previous: ORDER NOTATION FOR POSITVE

def2:

Let

\begin{displaymath}f:N\rightarrow R^{*}\end{displaymath}



\begin{displaymath}g:N\rightarrow R^{*}\end{displaymath}


\begin{displaymath}g(n)= O(f(n))\end{displaymath}

, ie.,

\begin{displaymath}g(n) \in O(f(n))\end{displaymath}

,
if for some $c\in R^{+}$ and some $n_{0} \in N$

\begin{displaymath}g(n)\leq cf(n)\end{displaymath}

for all $n\geq n_{0},$ where
$R^{*}=R^{+}\cup \{0\}$,
$R^{+}=$set of positive reals
$N=\{0,1,2,3,\ldots\}$.



Sushil_Prasad 2010-06-21