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
The volume, V, of a right pyramid with the base area B and height h is calculated by the formula:
Lubov Fominskaja [6]

Answer:

B=V/13*h

Step-by-step explanation:

V=13*B*h

V/13*h=B

6 0
3 years ago
Find the perimeter and area of the regular polygon. Round answers to the nearest tenth.
RideAnS [48]

Answer: perimeter = 26.5

Area = 106

Step-by-step explanation:

The given polygon is an octagon. The apotherm which is the perpendicular line from the midpoint of the octagon is 8,

The formula for determining the area of a polygon is expressed as

Area = a² × n × tan 180/n

Where n represents the number of sides of the polygon.

n = 8

Therefore,

Area = 8² × 4 × tan(180/8)

Area = 256 × tan 22.5

Area = 106

The formula for determining the perimeter of a regular polygon is

P = 2 × area/apotherm

Perimeter = 2 × 106/8

Perimeter = 26.5

5 0
3 years ago
What is the value of -24 + 6?
Degger [83]

Answer:

-18

Step-by-step explanation:

Addition. Hope this helped

5 0
3 years ago
Read 2 more answers
If U is the midpoint of CB, CU=18, and CB= 2x-10, then find x
Inessa [10]

Answer:

x = 23

Step-by-step explanation:

CU + UB = CB

Since U is the midpoint that means CU = UB = 18

18+ 18 = 2x-10

36 = 2x-10

Add 10 to each side

36+10 = 2x

46 =2x

Divide by 2

23 = x

5 0
3 years ago
Read 2 more answers
3) An oil prospector will drill a succession of holes in a given area to find a productive well. The probability that he is succ
KATRIN_1 [288]

Answer: 0.128

Step-by-step explanation:

The geometric probability of getting success on nth trial is given by :-

P(n)=p(1-p)^{n-1}

Given : The probability that he is successful on a given trialp= 0.2.

Then , the probability that the third hole drilled is the first to yield a productive well is given by :-

P(3)=0.2(1-0.2)^{3-1}=0.128

Hence, the probability that the third hole drilled is the first to yield a productive well = 0.128

8 0
3 years ago
Other questions:
  • Factor by grouping: 4x3 - 6x2 + 10x - 15.
    5·1 answer
  • Help me get the area of triangles and parallelograms
    10·1 answer
  • $7.79 + $0.89 + $412.37 + $7
    10·2 answers
  • X^2+10x-6=0.........
    8·1 answer
  • Pls help! three arithmetic sequences are given below.
    5·1 answer
  • If i equals square root of negative 1 then i^2 equals
    9·1 answer
  • Solve the system of linear equations by graphing 4x + 2y = 8<br> -x + y =- 5
    13·1 answer
  • 3) solve for x. −1/2(x 2) 11/2 x=3
    15·1 answer
  • Solve the following triangle. Round to the nearest tenth if necessary.
    8·1 answer
  • Problem * A pack of 8 pairs of socks cost $4.00 at the store. How much does it cost for each pair of socks? A $0.80 B $0.40 40)
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!