3. Let p(n) = 0 ani, where aa > 0, be a degree-d polynomial in n, and let k be a constant. Prove the following properties. if k ≥d, then p(n) = 0(nk); if k ≤d, then p(n) = N(nk); if k = d, then p(n) = 0(nk); if k > d, then p(n) = o(nk); if k

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Can you give a detailed answer for part D and E

3.
Let p(n) = Σª a¡n², where a¿ > 0, be a degree-d polynomial in n, and let k be a
constant. Prove the following properties.
if k ≥ d, then p(n) = 0(nk);
if k ≤d, then p(n) = N(nk);
if k = d, then p(n) = 0(nk);
if k > d, then p(n) = o(n²);
if k < d, then p(n) = w(nk);
a.
b.
C.
d.
e.
Transcribed Image Text:3. Let p(n) = Σª a¡n², where a¿ > 0, be a degree-d polynomial in n, and let k be a constant. Prove the following properties. if k ≥ d, then p(n) = 0(nk); if k ≤d, then p(n) = N(nk); if k = d, then p(n) = 0(nk); if k > d, then p(n) = o(n²); if k < d, then p(n) = w(nk); a. b. C. d. e.
Expert Solution
Step 1

d. If k > d, then p(n) = o(n^k)

This means that p(n) grows slower than n^k as n approaches infinity. To prove this property, we need to show that there exists a positive constant c such that |p(n)| <= c * |n^k| for all n >= n_0, where n_0 is some positive integer.

Consider the following:

|p(n)| = |Σ l=0^d a_l * n^l| <= |a_d| * |n^d| + |Σ l=0^d-1 a_l * n^l| <= |a_d| * |n^d| + |(a_0 + a_1 * n + a_2 * n^2 + ... + a_d-1 * n^d-1) * n^(d-k)| <= |a_d| * |n^d| + M * |n^(d-k)|, where M is some positive constant

Since k > d, we have d-k < 0, and so n^(d-k) approaches 0 as n approaches infinity. Hence, for all n >= n_0, we have

|p(n)| <= |a_d| * |n^d| + M * |n^(d-k)| <= (|a_d| + M) * |n^d|

Since k > d, we have n^k approaches infinity faster than n^d as n approaches infinity. Hence, we can choose c = |a_d| + M and n_0 such that for all n >= n_0,

|p(n)| <= c * |n^k|

Therefore, p(n) = o(n^k).

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Time complexity
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education