Team Members:: Apoorva Panchal - 17BCP006: Mentor Dhruvi Bhatt - 17BCP009 Foram Parikh - 17BCP020
Team Members:: Apoorva Panchal - 17BCP006: Mentor Dhruvi Bhatt - 17BCP009 Foram Parikh - 17BCP020
Θ Notation
The theta notation bounds a function from above and below, so it defines exact asymptotic behavior.
A simple way to get Theta notation of an expression is to drop low order terms and ignore leading
constants.
that 0 <= c1*g(n) <= f(n) <= c2*g(n) for all n >= n0}
The above definition means, if f(n) is theta of g(n), then the value f(n) is always between c1*g(n) and
c2*g(n) for large values of n (n >= n0). The definition of theta also requires that f(n) must be non-
negative for values of n greater than n0.
1<lg n<√𝑥<n<nlgn<n2<n3…<2n<3n...<n!<nn
Questions: