edited by
1,040 views
1 votes
1 votes

how do i apply master theorem to this?

 

 

edited by

1 Answer

0 votes
0 votes
let n = 2$^{m}$

T(2$^{m}$) = 4T(2$^{m/2}$)+(log2$^{m}$)$^{5}$

T(2$^{m}$) = 4T(2$^{m/2}$)+m$^{5}$(log2)$^{5}$

 

let S(k) = T(2$^{m}$)

Therefore S(k) = 4S(m/2) + m$^{5}$

Using the extended master theorem,

a=4,b=2,k=5,p=0

a < b$^{k}$ and p>=0

Therefore S(k) = $\Theta$(n$^{k}$log$^{p}$n) => $\Theta$(m$^{5}$)

but m = logn

Therefore T(n) = $\Theta$(logn)$^{5}$

Related questions

1 votes
1 votes
2 answers
1
mdboi asked Oct 28, 2022
781 views
how do i apply master theorem to this? T(n)=2T(n/2)−n^3n
1 votes
1 votes
1 answer
3
ItzDc asked Jun 3, 2022
2,985 views
I can't figure out how to proceed and which case it's falling under after calculating h(n)