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
Which value is equivalent to 7.3% written as a decimal?
Leni [432]
The answer is C)0.073
5 0
3 years ago
Write the equation in standard form for the circle with center (-7, -7) and radius 4.
ArbitrLikvidat [17]
(X+7)+(y+7) = 16
............
6 0
3 years ago
Read 2 more answers
Solve.<br> 2<br> — x 6 =<br> 9<br><br> What’s the answer?
Vlada [557]
14x huggugihhivuvivihihuhuhij
5 0
3 years ago
PLS HELP I ONLY HAVE HR
Amiraneli [1.4K]

Answer:

a $2

Step-by-step explanation:

One of the ordered pairs were (1, 2) which meant that at 1 bag of candy, the total cost in dollars is 2 based on the labelling of the x- and y-axis. Thus, the cost of one bag of candy is $2.

3 0
3 years ago
Student needs $1,000 in 4 years what mushy invest today if her investment earns 4% annual interest compounded quarterly
viva [34]
\bf \qquad \qquad \textit{Future Value of an ordinary annuity}&#10;\\\\&#10;A=pymnt\left[ \cfrac{\left( 1+\frac{r}{n} \right)^{nt}-1}{\frac{r}{n}} \right]

\bf \qquad &#10;\begin{cases}&#10;A=&#10;\begin{array}{llll}&#10;\textit{ amount}\\&#10;\textit{already compounded}&#10;\end{array}\to &&#10;\begin{array}{llll}&#10;1000&#10;\end{array}\\&#10;pymnt=\textit{periodic payments}\to &p\\&#10;r=rate\to 4\%\to \frac{4}{100}\to &0.04\\&#10;n=&#10;\begin{array}{llll}&#10;\textit{times it compounds per year}\\&#10;\textit{quarterly, means 4 times}&#10;\end{array}\to &4\\&#10;&#10;t=years\to &4&#10;\end{cases}

solve for "pymnt"
5 0
3 years ago
Other questions:
  • Twelve added to a number equals 18 find the number
    13·2 answers
  • What is the value of x?<br> Please helpp
    6·1 answer
  • - R=aT+b for T<br><br> Solve for T
    6·1 answer
  • Help this is all I was given 7*f(5)=
    14·1 answer
  • Winnie is considering two plans for her piano lessons plan a $68.40 for 6 piano lessons plan b $41.80 for 4 piano lessons for wh
    5·1 answer
  • The diameter of a human hair is 9 \cdot 10^{-5}9?10 ?5 9, dot, 10, start superscript, minus, 5, end superscript meters. The diam
    7·1 answer
  • En kvadrat har omkretsen 12%
    5·1 answer
  • Evan can jog 1 1/3 miles in 1/4 hour. Part a find his average speed in miles per hour
    9·1 answer
  • Help me plssssss!!!!!
    15·1 answer
  • E) Let f(x) = -2x + 5. Find and simplify the expression for the difference quotient,
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!