Given some function Q(N), we can apply our last two simplifications to get the order of growth of Q(N).
For example, if Q(N)=3N3+N2, the order of growth is N3.
From now onward, we will refer to order of growth as Θ (pronounced "big theta").
Order of Growth Examples
The following functions have these corresponding order of growths:
Function
Order of Growth
N3+3N4
N4
1/N+N3
N3
1/N+5
1
NeN+N
NeN
40sin(N)+4N2
N2
Instead of saying a function has order of growth ___, we say that the function belongs to . In other words, it belongs to the family of functions that have that same order of growth.
Formal Definition
For some function R(N) with order of growth f(N), we write that:
R(N)∈Θ(f(N)) and there exists some positive constants k1, k2 such that...
k1⋅f(N)≤R(N)≤k2⋅f(N) for all values N greater than some N0 (a very large N).