Question

In: Computer Science

prove using limit lemma that n^2 > nlogn given some epsilon > 0

prove using limit lemma that n^2 > nlogn given some epsilon > 0

Solutions

Expert Solution

Question : To prove using limit lemma that n2 > n logn

Solution : Consider f(n) = n2 and g(n) = n logn

So f(n) > g(n) which is small omega notation.

According to little omega if    equals infinity ( ) then , f(n) is greater than g(n)

// Eliminating n from numerator and denominator.

The limit becomes :

  

On applying limit value it is of the form   which is a special case and needs to be corrected.

For this L'Hopital's rule need's to be applied.

L 'Hopital Rule : Take derivative of both numerator and denominator individually until there is no occurence of a special case limit.

Derivative of numerator = 1 // as derivative of n is 1

Derivative of denominator = 1/n // as derivative of logn is 1 / n

Now the limit becomes :

            // As 1/ (1/n) equals n . n goes to the numerator

Applying limit :

   ( infinity ) .

So as per the limit method , if    equals infinity then f(n) is greater than g(n) .

Hence Proved.


Related Solutions

Using the pumping lemma, prove that the language {1^n | n is a prime number} is...
Using the pumping lemma, prove that the language {1^n | n is a prime number} is not regular.
(a) Find the limit of {(1/(n^(3/2)))-(3/n)+2} and use an epsilon, N argument to show that this...
(a) Find the limit of {(1/(n^(3/2)))-(3/n)+2} and use an epsilon, N argument to show that this is indeed the correct limit. (b) Use an epsilon, N argument to show that {1/(n^(1/2))} converges to 0. (c) Let k be a positive integer. Use an epsilon, N argument to show that {a/(n^(1/k))} converges to 0. (d) Show that if {Xn} converges to x, then the sequence {Xn^3} converges to x^3. This has to be an epsilon, N argument [Hint: Use the difference...
In pumping lemma I know how to prove 0^n 1^n is not regular but what changes...
In pumping lemma I know how to prove 0^n 1^n is not regular but what changes when I have 0^n 1^n 2^n (three variables). Do I need to check 6 variations of 0,1 and 2 instead of only 3 in 0^n 1^n? thanks.
Show that L2 = {anb2nan : n ≥ 0} is not context-free using the pumping lemma.
Show that L2 = {anb2nan : n ≥ 0} is not context-free using the pumping lemma.
Using the epsilon-delta definition prove Lim of x^2 =4 when x approaches 2
Using the epsilon-delta definition prove Lim of x^2 =4 when x approaches 2
Show epsilon arguments for any limit proofs: 1)Prove: If limf(x)x->a=L and c∈R, then limx->acf(x)=cL. 2) Prove:...
Show epsilon arguments for any limit proofs: 1)Prove: If limf(x)x->a=L and c∈R, then limx->acf(x)=cL. 2) Prove: If lim f(x)x->a = L and lim g(x)x->a = M, then lim(f(x)+g(x))​​​​​​​x->a = L+M. 3) Find a counterexample to the converse of #2. 4) Prove: If lim f(x)​​​​​​​x->a = L and lim g(x)​​​​​​​x->a = M, then lim(f(x)g(x)) ​​​​​​​x->a= LM. 5) Find a counterexample to the converse of #4.
Prove that {anbamba2m+n:n,m≥1} is not regular using pumping lemma
Prove that {anbamba2m+n:n,m≥1} is not regular using pumping lemma
Prove that the following language are NOT regular using the pumping lemma (20 pt.) ? =...
Prove that the following language are NOT regular using the pumping lemma (20 pt.) ? = {? ∈ {?, #}∗ | ? = ??#??# ... #?? ??? ? ≥ ?, ?? ∈ ?∗ ??? ????? ?, ??? ?? ≠?? ???????? ?≠?} Hint: choose a string ? ∈ ? that contains ? #’s.
prove by epsilon-delta definition that f:R->R given by f(x)=x^3 is continuous at x=2
prove by epsilon-delta definition that f:R->R given by f(x)=x^3 is continuous at x=2
Use the pumping lemma to show that the following languages are not regular. A a. A1={0^n...
Use the pumping lemma to show that the following languages are not regular. A a. A1={0^n 1^n 2^n | n≥0} b. A2 = {www | w ∈ {a,b}∗} A c. A3 ={a^2^n | n≥0} (Here, a^2^n means a string of 2^n a’s.) A ={a3n |n > 0 }
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT