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
If you’re good at geometry solve these 2 please
gizmo_the_mogwai [7]

Answer:

13.

Let us say

first angle be = 4x -10

second angle = x

now add them to 90 as complementary angles add up to 90

4x - 10 + x = 90

5x - 10 = 90

5x = 90+10

5x = 100

x = 100/5

x = 20

the first angle = 4x -10

                       = 4(20) -10

                       = 80 -10

                       = 70

the second angle = x

                             = 20

the angles are 70 and 20

8 0
2 years ago
Find the slope. ( include whether positive or negative.)​
dsp73

Answer:

that is a negative slope

but dont know how to find the slope sorry

Step-by-step explanation:

3 0
3 years ago
Read 2 more answers
Alyson opened a savings account with $100. She saves $50 per month. Which of the following equations can be used to find how man
erica [24]
It would take 12 months
3 0
3 years ago
Read 2 more answers
Simplify 5x^2y(4x^3-3y^2)-2yx^3(4x^2-2x)+6​
sladkih [1.3K]
The simplified version of this equation is

8 0
3 years ago
Jason ordered 239,021 pound of flour to be used in his 25 bakeries. The company showed up with 451,202 pounds. How many extra po
densk [106]

Answer:

It's simply just subtract the these two numbers

451,202

- 239,021

= 212,181

Hope u doubt is cleared

3 0
2 years ago
Other questions:
  • Whats between 0.4 and 0.5
    10·2 answers
  • What is the sum of 667 and 23?<br> A. 29<br> B. 690<br> C. 644<br> D. 15,341
    14·2 answers
  • Sarah bought a binder for $7.25 and 6 folders that totaled $9.05 how much did each folder cost
    8·1 answer
  • 0.00035 + (4.2 x 10-5)
    14·1 answer
  • What is the total of 49 1/4+3 3/8
    5·2 answers
  • Help me with my math
    11·1 answer
  • A college student took 4 courses last semester. His final grades, along with the credits each class is worth, are as follow: A (
    11·1 answer
  • Simultaneous equations<br> 2x+4y=1<br> 3x+5y=7
    8·1 answer
  • Find the sum of 3876, 9828 and 5030
    15·2 answers
  • A rental car agency charges $200.00 per week plus $0.25 per mile to rent a car. How many miles can you travel in one week for $3
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!