Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Give a big- \(O\) estimate for the function \(f\) in Exercise 12 if \(f\) is an increasing function.

Short Answer

Expert verified

\({\rm{O}}\left( {{n^{0.63}}} \right)\)

Step by step solution

Achieve better grades quicker with Premium

  • Unlimited AI interaction
  • Study offline
  • Say goodbye to ads
  • Export flashcards

Over 22 million students worldwide already upgrade their learning with Vaia!

01

Master Theorem definition

In MASTER THEOREM, let\(f\)be an increasing function that satisfies the recurrence relation\(f(n) = af(n/b) + c{n^d}\)whenever\(n = {b^k}\), where\(k\)is a positive integer,\(a \ge 1,b\)is an integer greater than\(1\), and\(c\)and\(d\)are real numbers with\(c\)positive and\(d\)nonnegative. Then\(f(n)\)is\(O\left( {{n^d}} \right)\)if\(a < {b^d}{\rm{ }}O\left( {{n^d}\log n} \right)\)if\(a = {b^d}\)and \(O\left( {{n^{{{\log }_b}a}}} \right)\)if\(a > {b^d}\).

02

Apply Master Theorem

Master theorem is directly applicable here with\({\rm{a}} = 2,\;{\rm{b}} = 3,{\rm{c}} = 4\), and\({\rm{a}} = 2,\;{\rm{b}} = 3,{\rm{c}} = 4\) \({\rm{d}} = 0\). Since \(a > {b^d}\), we have that \({\rm{f}}({\rm{n}})\) is\({\rm{O}}\left( {{n^{{{\log }_b}a}}} \right) = {\rm{O}}\left( {{n^{{{\log }_3}2}}} \right)\~{\rm{O}}\left( {{n^{~0.63}}} \right)\).

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

47. A new employee at an exciting new software company starts with a salary of550,000and is promised that at the end of each year her salary will be double her salary of the previous year, with an extra increment of$ 10,000 for each year she has been with the company.

a) Construct a recurrence relation for her salary for hern th year of employment.

b) Solve this recurrence relation to find her salary for hern th year of employment.

Some linear recurrence relations that do not have constant coefficients can be systematically solved. This is the case for recurrence relations of the form \(f(n){a_n} = g(n){a_{n - 1}} + h(n)\)Exercises 48-50 illustrate this.

Suppose that f(n)=f(n/3)+1when is a positive integer divisible by 3, and f(1)=1. Find:

a)f(3).

b)f(27).

c)localid="1668607414775" f(729).

Find a closed form for the generating function for each of these sequences. (Assume a general form for the terms of the sequence, using the most obvious choice of such a sequence.)

a) \( - 1, - 1, - 1, - 1, - 1, - 1, - 1,0,0,0,0,0,0, \ldots \)

b) \(1,3,9,27,81,243,729, \ldots \)

c) \(0,0,3, - 3,3, - 3,3, - 3, \ldots \)

d) \(1,2,1,1,1,1,1,1,1, \ldots \)

e) \(\left( {\begin{array}{*{20}{l}}7\\0\end{array}} \right),2\left( {\begin{array}{*{20}{l}}7\\1\end{array}} \right),{2^2}\left( {\begin{array}{*{20}{l}}7\\2\end{array}} \right), \ldots ,{2^7}\left( {\begin{array}{*{20}{l}}7\\7\end{array}} \right),0,0,0,0, \ldots \)

f) \( - 3,3, - 3,3, - 3,3, \ldots \)

g) \(0,1, - 2,4, - 8,16, - 32,64, \ldots \)

h) \(1,0,1,0,1,0,1,0, \ldots \)

Find the sequence with each of these functions as its exponential generating function f(x)=ex-11+x.

Use generating functions to find the number of ways to make change for \(100 using

a) \)10, \(20, and \)50 bills.

b) \(5, \)10, \(20, and \)50 bills.

c) \(5, \)10, \(20, and \)50 bills if at least one bill of each denomination is used.

d) \(5, \)10, and $20 bills if at least one and no more than four of each denomination is used.

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free