Question

Are any of the following implications always true? Prove or give a counter-example. a) f(n) =...

Are any of the following implications always true? Prove or give a counter-example.

a) f(n) = Θ(g(n)) -> f(n) = cg(n) + o(g(n)), for some real constant c > 0. *(little o in here)

b) f(n) = Θ(g(n)) -> f(n) = cg(n) + O(g(n)), for some real constant c > 0. *(big O in here)

Homework Answers

Answer #1

(n) is nothing but the tighter bound within the two functions.SO lets get started with two points.

a) f(n) = (g(n)) -> f(n) = cg(n) + o(g(n)) for some real constant c > 0.,

Now, considering the above equation f(n) = ((g(n)) is nothing but f(n) = O(g(n)) and f(n) =(g(n)) , so not exactly but in a way we can say f(n) = g(n)

Now, o(g(n)) is nothing but f(n)<g(n) ( here "Little o" means Less Than ) so, by login when we apply to equation

(g(n)) -> f(n) = cg(n) + o(g(n))

f(n) >cf(n) + f(n) (where f(n) = g(n) since f(n) = (g(n)))

So, the statement is false

b)

This question is same as first one but the only difference is big O notation.

Now quickly learn this thing that small o notation is tightly lower bounded and Big O is Lower bound so roughly,

O(n) means less than or equal to

o(n) means less than

so using your equation,

f(n) = Θ(g(n)) -> f(n) = cg(n) + O(g(n)),

f(n)<= cf(n) + f(n)

Therefore it might or might not be true(Depend on the cases)
So rigidly it is False also

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Prove or give a counter example: If f is continuous on R and differentiable on R...
Prove or give a counter example: If f is continuous on R and differentiable on R ∖ { 0 } with lim x → 0 f ′ ( x ) = L , then f is differentiable on R .
Determine if the following statements are true or false. In either case, provide a formal proof...
Determine if the following statements are true or false. In either case, provide a formal proof using the definitions of the big-O, big-Omega, and big-Theta notations. For instance, to formally prove that f (n) ∈ O(g(n)) or f (n) ∉ O(g(n)), we need to demonstrate the existence of a constant c and a sufficient large n0 such that f (n) ≤ c g(n) for all n ≥ n0, or showing that there are no such values. a) [1 mark] 10000n2...
Let f,g be positive real-valued functions. Use the definition of big-O to prove: If f(n) is...
Let f,g be positive real-valued functions. Use the definition of big-O to prove: If f(n) is O(g(n)), then f2(n)+f4(n) is O(g2(n)+g4(n)).
Assume that f(n) = O(g(n)). Can g(n) = O(f(n))? Are there cases where g(n) is not...
Assume that f(n) = O(g(n)). Can g(n) = O(f(n))? Are there cases where g(n) is not O(f(n))? Prove your answers (give examples for the possible cases as part of your proofs, and argue the result is true for your example).
1.Let f and g be two functions such that f(n)/g(n) converges to a positive value less...
1.Let f and g be two functions such that f(n)/g(n) converges to a positive value less than 1 as n tends to infinity. Which of the following is necessarily true? Select one: a. g(n)=Ω(f(n)) b. f(n)=Ω(g(n)) c. f(n)=O(g(n)) d. g(n)=O(f(n)) e. All of the answers 2. If T(n)=n+23 log(2n) where the base of the log is 2, then which of the following is true: Select one: a. T(n)=θ(n^2) b. T(n)=θ(n) c. T(n)=θ(n^3) d. T(n)=θ(3^n) 3. Let f and g be...
21.2. Let f(n) and g(n) be functions from N→R. Prove or disprove the following statements. (a)...
21.2. Let f(n) and g(n) be functions from N→R. Prove or disprove the following statements. (a) f(n) = O(g(n)) implies g(n) = O(f(n)). (c) f(n)=?(g(n)) if and only if (n)=O(g(n)) and g(n)=O(f(n)).
1. (15 pts total) Prove or disprove each of the following claims, where f(n) and g(n)...
1. (15 pts total) Prove or disprove each of the following claims, where f(n) and g(n) are functions on positive values. (a) f(n) = O(g(n)) implies g(n) = Ω(f(n)) (b) f(n) = O(g(n)) implies 2^f(n) = O(2^g(n)) (c) f(n) = O((f(n))^2)
Prove the statement true or use a counter-example to explain why it is false. Let a,...
Prove the statement true or use a counter-example to explain why it is false. Let a, b, and c be natural numbers. If (a*c) does not divide (b*c), then a does not divide b.
either prove that it’s true by explicitly using limit laws, or give examples of functions that...
either prove that it’s true by explicitly using limit laws, or give examples of functions that contradict the statement a) If limx→0 [f(x)g(x)] exists as a real number, then both limx→0 f(x) and limx→0 g(x) must exist as real numbers b) If both limx→0 [f(x) − g(x)] and limx→0 f(x) exist as real numbers, then limx→0 g(x) must exist as a real number
NOTE- If it is true, you need to prove it and If it is false, give...
NOTE- If it is true, you need to prove it and If it is false, give a counterexample f : [a, b] → R is continuous and in the open interval (a,b) differentiable. a) f rises strictly monotonously ⇐ ∀x ∈ (a, b) : f ′(x) > 0. (TRUE or FALSE?) b) f is constant ⇐⇒ ∀x∈(a,b): f′(x)=0 (TRUE or FALSE?) c) If f is reversable, f has no critical point. (TRUE or FALSE?) d) If a is a “minimizer”...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT