Give upper and lower bounds for Tn 8Tn3n2log5n using master

Give upper and lower() bounds for T(n)= 8T(n/3)+(n2log5n) using master method.

Solution

Master theorem.

Suppose that T(n) is a function on the nonnegative integers that satisfies the recurrence where n / b means either n / b or n / b. Let k = logb a. Then,

Case 1. If f(n) = O(nk – ) for some constant > 0, then T (n) = (nk).

Case 2. If f(n) = (nk log p n), then T (n) = (nk log p+1 n).

Case 3. If f(n) = (nk + ) for some constant > 0 and if a f(n / b) c f (n) for some constant c < 1 and all sufficiently large n, then T (n) = ( f(n) ).

The given problem fits to case 2 as f(n) is in the form (nk log p n) where k=2 and p=5

Thus, T (n) = (n2 log 6 n)

Give upper and lower() bounds for T(n)= 8T(n/3)+(n2log5n) using master method.SolutionMaster theorem. Suppose that T(n) is a function on the nonnegative integer

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site