MHB How can I show the inequality?

  • Thread starter Thread starter evinda
  • Start date Start date
  • Tags Tags
    Inequality
evinda
Gold Member
MHB
Messages
3,741
Reaction score
0
Hey! (Mmm)

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

Firstly,I solved the recursive relation: $T'(n)=3 T'(\frac{n}{3})+\frac{n}{2}$,using the master theorem:

$$a=3 \leq 1, b=3>1, f(n)=\frac{n}{2} \text{ asymptotically positive and increasing}$$

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

We see that : $f(n)=\Theta(n)$

So,from the master theorem: $$T'(n)=\Theta(n \lg n)$$

Then,I supposed that $T(n)=\Theta(n \lg n)$, so $\exists c_1, c_2>0 \text{ and } n_0 \geq 1 \text{ such that } \forall n \geq n_0: c_1 n \lg n \leq T(n) \leq c_2 n \lg n$

I showed that the inequality $c_1 n \lg n \leq T(n)$ is true..But..how can I show the inequality :

$$T(n) \leq c_2 n \lg n $$
?

I tried this:

Suppose that the inequality stands for $\frac{n}{3}+5$.Then: $$T(\frac{n}{3}+5) \leq c_2 (\frac{n}{3}+5) \lg (\frac{n}{3}+5)$$

$$T(n)=3 T(\frac{n}{3}+5)+\frac{n}{2}\leq 3 c_2 (\frac{n}{3}+5) \lg (\frac{n}{3}+5)+\frac{n}{2}=c_2(n+15) \lg (\frac{n}{3}+5)+\frac{n}{2} $$

How can I continue? (Thinking) (Thinking)
 
Physics news on Phys.org
Could we show it maybe like that?

$$T(n) \leq c_2(n+15) \lg (\frac{n}{3}+5)+\frac{n}{2}$$

Let $\frac{n}{3}+5 \leq \frac{n}{2} \Rightarrow n \geq 30$

Then $\forall n \geq 30:$

$$T(n) \leq c_2(n+15) \lg (\frac{n}{3}+5)+\frac{n}{2} \leq c_2(n+15) \lg (\frac{n}{2})+n = c_2 n \lg (\frac{n}{2})+15 c_2 \lg (\frac{n}{2})+n =c_2 n \lg n-(c_2 n-15c_2 \lg n+15 c_2-\frac{n}{2}) \leq c_2 n \lg n, \text{ if } c_2 n-15c_2 \lg n+15 c_2-\frac{n}{2} \geq 0$$

(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.
Back
Top