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
What is the five number summary for the data 0,2,2,4,5,5,5,5,7,11
salantis [7]

The five number summary data for the data-set is:

  • Smallest value: 0.
  • First quartile: 2.
  • Median: 5.
  • Third quartile: 6.
  • Greatest value: 11.

<h3>What is the five number summary of a data-set?</h3>

The five number summary of a data-set is composed by:

  • The smallest and the greatest value.
  • The first quartile, which is the median of the bottom 50%.
  • The median, which splits the entire data-set into two halfs, the bottom 50% and the upper 50%.
  • The third quartile, which is the median of the upper 50%.

For this problem, we have that:

  • The smallest value is of 0.
  • The greatest value is of 11.

The data-set has 10 elements, which is an even cardinality, hence the median is the <u>mean of the 5th and the 6th elements</u>, hence:

Me = (5 + 5)/2 = 5.

The first half of the data-set is:

0, 2, 2, 4.

Hence the first quartile is:

Q1 = (2 + 2)/2 = 2.

The second half of the data-set is:

5,5,7,11.

Hence the third quartile is:

Q3 = (5 + 7)/2 = 6.

More can be learned about the five number summary data of a data-set at brainly.com/question/17110151

#SPJ1

3 0
2 years ago
What is the equation has intercepts at x(1, 0, 0), y(0, -1,0), and z(0, 0, 2)
bulgar [2K]

In intercept form, the plane that has these intercepts is ...

... x/(x-intercept) + y/(y-intercept) + z/(z-intercept) = 1

... x/1 + y/(-1) + z/2 = 1

... 2x -2y +z = 2 . . . . . in standard form

3 0
4 years ago
What's the answer and how do you know?!!
S_A_V [24]
C because its going back every time
7 0
3 years ago
Can you guys help me out
Margarita [4]

Answer:60

Step-by-step explanation:

The exact answer is 58 but then i rounded it to 60.

6 0
3 years ago
Can someone help ASAP please!?!?
Tems11 [23]

Answer:

C

Step-by-step explanation:

I would suggest waiting for someone else to respond just to be sure but I am 90% positive that it is C

3 0
4 years ago
Read 2 more answers
Other questions:
  • PLEASE MATH HELP WILL GIVE BRAINLIEST
    9·2 answers
  • There are infinite rational numbers between any two given ​
    5·1 answer
  • A plumber has a 40-foot piece of PVC pipe. How many 11/5 foot pieces can be cut from the 40 foot piece?
    10·2 answers
  • What is the answer of 2+4+4567
    6·2 answers
  • Can (5z+3)(-5z-3) result in a difference of squares
    11·1 answer
  • What is the slope? (IXL)
    9·1 answer
  • Amanda bought 3 cds that were the same price. Including sales tax, she paid a total of $37.50. Each cd had a tax of $0.70. What
    13·1 answer
  • Find the length of the<br> missing side of the triangle<br> to the nearest tenth.
    8·1 answer
  • In a random survey of 50 seventh grade students at O'Donnell Middle School, 32 said chocolate was their favorite flavor of ice c
    9·1 answer
  • A population of beavers decreases exponentially at a rate of 7.5% per year. What is the equivalent monthly rate to the nearest h
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!