Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Let f (n) and g(n) be functions mapping nonnegative integers to real numbers. We

ID: 3798305 • Letter: L

Question

Let f (n) and g(n) be functions mapping nonnegative integers to real numbers. We say that f (n) is (g(n)) if there is a real constant c > 0 and an integer constant n0 1 such that for all n n0 , f (n) c g(n). Show that n2 is (nlog n) by specifying the constants c and n0 Let f (n) and g(n) be functions mapping nonnegative integers to real numbers. We say that f (n) is (g(n)) if there is a real constant c > 0 and an integer constant n0 1 such that for all n n0 , f (n) c g(n). Show that n2 is (nlog n) by specifying the constants c and n0 Let f (n) and g(n) be functions mapping nonnegative integers to real numbers. We say that f (n) is (g(n)) if there is a real constant c > 0 and an integer constant n0 1 such that for all n n0 , f (n) c g(n). Show that n2 is (nlog n) by specifying the constants c and n0

Explanation / Answer

for n 1

n > logn

Multiplying with n on both sides

n2 > nlogn

So for c = 1 and n0 = 1, we have proved that n2 is (nlogn)