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
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...
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.
For f(x) = x^2+6 and g(x) = x^2-5 find the following functions. a.) (f o g)(x)...
For f(x) = x^2+6 and g(x) = x^2-5 find the following functions. a.) (f o g)(x) b.) (g o f) (x) c.) (f o g) (4) d.) (g o f) (4)
Let G be a group containing 6 elements a, b, c, d, e, and f. Under...
Let G be a group containing 6 elements a, b, c, d, e, and f. Under the group operation called the multiplication, we know that ad=c, bd=f, and f^2=bc=e. Which element is cf? How about af? Now find a^2. Justify your answer. Hint: Find the identify first. Then figure out cb.  
Labor Relations- Chapter 5- G o v e r n m e n t s ,...
Labor Relations- Chapter 5- G o v e r n m e n t s , L a b o u r R e l a t i o n s B o a r d s , a n d O t h e r P a r t i e s Case Study- Quality Inn & Suites Brantford v. UFCW Local 175 In January 2012 the Ontario Labour Relations Board was asked to consider an application for the...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT