Asymptotic Notations
Big O Notation - Upper Bound
if
such that
Big Ω - Lower Bound
if
such that
Big Θ - Tight Bound
if
such that
Examples
Example 1: Proving Big O
Given:
Show that
for all
Therefore,
Example 1b: Sum Formula
Given:
Show that
Therefore,
Since
Thus,
Example 2: Recurrence Relation
Given:
Solving by substitution:
After
When
Substituting:
Therefore:
Example 3: Additional Recurrence Relations
Given:
This is
Recurrence 1:
By Master Theorem:
Recurrence 2:
By Master Theorem: