Knowee
Questions
Features
Study Tools

1. Let g(n) be a function. For each of the following statements, mark in the answer sheetswhether it is correct (true = correct, false = incorrect).(a) Θ(g) = {f (n) : There exist positive constants c1, c2 and n0 such that0 ≤ c1 · g(n) ≤ f (n) ≤ c2 · g(n), for all n ≥ n0}(b) Θ(g) = {f (n) : There exist positive constants c1, c2 and n0 such that0 ≤ c1 · f (n) ≤ g(n) ≤ c2 · f (n), for all n ≥ n0}(c) Θ(g) = O(g) ∩ Ω(g)

Question

  1. Let g(n) be a function. For each of the following statements, mark in the answer sheetswhether it is correct (true = correct, false = incorrect).(a) Θ(g) = {f (n) : There exist positive constants c1, c2 and n0 such that0 ≤ c1 · g(n) ≤ f (n) ≤ c2 · g(n), for all n ≥ n0}(b) Θ(g) = {f (n) : There exist positive constants c1, c2 and n0 such that0 ≤ c1 · f (n) ≤ g(n) ≤ c2 · f (n), for all n ≥ n0}(c) Θ(g) = O(g) ∩ Ω(g)
...expand
🧐 Not the exact question you are looking for?Go ask a question

Solution

(a) Verdadero. La definición de Θ(g) implica que f(n) está acotada tanto superior como inferiormente por g(n) multiplicada por constantes positivas c1 y c2, para n suficientemente grande.

(b) Falso. La definición correcta de Θ(g) requiere que g(n) esté acotada tanto superior como inferiormente por f(n) multiplicada por constantes positivas c1 y c2, para n suficientemente grande. La desigualdad debería ser 0 ≤ c1 · g(n) ≤ f(n) ≤ c2 · g(n).

(c) Verdadero. Θ(g) es la intersección de O(g) y Ω(g), ya que Θ(g) representa las funciones que están acotadas tanto superior como inferiormente por g(n) multiplicada por constantes positivas.

This problem has been solved

Similar Questions

A) Big-O notation and loop invariants1. Let g(n) be a function. For each of the following statements, mark in the answer sheetswhether it is correct (true = correct, false = incorrect).(a) Θ(g) = {f (n) : There exist positive constants c1, c2 and n0 such that0 ≤ c1 · g(n) ≤ f (n) ≤ c2 · g(n), for all n ≥ n0}(b) Θ(g) = {f (n) : There exist positive constants c1, c2 and n0 such that0 ≤ c1 · f (n) ≤ g(n) ≤ c2 · f (n), for all n ≥ n0}(c) Θ(g) = O(g) ∩ Ω(g)

Which of the following functions is Θ(n2)?

For each of the following statements, mark in the answer sheets whether the statement istrue or false.(a) Let f and g be positive functions. Then, f (n) + g(n) ∈ O(n) implies that f ∈ O(n)and g ∈ O(n).(b) There exist functions f, g ∈ Ω(n) such that f − g ∈ Ω(g) and 2g − f ∈ Ω(f ).

Consider the given functions.Select the true statement regarding the end behavior of the functions. A. As the value of x increases, f and h both approach positive infinity. B. As the value of x increases, f and g both approach positive infinity. C. As the value of x increases, g is the only function to approach 0. D. As the value of x increases, f is the only function to approach 0.

f(n) = 2^(2n)Which of the following correctly represents the above function?Select one:O(2^n)Ω(2^n)Θ(2^n)None of these

1/2

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.