Question: Part B: Problem 2 : ( 5 0 Points ) This problem investigates the properties of Big O and Big Theta. ( a ) For

Part B: Problem 2: (50 Points) This problem investigates the properties of
Big O and Big Theta.
(a) For all a, b in R, a >1 and b >1, show logbn =(logan).
(Hint: Recall the change of base formula is logbn = logx n
logx b )
(b) Let R1 be a relation on {f N R+}, where a f R g if f = O(g). Show
R1 is reflexive and transitive, but not symmetric.
(c) Let R2 be a relation on {f N R+}, where a f R g if f =(g). Show
R2 is an equivalence relation.
(d) Describe the R2 equivalence class [n2]. What other functions are in this
class?
(e) Describe the R2 equivalence class [n + n]. What other functions are in
this class?
(f) Describe the R2 equivalence class [log2n]. What other functions are in
this class? Consider the result from (a).
(g) How does this way of defining an equivalence relation helpful for under-
standing the idea of equals for algorithmic complexity? For example,
technically 2n2 n /=(n +1)2, but 2n2 n =((n +1)2).
3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!