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
Meh needs some help once again
Ymorist [56]
1:1 because you simplify
7 0
2 years ago
Evaluate the expression below when<br> X = 4 and y = (-3)<br> 4x + 2xy
zepelin [54]

Step-by-step explanation:

4x + 2xy=

4×4 + 2×4×-3

= 16 + (-24)

= - 8

7 0
3 years ago
Anna is making 11 necklaces using 35 beads for each. How many beads (B) are needed to make all of the necklaces?
ss7ja [257]

Answer: c. b/35 =11

Step-by-step explanation:

the total beads is over beads of necklace and there’s 11 necklaces needed to make

8 0
3 years ago
Liam wants to buy a car. He has $100. The car that he wants costs $120,000. His parents is willing to give him $1,300. How long
mario62 [17]
Suspecting that his parents are going to give him $1,300 continually you would solve like this

$120,000-$100= $19,900
$19,900/$1,300= 92.23
92.23 is the amount of $1,300 donations it would take from his parents, so if he was getting $1,300 month it would take 92.23 months
5 0
3 years ago
I need help with this please :(
alina1380 [7]

Answer:

4¹⁸

Step-by-step explanation:

(4⁻³)⁻⁶

= 4⁽⁻³⁾⁽⁻⁶⁾

= 4¹⁸

4 0
3 years ago
Read 2 more answers
Other questions:
  • Two factory plants are making TV panels. Yesterday, Plant A produced 16,000 panels. Five percent of the panels from
    9·1 answer
  • Which type of sandwich consists of two slices of bread or two halves of a roll, a spread and a filling?
    14·1 answer
  • Please help me<br><br><br><br>The question has 7 marks so please give 7 valid reasons
    10·1 answer
  • HELP ASAP ASAP!!!!!!!!!!!!!!!!! HELP NOWWWWWWWWWW!
    6·2 answers
  • Solve the equation. 6 = 2(x + 8) - 5x
    13·1 answer
  • I am not sure on this question can someone please explain and solve for me ASAP
    10·1 answer
  • What is the ratio of 6 and 45​
    10·2 answers
  • I'm confused lol pls help
    15·1 answer
  • PLEASE HELP, it’s urgent
    15·1 answer
  • If x-y = -10 and x-y = 2 what is the value of x
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!