MHB Upper and Lower bound of the recursive relation

  • Thread starter Thread starter evinda
  • Start date Start date
  • Tags Tags
    Bound Relation
evinda
Gold Member
MHB
Messages
3,741
Reaction score
0
Hello! (Wave)

I have to define an asymptotic upper and lower bound of the recursive relation $T(n)=5 T(\frac{n}{5})+\frac{n}{ \lg n}$.

I thought that I could use the master theorem,since the recursive relation is of the form $T(n)=aT(\frac{n}{b})+f(n)$

$$a=5 \geq 1 , b=5>1 , f(n)=\frac{n}{ \lg n}$$

$$f'(n)=\frac{ \lg n-1}{ \lg^2 n}>0 \Rightarrow \lg n >1 \Rightarrow n>2$$

So, $f(n)$ is asymptotically positive and increasing $\forall n>2$.

$$n^{\log_b a}=n^{\log_5 5}=n$$

We see that $f(n) < n$

$$f(n)=O(n^{ \log_b a- \epsilon})=O(n^{1- \epsilon})$$

But how can we find the $\epsilon$ ? (Thinking) Or can't we apply in this case the master theorem? (Worried)
 
Physics news on Phys.org
I think that the master theorem cannot be applied. (Shake)

But..we could do it with substitution,right? (Thinking)

We set $m= \log_5{n} \Rightarrow n=5^m$

Then,we have:

$$T(5^m)=5T(5^{m-1})+\frac{5^m}{m} \\ \Rightarrow \frac{T(5^m)}{5^m}=\frac{T(5^{m-1})}{5^{m-1}}+\frac{1}{m}$$

Let $S(m)=\frac{T(5^m)}{5^m}$

So:

$$S(m)=S(m-1)+\frac{1}{m} \\ S(m-1)=S(m-2)+\frac{1}{m-1} \\ \dots \\ \dots \\ S(2)=S(1)+\frac{1}{2} \\ + --------------- \\ \Rightarrow S(m)=S(1)+\left ( \frac{1}{2}+ \dots + \frac{1}{m}\right )$$

But,how could we continue? (Thinking)
 
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Thread 'Detail of Diagonalization Lemma'
The following is more or less taken from page 6 of C. Smorynski's "Self-Reference and Modal Logic". (Springer, 1985) (I couldn't get raised brackets to indicate codification (Gödel numbering), so I use a box. The overline is assigning a name. The detail I would like clarification on is in the second step in the last line, where we have an m-overlined, and we substitute the expression for m. Are we saying that the name of a coded term is the same as the coded term? Thanks in advance.

Similar threads

Replies
1
Views
1K
Replies
17
Views
2K
Replies
2
Views
1K
Replies
3
Views
5K
Replies
5
Views
2K
Replies
8
Views
2K
Back
Top