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...
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.
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 }
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
Prove that √3 is irrational using contradiction. You can use problem 4 as a lemma for...
Prove that √3 is irrational using contradiction. You can use problem 4 as a lemma for this. Problem 4, for context is Prove that if n2 is divisible by 3, then n is divisible by 3.
Let {an}n∈N be a sequence with lim n→+∞ an = 0. Prove that there exists a...
Let {an}n∈N be a sequence with lim n→+∞ an = 0. Prove that there exists a subsequence {ank }k∈N so that X∞ k=1 |ank | ≤ 8
1. Given three arrays of N names each, describe an O(nlogn) algorithm to determine if there...
1. Given three arrays of N names each, describe an O(nlogn) algorithm to determine if there is any name common to all three arrays, and if so, return the first such name.? 2. Given an input array with all equal values, compare the following sorting algorithm using big-O notation. Running Time Space Complexity Merge Sort Quick Sort Heap Sort
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT