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
Suppose you take a survey of all of the people in your town. What would you expect the relationship between a person’s age and t
Marianna [84]
I'd say the first or third one, however, I'm not too sure:)
3 0
3 years ago
Read 2 more answers
A classroom has stadium seating. There are 10 seats in the first row, 13 seats in the second row, 16 seats in the third row and
Nikolay [14]
The right answer is “The classroom has 5,180 seats “
3 0
3 years ago
Please answer by September 7th
navik [9.2K]
The freezing point for antifreeze is -67 F or -55 C
8 0
3 years ago
This isnt urgent but i need an answer, i will give the person who answers correctly brainliest, please try
SSSSS [86.1K]

Answer:  3, 5, 7

Step-by-step explanation:

There is a "trick" to determine divisibility by 3: if the sum of the digits is divisible by 3, the number is divisible by 3.

3 + 1 + 5 = 9 which is a multiple of 3, so 315 is divisible by 3.

It works for 9 also. since the sum of the digits is 9, 315 is divisible by 9.

Divisibility by 5: any number that has the units digit 5 or 0 is divisible by 5.

For 7, I just tried it  315÷7= 45

Only even numbers are divisible by 2.

If a 3-digit number is divisible by 11, the middle digit will be the sum of the first and last digits.   (That is not the case for 315)  But 385 is divisible by 11, also 495, 253, and many others you can try for fun.

8 0
3 years ago
What do you multiply to get 8 and add to get 4
nasty-shy [4]

Hi Mitchell

-1*8+12

(-1*8)+12

-8+12=4

I hope that's help :0

3 0
3 years ago
Other questions:
  • Christian plays outside for 4/5 hour. For 1/2 of that time, he plays basketball. What fraction of an hour did he play basketball
    11·1 answer
  • The length of line segment AK is 640 meters. ∆ABC, ∆CDF, and ∆FJK are similar, and 2AC = CF = 2FK. The first pillar is 20 meters
    10·1 answer
  • 39 is 150% of what number?
    14·2 answers
  • HELP!
    11·1 answer
  • Round 644.4 to the nearest one.
    6·1 answer
  • Anoki bought 360 millimeters of fabric. How many centimeters of fabric does Anoki have? It’s either 360, 36.0,3.60, or 0.360
    6·1 answer
  • A product of 9 and number plus one is 19. Write an equation?
    14·2 answers
  •  If you continue operating the tractor at its current level, how many acres can you expect to fertilize in the next hour?
    15·1 answer
  • Find the gradient of the line segment between the points (10,-4) and (6,-16).
    15·1 answer
  • Select the correct answer.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!