Question

In: Computer Science

Using the definition of Θ notation, prove that (3n + 13)(7n + 2)(log(1024n2 + 100)) ∈...

Using the definition of Θ notation, prove that (3n + 13)(7n + 2)(log(1024n2 + 100)) ∈ Θ(n2logn).

Solutions

Expert Solution

By definition of big-Theta (Θ):

f(n) = Θ(g(n)) iff there are three positive constants c1, c2 and n0 such that

c1|g(n)| ≤ |f(n)| ≤ c2|g(n)| for all n ≥ n0 -------------------------- (i)

Here f(n) = (3n + 13)(7n + 2)(log(1024n2 + 100))

Proof:

When n >= 32,

(3n + 13)(7n + 2)(log(1024n2 + 100)) <= (3n + 13n)(7n + 2n)(log(1024n2 + 1024n2))

(3n + 13)(7n + 2)(log(1024n2 + 100)) <= (3n + 13n)(7n + 2n)(log(2(1024n2))

(3n + 13)(7n + 2)(log(1024n2 + 100)) <= (16n)(9n)(log2 + log1024n2)

(3n + 13)(7n + 2)(log(1024n2 + 100)) <= (144n2)(log2 + 2log32n)

(3n + 13)(7n + 2)(log(1024n2 + 100)) <= (144n2)(log32n + 2log32n)

(3n + 13)(7n + 2)(log(11024n2 + 100)) <= (144n2)(3log32n)

(3n + 13)(7n + 2)(log(1024n2 + 100)) <= 432(n2)(log32n)

(3n + 13)(7n + 2)(log(1024n2 + 100)) <= 432(n2)(log32 + logn)

(3n + 13)(7n + 2)(log(11024n2 + 100)) <= 432(n2)(logn + logn) ......... {as n >= 32}

(3n + 13)(7n + 2)(log(1024n2 + 100)) <= 432(n2)(2logn)

(3n + 13)(7n + 2)(log(1024n2 + 100)) <= 864(n2logn)


When n >= 1

(3n)(7n)(logn2) <= (3n + 13)(7n + 2)(log(1024n2 + 100))

21n2(logn2) <= (3n + 13)(7n + 2)(log1024n2 + 100))

42n2(logn) <= (3n + 13)(7n + 2)(log(1024n2 + 100))

Thus from here, we can conclude that,

42(n2logn) <= (3n + 13)(7n + 2)(log(1024n2 + 100)) <= 864(n2logn) for all n >= 32

So here g(n) = n2logn and

c1 = 42 , c2 = 864 and n0 = 32

So, from (i):

f(n) = Θ(g(n)

(3n + 13)(7n + 2)(log(1024n2 + 100)) = Θ(n2) for all n >= 32


Related Solutions

series from n=1 to infinity of (4n) / [ (3n^3/2) +7n -9]. the answer should include...
series from n=1 to infinity of (4n) / [ (3n^3/2) +7n -9]. the answer should include if its converging or diverging by which method
a) Prove that n 3 − 91n 2 − 7n − 14 = Ω(n 3 )....
a) Prove that n 3 − 91n 2 − 7n − 14 = Ω(n 3 ). Your answer must clearly specify the constants c and n0. b) Let g(n) = 27n 2 + 18n and let f(n) = 0.5n 2 − 100. Find positive constants n0, c1 and c2 such that c1f(n) ≤ g(n) ≤ c2f(n) for all n ≥ n0. Be sure to explain how you arrived at the constants.
Using Θ-notation, provide asymptotically tight bounds in terms of n for the solution to each of...
Using Θ-notation, provide asymptotically tight bounds in terms of n for the solution to each of the following recurrences. Assume each recurrence has a non-trivial base case of T(1) = Θ(1). For example, if asked to solve T(n) = 2T(n/2) + n, then your answer should be Θ(n log n). Give a brief explanation for each solution. (a) T(n) = 5T(n/2) + n (b) T(n) = 4T(n/2) + n2 (c) T(n) = T(n/4) + T(n/2) + n
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
. Let f(x) = 3x^2 + 5x. Using the limit definition of derivative prove that f...
. Let f(x) = 3x^2 + 5x. Using the limit definition of derivative prove that f '(x) = 6x + 5 Then, Find the tangent line of f(x) at x = 3 Finally, Find the average rate of change between x = −1 and x = 2
1A) Let ?(?) = 3? + 2. Use the ? − ? definition to prove that...
1A) Let ?(?) = 3? + 2. Use the ? − ? definition to prove that lim?→1 3? + 2 ≠ 1. Definition and proof. 1B) Let ?(?) = 2?^2 − 4? + 5. Use the ? − ? definition to prove that lim?→−1 2?^2 − 4? + 5 ≠ 8. definition and ? − ? Proof.
a) Prove, using the joint density function, and the definition of expectation of a function of...
a) Prove, using the joint density function, and the definition of expectation of a function of two continuous random variables (i.e., integration) that E (5X + 7Y ) = 5E (X ) + 7E (Y ). b) (h) Prove, using the joint density function and the definition of expectation of a function of two continuous random variables (i.e., integration) that Var (5X + 7Y ) = 25Var (X ) + 49Var (Y ) + 70Cov (X; Y ).
Using the definition of an anti-derivative, prove that x (ln x)3 – 3x (ln x)2 +...
Using the definition of an anti-derivative, prove that x (ln x)3 – 3x (ln x)2 + 6x (ln x) – 6x is an anti-derivative of (ln x)3 (must show all work)
Using the definition of a young function, prove that the conjugate phi^* of a young function...
Using the definition of a young function, prove that the conjugate phi^* of a young function phi is a young function
Prove the following statements by using the definition of convergence for sequences of real numbers. a)...
Prove the following statements by using the definition of convergence for sequences of real numbers. a) If {cn} is a sequence of real numbers and {cn} converges to 1 then {1/(cn+1)} converges to 1/2 b) If {an} and {bn} are sequences of real numbers and {an} converges A and {bn} converges to B and B is not equal to 0 then {an/bn} converges to A/B
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT