×
Get Full Access to Discrete Mathematics And Its Applications - 7 Edition - Chapter 3.2 - Problem 17e
Get Full Access to Discrete Mathematics And Its Applications - 7 Edition - Chapter 3.2 - Problem 17e

×

Suppose that f(x), g(x). and h(x) are functions such that

ISBN: 9780073383095 37

Solution for problem 17E Chapter 3.2

Discrete Mathematics and Its Applications | 7th Edition

• Textbook Solutions
• 2901 Step-by-step solutions solved by professors and subject experts
• Get 24/7 help from StudySoup virtual teaching assistants

Discrete Mathematics and Its Applications | 7th Edition

4 5 1 425 Reviews
23
5
Problem 17E

Suppose that f(x), g(x). and h(x) are functions such that f(x) is O(g(x)) and g(x) is O(h(x)). Show that f(x) is O(h(x)).

Step-by-Step Solution:
Step 1 of 3

Solution:Step-1: In this problem we need to show that f(x) is O(h(x)).Note: Let us consider f and g are functions from the set of integers to the set of real numbers. The estimate value can be said that f(x) is O(g(x)) if there are constants C and k such that , where C > 0 and x> k.The constants C and k are called the witnesses to the relationship. The definition of f(x) is O(g(x)) says that f(x) grows slower than some fixed multiple of g(x) as x grows without bound.Step-2: Given : f(x) , g(x) , and h(x) are functions such that f(x) is O(g(x)) and g(x) is O(h(x)).That is , and .By using the above note : f(x) is O(g(x)) if there are constants and such that , where and x > .The constants and are called the witnesses to the relationship………….(1)Step-3:g(x) is O(h(x)) if there are constants and such that , where and x > .The constants and are called the witnesses to the relationship…………(2)From (1) , and (2) we get: So, clearly here , and .Therefore , , and x > k are witnesses for

Step 2 of 3

Step 3 of 3

Related chapters

Unlock Textbook Solution