1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Alexxandr [17]
3 years ago
15

Show that if f(n) is O(g(n)) and d(n) is O(h(n)) then f(n) + d(n) is O(g(n) + h(n)).

Mathematics
1 answer:
GaryK [48]3 years ago
3 0
f(n)\in\mathcal O(g(n)) is to say

|f(n)|\le M_1|g(n)|

for all n beyond some fixed n_1.

Similarly, d(n)\in\mathcal O(h(n)) is to say

|d(n)|\le M_2|h(n)|

for all n\ge n_2.

From this we can gather that

|f(n)+d(n)|\le|f(n)|+|d(n)|\le M_1|g(n)|+M_2|h(n)|\le M(|g(n)|+|h(n)|)

where M is the larger of the two values M_1 and M_2, or M=\max\{M_1,M_2\}. Then the last term is bounded above by

M(|g(n)|+|h(n)|)\le2M\max\{|g(n)|,|h(n)|\}

from which it follows that

f(n)+d(n)\in\mathcal O(\max\{g(n),h(n)\})
You might be interested in
Which function is best represented by this graph ​
zavuch27 [327]

Answer:the potato is ugly

Step-by-step explanation:because it has marks

8 0
3 years ago
the population of san san Pablo ca is about 33,950 people. ten years ago the population was about 30,000. by what PERCENT did th
azamat

Answer:

ABOUT 13 PERCENT

Step-by-step explanation:

I AM NOT CERTAIN BUT I GOT IT BY:

NEW PRICE - OLD PRICE divided by OLD PRICE X 100

5 0
3 years ago
Determine the standard deviation of the data below. (1, 2, 3, 4, 5)
Burka [1]

Answer:

\sqrt{2} or 1.414

Step-by-step explanation:

1) Find the mean. 1+2+3+4+5 = 15. 15/5= 3

2) For each data point, find the square of its distance to the mean. (4, 1, 0, 1, 4)

3) Sum the values from Step 2. 10

4) Divide by the number of data points. 10/5= 2

5) Take the square root. \sqrt{2}

4 0
3 years ago
The capacity of a water can is 24 liters. Peter filled one third of the can. How much does he have to fill now?
joja [24]

24/3=8

Therefore one third of the can is 8 liters.

24-8=16.

Peter has to fill 16 liters.

4 0
2 years ago
Whats the domain of this function?
nika2105 [10]

Answer:

to reflect the line and record readings

6 0
3 years ago
Other questions:
  • Whoever Answers Ill Mark Brainliest! Use a model to divide 2/5 divided by 4 Express the answer in simplest terms.
    10·2 answers
  • Math help!
    6·1 answer
  • Can someone help me?
    6·1 answer
  • Please Help!!!
    5·2 answers
  • The point (4, 10) is in each scatterplot. In which one is it an outlier? On a graph, points (4, 10) and (6, 1) are outside of th
    7·2 answers
  • Here is a list of four fractions 1/16 2/8 15/60 3/9
    7·2 answers
  • 1) Find the missing side. Give your<br> answer in simplest radical form.
    14·1 answer
  • A lottery game requires that 3 different numbers are picked from 1 to 9 if someone picks all 3 winning numbers the person wins 9
    11·1 answer
  • What is the surface area of the pyramid?
    7·2 answers
  • Find the trig ratio. Reduce to<br> lowest terms.<br> 10<br> 24<br> sin A =
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!