Question

Justify the fact that if d(n) is O(f(n)) and e(n) is O(g(n)), then the product d(n)e(n)...

Justify the fact that if d(n) is O(f(n)) and e(n) is O(g(n)), then the product d(n)e(n) is O(f(n)g(n)).

Homework Answers

Answer #1

Let f and g be two functions defined on some subset of the real numbers. One writes

if and only if there is a positive constant M such that for all sufficiently large values of x, the absolute value of f(x) is at most M multiplied by the absolute value of g(x). That is, f(x) = O(g(x)) if and only if there exists a positive real number M and a real number x0 such that

|.

|d(n) | <= k1 |f(n)|    when x>= m1

|e(n) | <= k2 |g(n)|    when x>= m2

m = max (m1,m2)

when x>= m

then

|d(n) | <= k1 |f(n)|

|e(n) | <= k2 |g(n)|

hence

|d(n) | |e(n) | <= k1* k2 |f(n)|   |g(n)|

hence

|d(n) | |e(n) | <= k |f(n)|   |g(n)|    when x> m , k = k1*k2

hence proved

Please rate

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
i) F o r t h e f o l l o w I n g...
i) F o r t h e f o l l o w I n g f i n d t h e ( c o m p. E x p.) f o u r I e r s e r i e s f o r x( t ) I I ) D r a w t h e am p &. P h a s e s p e c t r a I I I ) T...
True or False...Provide your reasons If f(n) =o(g(n)), then f(n)=O(g(n)) If f(n) =O(g(n)), then f(n) ≤...
True or False...Provide your reasons If f(n) =o(g(n)), then f(n)=O(g(n)) If f(n) =O(g(n)), then f(n) ≤ g(n) 3.  If 1<a=O(na), then f(n)=O(nb) 4. A and B are two sorting algorithms. If A is O(n2) and B is O(n), then for an input of X integers, B can sort it faster than A.
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).
Product A is assembled from 6 components. The components are B, C, D, E, F, G....
Product A is assembled from 6 components. The components are B, C, D, E, F, G. Components B, D, and F are purchased from a supplier, complete and ready to assemble. Component C is assembled from parts H, I, and J. Component E is assembled from parts K and L. Component G is made in the plant from raw materials. Part H is made from parts M and N. Part L is made from parts P, Q, and R. Part...
let A = { a, b, c, d , e, f, g} B = { d,...
let A = { a, b, c, d , e, f, g} B = { d, e , f , g} and C ={ a, b, c, d} find : (B n C)’ B’ B n C (B U C) ‘
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)).
Let Let A = {a, e, g} and B = {c, d, e, f, g}. Let...
Let Let A = {a, e, g} and B = {c, d, e, f, g}. Let f : A → B and g : B → A be defined as follows: f = {(a, c), (e, e), (g, d)} g = {(c, a), (d, e), (e, e), (f, a), (g, g)} (a) Consider the composed function g ◦ f. (i) What is the domain of g ◦ f? What is its codomain? (ii) Find the function g ◦ f. (Find...
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)).
Find f o g and g o f f(x)= 8/(x^2-1) , g(x) = x^3 +1 also...
Find f o g and g o f f(x)= 8/(x^2-1) , g(x) = x^3 +1 also find domain of f, g, f o g , and g o f
we consider a graph G= (V, E), with n=|V| and m=|E|. Describe an O(n+m) time algorithm...
we consider a graph G= (V, E), with n=|V| and m=|E|. Describe an O(n+m) time algorithm to find such a vertex w. Hint: a depth-first search from u might be helpful.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT