Let f(n) and g(n) be positive functions over the natural numbers. For each of the following claims either prove formally that the claim is correct, or disprove it by giving a counter example. a) f(n) is e(f(n/2)) . b) f(n) + g(n) is E(min(f(n),g(n)). c) f(n) + g(n) is E(max(f(n),g(n)). d) if f(n)f(n) is O(n) then f(n) is O(n).

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter4: Making Decisions
Section: Chapter Questions
Problem 9RQ
icon
Related questions
Question
Let f(n) and g(n) be positive functions over the natural numbers. For each of the following claims either
prove formally that the claim is correct, or disprove it by giving a counter example.
a) f(n) is e(f(n/2)) .
b) f(n) + g(n) is E(min(f(n),g(n)).
c) f(n) + g(n) is E(max(f(n),g(n)).
d) if f(n)f(n) is O(n“) then f(n) is O(n).
Transcribed Image Text:Let f(n) and g(n) be positive functions over the natural numbers. For each of the following claims either prove formally that the claim is correct, or disprove it by giving a counter example. a) f(n) is e(f(n/2)) . b) f(n) + g(n) is E(min(f(n),g(n)). c) f(n) + g(n) is E(max(f(n),g(n)). d) if f(n)f(n) is O(n“) then f(n) is O(n).
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Binary numbers
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage